229
edits
Line 58: | Line 58: | ||
Correct your vertical speed if you hear ''"<Above/Below> glidepath."'' | Correct your vertical speed if you hear ''"<Above/Below> glidepath."'' | ||
<br /> | <br /> | ||
= Phraseology customization = | |||
You can customize the phraseology by editing the "''phraseology.xml''" file.<br /> | |||
There you can find groups of tags like: | |||
<syntaxhighlight lang="xml"> | |||
. . . . | |||
<foo type="string">Hello world. </foo> | |||
<foo type="string">It is a good </foo> | |||
<foo type="string">day </foo> | |||
<foo type="string">to fly. </foo> | |||
. . . . </syntaxhighlight> | |||
which will be read as a single sentence (''"Hello world. It is a good day to fly. "'').</br> | |||
=== Literals === | |||
Those in the example above are literal sentences that you can change by the strings you want. | |||
{{note | | |||
* You should not include either " or ' . | |||
* Punctuation is meaningfull. }} | |||
=== Substitutions === | |||
Strings starting by '''%''' will call some '''property value'''. | |||
In the example above replace "'''day'''" by "'''% /sim/startup/time-offset-type'''". </br> | |||
Now the sentence will be read as ''"Hello world. It is a good morning to fly. "'' or ''"Hello world. It is a good evening to fly. "'' depending on the time.</br> | |||
{{note | | |||
* The called property must be a string.}} | |||
=== Concatenation === | |||
Strings starting by '''~''' will append the sentence with another one.</br> | |||
Try this: | |||
<syntaxhighlight lang="xml"> | |||
. . . . | |||
<short type="string">% /satc/callsign-fmt</short> | |||
<short type="string">, </short> | |||
<foo type="string">Have a nice fly, </foo> | |||
<foo type="string">~short</foo> | |||
. . . . </syntaxhighlight>when calling ''foo'' you should hear ''"Have a nice fly, <your-callsign> , "'' </br> | |||
=== Word Replacement === | |||
If you find that the word ''Wind'' is not pronounced clearly, you can change it by ''Winnded'' or similar to increase its intelligibility..</br> | |||
Better? Fine, but what about the message on the screen? | |||
Include a tag with the pattern <replace type="string">'''old''':'''new'''</replace> : | |||
<syntaxhighlight lang="xml"> | |||
. . . . | |||
<replace type="string">Winnded:Wind</replace> | |||
. . . . </syntaxhighlight> </br> |
edits