summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-18Remove path invalidation statement.orwell96
Caused problems on multiple detector rails in a row, because paths got cleared in-between a train step Also optimize some code
2017-12-18Fix detector lookup in ATC railsorwell96
2017-12-18Do not spam the server chat with messages from /at_sync_ndb and trains going ↵orwell96
off_track The off-track warning has moved into the info text of wagons
2017-12-18Rewrite rail connection system...orwell96
...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)
2017-12-18Use preferred rail orientation algorithm also for double connectionsorwell96
2017-12-18Move train_load() function into advtrains_train_trackorwell96
2017-12-17Try to fix occasional crash when placing wagonsorwell96
2017-12-12Improve textures and models of industrial train and add new more powerful ↵mbb
industrial engine
2017-12-06Make sure an old_velocity is always passedorwell96
Fixes crash on placing a new subway wagon
2017-12-06Implement sound api and some soundsorwell96
- Level crossing bell - Horns - Subway train driving and door sounds ...to be continued...
2017-11-29Remove zip file and makefileorwell96
These are not needed anyway
2017-11-29Change name of update_animation functionorwell96
I will use this for sounds, and so it needs to be changed to a more general name
2017-11-27remove superfluous parameterorwell96
... from update_trainpart_properties call Prohibits flipping of all wagons when extent_h wasn't set
2017-11-24Do not modify rails that should not be modifiedorwell96
... 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)
2017-11-24Merge branch 'master' of https://github.com/orwell96/advtrainsorwell96
2017-11-24Correct yaw to preferred rail direction calculationorwell96
2017-11-23Preserve the player's looking directionorwell96
Contributed by @gpcf
2017-11-23Add modifiable wagon extentsorwell96
This will be required for advcarts
2017-11-22Fix multiple track types not working simultaneouslyorwell96
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.
2017-11-22do not register wagons in the advtrains namespace automaticallyorwell96
One step towards advcarts compatibility
2017-11-22Make trackplacer align rails by any tracks, not just by tracks with the same ↵orwell96
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)
2017-11-14Do not punch signsorwell96
For some reason, a sign text gets removed by a train when it drives by. This should fix it.
2017-11-14Fix occasional crash in discouple on_punchorwell96
I think the issue is caused by the new animal damage code...
2017-11-02Fix entity damageorwell96
Animals from mobs weren't damaged because they have the immortal group set. Instead, we check for the existence of "fleshy".
2017-10-31Change name of the node database group in order to clone node database code ↵orwell96
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.
2017-10-25Punch non-player objects when they get overridden by a train.orwell96
2017-10-25Fix subway train placerorwell96
2017-10-25Some workaround fixes for Linuxworks serverorwell96
Trains no longer get deleted when there's no rail Fast item to create subway train
2017-10-25Add missing documentation for set_lineorwell96
2017-10-25Update readme.txtorwell96
2017-10-25Implement multi-occupation in detector.on_node table to finally fix collisionsorwell96
2017-10-25Replace many math.floor(x+0.5) calls (or math.floor calls that should be ↵orwell96
those) by custom atround() function
2017-10-25Fix coupling and collisions in certain casesorwell96
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
2017-10-25Moved default train track to separate mod, for integration with advcarts.Gabriel Pérez-Cerezo
2017-10-23Fix last commitorwell96
2017-10-23Fix continous object_property modificationorwell96
This problem caused flickering of door animations on subways.
2017-10-23Set wagon line numberGabriel Pérez-Cerezo
2017-10-11Prefer saved nodedb node before node loaded from maporwell96
Possibly fixes bug on linuxworks server.
2017-10-11Merge remote-tracking branch 'lemon-melon-repo/master'orwell96
2017-10-11Do not crash when train_pos is nil while checking wagon entity loadingorwell96
2017-10-11Fix error cascade due to inexistent drb_dump when debugging is disabledorwell96
2017-09-20Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy
2017-08-24Merge PR from mbb - Improve models and texturesMBB
2017-08-15Repack for gpcf's PRorwell96
2017-08-15Added command to reroute trainsGabriel Pérez-Cerezo
2017-08-15Fixed #86Gabriel Pérez-Cerezo
2017-07-15Add speed as number in km/h to train hudlemon-melon
2017-07-15Add m/s to km/h helper functionlemon-melon
2017-06-12Add command to throw all players out of trains, fixes #78orwell96
2017-06-08Update Zip - Release 1.8.3orwell96