Trains

Платное Trains 1.0.5

Обновления
Гарантируются
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)


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 !!"
}
  • 162.png
    162.png
    47.4 KB · Просмотры: 25
  • GUIImage.png
    GUIImage.png
    362.2 KB · Просмотры: 25
  • Люблю это
Реакции: WebGhost
Автор
Rexona Rust
Скачивания
1
Просмотры
197
Первый выпуск
Обновление
Оценка
0.00 звёзд 0 оценок