PDA

View Full Version : Modified Autogen AI



jeansy
November 15th, 2008, 18:33
i was playing around a few months ago while im creating AI shipping for australia and mucked around with the Ai for the smaller boats which works world wide

i have modified file called LWcfg.spb, with this i have replaced some of the smaller boats with fishing boats nothing to big but a noticable change when flying coastal.

download link
http://www.savefile.com/download/1888414?PHPSESSID=15f4ecd0789b9b90b0c3700340d5dbe2

you just have to place the file in the root folder where your fsx.cfg is located, remember to back up the original first

im hoping to find some other autogen ai like police cars and ambos to add a bit more to the road traffic, fingers crossed

Bandit
November 15th, 2008, 18:51
cool thanks :wavey:

jeansy
November 15th, 2008, 21:21
np probs, found a cop car, just have to see if the lights flash or work out a way for them to

Lionheart
November 15th, 2008, 21:50
Hey Jeansy,

So did you actually create the AI? This is interesting. I didnt know that we could make 'new' AI traffic in FSX. I tried for a month to make a single new car for the ground traffic.



Bill

jeansy
November 15th, 2008, 22:04
no, the file LWcfg.spb just holds the objects that you see for airport ground traffic, pleasure boats and car traffic, basicly what i did was replace some objects with other ones so for example there are 5 different types of sailing vessels that you see when you have your pleasure boat slider up, what i did was replace 1 or 2 of them with a stock fishin boats from the simobjects folder, it is as easy as that, the hardest thing i found was find a .spd editor

as for road traffic, its just a case of find the objects within the LWcfg.spb and replacing one car with another type of car as for actual AI like aircraft AI, im not sure just yet im still looking into that but im sure its not something as easierly done as aircraft, im doing AI larger ships for australia at the moment, i have about 4000km sorted complete with royal austarlian navy ships with harden flight decks and merchants, this is coming along very slowly but looking like a treat

http://www.fsfiles.org/imagehost/uploads/1218858620.jpg

flewpastu
November 16th, 2008, 05:50
Thanks jeansy thats really cool, more modifications only make it that much more fun.

Bill

Lionheart
November 16th, 2008, 07:21
That is too cool!


How on Earth do you work on an SPB file? Can it be opened with Notepad?


Excellent work Jeansy.




Bill

Reddog
November 16th, 2008, 08:10
Has anyone seen any ocean going ships on the move?? I think I've seen one or 2 but that's all, lots of static ones thou. I see all kinds of small craft everywhere moving a nd a ferry now and then but ocean going nada:banghead:

SkippyBing
November 16th, 2008, 08:43
Has anyone seen any ocean going ships on the move??

Yeah, there's normally one going through the Straits of Gibraltar most days and a couple off Port Said in Eygpt I'm guessing going for the canal. There's a complete timetable somewhere for all the shipping, there's a lot but it's more spread out than the AI Aircraft and as they aren't going to the airports you're that less likely to encounter them.

jeansy
November 16th, 2008, 11:41
That is too cool!


How on Earth do you work on an SPB file? Can it be opened with Notepad?

Bill

honeslty good question, well asked, i cant remember right now as i did this about 3mths ago, its one of the .exe of the fsx sdk from memory

im away today for the next 4 weeks with work,if you manage to work it out before then no probs, but i will have another look when im back

Holger Sandmann
November 16th, 2008, 12:02
Hi guys,


How on Earth do you work on an SPB file? Can it be opened with Notepad?


the tool is named SPB2XML, by Lamont Clark: http://www.scenery.org/design_utilities_e.htm

It's also useful to decrease the speed of the AI cars, set in LWcfg, from the default 100kph to a more reasonable 70kph (or whatever you like), especially if you have add-ons like UTX or FTX that add AI cars on roads other than freeways.

Cheers, Holger

Lionheart
November 16th, 2008, 14:42
Thanks Holger!

:ernae:


Jeansy, have a safe trip.



Bill

JT8D-9A
November 17th, 2008, 08:09
It's great fun and FSX contains already a few nice vehicles: http://lc0277.nerim.net/sceneobjects/

I'm only having problems with the Humvee (XPack vehicle)..is there a way to turn it?
And in some regions of the world i don't get any boat traffic (e.g. Arctic).
How is that controlled?

Lionheart
November 17th, 2008, 08:22
It's great fun and FSX contains already a few nice vehicles: http://lc0277.nerim.net/sceneobjects/

I'm only having problems with the Humvee (XPack vehicle)..is there a way to turn it?
And in some regions of the world i don't get any boat traffic (e.g. Arctic).
How is that controlled?


Man... That is too cool!

Nils,

Do you need to somehow add a vehicle to a master model file or does it go in the AI traffic folder in Sim Objects main folder? (Did someone finally do a tutorial on putting traffic into FSX?)




Bill

JT8D-9A
November 17th, 2008, 08:53
Hi Bill,
for the Living world (LWcfg.spb) you can use every object. For freeway traffic you have to use the gui and for everything else the title (sim.cfg).
If you use objects with a title then they have to be in a directory which is known by FSX (see FSX.cfg ->SimObjectPaths)

see here:
http://msdn.microsoft.com/en-us/library/cc526977.aspx

For real boat traffic (with real routes), i use the Boat traffic compiler: http://lc0277.nerim.net/boat/
It's similar like aircraft traffic, but you can use Google Earth to make a route.
It's really easy and fast.

For Aircraft traffic i use AI Flight Planner by Don Grovestine, which makes FSX traffic BGLs.
Or i use FS9 traffic files but i convert them with AIFPC to FSX BGLs.

The Traffic Database Builder of FSX seems to be powerful (Aircraft and Boat traffic) but it is as userfriendly as Linux without a gui, so i don't use it...
http://msdn.microsoft.com/en-us/library/cc526965.aspx#TheTrafficDatabaseBuilderUtility

Other ways to get AI are Simconnect, recorded AI (FSRecorder) or in Missions (AI Objects).



BTW, i found the reason why i don't get traffic in the Arctic: "The amount of boat traffic will depend on the size of the body of water, and is scaled by the size of the local population." :kilroy:

Holger Sandmann
November 17th, 2008, 15:36
Hi Nils,

you can influence AI boat and car traffic density by making your own PopulationDensity.bgl file, which would locally override the global one sitting in \Scenery\BASE\scenery. I did this for the FTX version of Lord Howe Island because the global population density file was zero in that location and thus my road traffic wouldn't show. It's the same idea as local land class files, meaning a raster source file with 1-sqkm (QMID15) cells.

Cheers, Holger

Lionheart
November 17th, 2008, 16:07
Hi Nils,

you can influence AI boat and car traffic density by making your own PopulationDensity.bgl file, which would locally override the global one sitting in \Scenery\BASE\scenery. I did this for the FTX version of Lord Howe Island because the global population density file was zero in that location and thus my road traffic wouldn't show. It's the same idea as local land class files, meaning a raster source file with 1-sqkm (QMID15) cells.

Cheers, Holger


LOL... That is too cool. I didnt know the platform was this sophisticated.


Bill

war.ace
November 17th, 2008, 16:20
omg!! I really cant wait until I get my FSX to work! that's so cool!

CG_1976
November 17th, 2008, 17:00
Ah so thats how to get ai naval traffic. Now im going to get my fleet going from mugm to mayport.

ryanbatc
November 17th, 2008, 18:04
Hi Bill,


For real boat traffic (with real routes), i use the Boat traffic compiler: http://lc0277.nerim.net/boat/
It's similar like aircraft traffic, but you can use Google Earth to make a route.
It's really easy and fast.



Ugh, I really want to use this tool but I find it complicated - then again I've never made my own flight plans or anything.

Is there a decent tutorial somewhere? I did read his website all the way through

Also, if you get a chance, you can read through my struggle with it lol

http://forums.avsim.net/dcboard.php?az=show_topic&forum=121&topic_id=455622&mode=full

Also, for instance, he talks about using Google Earth to make the routes but doesn't actually write how to draw the lines from point to point...

JT8D-9A
November 18th, 2008, 08:21
Hi Nils,

you can influence AI boat and car traffic density by making your own PopulationDensity.bgl file, which would locally override the global one sitting in \Scenery\BASE\scenery. I did this for the FTX version of Lord Howe Island because the global population density file was zero in that location and thus my road traffic wouldn't show. It's the same idea as local land class files, meaning a raster source file with 1-sqkm (QMID15) cells.

Cheers, Holger
Hi Holger,

thanks for your reply! I will try it with the PopulationDensity layer and i hope a creative modeler will create some penguins, sea lions and whales (Antarctic, not Arctic :redf:).

JT8D-9A
November 18th, 2008, 08:30
Ugh, I really want to use this tool but I find it complicated - then again I've never made my own flight plans or anything.

Is there a decent tutorial somewhere? I did read his website all the way through

Also, if you get a chance, you can read through my struggle with it lol

http://forums.avsim.net/dcboard.php?az=show_topic&forum=121&topic_id=455622&mode=full

Also, for instance, he talks about using Google Earth to make the routes but doesn't actually write how to draw the lines from point to point...
Hi Ryan,
the easiest way to learn it, is to decompile a boat traffic file with the Boat traffic compiler and to study the files.
Each route has 2 identical paths (way there and way back).

ryanbatc
November 19th, 2008, 09:19
I tried creating paths using Google Earth but the program keeps crashing when I try to draw the path for the ships. I think GE doesn't like Vista x64

:(

That's unfortunate because the CSV way seems a lot more complex...

JT8D-9A
November 19th, 2008, 11:54
Ryan, i have no problems with Google Earth and Vista 64.. do you use the latest version of GE?
I have attached an image, maybe it will help you.
You only have to take care for the starting and arrival times and the repeating frequency. That's wrong in my example..