Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Rewrite rail connection system... | orwell96 | 2017-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 connections | orwell96 | 2017-12-18 |
| | |||
* | Move train_load() function into advtrains_train_track | orwell96 | 2017-12-18 |
| | |||
* | Make sure an old_velocity is always passed | orwell96 | 2017-12-06 |
| | | | Fixes crash on placing a new subway wagon | ||
* | Implement sound api and some sounds | orwell96 | 2017-12-06 |
| | | | | | | | - Level crossing bell - Horns - Subway train driving and door sounds ...to be continued... | ||
* | Change name of update_animation function | orwell96 | 2017-11-29 |
| | | | | I will use this for sounds, and so it needs to be changed to a more general name | ||
* | remove superfluous parameter | orwell96 | 2017-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 modified | orwell96 | 2017-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/advtrains | orwell96 | 2017-11-24 |
|\ | |||
| * | Preserve the player's looking direction | orwell96 | 2017-11-23 |
| | | | | | | Contributed by @gpcf | ||
* | | Correct yaw to preferred rail direction calculation | orwell96 | 2017-11-24 |
|/ | |||
* | Add modifiable wagon extents | orwell96 | 2017-11-23 |
| | | | | This will be required for advcarts | ||
* | Fix multiple track types not working simultaneously | orwell96 | 2017-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 automatically | orwell96 | 2017-11-22 |
| | | | | One step towards advcarts compatibility | ||
* | Make trackplacer align rails by any tracks, not just by tracks with the same ↵ | orwell96 | 2017-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 signs | orwell96 | 2017-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_punch | orwell96 | 2017-11-14 |
| | | | I think the issue is caused by the new animal damage code... | ||
* | Fix entity damage | orwell96 | 2017-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 ↵ | orwell96 | 2017-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. | orwell96 | 2017-10-25 |
| | |||
* | Fix subway train placer | orwell96 | 2017-10-25 |
| | |||
* | Some workaround fixes for Linuxworks server | orwell96 | 2017-10-25 |
| | | | | | Trains no longer get deleted when there's no rail Fast item to create subway train | ||
* | Implement multi-occupation in detector.on_node table to finally fix collisions | orwell96 | 2017-10-25 |
| | |||
* | Replace many math.floor(x+0.5) calls (or math.floor calls that should be ↵ | orwell96 | 2017-10-25 |
| | | | | those) by custom atround() function | ||
* | Fix coupling and collisions in certain cases | orwell96 | 2017-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-Cerezo | 2017-10-25 |
| | |||
* | Fix last commit | orwell96 | 2017-10-23 |
| | |||
* | Fix continous object_property modification | orwell96 | 2017-10-23 |
| | | | This problem caused flickering of door animations on subways. | ||
* | Set wagon line number | Gabriel Pérez-Cerezo | 2017-10-23 |
| | |||
* | Prefer saved nodedb node before node loaded from map | orwell96 | 2017-10-11 |
| | | | | Possibly fixes bug on linuxworks server. | ||
* | Merge remote-tracking branch 'lemon-melon-repo/master' | orwell96 | 2017-10-11 |
|\ | |||
| * | Add speed as number in km/h to train hud | lemon-melon | 2017-07-15 |
| | | |||
| * | Add m/s to km/h helper function | lemon-melon | 2017-07-15 |
| | | |||
* | | Do not crash when train_pos is nil while checking wagon entity loading | orwell96 | 2017-10-11 |
| | | |||
* | | Fix error cascade due to inexistent drb_dump when debugging is disabled | orwell96 | 2017-10-11 |
| | | |||
* | | Remove zip release files, move mod to root, exclude assets from Makefile (#92) | rubenwardy | 2017-09-20 |
| | | |||
* | | Merge PR from mbb - Improve models and textures | MBB | 2017-08-24 |
| | | |||
* | | Added command to reroute trains | Gabriel Pérez-Cerezo | 2017-08-15 |
| | | |||
* | | Fixed #86 | Gabriel Pérez-Cerezo | 2017-08-15 |
|/ | |||
* | Add command to throw all players out of trains, fixes #78 | orwell96 | 2017-06-12 |
| | |||
* | Fix broken door animations caused by continuous set_object_properties() ↵ | orwell96 | 2017-06-08 |
| | | | | | | messages sent to client ... which each time caused the animation to be reset | ||
* | lower capacity of freight cars | orwell96 | 2017-06-08 |
| | |||
* | Change log level of save_all message to atprint() | orwell96 | 2017-06-08 |
| | |||
* | Do not clear the F table when running the init code fails | orwell96 | 2017-06-08 |
| | |||
* | Merge pull request #67 from AntumDeluge/settings | orwell96 | 2017-06-08 |
|\ | | | | | Replace deprecated methods | ||
| * | Replace deprecated methods: | AntumDeluge | 2017-06-07 |
| | | | | | | | | - 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool' | ||
* | | Check if 'digtron' global exists before calling in condition: | AntumDeluge | 2017-06-07 |
|/ | | | Fixes 'Undeclared global variable "digtron"'. | ||
* | Add loading/unloading rails (#63) | gpcf | 2017-05-31 |
| | | | | Pull request by gpcf Will update zip file with next release | ||
* | Fix still broken ndb restoring, and make sid() honor nil values | orwell96 | 2017-05-31 |
| | |||
* | Fix detector rails changing to default orientation | orwell96 | 2017-05-30 |
| | | | | Release 1.8.1 |