• 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.

Autogen with Roads???

Messages
102
Country
unitedstates
I'm thinking about some FS possibilities with FS roads and am wondering if anyone knows how they implement autogen signs and powerpoles alongside the roads?

Anyone looked in to this?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
If a road as autogen assigned to it or not is defined in the terrain.cfg file. Here is an example from one of the roads:

Code:
[Texture.1154] //  concrete / 10 lanes / divided median
Type=2
Size=4
ExcludeAutogen=1
MaskClassMap=1
Textures=hiwaysu.bmp,hiwayhw.bmp,hiwaysu.bmp,hiwaysu.bmp,hiwaysu.bmp,hiwaylm.bmp
offset=flat
VectorAutogen=6

Futher down in that cfg file you see the different autogen classes for the road defined:

Code:
[Autogen.6.0.0]
AutoObject="0ab068666h,0486bd8e8h,04c16d690h,088765545h"
ObjectSize=511
ExclusionWidth=3
ClipData=1
Offset=20
Density=95
PlaceOnWater=0
MinAutogenDensity=20

I don't know if anybody has already tried to change this to get your own autogen (could even be used for cars indeed). The problem I think is that changing the terrain.cfg file in a lot of addon sceneries would result in chaos and too many versions.
 
Messages
102
Country
unitedstates
Oh yeah I remember seeing that long time ago...

So it would totally be possible in theory to add autogen cars to the roads, problem you then have is a left/right side of the road problem, and a left/right hand drive issue....

And getting the cars facing different directions might be a challenge too... But if it's possible to have a negative offset value then it might be possible, or even create car pairs with different distances between them... Would take a little math, but that could be done...

A simple batch and replace routine on an install should help save headaches with addon scenery... Just need a programmer to make up the batch code...
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
Yes, with different offsets etc I think it should be possible.

Some sort of batch script might indeed work, but I am still a bit afraid that when different designers start to tweak the same roads it might turn out to become a slight chaos. Or imagine that things are not uninstalled properly.
 
Messages
102
Country
unitedstates
Yeah I'd probably work with the desigers of different road packages to make sure it was implemented correctly on each...

One default FS behaviour that bugs me, is the autogen telephone poles and lights... They are not set correctly and often look really whacked out...
 
Messages
88
Country
unitedkingdom
:( I've done a few experiments with this and it does not work all that well. FS will always choose the same guid for the vehicle whilst the road remains in view so there is no variation of vehicle type. If you fly cross country and find another road then FS will choose a different guid but again only one from those available, which repeats for as long as you follow that road. I hope that makes sense.I added a whole bunch of vehicle guids to the Terrain cfg as below.
Code:
// Medium road with light poles, telephone poles  and vehicles.
[Autogen.3.0.0]
AutoObject="046f3d6cbh,043734270h,0fb89e9aeh,0a92e4638h"
ObjectSize=219
ExclusionWidth=3
ClipData=1
Offset=15
Density=95
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.1.0]
AutoObject="047c97cedh,04e4bc4e6h,010b19f8eh,062ea9e98h"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-15
Density=90
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.0]
AutoObject="0A2D14E6,17C215F2,6AA87086,8C9D787F"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=0
Density=20
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.1]
AutoObject="539ca498,4287ec1f,849c0a98,aa4cd7a0"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-5
Density=50
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.2]
AutoObject="cd69fc27,4fa08cf3,be67fdaa,efe9243d"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-5
Density=50
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.3]
AutoObject="0A2D14E6,17C215F2,6AA87086,8C9D7882"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-5
Density=50
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.4]
AutoObject="0A2D14E6,17C215F2,6AA87086,8C9D7880"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-5
Density=50
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.5]
AutoObject="0A2D14E6,17C215F2,6AA87086,8C9D7881"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-5
Density=50
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.6]
AutoObject="0A2D14E6,17C215F2,6AA87086,8C9D7883"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-5
Density=50
PlaceOnWater=0
MinAutogenDensity=20

[Autogen.3.2.7]
AutoObject="0A2D14E6,17C215F2,6AA87086,8C9D7884"
ObjectSize=173
ExclusionWidth=3
ClipData=1
Offset=-5
Density=50
PlaceOnWater=0
MinAutogenDensity=20
I think that this a no-goer for fs2004 unless someone has another idea.

regards

Vincent
 

Attachments

  • AGcars.JPG
    AGcars.JPG
    78.9 KB · Views: 611
Top