aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Revert assign_to_seat_group order on subway trainorwell962018-01-15
| | | | as train_operator on Linuxworks, it often happens that you accidentally manually drive a subway train. This is more effort to get to the drivers seat, but is how the behavior was for the last 6 months
* Add "seat_access" to saved fieldsorwell962018-01-15
| | | | Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server
* Use directory delimter constantorwell962018-01-15
| | | Reported by @kostett, probably the cause of buggy nodedb saving
* Add train_operator privilege check on discoupleorwell962018-01-09
|
* Add bord computer to trainsorwell962018-01-09
| | | | | | | | Features: - couple/decouple trains from a driver stand - new couple lock system (owner based, overridable by 'train_remove' privilege) - all train operators can now change the inside/outside text, allows for multilines Accessible via right-click menu or by pressing Sneak+Jump keys
* Move driving_ctrl_access property to seat grouporwell962018-01-09
| | | | | there's now a more strict check for the train_operator privilege Also added custom reasons on getting on a train.
* Merge branch 'master' of https://github.com/orwell96/advtrainsorwell962018-01-07
|\
| * steam locomotive: Add sounds and improve texturesmbb2017-12-23
| |
* | Don't use looped sounds on subwayorwell962018-01-07
| | | | | | | | (causes engine bugs with dangling sound handles)
* | Change controls for trains (again)orwell962018-01-07
| |
* | Decrease the amount of garbage saved in save filesorwell962018-01-07
|/
* Remove path invalidation statement.orwell962017-12-18
| | | | | Caused problems on multiple detector rails in a row, because paths got cleared in-between a train step Also optimize some code
* Fix detector lookup in ATC railsorwell962017-12-18
|
* Do not spam the server chat with messages from /at_sync_ndb and trains going ↵orwell962017-12-18
| | | | | | off_track The off-track warning has moved into the info text of wagons
* 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)
* Use preferred rail orientation algorithm also for double connectionsorwell962017-12-18
|
* Move train_load() function into advtrains_train_trackorwell962017-12-18
|
* Try to fix occasional crash when placing wagonsorwell962017-12-17
|
* Improve textures and models of industrial train and add new more powerful ↵mbb2017-12-12
| | | | industrial engine
* Make sure an old_velocity is always passedorwell962017-12-06
| | | Fixes crash on placing a new subway wagon
* Implement sound api and some soundsorwell962017-12-06
| | | | | | | - Level crossing bell - Horns - Subway train driving and door sounds ...to be continued...
* Remove zip file and makefileorwell962017-11-29
| | | | These are not needed anyway
* Change name of update_animation functionorwell962017-11-29
| | | | I will use this for sounds, and so it needs to be changed to a more general name
* remove superfluous parameterorwell962017-11-27
| | | | ... from update_trainpart_properties call Prohibits flipping of all wagons when extent_h wasn't set
* Do not modify rails that should not be modifiedorwell962017-11-24
| | | | | | ... when placing tracks, such as slopes Fixes slopes being replaced by curves. Also, check the node below for connection (does not check rely, but that would be uneccessary)
* Merge branch 'master' of https://github.com/orwell96/advtrainsorwell962017-11-24
|\
| * Preserve the player's looking directionorwell962017-11-23
| | | | | | Contributed by @gpcf
* | Correct yaw to preferred rail direction calculationorwell962017-11-24
|/
* Add modifiable wagon extentsorwell962017-11-23
| | | | This will be required for advcarts
* Fix multiple track types not working simultaneouslyorwell962017-11-22
| | | | | | | Bug was caused by the drives_on table of every train and advtrains.all_tracktypes sharing the same reference, which caused advtrains.all_tracktypes to become the intersection of all train drives_on's in the world. However, this did become empty, causing nothing to work anymore.
* do not register wagons in the advtrains namespace automaticallyorwell962017-11-22
| | | | One step towards advcarts compatibility
* Make trackplacer align rails by any tracks, not just by tracks with the same ↵orwell962017-11-22
| | | | | | | nnpref This finally fixes the need to rotate atc rails and bumpers. Also prefers rotation that is closer to the player's look dir (placed bumpers will face the player)
* Do not punch signsorwell962017-11-14
| | | | For some reason, a sign text gets removed by a train when it drives by. This should fix it.
* Fix occasional crash in discouple on_punchorwell962017-11-14
| | | I think the issue is caused by the new animal damage code...
* Fix entity damageorwell962017-11-02
| | | | Animals from mobs weren't damaged because they have the immortal group set. Instead, we check for the existence of "fleshy".
* Change name of the node database group in order to clone node database code ↵orwell962017-10-31
| | | | | | into a library mod advtrains will keep its own node database code for reasons of crash recovery, with the handicap that improvements to nplib need to be manually backported.
* Punch non-player objects when they get overridden by a train.orwell962017-10-25
|
* Fix subway train placerorwell962017-10-25
|
* Some workaround fixes for Linuxworks serverorwell962017-10-25
| | | | | Trains no longer get deleted when there's no rail Fast item to create subway train
* Add missing documentation for set_lineorwell962017-10-25
|
* Update readme.txtorwell962017-10-25
|
* Implement multi-occupation in detector.on_node table to finally fix collisionsorwell962017-10-25
|
* Replace many math.floor(x+0.5) calls (or math.floor calls that should be ↵orwell962017-10-25
| | | | those) by custom atround() function
* Fix coupling and collisions in certain casesorwell962017-10-25
| | | | | | If a train moved towards another train, and the other train's step was executed after the first one's, the trains did eventually not collide. Fix by moving the enter_node and collision check to step_b Also change some couple behavior
* Moved default train track to separate mod, for integration with advcarts.Gabriel Pérez-Cerezo2017-10-25
|
* Fix last commitorwell962017-10-23
|
* Fix continous object_property modificationorwell962017-10-23
| | | This problem caused flickering of door animations on subways.
* Set wagon line numberGabriel Pérez-Cerezo2017-10-23
|
* Prefer saved nodedb node before node loaded from maporwell962017-10-11
| | | | Possibly fixes bug on linuxworks server.
* Merge remote-tracking branch 'lemon-melon-repo/master'orwell962017-10-11
|\