1,089
edits
m (Switch to the {{forum url}} and {{forum link}} templates for all forum links.) |
|||
Line 407: | Line 407: | ||
==== Finding marker coordinates ==== | ==== Finding marker coordinates ==== | ||
If an aircraft tutorial wants to use the marker, then the aircraft animation file needs to include the marker model (see above). If this is done, then one can use the "marker-adjust" dialog to find the respective <marker> coordinates. Just type this into the " | If an aircraft tutorial wants to use the marker, then the aircraft animation file needs to include the marker model (see above). If this is done, then one can use the "marker-adjust" dialog to find the respective <marker> coordinates. Just type this into the "Debug->Nasal Console" dialog: | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
tutorial.dialog() | tutorial.dialog() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Or temporarily add a key binding to the *-set.xml file: | Or temporarily add a key binding to the *-set.xml file: | ||
Line 426: | Line 425: | ||
</key> | </key> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Or in the main menu just select "Debug->Display Tutorial Marker". | |||
The dialog allows to move a red cross around, which has the blinking marker circle in the middle. Note that ctrl- and shift-modifiers modulate the slider movements. Ctrl makes positioning coarser, and shift finer. The [Reset] button moves the marker back to aircraft origin, the [Center] button centers the sliders, and the [Dump] button dumps the marker coordinates to the terminal, for example: | The dialog allows to move a red cross around, which has the blinking marker circle in the middle. Note that ctrl- and shift-modifiers modulate the slider movements. Ctrl makes positioning coarser, and shift finer. The [Reset] button moves the marker back to aircraft origin, the [Center] button centers the sliders, and the [Dump] button dumps the marker coordinates to the terminal, for example: |
edits