Jump to content

Recommended Posts

Posted

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?

  • Administrator
Posted

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)

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.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.