7
edits
mNo edit summary |
|||
Line 35: | Line 35: | ||
{{Note|The following section is currently work-in-progress, it is being written by 5H1N0B1 and drdavid, please get in touch to help reviewing/improving things.}} | {{Note|The following section is currently work-in-progress, it is being written by 5H1N0B1 and drdavid, please get in touch to help reviewing/improving things.}} | ||
More detailed instruction. See if it could help. | More detailed instruction. See if it could help. | ||
ND integration: How it was done on the | ND integration: How it was done on the Mirage 2000: | ||
The integration is simple : | The integration is simple: | ||
0) Have | 0) Have an updated version of FlightGear (V. 3.0+). | ||
1) | 1) Set up the 3D model in this way: | ||
3D MFD -> | To create a 3D MFD -> | ||
- a) 3D Border (border of the screen, with | - a) Select a 3D Border (border of the screen, with screws, etc.) | ||
- b) 3D Button/ | - b) Need to have a 3D Button/switch, molette, or turnable knob | ||
- c) A 3D Screen object, with : | - c) A 3D Screen object, with: | ||
- | - correct dimensions | ||
- Single texture, -> with | - Single texture, -> with correct dimensions | ||
- | - Correct dimension of the UVmap | ||
2) Copy | 2) Copy and paste the ND.nas file to the appropriate folder (In the Mirage 2000 this was the "Center-mfd" folder). | ||
2.1)Add the ND.nas | 2.1) Add the ND.nas pathway to your base .xml file in the Nasal block. | ||
3) Edit ND.nas : | 3) Edit ND.nas : | ||
-a) Rename the screen to match | -a) Rename the screen to match the object in 1)c) if needed. | ||
-b) If | -b) If installing a single MFD, you do not need another object, so suppress the line (when it's calling the object itself) | ||
-c) Keep the | -c) Keep the property's name -> it's ok. You just need to input it with the .xml button in 1)b) | ||
4) Code the xml itself. | 4) Code the xml itself. | ||
Really simple, it's just playing with properties | |||
Really simple, it's just playing with properties. For example, see this for the airport property: | |||
Line 77: | Line 78: | ||
Or here again for the range selection : | Or here again for the range selection: | ||
<animation> | <animation> | ||
Line 121: | Line 122: | ||
5) Then you can | 5) Then you can optionally add this: | ||
<animation> | <animation> | ||
Line 137: | Line 138: | ||
Where 'blackbkd' is the screen 1)c). This last | Where 'blackbkd' is the screen 1)c). This last option allows you to open a dialog box with what the actual canvas should display in your 1)c) screen. This is very useful to check all the different steps when something isn't working well. | ||
Normally following these | Normally following these steps, you should have a working MFD. | ||
edits