• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

AI Boats.

Hi Mike,

I don't think the AI pleasure craft have awareness of their distance from shore. Instead they get spawned in any water QMID15 cell with a probability based on the local cell values in the PopulationDensity.bgl file (located in \Scenery\BASE\Scenery) and a density based on the leisure boat slider. If you open that file with TMFViewer you'll see that most offshore cells have values of "0" meaning no boats will appear regardless of the slider setting. PopulationDensity.bgl also regulates the density of moving vehicle traffic on roads.

Cheers, Holger
 
Leisure Boats

The reason I am asking is that one of my hobbies is placing aircraft carriers around the world. The Nimitz is the one I use complete, built as a working airport with AI jet aircraft that even stop in the trap zone. Harriers and Helos to. Anyway, I like to get the carriers within site of the coast but to close and the small boats are blocked and the next thing you know it looks like Green Peace has entered the program. So I relocate the carrier a little farther out but it takes me about a good hour to complete one using ADE.
 
Hi Mike,

As mentioned above you can check the desired carrier location in TMFViewer. It's located in the \SDK\Environment Kit\Terrain folder but you can copy the .exe into any location you prefer and/or make a shortcut to the desktop. Once you've loaded the default PopulationDensity.bgl into it you can zoom in as needed and then use the Jump > Lat/Long option to center on those coordinates.

If you're set on a specific location but the default value is larger than zero you can create your own local PopulationDensity file centered on the carrier position. You can't do that directly in SBuilderX but a simple trick is to create a landclass file with it, in your case a few cells with LC 0, compile it, then change the .inf file generated in the \Tools\Work folder from "Layer = Landclass" to "Layer = PopulationDensity", and also DestBaseFileName from "LC_xxyy" to something more descriptive. Then grab a cop of resample.exe from the \SDK\Environment Kit\Terrain and drag&drop the .inf file on it and, voila, you have your local PopulationDensity.bgl file (best to double-check that one in TMFViewer prior to using it).

Cheers, Holger
 
Hi Mike,

I don't think the AI pleasure craft have awareness of their distance from shore. Instead they get spawned in any water QMID15 cell with a probability based on the local cell values in the PopulationDensity.bgl file (located in \Scenery\BASE\Scenery) and a density based on the leisure boat slider. If you open that file with TMFViewer you'll see that most offshore cells have values of "0" meaning no boats will appear regardless of the slider setting. PopulationDensity.bgl also regulates the density of moving vehicle traffic on roads.

Cheers, Holger

Wow Holger, such a useful bit of arcane knowledge! I'll see if I can use it in some way to make my AI ferry system more realistic. :)

Larry
 
I know, he's like Neo. Probably all he sees is numbers trickling across the screen. Makes me want to buy him a beer and get him talking FS so's I can soak it all in. At least I can bookmark this thread..
 
uh oh, and I always thought that I liked the Matrix movies for their characters and storyline...

Cheers, Holger
 
Hi Holger,

Is there away to influence the courses followed by AI boats not controlled by the traffic.bgl file? I've not looked that closely, but it seems that all smaller boats follow relatively small circular courses, which ends up looking rather funny when viewed from close to the surface.

Larry
 
Hi Larry,

I don't think so. Assuming that my statement about the boats not being aware of their environment is correct I believe the curved paths are deliberate to avoid them leaving the QMID15 cell (~1.2km x 1.2km) they spawned in, in order to prevent hitting land. In fact, I wouldn't be surprised if the boats all spawned near the center of each QMID15 cell for the same reason, with different headings to minimize the chance of collisions.

Unlike AI aircraft the moving road and vessel traffic was likely designed to minimize CPU cycles, essentially "spawn-and-forget". If each vehicle constantly had to poll terrain/shoreline data or its position relative to other vehicles the computational requirements would be substantial.

Cheers, Holger
 
I've actually had a wander boat run aground:

S1ADdEz.jpg


(My user vehicle was the pickup truck.)

Edit: I must be lucky. I just found another. :p

a7vmmJy.jpg
 
Last edited:
Back
Top