Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help needed in making traffic

Featured Replies

Hello gang!I have been simming since FS98 but am completely new to the design aspect. I have read the beginner's guide to scenery design at the top of this forum to get a feel for what I'm in for. For my first attempt at enhancing FSX I would like to add vehicle traffic to main highway that currently does not have any. I have the deluxe version FSX and have installed the SDKs. Using TmfViewer I have located the correct bgl and can see the vector information for the roads currently in place. I have written down the path for this bgl file.Now that I have the correct bgl file, my questions are:1. What program(s) do I need to use (download) to correctly add the traffic? I realize I need to add the new traffic then recompile it to insert it back into FSX but I don't know how to do that. 2. I noticed from the TmfViewer that I could view the points along the road - represented as lat/lon points. Do I need to go back and record those to use?Thanks in advance. JohnKPRB

Thanks for the link. The reply on this thread was "To get the automobiles, draw a line and compile it as FWX." My question is, what do I use to draw this line and compile it?Thanks!JohnEdited for spelling!

  • Author

Hello John,I have added a thread on creating autogen excludes with Shp2Vec. If you can have a look, the techniques and information there are also valid for creating freeway traffic.Freeway traffic source files (the shapefiles and the xml) have a FWX prefix in their name.The freeway traffic xml file has this content:<?xml version="1.0"?>And the dbf (database file) has the following fields:- UUID -- the unique identifier for each shape, in GUIUD format- NumberOfLa -- this is the number of lanes, and can be from 1 to 9- TrafficDir -- the direction of flow for traffic, and the options should be.......F -- one way flow from the origin of the line.......T -- one way flow to the origin of the line.......B -- traffic both ways, but this does not presenly work, so make 2 lines flowing different ways for 2-way traffic.I used SBuilder to draw a line on a background image. This was a screenshot of the relevant location in TMFViewer, cropped to the grid, and with coordinates obtained within TMFViewer:http://forums.avsim.net/user_files/161238.jpgThen, I just drew a simple line over the roads in the image. When exported as BLN, I converted the line to a shapefile with BLN2SHP, modfied the dbf file to indicate the number of lanes and traffic direction, and compiled with Shp2Vec.If you have any problems, please just ask here and we shall be glad to help.Best regards.Luis

do.png Hot, humid Caribbean paradise!

Luis,Many thanks for the information. I will give your method a try.Since my original post I have discovered the free utility FSX KML available through www.innovasoftware.com/fsx/fsx_kml_103.zip. The manual is available here: http://fsdeveloper.com/wiki/index.php?title=FSX_KMLIt uses Google Earth to place path points to create a road, traffic, shoreline or airport boundry - then runs a batch file (utilizing the SDK tools) to convert them to a bgl file. I have created some traffic using this program. One caveat - the roads in Google Earth do not always match up with the roads in FSX (gasp!). The result is traffic that strays and much tweaking to gain the correct (or close to correct) path. It can become quite time consuming to accurately place traffic if the data does not match. It would be easier to have a view of the FSX roads and draw in my traffic there. Hence, your method looks promising. I appreciate your explanation and look forward to creating in FSX.Edit: I get an installation error with SBuilder when initially loading that says I am missing 055B2SU1.BMP from my Scenery/World/Texture folder. I made a copy of a bmp from that folder and renamed the copy 055b2su1 in an attempt to complete the install. I then get the message: Run Time error '53' File not found and the program dumps back to the desktop. Any ideas? :-zhelpRegards,JohnKPRB

  • Author

Hello John,I am not really sure, but it seems to me that the error 53 has something to do with Regional Settings in Windows. This error appears when the decimal separator is set to a comma, instead of a period (what a barbaric idea! I get confused looking at all those numbers with commas for thousands.)You might try that and see if it works.Best regards.Luis

do.png Hot, humid Caribbean paradise!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.