Work Cart Spawner (Vanilla Support)

FREE

Sold by: SPooCK

Tool to re-spawn Work Carts after given time at desired prefab location. Default: “…/train_track_3x3_end.prefab”

Work Carts can also pass through prefab collider: “…/terrain_trigger.prefab”

Download Now

Description

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

DonateWork 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.

Terrain Demo
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
}

1 review for Work Cart Spawner (Vanilla Support)

  1. 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 1.3.1 | Updated July 4, 2024
  • Added - Fixed: Failed to compile: 'IFuelSystem'
Version 1.3.0 | Updated November 25, 2022
  • Added Customisation separation for each prefab spawn
Version 1.2.3 | Updated November 8, 2022
  • Updated Rust Prefab Names Changed: "assets/content/vehicles/trains/workcart/workcart_aboveground.entity.prefab" "assets/content/vehicles/trains/workcart/workcart_aboveground2.entity.prefab"
Version 1.2.2 | Updated November 7, 2022
  • Added Vanilla support - Fully stripped code, only applying collision collider (MUST be loaded on server boot)
Version 1.2.2 | Updated June 9, 2022
  • Added Train Wagons can now go through Terrain Trigger
  • Added You can choose random Work Cart prefab list for spawn
  • Fixed Possible issue with Timers causing FPS drops and lag
Version 1.2.1 | Updated April 7, 2022
  • Fixed Class change "TrainCar "
Version 1.2.0 | Updated March 15, 2022
  • Fixed Config Respawn Time can't go bellow 1 sec. - It may cause FPS drops
Version 1.1.9 | Updated January 25, 2022
  • Added Config option for enabling/disabling terrain passing collision
Version 1.1.8 | Updated January 6, 2022
  • Fixed Fuel Storage Error
Version 1.1.7 | Updated December 2, 2021
  • Updated Migrated from Staging to Main Branch
Version 1.1.6 | Updated August 5, 2021
  • Fixed WorkcartSpawner.cs(150,39): error CS1061: Type ItemContainer
  • Fixed Probable fix for Work Cart rapid spawn loop glitch
Version 1.1.5 | Updated April 4, 2021
  • Fixed Work Carts should now properly identify their spawn location as a station
  • Added Customisation for Max Health
Version 1.1.4 | Updated March 30, 2021
  • Added Support for multiple spawn prefabs
  • Added Customisation for Engine Force
  • Added Customisation for Maximum Speed
  • Added Customisation for Max Fuel per second
  • Added Customisation for Idle Fuel per second
  • Added Customisation for Driver Protection Density
  • Added Customisation for Engine Startup Time
  • Added Customisation for Engine Damage to Slow
  • Added Customisation for Engine Damage Time Frame
  • Added Customisation for Engine Slowe Time
  • Added Customisation for Engine Slowed max velocity
  • Added Customisation for Fuel Storage Maximum Slots
  • Added Customisation for Fuel Storage Storing All Items
Version 1.1.3 | Updated March 11, 2021
  • Fixed Allowing Server Providers to access fields which otherwise resulted in Null Error

2 thoughts on "Work Cart Spawner (Vanilla Support)"

Leave a reply

Your email address will not be published. Required fields are marked *

  1. 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.

  2. Works perfectly Thank You! Works nicely on the Isla Nublar custom map for an added feature.

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)

Product Enquiry

Please Login to make enquiry about this product