493
edits
Openflight (talk | contribs) |
Openflight (talk | contribs) No edit summary |
||
| Line 42: | Line 42: | ||
</model> | </model> | ||
Copy this | Copy this set of tags as shown above into the Dash8 300Q xml file containing the instruments in the models folder. The file is named dhc8-300Q.xml | ||
The instrument now has to be placed in position. | The instrument now has to be placed in position. This is done by changing the x, y and z coordinates as listed above. | ||
We will use an existing instrument, the Air Speed Indicator of the DHC8 as a reference. The DHC 8 pilot ASI has the following settings. | |||
<model> | |||
<name>Pilot asi</name> | |||
<model> | <path>Aircraft/dhc8/Models/Instruments/asi300-3d.xml</path> | ||
<path>Aircraft/dhc8/Models/Instruments/asi300-3d.xml</path> | |||
<offsets> | <offsets> | ||
'''<x-m>-8.927</x-m> | '''<x-m>-8.927</x-m> | ||
| Line 60: | Line 59: | ||
</model> | </model> | ||
Copy the <offsets> ... </offsets> section and paste it into the offsets section of the VSI | |||
<model> | <model> | ||
| Line 75: | Line 74: | ||
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 shows that the instrument appears in the cockpit. | ||
To place the instrument, use the following adjustments: | |||
<x-m>-8.927</x-m> distance of the instrument from the pilot (depth) | |||
<y-m>-0.702</y-m> sideways 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. | |||
Finally, adjust the depth of the instrument (x - value) | |||
== A shortcut: multiple copies of an instrument== | |||
FlightGear allows the creation of the same instrument copies in different locations in the cockpit. We can use this to our advantage: placing copies of the same instrument in different locations in the cockpit and selecting the right one. | FlightGear allows the creation of the same instrument copies in different locations in the cockpit. We can use this to our advantage: placing copies of the same instrument in different locations in the cockpit and selecting the right one. | ||
== More on placement== | |||
== | |||
* '''X:''' specifies the depth, and in this case is a negative value. The increase in the value, say from -2.330 to -2.430 means the instrument will move away from you into the panel, towards the nose of the aircraft. | * '''X:''' specifies the depth, and in this case is a negative value. The increase in the value, say from -2.330 to -2.430 means the instrument will move away from you into the panel, towards the nose of the aircraft. | ||
* '''Y:''' is the simplest, here, and simply specifies left/right values. The pilot ASI is listed with an Y value of -xxx. The value of zero means it is centre in the panel. You will notice the the co-pilot's ASI has a positive value of xxx. | * '''Y:''' is the simplest, here, and simply specifies left/right values. The pilot ASI is listed with an Y value of -xxx. The value of zero means it is centre in the panel. You will notice the the co-pilot's ASI has a positive value of xxx. | ||
* '''Z:''' gives the position of the instrument in the vertical direction. For example 2.223 will place the instrument higher than 2.123 in the panel. | * '''Z:''' gives the position of the instrument in the vertical direction. For example 2.223 will place the instrument higher than 2.123 in the panel. | ||
==Instrument path== | |||
The path can be left as follows, or the instrument xml files and image files can be copied to the DHC8 folder and the reference can be changed to that folder: | The path can be left as follows, or the instrument xml files and image files can be copied to the DHC8 folder and the reference can be changed to that folder: | ||
<path>Aircraft/b1900d/Models/Instruments/vsi.xml</path> | <path>Aircraft/b1900d/Models/Instruments/vsi.xml</path> | ||
| Line 100: | Line 106: | ||
<path>Aircraft/dhc8/Models/Instruments/vsi.xml</path> | <path>Aircraft/dhc8/Models/Instruments/vsi.xml</path> | ||
[[File:dhc8addedinstruments.jpg|thumb|270px|Several instruments added. Fine adjustment needed.]] | |||
== External link == | == External link == | ||
edits