Car Spawn More than one
#11
Posted 30 July 2022 - 04:24 PM
What does the number after the PolicePHIL.S mean?
Is it 6 secounds between each car?
CarSpawnerItem( "policePHIL.S" 6 )
CarSpawnerItem( "truck1.s" 13 )
CarSpawnerItem( "postbus.s" 6 )
)
CarSpawnerList(
ListName
#12
Posted 30 July 2022 - 04:38 PM
I'm probably wrong.
Randy
#13
Posted 30 July 2022 - 05:06 PM
#14
Posted 31 July 2022 - 07:39 AM
steved, on 30 July 2022 - 04:38 PM, said:
I'm probably wrong.
Randy
It's the lenght of the vehicle in meters, like ebnertra000 said. It you manipulate it right it influences the distance between vehicles.
Check everything related to car spawners here.
#16
Posted 31 July 2022 - 11:20 AM
Is it really need to be so, for spawner to be working?
#17
Posted 31 July 2022 - 11:56 AM
Weter, on 31 July 2022 - 11:20 AM, said:
Is it really need to be so, for spawner to be working?
I don't think so Weter. I don't have double entries in my carspawner.dats and they work just fine.
The only reason for double entries is so a certain automobile will show up more often.
Randy
#18
Posted 31 July 2022 - 12:03 PM
Reading further:
separation_distance is a numerical value in metres that corresponds to the separation maintained in front of the origin of the model vehicle relative to the vehicle or level crossing in front of it. This value should be the length of the vehicle (get that by opening the model in Shape Viewer, pressing Ctrl-C and taking the "length" value) plus 2-3 metres. This value cannot be less than 2 or MSTS crashes as soon as you try to load the route.
Special Note: whilst most models have their origin at the centre of the model, truck1.s from USA1/USA2 is a special case and most following vehicles will run underneath it. This is because its origin is 0.8m from the front and 9.6m from the rear (total length 10.5m) so unless every other model has a separation_distance of more than 11m, you will appear to have rear-end accidents invloving truck1 at every level crossing.
#19
Posted 31 July 2022 - 01:18 PM
Weter, on 31 July 2022 - 11:20 AM, said:
Is it really need to be so, for spawner to be working?
Hi Weter.
I also read about this in a Hungarian description. MSTS needed its last double for some reason. I have the description, I can look it up if necessary. The reason for the appearance of the OR made him emaciated.
Laci 1959
#20
Posted 31 July 2022 - 03:59 PM
steved, on 31 July 2022 - 11:56 AM, said:
The only reason for double entries is so a certain automobile will shop up more often.
Randy
I tested 3 cars only (Last one NOT repeated) and it works fine in OpenRails
Thanks