Go to file
orwell96 267434b2c1 integrating the new rails (currently no verticals and switches) (fix mistake) 2016-07-04 13:27:15 +02:00
models Screwing everything up in order to extend to 16 possible directions with 1/8 precision 2016-07-04 13:08:25 +02:00
textures adding some dummy textures (dtrack) for new angles 2016-07-04 13:18:17 +02:00
textures_gravelback add new textures 2016-06-09 21:39:59 +02:00
textures_old add new textures 2016-06-09 21:39:59 +02:00
couple.lua check for object load via the getyaw trick and not by checking the object table 2016-06-09 22:16:24 +02:00
damage.lua remove horizontal view offset on engine and try to fix damage when sitting in train 2016-06-09 21:59:06 +02:00
debugitems.lua fixed even more lua errors and made stable 2016-05-30 19:58:09 +02:00
helpers.lua Screwing everything up in order to extend to 16 possible directions with 1/8 precision 2016-07-04 13:08:25 +02:00
init.lua use real pos-in-train calculation also for trainlen calculation, fix bugs and add damage by trains 2016-06-02 14:42:01 +02:00
license.txt added license documents 2016-05-30 20:30:38 +02:00
license_media.txt added license documents 2016-05-30 20:30:38 +02:00
pseudoload.lua fixed even more lua errors and made stable 2016-05-30 19:58:09 +02:00
readme.txt update readme with the latest contents of the forum post 2016-06-09 17:39:19 +02:00
trackplacer.lua Screwing everything up in order to extend to 16 possible directions with 1/8 precision 2016-07-04 13:08:25 +02:00
tracks.lua integrating the new rails (currently no verticals and switches) (fix mistake) 2016-07-04 13:27:15 +02:00
trainhud.lua Fix train collision and coupling on opposing trains, and try to implement animation (currently does not work) 2016-06-09 17:35:06 +02:00
trainlogic.lua delete a comment 2016-07-04 12:13:43 +02:00
wagons.lua integrating the new rails (currently no verticals and switches) 2016-07-04 13:26:46 +02:00

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

Since there are no trains mods out there that satisfied my needs, I decided to write my own.
Until now are supported:
- tracks and switches, based on angles of 45 degrees
- wagons that drive on these rails and collide with nodes in the environment(they need 3x3x3 space)
- coupling /discoupling of wagons/trains
- trains can travel through unloaded map chunks
- head-up display for train speed and nice controls when sitting in locomotive
Planned features:
- locomotives need coal to drive (and water...)
- more types of trains and rails(electric, diesel, maglevs...)
- make switches controllable by mesecons
- better textures
- physics for train collisions (conservation of momentum)
- Automatic train control (ATC) via mesecons (only available on electric/subway trains, maybe allow for more features with digilines)
- an API, because API's are cool.
(I will probably split trains api and actual trains into two mods, to allow for extensions to be enabled individually)

At the moment, you can try around with the trains. There are some debug messages that shouldn't disturb you. Note that anything may change in future releases.
- Use the 'track' item to place tracks. In most cases it will adjust rails in the direction you need them.
- use the trackworker tool to rotate tracks(right-click) and to change normal rails into switches(left-click)
- to overcome heights you need the rails with the strange gravel texture in the background, place them and you will understand.
- right-click switches to change direction
- place locomotives or wagons by picking the item and placing it on a track.
- right-click a wagon or locomotive to sit onto it.
- inside a locomotive, use W/S to accelerate/decelerate the train. This will fail if the train can't move in the desired direction. Shift stops the train, aux1 (default E) or right-click on wagon will let you off.
- drive two trains together and they will connect by right-clicking that green icon that appears.
- punch the red couple icon between wagons to discouple them

License of code: LGPL 2.1
License of media: CC-BY-SA 3.0
see attached files.