aboutsummaryrefslogtreecommitdiff
path: root/advtrains/atc.lua
Commit message (Collapse)AuthorAge
* Use ldoc instead of manpagesY. Wang2022-09-04
|
* atc_reset(): Removed unused string parameter and also clear ATC autocouple ↵orwell962021-12-31
| | | | | | flag (Cpl) Fixes H#189 and H#190
* Train Coupling: Change behavior so that train direction of initiating train ↵orwell962021-10-25
| | | | is kept, add ATC Cpl command
* Use mono font to ATC rail command fieldshlqkj2021-03-22
|
* Hm, forget about it for now. Might be perfectly valid when train goes ↵orwell962021-02-10
| | | | farther than train length in step
* More debug info to hopefully gain more info on the bugorwell962021-02-10
|
* Try to track down why ATC is brokenorwell962021-02-10
|
* Remove pcall wrappers completely, add command to disable advtrains mainlooporwell962021-02-10
|
* Disable ARS train flag and surrounding usesorwell962021-02-10
|
* Add ATC "K" commandGabriel Pérez-Cerezo2021-01-07
| | | | | | | This command kicks out all passengers when the train is stopped and its doors are open. In addtion, a wagon:is_driver_stand(seat) function was added to allow finding out easily if a seat is the driver stand of the wagon.
* [BREAKING] Use client-side translations instead of intllib; add zh_CN ↵ywang2020-07-19
| | | | | | | | translations * Client-side translations is used instead of intllib. [Breaks MT4 compat] * Existing locale files have been moved to advtrains/locale and named with the format advtrains.[lang].tr * Add zh_CN locale. (requires a font that supports CJK text)
* Fix sending empty ATC commandsorwell962019-02-05
|
* Fix last commit (and another warn2log)orwell962019-01-22
|
* Fix atc command evaluation BB commandorwell962019-01-22
|
* Do not clear tarvelocity when setting new, potential no-op commandorwell962019-01-15
|
* Handle the case that a train is not initialized (train_ensure_init returns ↵orwell962018-10-29
| | | | | | nil/false) Fixes H#72
* Fix node database ATC rail bugorwell962018-10-17
| | | | | | | After successfully registering newly-placed ATC rails in the nodedb, the rail's after_place_node() callback (local apn_func()) immediately cleared it again by passing a "node" object that was actually a player object and thus had no "name" or "param2" to ndb.update(), which it handled how it should not in this situation. Since those ndb.update calls were unnecessary anyways, I removed them completely.
* Add signal safety control override, restructure control systemorwell962018-10-10
|
* Fix ATC rail reversingorwell962018-08-12
|
* Add routesetting callbacks.orwell962018-08-12
| | | | Now, only the signal aspect setting is still missing
* Mainly make collisions and coupling workorwell962018-06-14
| | | | Missing: ATC stuff, yaw problems
* Implement a reverse path lookup for trains instead of an occupations window ↵orwell962018-06-14
| | | | system
* Occupation System, new train steps, still incompleteorwell962018-06-14
|
* Fix detector lookup in ATC railsorwell962017-12-18
|
* Rewrite rail connection system...orwell962017-12-18
| | | | | | | | | ...to support an arbitrary number of connections for rails, which leads to these new features: - switches now get recognized by the trackworker correctly - ability to add real rail crosses During this, I also rewrote the rail registering system and the conway function (important part of path prediction) Note, developers: the track preset format changed, you might need to rewrite them according to the presets in tracks.lua if you wrote your own (possibly breaks advcarts)
* Moved default train track to separate mod, for integration with advcarts.Gabriel Pérez-Cerezo2017-10-25
|
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
|
* Restructure mod directoryorwell962017-01-04
|
* Add Automatic Train Control systemorwell962017-01-04
|
* Turning mod into a modpack and separating the trains from the core modorwell962016-12-20