About Train Build Plugin Remastered
This plugin allows any player to find and build on a train directly on the rails in either a 1x5 or 1x3 configuration.
Features:
- Throttle syncing for trains (syncs throttles when updated)
- Electrical entities powered by trains
- Build anything on trains!
- land Helis on trains
-
automatically edits the map to allow building on trains (does not automatically adjust custom maps)
How To Use:
To use this plugin you need to
1. Delete any maps already generated
2. Have the plugin in the plugin folder before starting the server
3. Once you start the server the plugin will edit the rails to allow building
4. If you wish to use a custom map such as one from RustMaps you will need to edit the rail topology manually, set this to Building
5. (Oxide Only) Oxide users may need to restart twice if they encounter a "cannot build on road" issue. The second restart will allow building on the rail again. This is an unintended behavior and a fix will be pushed soon!
Config:
Bounds defines the buildable area on the train, default is 1x5 or 1x3 for work carts. Larger building bounds will not be supported, use at your own volition.
{ "Version Number": { "Major": 1, "Minor": 0, "Patch": 2 }, "Upgrade Chance (0-100 = %0-100 chance)": 50.0, "Train Enabled Properties": { "Enable/Disable Specific Train Presets": { "trainwagonb.entity": { "1": true }, "trainwagona.entity": { "1": true }, "workcart_aboveground2.entity": { "1": true }, "workcart_aboveground.entity": { "1": true }, "workcart.entity": { "1": true }, "trainwagonc.entity": { "1": true, "2": true, "3": true } } }, "Train WagonB Start Health": 5000.0, "Max Car Speed": 25.0, "Max Train Engine Speed": 12.0, "Train Engine Force": 250000.0, "Allow Turrets": true, "Sync Train Throttles": true, "Max Train Pop": 24.0, "Max Train Couple Speed": 9.0, "Train Bounds": { "Train Building Bounds": { "trainwagonb.entity": { "Item1": { "x": 1.5, "y": 1.55, "z": 7.5 }, "Item2": { "x": -1.5, "y": 1.45, "z": -7.5 }, "Item3": { "x": 0.0, "y": 4.45, "z": 6.0 }, "Item4": { "x": 0.0, "y": 1.45, "z": -6.0 } }, "trainwagona.entity": { "Item1": { "x": 1.5, "y": 1.55, "z": 7.5 }, "Item2": { "x": -1.5, "y": 1.45, "z": -7.5 }, "Item3": { "x": 0.0, "y": 5.0, "z": 6.0 }, "Item4": { "x": 0.0, "y": 1.45, "z": -6.0 } }, "workcart_aboveground2.entity": { "Item1": { "x": 1.5, "y": 1.55, "z": 4.5 }, "Item2": { "x": -1.5, "y": 1.45, "z": -4.5 }, "Item3": { "x": 0.0, "y": 4.45, "z": 0.0 }, "Item4": { "x": 0.0, "y": 1.45, "z": -3.0 } }, "workcart_aboveground.entity": { "Item1": { "x": 1.5, "y": 1.55, "z": 4.5 }, "Item2": { "x": -1.5, "y": 1.45, "z": -4.5 }, "Item3": { "x": 0.0, "y": 4.45, "z": 0.0 }, "Item4": { "x": 0.0, "y": 1.45, "z": -3.0 } }, "workcart.entity": { "Item1": { "x": 1.5, "y": 1.55, "z": 4.5 }, "Item2": { "x": -1.5, "y": 1.45, "z": -4.5 }, "Item3": { "x": 0.0, "y": 4.45, "z": 0.0 }, "Item4": { "x": 0.0, "y": 1.45, "z": -3.0 } }, "trainwagonc.entity": { "Item1": { "x": 1.5, "y": 1.55, "z": 7.5 }, "Item2": { "x": -1.5, "y": 1.45, "z": -7.5 }, "Item3": { "x": 0.0, "y": 4.45, "z": 6.0 }, "Item4": { "x": 0.0, "y": 1.45, "z": -6.0 } }, "traincaboose.entity": { "Item1": { "x": 1.5, "y": 1.55, "z": 7.5 }, "Item2": { "x": -1.5, "y": 1.45, "z": -7.5 }, "Item3": { "x": 0.0, "y": 4.45, "z": 6.0 }, "Item4": { "x": 0.0, "y": 1.45, "z": -6.0 } } } } }