This shows you the differences between two versions of the page.
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 enthalten, sondern 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 Hintergrundsequenz, und ein drittes vereint die beiden zu einem Zusätzlichen Parameter. | + | Macros can not only contain vehicles, but 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 sequence, and a third unites the two into an additional parameter. |
- | In Makros können sogar [[en:traffic:timetable:pool|POOLs]] eingetragen werden. Hierbei ist aber darauf zu achten, daß in allen eingetragenen POOLs tatsächlich Bewegungen stattfinden. Andernfalls gibt Traffic eine Fehlermeldung aus, daß ein POOL nicht gefunden wurde. | + | In macros, even [[en:traffic:timetable:pool|POOLs]] can be entered. However, it must be ensured that movements take place in all registered POOLs. Otherwise, Traffic 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 definieren, diese Fahrpläne dann in dem Fahrplan einbinden, der aktuell in Traffic laufen soll, und 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 timetables, then include these timetables in the timetable that should currently run in traffic, and use the macros as if they were in the current timetable. |