20,741
edits
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) |
|||
Line 35: | Line 35: | ||
{{note | This is the latest version, v.1.2 }} | {{note | This is the latest version, v.1.2 }} | ||
#- Download the [https://drive.google.com/file/d/0BzzojFuPdeyMTGNDYmZDcEljQkU/view?usp=sharing spoken_atc.zip]. There you will find a "''spoken_atc''" directory with 6 files inside. | #- Download the [https://drive.google.com/file/d/0BzzojFuPdeyMTGNDYmZDcEljQkU/view?usp=sharing spoken_atc.zip]. There you will find a "''spoken_atc''" directory with 6 files inside. | ||
#- Extract that directory (not only the files!) into the ''[[$ | #- Extract that directory (not only the files!) into the ''[[$FG_HOME]]/Nasal'' directory. | ||
#- Create a new file named $FG_HOME/Nasal/spoken_atc.nas, pasting the following into it (untested for now): | |||
<syntaxhighlight lang="nasal"> | |||
var fg_home = getprop("/sim/fg-home"); | |||
var user_scripts = fg_home ~ '/Nasal/'; | |||
var spokenATC_dir = user_scripts ~= 'spoken_atc/'; | |||
var filenames = ['init.nas', 'atc_tools.nas','voice.nas','phraseology.nas']; | |||
foreach(var f; filenames) { | |||
io.load_nasal( spokennATC_dir ~ f ); | |||
} | |||
</syntaxhighlight> | |||
#- Edit the ''[[$FG_ROOT]]/keyboard.xml'' file and include the following lines in order to bind | #- Edit the ''[[$FG_ROOT]]/keyboard.xml'' file and include the following lines in order to bind | ||
<ref>{{cite web | <ref>{{cite web |