ok so would I need to put in startup code?
+traincar.population
Limit native spawns and only have Automated Workcarts.Solved
You could certainly try. But you might have to put it pretty early. Maybe OnServerInitialize (no d).
I don't even know where that is. lol
Merged post
I just sent message to Tempest Hosting to see if they can put it in the right place.
Oh, sorry, I was referring to using a plugin to set the convar. Some convars need to be set late, so sometimes people use plugins for that. I'm not sure which convars fit in that category. I was suggesting to write a plugin that uses the OnServerIntialize hook to set the convars (as a test).
https://umod.org/plugins/prefab-limit
{
"Locomotive": 1,
"Workcart": 0,
"WorkcartCovered": 0,
"WagonA": 1,
"WagonB": 1,
"WagonC": 1,
"WagonD": 0,
"WagonE": 0,
"WagonF": 0,
"WagonFuel": 0,
"WagonLoot": 0,
"WagonResource": 0,
"caboose": 2
}Merged post
I don't know if I'm using these right
Probably not. Those are code names I use in Automated Workcarts, not necessarily the prefab names. You can use a plugin such as Prefab Sniffer to search prefabs by keyword.
I doubt that plugin would work for your use case. I'm pretty sure it would cause the Automated Workcarts to be despawned.
- 1
- 2