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 17:58]
orwell add a comment
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-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.
  
-//3D models can include animations that are indexed by "animation keyframes". The current models have 4 separate animations://+3D models can include animations that are indexed by "animation keyframes". The current models have 4 separate animations:
   * Open left doors (with right doors closed)   * Open left doors (with right doors closed)
   * Open right doors (with left doors closed)   * Open right doors (with left doors closed)
Line 50: Line 50:
   * Close right doors (with left doors closed)   * Close right doors (with left doors closed)
  
-//To implement your proposal, we would need more animation definitions for all the individual doors opening and closing. In the best case, we combine this with both-sides door opening. If someone can come up with a good way to solve this (e.g. an animation auto-generator, separate object for the doors etc.) then this makes sense.//+To implement your proposal, we would need more animation definitions for all the individual doors opening and closing. In the best case, we combine this with both-sides door opening. If someone can come up with a good way to solve this (e.g. an animation auto-generator, separate object for the doors etc.) then this makes sense.
  
-//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. 
- --- //orwell 2022-08-07 17:49//+ 
 +=== 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. 
 + 
 +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.