| 1 |
To enable full functionality of the SCR-522C/TR1133 radio there are several things |
| 2 |
that need to be done. |
| 3 |
|
| 4 |
First change the <nasal> section of your *set.xml file so that it looks like the |
| 5 |
following. |
| 6 |
|
| 7 |
<nasal> |
| 8 |
<!-- your other nasal files --> |
| 9 |
<!-- the following three lines must be exactly like this --> |
| 10 |
<SCR_522C> |
| 11 |
<file>Aircraft/Instruments-3d/SCR-522C/Nasal/SCR-522C.nas</file> |
| 12 |
</SCR_522C> |
| 13 |
</nasal> |
| 14 |
|
| 15 |
Menu: |
| 16 |
|
| 17 |
The above will enable the F12 key to bring up the SCR-522C specific frequencies dialog. It |
| 18 |
will also over ride the Equipment --> radios menu item so that it brings up the correct |
| 19 |
menu for the SCR-522C/TR1133 radios. This also implements other radio features like support |
| 20 |
for a remote TR switch, the TR switch on the BC-602-A control box, TR switch lock, channel |
| 21 |
switching, power switch and so on. |
| 22 |
|
| 23 |
Animation: |
| 24 |
|
| 25 |
For dark conditions when cabin/cockpit illumination is used all of the radio models objects |
| 26 |
are illuminated in response to |
| 27 |
|
| 28 |
<property>/controls/lighting/cabin-norm</property> |
| 29 |
|
| 30 |
If you are using a different property for your cabin/cockpit lights you will need to map your |
| 31 |
lighting property to /controls/lighting/cabin-norm. |
| 32 |
|
| 33 |
If your aircraft needs remote ptt button animation this should be linked to |
| 34 |
|
| 35 |
instrumentation/comm/SCR-522C/remote-pushed |
| 36 |
|
| 37 |
Since the Nasal script reimplements controls.ptt() and instrumentation/comm/ptt only becomes true |
| 38 |
if the radio is turned on. Using the property above to control the animation of the remote ptt |
| 39 |
button will result in the botton moving when ever the user pushes what ever key/button they have |
| 40 |
setup to call controls.ptt(). An example of what this might look like is: |
| 41 |
|
| 42 |
<animation> |
| 43 |
<type>translate</type> |
| 44 |
<object-name>MicButton</object-name> |
| 45 |
<property>instrumentation/comm/SCR-522C/remote-pushed</property> |
| 46 |
<factor>-0.007</factor> |
| 47 |
<axis> |
| 48 |
<x>0</x> |
| 49 |
<y>1</y> |
| 50 |
<z>0</z> |
| 51 |
</axis> |
| 52 |
</animation> |
| 53 |
|
| 54 |
|
| 55 |
|