User Tools

Site Tools


dev:proposals:door_indexes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:proposals:door_indexes [2022-08-07 21:19]
56independent Add response to response to response to advtrains (note: I'm in a bit of a jokey mood because i binged hermitcraft and also in light of minecraft's recent events (1984 by Orwell))
dev:proposals:door_indexes [2023-01-17 14:44]
evictionbot Evict 56independent
Line 40: Line 40:
 This relies on a carriage index algorithm existing, but this should be relatively simple to implement by copying some code and writing some others, given that trains need to count their carriages for the ''train_length()'' LuaATC command. This relies on a carriage index algorithm existing, but this should be relatively simple to implement by copying some code and writing some others, given that trains need to count their carriages for the ''train_length()'' LuaATC command.
  
-==== 2022-08-07 17:49, orwell ====+==== 2022-08-07t16:49+0000, orwell ====
  
 Advtrains has the functions and tools required to implement the position lookups you describe. The main issue (and also the reason why we don't have doors opening on both sides) is how the door opening/closing animation actually works. Advtrains has the functions and tools required to implement the position lookups you describe. The main issue (and also the reason why we don't have doors opening on both sides) is how the door opening/closing animation actually works.
Line 54: Line 54:
 On the other hand, limiting the door opening on a per-wagon basis would be no major issue to implement. On the other hand, limiting the door opening on a per-wagon basis would be no major issue to implement.
  
-=== 56independent. 2022-08-07t20:17+0100 ===+=== 56independent. 2022-08-07t20:16+0000 ===
 Maybe an overhang carriage opens its doors under carriage index mode, and a carriage refuses to open its doors under distance index mode. Maybe an overhang carriage opens its doors under carriage index mode, and a carriage refuses to open its doors under distance index mode.
  
 However, my [[http://56i.duckdns.org/blog/#The%20Hobby%20Cycle|hobby cycle]] is not tuned to programming (and may not be for a long time) so programming this feature would be exhausting and a waste of energy which could be spent on other things which would come about faster. However, my [[http://56i.duckdns.org/blog/#The%20Hobby%20Cycle|hobby cycle]] is not tuned to programming (and may not be for a long time) so programming this feature would be exhausting and a waste of energy which could be spent on other things which would come about faster.