aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/atc_rail.lua
Commit message (Collapse)AuthorAge
* split_at_index where index=1Maverick27972021-11-08
| | | | | Splitting at index=1 results in multiple empty trains being created. Can be prevented by an atc_speed > 0 check by the user, but easier just to return false and do nothing.
* LuaATC: Fix position of error label, use consistent name "LuaATC" instead of ↵orwell962021-11-02
| | | | "LuaAutomation"
* Hopefully fix #177orwell962021-04-25
|
* LuaATC: add sending atc command to train by ID, and getters for in/out text ↵orwell962021-03-02
| | | | (solves #124 and #166)
* Restore LuaATC autocouple interface accidentally lost in 74a2199orwell962021-02-15
| | | | During rebase, this part of the autocouple feature must have been accidentally lost
* luaatc: Train event: also remember arrow connection in enter callback, ↵orwell962021-02-10
| | | | remove obsolete code
* luaatc: don't fail train event when train has already passed the rail at ↵orwell962021-02-10
| | | | event time
* Fix lots of things around new LZBorwell962021-02-10
|
* Disable ARS train flag and surrounding usesorwell962021-02-10
|
* Add approach callback mechanism to LuaATCorwell962021-02-10
|
* add maximum length parameter to split_at_fc and split_off_locomotiveGabriel Pérez-Cerezo2020-08-21
|
* Add command to split off locomotiveGabriel Pérez-Cerezo2020-07-28
|
* add train_length command to luaatcGabriel Pérez-Cerezo2020-07-27
|
* Add function to step through freight codesGabriel Pérez-Cerezo2020-07-26
|
* add split_train_at_fc luaatc commandGabriel Pérez-Cerezo2020-07-26
| | | | | | This command splits the train at the second non-empty FC it encounters, taking with it the first few freight cars that all go to the same destination.
* Make using the default tracks optional, even in submodsBlockhead2020-07-10
| | | | | | | | | | If advtrains_train_track is disabled, don't register any tracks that use its model like the LuaATC automation rail, point speed restriction rail, station/stop rail. For LuaATC, the definition for firing an event when a train runs over the rail needs to be moved into the common defs so that other mods like linetrack can use that as an interface.
* fix typo in luaautomationGabriel Pérez-Cerezo2020-07-02
|
* Add autocouple modeGabriel Pérez-Cerezo2020-06-29
| | | | | | | The shunting mode no longer makes trains couple, since it was meant for other purposes. For autocoupling, the new autocoupling mode is used. If trains are in autocouple mode, they couple when they collide with another train.
* document shunting mode, add unset_shunt to luaatcGabriel Pérez-Cerezo2020-06-08
|
* Shunting mode now couples trains on collision.Gabriel Pérez-Cerezo2019-08-11
| | | | Trains now get coupled when one of them is in coupling mode.
* Add decoupling to luaatcGabriel Pérez-Cerezo2019-08-11
|
* Fix occurences of old lzb_invalidateorwell962019-04-23
|
* Force LZB Halt settingorwell962019-02-05
|
* Add getter/setter for routingcode in LuaATCorwell962019-01-15
|
* Make "Line" property accessible from OBC and gettable via LATC, change ↵orwell962018-11-20
| | | | subway wagon texture handling
* Add signal safety control override, restructure control systemorwell962018-10-10
|
* Mainly make collisions and coupling workorwell962018-06-14
| | | | Missing: ATC stuff, yaw problems
* Add digiline interface and is_passive function to LuaATCorwell962018-04-25
|
* 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)
* Implement multi-occupation in detector.on_node table to finally fix collisionsorwell962017-10-25
|
* Set wagon line numberGabriel Pérez-Cerezo2017-10-23
|
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20