User Tools

Site Tools


en:traffic:timetable:makro

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:traffic:timetable:makro [2018/09/23 13:18]
bahnfrank65 [Zu beachten]
en:traffic:timetable:makro [2018/09/23 13:19] (current)
bahnfrank65 [Besondere Verwendungszwecke]
Line 52: Line 52:
  
 Certain characters should not be used in macro names. Although they may begin with digits and consist entirely of numbers, umlauts are to be avoided as far as possible, for example. Certain characters should not be used in macro names. Although they may begin with digits and consist entirely of numbers, umlauts are to be avoided as far as possible, for example.
-==== Besondere Verwendungszwecke ​====+==== Special Uses ====
  
-Makros können nicht nur Fahrzeuge enthaltensondern auch [[en:​traffic:​timetable:​foreground_background|Vorder- und Hintergrundbilder]] oder [[en:​traffic:​timetable:​additional_parameters|Zusätzliche Parameter]]. Auch diese können verschachtelt werden, so kann in einem Makro eine Vordergrundsequenz definiert werden, in einem zweiten eine Hintergrundsequenzund ein drittes vereint die beiden zu einem Zusätzlichen Parameter.+Macros can not only contain vehiclesbut also [[en:​traffic:​timetable:​foreground_background|foreground and background images]] or [[en:​traffic:​timetable:​additional_parameters|additional parameters]]. These can also be nested, so in one macro a foreground sequence can be defined, in a second a background sequenceand a third unites the two into an additional parameter.
  
-In Makros können sogar [[en:​traffic:​timetable:​pool|POOLs]] ​eingetragen werdenHierbei ist aber darauf zu achtendaß in allen eingetragenen ​POOLs tatsächlich Bewegungen stattfindenAndernfalls gibt Traffic eine Fehlermeldung ausdaß ein POOL nicht gefunden wurde.+In macros, even [[en:​traffic:​timetable:​pool|POOLs]] ​can be enteredHoweverit must be ensured that movements take place in all registered ​POOLs. ​OtherwiseTraffic will give an error message that a POOL was not found.
  
-Zu erwähnen wäre hier noch die [[en:​traffic:​timetable:​include_require|Einbindung externer Fahrpläne mittels ​$INCLUDE ​oder $REQUIRE]]. ​Man kann in solchen Fahrplänen Makros definierendiese Fahrpläne dann in dem Fahrplan einbinden, der aktuell ​in Traffic laufen sollund die Makros nutzen, als stünden sie im aktuellen Fahrplan.+Worth mentioning here is the [[en:​traffic:​timetable:​include_require|integration of external timetables using $INCLUDE ​or $REQUIRE]]. ​You can define macros ​in such timetablesthen include these timetables ​in the timetable that should currently run in trafficand use the macros as if they were in the current timetable.
  
en/traffic/timetable/makro.1537701481.txt.gz · Last modified: 2018/09/23 13:18 by bahnfrank65