aboutsummaryrefslogtreecommitdiff
path: root/advtrains/wagons.lua
Commit message (Collapse)AuthorAge
* Fix box wagon inventory serialization and make box wagons protected.orwell962018-06-14
|
* add option to show train and wagon idorwell962018-06-14
|
* Fix final bugs and to-do's (u.a.save/load system)orwell962018-06-14
|
* Fix yaw calculations, track placement orientation and speed up direction ↵orwell962018-06-14
| | | | lookup functions
* Mainly make collisions and coupling workorwell962018-06-14
| | | | Missing: ATC stuff, yaw problems
* Implement a reverse path lookup for trains instead of an occupations window ↵orwell962018-06-14
| | | | system
* Fix path_dir to actually be an angle, path item deletion and orientation of ↵orwell962018-06-14
| | | | | | | | wagons The occupation system as it is now will change. For each position, I will save the index in the train's path, and implement a callback system. I need this because the occupation window system will not be enough to cover all use cases (e.g. to make a train stop with it's center or back at a certain position, I need 3 different brake distances, which doesn't fit into the scheme)
* Bugfixes part 1orwell962018-06-14
| | | | There's something wrong with the new paths, next time build a path validity checker to trace the issue
* Occupation System, new train steps, still incompleteorwell962018-06-14
|
* Adapt wagons to new path systemorwell962018-06-14
| | | | Still outstanding: trains
* Rework the privilege system completelyorwell962018-03-14
| | | | See privilege_guide.txt for information
* Log certain events in a logfile in the world directoryGabriel Pérez-Cerezo2018-02-21
| | | | (also fix the output of /at_sync_ndb)
* Allow wagon owners to drive their trains #2orwell962018-02-20
| | | The check was missing at check_seat_group_access
* Allow wagon owners to control their own trainsorwell962018-02-20
| | | | ...even without the train_operator privilege This still doesn't allow them to control switches, but whatever...
* Do not crash when player gets on a train while it`s turningorwell962018-02-07
|
* Correct discouple positionorwell962018-01-22
| | | | | Discouple entity was falsely placed at the position of the wagon instead of at its end
* Actually use the static_save propertyorwell962018-01-15
| | | My PR on this was merged months ago, but i've just noticed that i'm not using it yet
* Relayout Wagon Properties formorwell962018-01-15
| | | | The button wasn't visible on the screen anymore
* Add "seat_access" to saved fieldsorwell962018-01-15
| | | | Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server
* 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.
* Don't use looped sounds on subwayorwell962018-01-07
| | | | (causes engine bugs with dangling sound handles)
* 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
* 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)
* 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...
* 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
* Preserve the player's looking directionorwell962017-11-23
| | | Contributed by @gpcf
* Add modifiable wagon extentsorwell962017-11-23
| | | | This will be required for advcarts
* do not register wagons in the advtrains namespace automaticallyorwell962017-11-22
| | | | One step towards advcarts compatibility
* 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
|
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
|
* Restructure mod directoryorwell962017-01-04
|
* add API documentationorwell962017-01-03
|
* remove train type concept and calculate train's capabilities based on used ↵orwell962016-12-22
| | | | wagons
* Turning mod into a modpack and separating the trains from the core modorwell962016-12-20