orwell96
5874a6d3f4
Fix protection regarding tracks (track_builder and railway_operator) and documentation on privileges
2018-11-12 22:24:56 +01:00
orwell96
07fa21f992
Increase savefile version to 2
...
(Master downgrade protection)
2018-11-10 22:53:12 +01:00
orwell96
b872bdae82
Remove "couple locks" and apply protection to the actual coupling process, and fix permissions on that
2018-11-10 12:12:52 +01:00
orwell96
60b7254992
atdump() to treat certain values special
2018-10-29 19:32:43 +01:00
orwell96
11fe530e18
Properly handle speed restrictions
2018-10-10 23:31:12 +02:00
orwell96
33c839b40d
Add signal safety control override, restructure control system
2018-10-10 21:49:52 +02:00
orwell96
8df7bcf6b6
Improve route programming:
...
- Formspec for TCBs instead of unhandy chatcommands
- Ability to advance route over the next secction without punching end
- Better visualization
- Ability to route into dead-end sections
2018-10-07 22:21:49 +02:00
orwell96
2596866b74
Add interlocking guide/manual, silence debug outputs
2018-09-14 21:36:59 +02:00
orwell96
05cb6090ac
Move passive API to the advtrains core
...
to remove dependency of interlocking on luaautomation
2018-08-16 19:18:03 +02:00
Gabriel Pérez-Cerezo
ffc3cf9d10
Remove redundant digtron.lua file
2018-08-12 17:51:09 +02:00
orwell96
6cdb47edd2
Add routesetting callbacks.
...
Now, only the signal aspect setting is still missing
2018-08-12 13:23:36 +02:00
orwell96
820503ba81
Implement trains blocking sections
2018-06-29 16:16:55 +02:00
orwell96
1a64e96ae9
Complete Track Section handling, incl. removing tcb's and marker entities
2018-06-26 10:46:40 +02:00
orwell96
e1ebbff23c
Add track section concept and rework TCB design, implement new linking behavior
2018-06-21 20:34:20 +02:00
orwell96
08ac0f9c05
Check for inventory existence before serializing, and do not create it again if it already exists.
2018-06-19 19:49:24 +02:00
orwell96
a961e7f672
Fix box wagon inventory serialization and make box wagons protected.
2018-06-14 22:25:54 +02:00
orwell96
3d7924c751
Fix bugs found while testing
2018-06-14 17:39:42 +02:00
orwell96
2a76d4a960
Fix final bugs and to-do's (u.a.save/load system)
2018-06-14 17:39:42 +02:00
orwell96
254c32e304
Fix yaw calculations, track placement orientation and speed up direction lookup functions
2018-06-14 17:39:42 +02:00
orwell96
5dca155333
Implement collisions. (does not work yet, still code errors)
2018-06-14 17:39:42 +02:00
orwell96
caf2bda7bc
Fix path_dir to actually be an angle, path item deletion and orientation of 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)
2018-06-14 17:39:42 +02:00
orwell96
139a26fccc
Bugfixes part 1
...
There's something wrong with the new paths, next time build a path validity checker to trace the issue
2018-06-14 17:39:42 +02:00
orwell96
3420a1a912
Restructure path system
...
The changes to the path system have not yet been integrated...
2018-06-14 17:39:42 +02:00
Gabriel Pérez-Cerezo
38d10acca2
Merge branch 'master' of https://github.com/orwell96/advtrains
2018-06-10 17:30:50 +02:00
orwell96
8b576357ef
Rework the privilege system completely
...
See privilege_guide.txt for information
2018-03-14 20:57:07 +01:00
Gabriel Pérez-Cerezo
8ca7325d7c
Merge https://github.com/orwell96/advtrains into log
2018-02-22 11:03:53 +01:00
Gabriel Pérez-Cerezo
481f6218a8
Log certain events in a logfile in the world directory
...
(also fix the output of /at_sync_ndb)
2018-02-21 20:03:34 +01:00
Gabriel Pérez-Cerezo
81d637dc76
added separate logging for railway networks
2018-02-18 22:52:57 +01:00
orwell96
c93a5bf390
Simplify /at_reroute
...
It is not necessary to reload the save files, because there already is a function to invalidate train routes e.g. when turnouts are switched
2018-01-23 13:14:40 +01:00
orwell96
79da249c3d
Add bord computer to trains
...
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
2018-01-09 21:30:56 +01:00
orwell96
1f26781b6a
Change controls for trains (again)
2018-01-07 20:41:48 +01:00
orwell96
07442cfe8f
Decrease the amount of garbage saved in save files
2018-01-07 19:00:43 +01:00
orwell96
46c4447da0
Rewrite rail connection system...
...
...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-18 23:09:23 +01:00
orwell96
cd0aaa53a0
Move train_load() function into advtrains_train_track
2017-12-18 12:21:54 +01:00
orwell96
d78d07589d
Add modifiable wagon extents
...
This will be required for advcarts
2017-11-23 17:00:39 +01:00
orwell96
1f9a9062e0
Replace many math.floor(x+0.5) calls (or math.floor calls that should be those) by custom atround() function
2017-10-25 10:51:19 +02:00
orwell96
c67770833b
Fix coupling and collisions in certain cases
...
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-25 10:33:41 +02:00
orwell96
b6a5620cd3
Fix error cascade due to inexistent drb_dump when debugging is disabled
2017-10-11 11:22:35 +02:00
rubenwardy
d65c4916ce
Remove zip release files, move mod to root, exclude assets from Makefile ( #92 )
2017-09-20 18:05:04 +02:00
orwell96
2d0b51b897
Restructure mod directory
2017-01-04 19:10:03 +01:00
orwell96
8784ee41dd
Do not duplicate definitions of 'print' in every file
2017-01-02 13:49:20 +01:00
orwell96
f806ed9eee
Turning mod into a modpack and separating the trains from the core mod
2016-12-20 14:17:39 +01:00