aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains
Commit message (Collapse)AuthorAge
* Add Andrew's Crossorwell962017-04-27
|
* Fix bug introduced by last commit (revert change)orwell962017-04-12
|
* Add privilege for basic train operation.orwell962017-04-09
| | | | This privilege is granted to singleplayer by default, but is not granted on servers. This prevents unexperienced or evil players from breaking automatic train operation on servers.
* record_protection_violation: fix player name not being passedorwell962017-04-07
|
* Fix #59orwell962017-04-05
|
* Actually check for protection when placing trains and use the train_place ↵orwell962017-04-02
| | | | privilege
* Add support to display text to passengers and on the outside of the trainorwell962017-03-30
| | | | | Outside is currently displayed as infotext. TODO: signs-like draw it on the wagon FIXME: When object properties are set, for some reason the animation restarts
* Respect protection_bypass privilege, fix crash with areas and properly ↵orwell962017-03-30
| | | | record protection violations
* Fix Atc arrows pointing into wrong directionorwell962017-03-12
|
* Screw buttonlike rules for wall signals and use regular rules.orwell962017-03-12
|
* Redo rail modelsorwell962017-03-12
| | | | Use multiple textures for slope objects, include mbb's rail textures and make curves and switches look better. Also add cable template.
* Don't drop items in creative mode when player gets overrun by trainorwell962017-03-11
|
* "Sneak" instead of "Shift" for the sneak keyorwell962017-03-09
|
* Improve debug outputs of couples and increase maximum distanceorwell962017-03-03
|
* Only get on by walking in when there's a platform, improve get off handlingorwell962017-02-28
|
* Add ceiling-mounted signalorwell962017-02-28
| | | | This is the wall signal as ceiling variant. Because the trackdb can only save 4 rotation values, we need a ceiling version of this.
* Fix collision issuesorwell962017-02-21
|
* Also check positions on high platforms at entering doorsorwell962017-02-21
|
* Only place rails on solid nodesorwell962017-02-21
|
* Fix crash when ATC rail exists but no command is saved.orwell962017-02-20
| | | | | Crash was caused by a concatenation for a debug message. atprint can handle nil if passed as separate parameter Setting the train's atc command to nil just means that there is no command.
* don't pass unexistant variable to train_step_b (fixes #46)orwell962017-02-17
|
* fix crash on seatpc nilorwell962017-02-15
|
* fix #34 - end_index not set when step_a returned in phase 2orwell962017-02-15
|
* Proper implementation for getting on by walking into train, rework damage ↵orwell962017-02-09
| | | | and player controls in train, fix death and join bugs, do not spawn bones on death
* Merge PR from gpcf (Get on by walking in)orwell962017-02-07
|\
| * Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2017-02-05
| |\
| * | Added getting on and off by walking in and out. Default seat on subway is ↵Gabriel Pérez-Cerezo2017-01-29
| | | | | | | | | | | | now passenger seat.
* | | Do not invalidate paths unnecessarilyorwell962017-02-05
| | | | | | | | | | | | Recomputing paths needs time and computing power, so do this only when really necessary
* | | Fix "lock couples" checkbox on wagon properties formorwell962017-02-05
| | |
* | | Fix ATC components being randomly ignored by trains.orwell962017-02-05
| | | | | | | | | | | | | | | Also add warnings to off_track stuff Also pack for release
* | | Even more bugfixesorwell962017-02-04
| |/ |/| | | | | | | | | | | - add translations of all index values to invert_train - fix on_leave_node callbacks not being called when train reverses - fix callbacks on train creation and destruction - Fix warning when saving ATC rail info
* | Commit 1.6.2orwell962017-02-04
| | | | | | | | | | | | | | | | - Add some more stuff to API for LuaATC rails - Warn on strange events even if debug info is disabled - save atlatc on shutdown too - fix detector rails in unloaded chunks - do not fail silently in simple ATC rails
* | Revert change to node pos hashes, and rewrite trackdb to use individual ↵orwell962017-02-03
| | | | | | | | | | | | | | | | coordinates The precision of integers was not sufficient for saving pos node hashes in most cases, leading to strange bugs. This fixes broken ATC rails, broken LuaAutomation stuff and trackdb on Windows. Probably also fixes trains randomly stopping.
* | add wallmounted light signalorwell962017-02-03
| |
* | Merge PR from mbb: add better textures and craftsorwell962017-02-02
|\ \
| * | add better textures and craftsmbblp2017-02-02
| | |
* | | LuaAutomation - Basic component implementationorwell962017-02-02
| | | | | | | | | | | | | | | | | | Implements the base code for LuaAutomation, an ATC rail and a punch-operated 'operation panel' as well as interface for passive components. Changes in advtrains code where neccessary. Supported passive components are light signals, switches and mesecon switches
* | | Fix collision to work with pos node hashesorwell962017-02-02
| | |
* | | Lua automation - initial incomplete codingorwell962017-02-02
| | |
* | | Replace all table indices that were pos_to_string strings with node hashes.orwell962017-01-31
| | | | | | | | | | | | Lua table string lookup consumes about 10 times more time than numeric indices
* | | Remove lua_atc from advtrains main mod.orwell962017-01-31
|/ /
* | Limit dtime to prevent trains moving too far in a single steporwell962017-01-29
| | | | | | | | and update zip
* | Add getter calls for raw nodedborwell962017-01-29
| | | | | | | | (required for itrainmap mod)
* | Fix wagon properties not saved on button clickorwell962017-01-29
|/
* Fix a crash, update translations and zip fileorwell962017-01-28
|
* Multiple major changes:orwell962017-01-28
| | | | | | | | | | | | | - implement wagon properties and seat group access check - fix a server warning about unassigned variable - refill advtrains.detector.on_node every step - reorder train step function(s): - fixed bug that some atc rails were not recognized - saving some extra calculations - integrate path prediction directly to step functions and separate it (also see comment directly above train_step_a()) - add couple lock feature (can't couple or discouple from wagon with locked couples) - ...
* remove tunnelborerorwell962017-01-25
| | | | | better now than too late. use 'digtron' for more realistic functionality.
* Document door animation parametersorwell962017-01-25
|
* Add forced get-on/off to prevent trains being unusable due to closed doors.orwell962017-01-25
| | | | else you would be able to lock yourself out of trains or lock players in trains with no escape.
* Rewrite seating systemorwell962017-01-25
| | | | Players no longer need to worry where to sit down.