Disclaimer: I’m currently outside Rust scene, please contact me with issues at my discord in Lone’s channel.
A great little tool for your custom map train line allowing your Work Carts to auto re-spawn after they are destroyed. Work Carts can also pass through prefab collider: “assets/bundled/prefabs/modding/terrain_trigger.prefab”
This plugin is to be used for your custom maps to automatically allow the work cart to spawn on “assets/content/structures/train_tracks/train_track_3x3_end.prefab”, or multiple prefabs by choice, if those prefabs are placed on the map. This can be used to create above-ground train tracks more easily with the ability to select the respawn time of the cart(s) + allowing them to pass through terrain tunnels.
Included Customisation
Maximum Health
Engine Force
Maximum Speed
Max Fuel per second
Idle Fuel per second
Driver Protection Density
Engine Startup Time
Engine Damage to Slow
Engine Damage Time Frame
Engine Slow Time
Engine Slowed max Velocity
Fuel Storage Maximum Slots
Fuel Storage Storing All Items
Work Carts should not end up in a situation where they can hit each other face to face, it could cause client performance drops. This can be avoided with the config option for enabling/disabling Terrrain Collision.
Make Sure you envelop the whole tunnel in “…/terrain_trigger.prefab” to prevent player damage underground
Config
{
“Workcart Prefabs (-1 = unchanged)”: {
“Spawns in random order (prefab, customise)”: {
“assets/content/vehicles/trains/workcart/workcart_aboveground.entity.prefab”: {
“Enabled”: false,
“Max Health (default 1000)”: -1.0,
“Engine Force (default 30000)”: -1.0,
“Maximum Speed (default 18)”: -1.0,
“Fuel Storage Store All Items (max slots must be > 1)”: false,
“Fuel Storage Maximum Slots (default 1)”: -1,
“Max Fuel per second (default 0.075)”: -1.0,
“Idle Fuel per second (default 0.025)”: -1.0,
“Driver Protection Density (default 1) (Range 0-100)”: -1.0,
“Engine Startup Time (default 0.25)”: -1.0,
“Engine Damage to Slow (default 200)”: -1.0,
“Engine Damage Time Frame (default 10)”: -1.0,
“Engine Slow Time (default 8)”: -1.0,
“Engine Slowed max Velocity (default 4)”: -1.0
},
“assets/content/vehicles/trains/workcart/workcart_aboveground2.entity.prefab”: {
“Enabled”: false,
“Max Health (default 1000)”: -1.0,
“Engine Force (default 30000)”: -1.0,
“Maximum Speed (default 18)”: -1.0,
“Fuel Storage Store All Items (max slots must be > 1)”: false,
“Fuel Storage Maximum Slots (default 1)”: -1,
“Max Fuel per second (default 0.075)”: -1.0,
“Idle Fuel per second (default 0.025)”: -1.0,
“Driver Protection Density (default 1) (Range 0-100)”: -1.0,
“Engine Startup Time (default 0.25)”: -1.0,
“Engine Damage to Slow (default 200)”: -1.0,
“Engine Damage Time Frame (default 10)”: -1.0,
“Engine Slow Time (default 8)”: -1.0,
“Engine Slowed max Velocity (default 4)”: -1.0
}
}
},
“Find Prefabs Name”: [
“assets/content/structures/train_tracks/train_track_3x3_end.prefab”
],
“Using Custom Fuel Inventory (if not used, leave false)”: false,
“Terrain Passing Collision Enabled”: true,
“Default spawn distance from the Prefab”: 5.0,
“Time to respawn after Death (seconds)”: 10
}
Reviews (1)
1 review for Work Cart Spawner (Vanilla Support)
5 out of 5
Lone–
Have used this on our Wild West servers since this came out and it has worked like a charm!
Only logged in customers who have purchased this product may leave a review.
Version History
Version 1.3.1 | Updated July 4, 2024
Added- Fixed: Failed to compile: 'IFuelSystem'
Version 1.3.0 | Updated November 25, 2022
AddedCustomisation separation for each prefab spawn
Seems this has broken with the latest update. Just keeps spitting this out:
Failed to execute OnFrame callback (Object reference not set to an instance of an object)
at void Oxide.Plugins.WorkcartSpawner.SetupCart(TrainCar train) in /home/container/carbon/plugins/WorkcartSpawner.cs:line 200
at void Oxide.Plugins.WorkcartSpawner.OnEntitySpawned(TrainCar entity)+() => { } in /home/container/carbon/plugins/WorkcartSpawner.cs:line 267
at void Carbon.Managers.CarbonProcessor.Update() in /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon/src/Processors/CarbonProcessor.cs:line 70
Been running this on our server since forever now. I’d hate to kick it to the curb now.
How do I set up these Tools/Utilities I just purchased for my server?
• All tools/utilities are to include installations steps in the description or within the product download themselves, however, if you need assistance whilst setting them up please reach out to us on Discord. Please follow the installation steps found in the description or attached within your downloaded file.
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities...
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Lone –
Have used this on our Wild West servers since this came out and it has worked like a charm!