Trains

Trains 1.0.5

New !!! NOT FOR SALE ANYMORE. BEING RETIRED SOON
New !!! NOT FOR SALE ANYMORE. BEING RETIRED SOON
New !!! NOT FOR SALE ANYMORE. BEING RETIRED SOON


Plugin is being reitred in 30 days.. it is no longer available for Sale but will remain on Chaos for anyone who previously purchased to download old copies.







Release Version 1.0.5 - Fixes and Data file save location change

*****Note : Only Server Admins / Mods will be able to see the lines and way point information when toggling them in Track edit mode. FYI.


***** Please Watch Video Before Purchase. *****
It will show you what comes with initial Release, step by step setup instructions and much more info. (note a few things have changed with GUI since 1.0.3 update)


And this is what happens when you get in the way !!!!

(Updated Version) Quick look at in game Track Edit GUI
GUIImage.png


You will need to create a custom map with train tracks or use your existing map if you want the train to run on actual tracks. Make sure to watch video. it will show you have to create a track, then mark the trains way points with ease. then add train stops along the way to pick up players or whatnot. Use your imagination !!!!

There are currently 2 variations of the Trolley to choose from. I will be adding more. The Event Train and ability to spawn a multi car train is in the works for the future. And soon as modular vehicles are released, i will see about adding the base flat car as modular train setups for this plugin as well !!! that should be sweet.
Work In Progress:
Since this is a initial release, i know you guys will find things i have not been able to see or test. but here are a few things in the near future i do have planned.
- Event Train : still a little ways off, will be a free add on plugin for this one.

- Add modular Vehicle base to make a modular type train. I hope with works well, i think it will be super sweet.
- More Trolley variations
- GUI for conductor to control train from.

- possibly integrate more electricity items for track system and / or train
- Track system add ons ? rail road crossing gate? switch tracks? etc .etc.


Train Types:
1 - Basic train trolley
2 - Basic train trolley variant
3 - Engine train
4 - Roller Coaster train car
5 - Custom Prefab spawn car


Permissions :
trains.admin - giving this permission allows user to toggle trackmode and edit tracks and trains. and to switch the train on / off via onboard switch.
trains.conductor - allows user to switch the train on / off via onboard switch.

Commands: All commands are chat and console (just remove the /)
Data file is now located at \oxide\data\Trains
NEW !!! /train.setconfig datfilename - setting this will make a new data save file if the specified name does not exist or load the data file if it already exists. Makes is easy to switch data files on the fly if needed.


/trackmode - turns on train track edit mode on/off. Removes all Active trains on map as well until editing is completed.
*** IMPORTANT *** Edit Mode Only Commands Below (for reference mostly, you only really need to use track.create, all others are used by GUI buttons to make it much easier.)
/track.create trackname - creates specified track while in edit mode.
/track.remove - removes selected track.
/track.edit trackname - changed current track.
/track.traintype trackname - changes train type for current track.
/track.trainloop trackname - changes whether train goes end to end or Loops.
/track.autospawn trackname - changes whether train will auto spawn on track or not.
/track.autostart trackname - changes whether train will auto start running after it spawns.
/track.maxspeed trackname - toggles thru pre configured max speed amounts for current tracks train.
/track.waittime trackname - toggles thru pre configured train stop wait period for current tracks train.
/track.showmarker - toggles all way point and stop markers to easily see track layouts.
/track.enablemiddle - toggles the ability to mark current track way points with middle mouse button.
/track.mark trackname - marks current player position as a way point mark for currently selected track.
/track.markstop trackname - marks current player position as stop point for currently selected track.
/track.deletelastmark trackname - deletes last way point in list for currently selected track.
/track.deletelaststop trackname - delete last stop point in list for currently selected track.
/track.eraseall - deletes all track info and saves new data file.
/train.spawn trackname - manaually spawn train on track specified.
/train.spawnevent1 trackname - spawns event train on specified track. (NOT IMPLEMENTED YET)

Configuration:

Code:
{
  "trainSettings": {
    "Data File Setting : Use Data File named : ": "Trains",
    "Global Setting - Enable Event Train ? ": true,
    "Global Setting - Destroy things in trains way ?": true,
    "Global Setting - Eject Sleepers from train ?": true,
    "Global Setting - Trains speeds up and down depending on angle ? ": true,
    "Editor - seconds to show current selected tracks waypoint number above waypoint when toggled (1k or more waypoints recommend 5 or less) ": 15.0,
    "Editor - seconds to show current selected tracks lines betweet waypoints (1k or more waypoints recommend 5 or less) ": 15.0,
    "Editor - seconds to show current selected tracks stop number above stop when toggled ": 15.0,
    "Custom Prefab - Prefab string for Train Type 5 (default is rowboat) ": "assets/content/vehicles/boats/rowboat/rowboat.prefab"
  }
}

Localization:
Code:
{
  "NotAuthorized": "You are NOT Authorized to do that !!",
  "ClearedData": "You have removed all saved tracks !!",
  "TrackModeEnabled1": "Track Mode enabled. ",
  "TrackModeEnabled2": "Track Mode enabled and showing markers for track ",
  "TrackModeDisabled": "Track Mode disable.",
  "UnknownTrack": "The selected Track does not exist !!",
  "KnownTrack": "The selected Track already exists, please use another name !!",
  "SelectTrack": "You need to select Track to edit !!",
  "CreatedTrack": "You createed new track ",
  "RemovedTrack": "You removed track ",
  "ShowMarkers": "Now showing all Track Markers",
  "HideMarkers": "Now hiding all track Markers",
  "ToggledMiddleMouse": "Middle Mouse Button Toggled to allow adding waypoints to selected Track.",
  "UnToggledMiddleMouse": "Middle Mouse Button Toggled to allow adding waypoints to selected Track.",
  "UnknownCommand": "You must specify a secondary  commmand !!",
  "UnknownWaypoint": "You must specify a secondary  commmand !!",
  "MarkedWaypoint": "You Marked a new waypoint location for ",
  "DeletedWaypoint": "You Have Removed the Last Waypoint in Current Track list ",
  "MarkedStoppoint": "You Marked a new stop location for ",
  "DeletedStoppoint": "You Have Removed the Last Stop Point in Current Track list ",
  "ChangedTrainType": "You have changed current tracks train type. ",
  "ChangedLooping": "You have changed whether current track loops or not. ",
  "EditMode": "You must be in edit mode to do that !!"
}

Information

Author
Colon Blow
First release
Last update
Rating
4.83 star(s) 12 ratings

Latest Release v1.0.5

Released
Dec 10, 2019 at 4:31 AM
Rating
4.75 star(s) 8 ratings


More resources from Colon Blow

  • Skyfall
    Skyfall
    Allows players to use skyfall pack to jump out of cargo plane and parachute down.
  • Drawbridges
    Drawbridges
    Add usable drawbridges to Rust
  • PooBot
    PooBot
    Add Player Driven Robots to your world... Bring on the Robot Fights !!!
  • Patrol Boat for Rust
    Patrol Boat for Rust
    A driveable Patrol Boat for Rust
  • Rafts for Rust
    Rafts for Rust
    Add driveable Watercraft to your Game.. New Bonus Viking Boat !!!

Trains by Colon Blow
© chaoscode.io Nov 6, 2019

Latest reviews

super pluguin
Very Good, Colon! This plugin is excellent. I hope you get the modular car thing going too, as I can see myself setting up a fleet of autonomous cars tootling around the place, so solos can do drive-bys too.
The idea itself is a fantastic one! Very strong plugin! Impeccably worked and configured! But let's be serious, the train leaves much to be desired ... the train is a pathetic one, it is not an accusation but it can be improved a lot with the prefab in the game, there are ready-made wagons and the locomotive can be easily created! I think we deserve more than what the plugin presents now! Let's be proud of you for creating this wonderful plugin! Thank you !
Very nice plugin with a lot of potential of growing into a great plugin! :D can't wait till you add the event train CB! keep up the awsome work :)
Thank you for your wonderful work!
But the shape of the train is still sad.

This is a train made by me, with 'Rust Map Editer'.
Is it possible to look like a photo?
https://i.imgur.com/V2qQcUf.jpg
Colon Blow
Colon Blow
yes, your train looks sweet. Trains can use anything you can spawn while in game. But they cannot be scaled in size in any way. :( which limits alot of cool stuff for sure.
love the mod is there anyway of getting the first train with out wheels at some point so i can run it as a monorail?
Some amazing work here! So many new ideas for custom maps involving this!
very cool, I use this as a bus between bus stops as well.
Would be nice to be able to create your own trolley.
Awesome. The only thing id wish is if we could create our own custom wagon and train vehicule... i find them a little ugly. But otherwise its still 5 stars. :) What id love more is if we could use the current ingame models of wagons and the locomotive..
Colon Blow
Colon Blow
Yes, i would love if they converted the in game train cars to be usable in some way. That would be so sweet. I do hope when they release the modular vehicles, i can just add the base flat cars and you guys will be able to build off it for custom trains.
it will be more great if this plugin can set limit for default player, and add Horn pls :D. Good Job!!
Colon Blow
Colon Blow
thank you. yes more features are coming soon. lots of cool stuff.