FSX only has traffic on motorways/freeways as default. I think that adding traffic to the scenery gives a greater feeling of realism when flying VFR or coming into an airfield. To that end I have been gradually creating traffic lines on "A" routes in Scotland. There may be an easier way to do this - please tell me if I'm over complicating things, but I have written a BASIC program to assist in this.
The first thing I do is to use SBX to digitise the centre-line of the route in question. This is made in a series of discrete lines (they have to be sequential). I then save this to an .sbx file.
This file is then fed through my program. The program takes the lines, joins them up then constructs two lines which are offset either side of the centre-line (the offset distance can be varied according to the width of the road). These are then output as two separate freeway lines (in the direction of traffic flow) to a new .sbx file which can be imported back to SBX and edited for junctions, roundabouts, etc. before compiling the .bgl file.
If anyone would like a copy of the BASIC program I file post it here (warts and all).
PS it is written in the freeby version of Liberty BASIC.
Adding Traffic - utility
- luisfeliztirado
- Posts: 436
- Joined: Sun May 15, 2005 9:15 am
- Location: Santo Domingo
Re: Adding Traffic - utility
What a great solution! Thanks very much.
Best regards.
Luis
Best regards.
Luis
-
- Posts: 25
- Joined: Wed May 04, 2011 11:06 pm
Re: Adding Traffic - utility
I am also working on a routine which will allow you to digitise a polygon around a wooded area and populate it with trees.
Currently I am experimenting with a varying random factors so that you avoid linear "planting" in mixed and natural woodland/forest.
I have a question on this subject; how do the dimension values for objects in the object placement tool relate to real world dimensions? Are they metres?
Currently I am experimenting with a varying random factors so that you avoid linear "planting" in mixed and natural woodland/forest.
I have a question on this subject; how do the dimension values for objects in the object placement tool relate to real world dimensions? Are they metres?
- luisfeliztirado
- Posts: 436
- Joined: Sun May 15, 2005 9:15 am
- Location: Santo Domingo
Re: Adding Traffic - utility
Dimensions in FS design are metric.
Best regards.
Luis
Best regards.
Luis