Jump to content
Sign in to follow this  
LuisFelizTirado

Adding road traffic in FSX?

Recommended Posts

Guest cwright

Hi Luis, I'll see about making the source files available. After taking another look at the SDK I tried the flag. The result was very strange. This is what I get:1. Without the flag: the surrounding default roads do not appear but the default traffic does.2. With the flag: the surrounding default roads appear but the default traffic does not!In both cases my roads appear correctly but not the traffic. Very strange....Many thanks.Best regards, Chris

Share this post


Link to post
Share on other sites
Guest cwright

Hi Luis, I've attached the files to this post. Many thanks.Best regards, Chris

Share this post


Link to post
Share on other sites

Hi Chris.I believe the problem is with the "FWX1002.xml" file.Here's your's:[/code]<?xml version="1.0"?>[/code]Here's what it should be:

<?xml version="1.0"?><metadata xml:lang="en">  <FlightSim>	<Geometry clipLevel="15"></Geometry>	<AttributeSet>	  <AttributeBlock name="FreewayTrafficRoads" guid="{54B91ED8-BC02-41B7-8C3B-2B8449FF85EC}">		<Field name="NumberOfLanes" type="UINT8" />		<Field name="TrafficDirection" type="CHAR" />		<Field name="Uuid" type="GUID" />	  </AttributeBlock>	</AttributeSet>  </FlightSim></metadata>

Then, it the displays just fine.NOTE:Regarding the traffic direction.I think traffic moves in just one direction... I don't think "B" ( both ) works right. So you may need to make 2 adjacent lines for traffic, and use "T" ( towards ) for one line and "F" (from ) for the other... and adjust your lanes accordingly. Or just use "F" ( from ) and draw the lines in different directions. I suggest using T or F only because B doesn't seem to work as designed, and may give unreliable results.Dick

Share this post


Link to post
Share on other sites
Guest cwright

Dick, thank you very much! That did it. Now my roads have traffic. And not only that, but now the default roads appear correctly and have traffic also.Many thanks.Best regards, Chris

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...