Spoken ATC: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (→‎How to install: updating instructions (untested), files may need to be changed to update the location of the XML resources - also, loading order may need to be made explicit)
No edit summary
Line 49: Line 49:
</syntaxhighlight>
</syntaxhighlight>


#- Edit the ''[[$FG_ROOT]]/keyboard.xml'' file and include the following lines in order to bind
4- Edit the ''[[$FG_ROOT]]/keyboard.xml'' file and include the following lines in order to bind
<ref>{{cite web
<ref>{{cite web
   |url    = http://wiki.flightgear.org/Howto:Reassign_keyboard_bindings
   |url    = http://wiki.flightgear.org/Howto:Reassign_keyboard_bindings
Line 110: Line 110:
== On screen voice ==
== On screen voice ==
If the gui.popupTip() messages bother you, when binding (see above) you can call the function as  
If the gui.popupTip() messages bother you, when binding (see above) you can call the function as  
  <script>spoken_atc.speak('''n''');</script>
<syntaxhighlight lang="xml">
<script> <![CDATA[ spoken_atc.speak(n); ]]> </script> </syntaxhighlight>
with '''n''' seconds you want, even 0 meaning no popupTip at all.<br />
with '''n''' seconds you want, even 0 meaning no popupTip at all.<br />


229

edits

Navigation menu