Jump to content

Is there a way to change which trainwagons spawn?


RustMaker

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
1.3m

Downloads

Total number of downloads.

6.6k

Customers

Total customers served.

97.9k

Files Sold

Total number of files sold.

1.9m

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.