orwell96
d837e7e5e9
Add LuaAutomation interface functions for interlocking routesetting and aspect requesting.
...
This allows to incorporate interlocking to automated systems
2018-08-24 22:39:13 +02:00
orwell96
5039c958a2
(Note added, merge in next commit)
2018-08-24 09:55:27 +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
orwell96
5fad61e9c9
Fix various bugs found while testing
2018-08-13 11:27:38 +02:00
orwell96
3dc5b28774
Teleport player to their train every 2 seconds instead of just on_joinplayer
...
Solves problem of wagon being unloaded while player sitting inside it because of network lag
2018-08-12 18:01:50 +02:00
orwell96
b80ba056d9
Fix some incompatibility crash for old worlds
2018-08-12 17:56:02 +02:00
h-v-smacker
6d7d9d0181
onboard computer fix
2018-08-12 17:53:03 +02:00
Gabriel Pérez-Cerezo
ffc3cf9d10
Remove redundant digtron.lua file
2018-08-12 17:51:09 +02:00
Gabriel Pérez-Cerezo
a7bb207007
Make digtron able to build tracks.
2018-08-12 17:50:37 +02:00
orwell96
224d5cbfd3
Add 'interlocking' privilege and add security checks
2018-08-12 17:23:52 +02:00
orwell96
a92ecbc26a
Automatic working (re-set certain route on train pass)
2018-08-12 16:58:47 +02:00
orwell96
0ec89364c0
Fix ATC rail reversing
2018-08-12 16:36:20 +02:00
orwell96
d7e2918009
fix digging unconfigured tcbs
2018-08-12 14:27:54 +02:00
orwell96
cb56b8b49a
Signal aspect handling, make default signals compatible, fix signal digging
2018-08-12 14:25:38 +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
0d130bb262
Uncommitted route handling (update_route function)
2018-08-03 19:20:10 +02:00
orwell96
c34794e8a1
Implement routesetting
...
Missing things: signal aspect updating, waiting routes handling, management /info tool
2018-07-21 16:31:00 +02:00
orwell96
5fc5eb9c2a
Change stuff on route programming, begin routesetting
2018-07-17 21:02:01 +02:00
orwell96
e3667b630c
Basic route management from signalling formspec
2018-07-04 19:31:44 +02:00
orwell96
031aab4633
Signal assignment and route programming procedure
2018-07-04 17:48:33 +02:00
orwell96
9586a4d709
Add off-track train flag, fixes wagon object property reset on reversing
2018-07-04 14:04:41 +02:00
orwell96
820503ba81
Implement trains blocking sections
2018-06-29 16:16:55 +02:00
orwell96
86fa420500
get_ts_at_pos(), file for train-related stuff
2018-06-29 11:50: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
5992618ee8
Add Track Circuit Breaks (TCBs), Database and Track Circuit Setup
...
Does not get saved yet.
2018-06-20 20:13:12 +02:00
orwell96
65675664e3
Interlocking: Create demo signals, signal API and model for TCB configurer node
2018-06-19 19:50:11 +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
eab240bdce
Mention testers in readme.txt
2018-06-18 19:02:40 +02:00
orwell96
b59c89f35a
Fix Boardcom and Wagon properties not being shown
2018-06-18 18:54:00 +02:00
orwell96
a961e7f672
Fix box wagon inventory serialization and make box wagons protected.
2018-06-14 22:25:54 +02:00
orwell96
6524c656a6
Fix box wagons
2018-06-14 21:33:18 +02:00
orwell96
a758426835
Correct some documentation
2018-06-14 21:31:35 +02:00
orwell96
712db5bd7f
Draft of interlocking system
2018-06-14 17:39:42 +02:00
orwell96
b8f2ccc638
Create models for Ks signals
...
Degrotate doesn't work for meshes (why?), so all I've done was pretty useless...
2018-06-14 17:39:42 +02:00
imcasper
105aacccf9
Update nodedb.lua
...
correct read/write file binary data
2018-06-14 17:39:42 +02:00
orwell96
3d7924c751
Fix bugs found while testing
2018-06-14 17:39:42 +02:00
orwell96
521112aced
add option to show train and wagon id
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
24b0639c5f
Mainly make collisions and coupling work
...
Missing: ATC stuff, yaw problems
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
b420a71939
Implement a reverse path lookup for trains instead of an occupations window system
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
30e98520e7
Occupation System, new train steps, still incomplete
2018-06-14 17:39:42 +02:00
orwell96
064a454117
Adapt wagons to new path system
...
Still outstanding: trains
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
da0e7ac756
make platform creation possible from other mods
2018-06-10 17:40:37 +02:00
Gabriel Pérez-Cerezo
38d10acca2
Merge branch 'master' of https://github.com/orwell96/advtrains
2018-06-10 17:30:50 +02:00