Space Engineers

Space Engineers

Not enough ratings
TrainLRS Train 101 3Train (Vanilla)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.032 MB
Mar 23, 2021 @ 12:40am
May 17, 2022 @ 1:29am
14 Change Notes ( view )

Subscribe to download
TrainLRS Train 101 3Train (Vanilla)

Description
A train that runs on the "Large Rail Straight" rail.

2021/04/15
Wheels are added by the upgrade and it is possible to run without thrusters.
By reducing wheel friction, you can drive without conventional resistance. (Thruster required)

If the train does not move, it may move if you change the Height Offset of "[Train] Wheel Suspension guide" to minus.

TrainLRS Ring Rail Line
https://steamcommunity.com/sharedfiles/filedetails/?id=2433140706

Control the train with a "remote block".
Toolbar 1
1. Thruster damper ON / OFF. Turn it on when stopping the vehicle.
2. Back.
3. Stop.
4. Forward.
5. Launch the script "Train Event". Remotely control the nearby "Rail Switch" etc.
6. Make a sound for closing the door.
7. Open the left door.
8. Open the right door.
9. Close the door.

Toolbar 2
1. Rotor lock. Connect the trains.
2. Rotor unlock. Disconnect the train.
3. Connector lock on the top of the train.
4. Unlock the connector on the top of the train.
5. Switch the front light.
9. Battery recharge switching.


Script
// ----- Argument-----
// Enter the Programmable Block Argument and press Run to work.
// You can also operate the Argument from the button block or toolbar.

// setSpeed ​​000 = Run at the specified speed. Specify with a 3-digit number. (Example [setSpeed ​​015] Traveling at 15km / h)
// setTrainDir 0 = Specify the direction of travel. 0 = before, 1 = after
// switchTrainDir = Switch the direction of travel.
// switchAutoDoor = Switches the door to open and close automatically at the location set during manual driving.
// TrainEvent = Operate a turnout etc. from a remote place.


// ----- Autonomous driving -----
// Autonomous driving settings are set by editing the custom data of the programmable block "[Train] PB@Train System main".
// "[Train] LCD@Pos" shows the coordinates of the current vehicle. Copy and paste this value into the command coordinates.
// The vehicle coordinates refer to the position of the remote control "[Train] Remote Control Main".
// The autopilot settings will be reflected by pressing Recompile in the terminal menu of the programmable block.
// If there is an error in the setting, the commands read in order are displayed on the right side of the terminal menu of the programmable block, so check and correct the command immediately before the error occurs.
// If you put "//" before a command, the command will be ignored.

// To switch to autonomous driving, type "switchAutoMove" in the Argument of the programmable block and press Run.
// Switch to automatic driving, and when the vehicle is stopped, enter "setSpeed ​​030" in the programmable block and run to automatically drive at the specified speed.


// ----- Command list -----
// <train> setSpeed, Direction, Speed, Direction, X, Y, Z,
// Direction = Specifies the direction of travel to which the settings apply. Specify "F" when moving forward and "B" when moving backward.
// Speed ​​= Specify the running speed of the vehicle. Specify in km / h.
// X, Y, Z = Specify the coordinates to execute the command.

// <train> setStopping, Direction, StopTime, OpenDoor, X, Y, Z,
// Direction = Specifies the direction of travel to which the settings apply. Specify "F" when moving forward and "B" when moving backward.
// Speed ​​= Specify the running speed of the vehicle. Specify in km / h.
// StopTime = Specify the time to stop. If it is short, it will be adjusted automatically.
// OpenDoor = Specifies the door to open when the vehicle is stopped. Specify "L" to open the left door, "R" to open the right, "LR" to open both, and "N" to not open the door.
// X, Y, Z = Specify the coordinates to execute the command.

// <train> Stopping XYZ, X, Y, Z,
// X, Y, Z = Specify the stop position with XYZ. It must be set after the line below <train> setStopping.

// <train> Return, Direction, X, Y, Z,
// Direction = Change the direction of travel of the vehicle. Specify "F" when moving forward and "B" when moving backward.
// X, Y, Z = Specify the coordinates to execute the command.

// <train> AutoStart, Direction, Speed,
// Switch to automatic operation at the start of the game or after compiling the program.
// Direction = Specify the direction of travel of the vehicle. Specify "F" when moving forward and "B" when moving backward.
// Speed ​​= Specify the running speed of the vehicle. Specify in km / h.
17 Comments
Grau Jun 25, 2023 @ 6:10pm 
Could someone send a link to the track blueprint?
Firyst Apr 30, 2022 @ 9:04am 
@NegiRanun thanks! I will try it
NegiRanun  [author] Apr 30, 2022 @ 7:17am 
An easy way is to make a floor, put two trucks on top, use an aircraft to adjust the orientation, and lock and secure the connectors.
Once made, you can lengthen the curve track with copy and paste.
If this method is not possible due to survival etc., you need to connect one by one using an aircraft.

There is a dedicated aircraft.
https://steamcommunity.com/sharedfiles/filedetails/?id=2433102932
Firyst Apr 29, 2022 @ 7:28am 
How did you make these rails? I am experementing with the system of my own, but the my rails are very bad-jointed.
FearOath Apr 29, 2021 @ 3:15am 
Alright... so I think I've found whats causing the problem with the grids floating on the tracks uncontrollably. When I get the train fitted to the tracks correctly so it works, the train immediately glitches out. This also occasionally happens with your trains NegiRanun, but only when the trains wheel settings are altered. At least that's what happens for me
NegiRanun  [author] Apr 28, 2021 @ 7:50pm 
Since the guide wheels are oriented vertically and always in contact with the floor, the brakes will be applied unless the friction is reduced to zero.
Even if the friction is 0, it may not move, and you may be able to run by narrowing the width of the guide wheel while it is on the track so that it does not touch the rail temporarily and then returning it to the original width.
FearOath Apr 28, 2021 @ 2:19pm 
Nice, thx for the tip too :)
dragonsphotoworks Apr 28, 2021 @ 1:59pm 
Try messing with friction? I can try your train atm internet is slow as dailup. Ill try it later tonight if i can
FearOath Apr 28, 2021 @ 1:55pm 
Maybe its an issue with the wheel settings? idk :/
FearOath Apr 28, 2021 @ 1:55pm 
Nope, the train itself is all good, its just getting the bugger on the tracks that seems to be the issue. It just bounces on the rails or refuses to move despite being in-line with the wheels on this train here.