577
edits
(Added rembrandt compatibility sentence.) |
No edit summary |
||
Line 28: | Line 28: | ||
=== OBS display === | === OBS display === | ||
This is not modeled in the current FlightGear version. | This is not modeled in the current FlightGear version. | ||
== Aircraft integration == | |||
=== Custom texture === | |||
You can provide a custom texture using the shared KX165. | |||
As example, provide a texture file in Aircraft/YourAircraft/Models/Instruments/kx165-texture.png | |||
Now in your -set.xml add: | |||
<sim> | |||
<instrumentation> | |||
<comm n="0"> | |||
<texture-file>Aircraft/YourAircraft/Models/Instruments/kx165-texture.png</texture-file> | |||
</comm> | |||
<comm n="1"> | |||
<texture-file>Aircraft/YourAircraft/Models/Instruments/kx165-texture.png</texture-file> | |||
</comm> | |||
</instrumentation> | |||
</sim> | |||
Now default texture has been replaced by your custom texture. | |||
=== Dimming params === | |||
You can set the dimming params who control the light emission. | |||
As example, insert your KX165 as following | |||
<model> | |||
<path>Aircraft/Instruments-3d/kx165/kx165-1.xml</path> | |||
<overlay> | |||
<params> | |||
<dimming>controls/instruments/comm-light</dimming> | |||
</params> | |||
</overlay> | |||
<offsets> | |||
<x-m> YourValue </x-m> | |||
<y-m> YourValue </y-m> | |||
<z-m> YourValue </z-m> | |||
</offsets> | |||
</model> | |||
Now ''controls/instruments/comm-light'' is control the light emission of the KX165. | |||
== More reading == | == More reading == |
edits