Jump to content

Is there a way to change which trainwagons spawn?


RustMaker
 Share

Recommended Posts

On a map with tracks, the workcart and trainwagons will auto-spawn.  I am looking for a way to limit which trainwagons (there are 4 or 5 types) will spawn down to a certain type (trainwagona.entity).  Is this even possible?

Link to comment
Share on other sites

  • Administrator

I believe you're looking for:

traincar.wagons_per_engine Ratio of wagons to train engines that spawn (2)


All the other convars:

vehicle.cinematictrains  If true, trains always explode when destroyed, and hitting a barrier always destroys the train immediately. Default: false (False)
vehicle.trainskeeprunning Determines whether trains stop automatically when there's no-one on them. Default: false (False)
traincar.population      Population active on the server (0.6)
traincar.wagons_per_engine Ratio of wagons to train engines that spawn (2)
traincouplingcontroller.max_couple_speed Maximum difference in velocity for train cars to couple (9)
Link to comment
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
 Share

390.8k

Downloads

Total number of downloads.

2.1k

Customers

Total customers served.

28.2k

Files Sold

Total number of files sold.

439k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.