View Full Version : Road Crossing Barrier Properties
peterwal
02-08-2005, 08:21 AM
Hi... am building a route of a local line, and have a situarion where the track crosses a 4 lane road at a very acute angle, requiring me to set the barriers back well from the track. How do I get the cars to stop on the correct side of the barrier? at the moment they stop on the 'wrong' track side! is there a way of adjusting this.
timken
02-08-2005, 09:37 AM
There is a way, the thing that controls where they stop, is also what controls how far apart each car stops/following distance. In the route's carspawner.dat file, there are a bunch of entries like this:
CarSpawnerItem( "dv_30_stake_truck.s" 8 )
CarSpawnerItem( "dv_30_pickup_gr.s" 9 )
CarSpawnerItem( "dv_35_sedan_gray.s" 7
That last number is the "following distance".
For instance: CarSpawnerItem( "dv_30_stake_truck.s" 8 ) The 8 is how far it will be and or stop from the next thing in front of it. I think this is meters from the center point of the car.
I had to bump these up to the 25-30 range on a similar crossing. It means that all cars will be spaced much farther apart on the route, everywhere, though.
peterwal
02-08-2005, 01:11 PM
Thanks Steve... Just tried it at 15 and it's on the ragged edge, so looks like 20+ is going to do the trick... pity about the spacing though, as you say it is a bit unrealistic, but not as weird as chopping through the cars. Thanks again for a quick response
Peter W
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.