Howto:Add instruments to a cockpit: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 3: Line 3:
Many of the [[aircraft]] offerred for download on the [[FlightGear]] aircraft download page are detailled and complete. Some models, however lack instrumentation, and in many cases only basic instruments are available. Fortunately, '''adding new instruments''' is a relatively easy task. The biggest difficulty is actually placing the instrument accurately, not to get it working.
Many of the [[aircraft]] offerred for download on the [[FlightGear]] aircraft download page are detailled and complete. Some models, however lack instrumentation, and in many cases only basic instruments are available. Fortunately, '''adding new instruments''' is a relatively easy task. The biggest difficulty is actually placing the instrument accurately, not to get it working.


For aircraft that are licensed under the [[GNU GPL]] (all aircraft on the official downlaod page are), instruments can be re-used in other aircraft when released under the same license.
For aircraft that are licensed under the [[GNU GPL]] (all aircraft on the official download page are), instruments can be re-used in other aircraft when released under the same license.


== Adding instruments to existing models ==
== Adding instruments to existing models ==
Line 59: Line 59:
     </model>
     </model>


Copy the <offsets> ... </offsets> section and paste it into the offsets section of the VSI  
Copy the <offsets> ... </offsets> section and paste it into the offsets section of the VSI instrument, replacing the existing settings.


<model>
<model>
Line 73: Line 73:




You will find that the VSI, the new instrument will appear on top of the existing one. This shows that the instrument appears in the cockpit.  
You will find that the VSI, the new instrument, will appear on top of the existing one. This confirms that the instrument appears in the cockpit.  


To place the instrument, use the following adjustments:
To place the instrument in a correct location, use the following adjustments:


             <x-m>-8.927</x-m>  distance of the instrument from the pilot (depth)
             <x-m>-8.927</x-m>  distance of the instrument from the pilot (depth)
Line 81: Line 81:
             <z-m>2.382</z-m>  vertical location of the instrument
             <z-m>2.382</z-m>  vertical location of the instrument


Using the offsets for an existing instrument, the altimeter, ALT, the VSI can be placed directly on top of the ALT using the offsets for the Altimeter. To move the VSI down, experiment with different values of the z value, 2.182, 2.282, 2.382 etc. Do the same for the Y value.
Using the offsets for an existing instrument, the altimeter, ALT, the VSI can be placed directly on top of the ALT using the offsets for the Altimeter, which is  <y-m>-0.44</y-m>. To move the VSI down, experiment with different values of the z value, 2.182, 2.282, 2.382 etc.  


Finally, adjust the depth of the instrument (x - value)
Finally, adjust the depth of the instrument (x - value)
493

edits

Navigation menu