User Tools

Site Tools


usage:nodes:atc_rail

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
usage:nodes:atc_rail [2021-04-28 14:37]
orwell Remove duplicate API doc
usage:nodes:atc_rail [2023-12-12 02:41] (current)
blockhead name was changed in some version or another
Line 1: Line 1:
-====== LuaAutomation ATC rail ======+====== LuaATC rail ======
 {{ :usage:nodes:advtrains_dtrack_atc_placer.png?80 |}} {{ :usage:nodes:advtrains_dtrack_atc_placer.png?80 |}}
  
Line 23: Line 23:
   * Only straight nodes are supported. You can't put this node on a curve or as a switch.   * Only straight nodes are supported. You can't put this node on a curve or as a switch.
   * This node is an [[usage:nodes#component_types|active component]].   * This node is an [[usage:nodes#component_types|active component]].
 +
 +===== Operation =====
 +
 +The LuaATC Rail is an active LuaATC component. It holds Lua code that is executed on specific [[usage:atlatc:events]], and interacts with the world using the [[usage:atlatc:api]].
 +
 +Every LuaATC rail must belong to an [[usage:atlatc:environment|Environment]]. You can select the active environment using the dropdown on the top left.
 +
 +//Note: you have to create an environment before LuaATC components can be used. See [[usage:atlatc:environment#Creating an Environment]].//
  
 ===== API ===== ===== API =====
Line 31: Line 39:
 ===== Trivia ===== ===== Trivia =====
  
-The LuaAutomation ATC rail has the same texture as the [[usage:nodes:atc_controller|ATC controller rail]], but its functions are different.+The LuaAutomation ATC rail has the same texture as the [[usage:nodes:atc_controller|ATC controller rail]], but its functions are different. A patch has been posted on the [[:usage:mailing_list|Mailing List]], and is awaiting inclusion.
usage/nodes/atc_rail.1619613457.txt.gz · Last modified: 2021-04-28 14:37 by orwell