More Primus 1000 and Bravo updates...
Flightdirector being reworked , modes currently not displayed correctly on the PFD
This commit is contained in:
parent
16db10581a
commit
bd9a8f5fca
4 changed files with 127 additions and 225 deletions
|
@ -30,6 +30,7 @@ get_pointer_offset = func{
|
|||
|
||||
if(test == 1){
|
||||
offset=getprop("/instrumentation/nav/heading-deg");
|
||||
if(offset == nil){offset=0.0;}
|
||||
offset -= hdg;
|
||||
if(offset < -180){offset += 360;}
|
||||
elsif(offset > 180){offset -= 360;}
|
||||
|
@ -134,7 +135,7 @@ setlistener("/sim/signals/fdm-initialized", func {
|
|||
DC550.getNode("ttg",1).setBoolValue(0);
|
||||
DC550.getNode("et",1).setBoolValue(0);
|
||||
DC550.getNode("fms",1).setBoolValue(0);
|
||||
FMSMode.setValue(" VNV");
|
||||
FMSMode.setValue("VNV");
|
||||
NavType.setIntValue(0);
|
||||
NavString.setValue("VOR1");
|
||||
RAmode.setValue(0.0);
|
||||
|
|
|
@ -31,7 +31,7 @@ Primus 1000 PFD hotspots
|
|||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>28</offset>
|
||||
<offset>30</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
|
@ -92,11 +92,129 @@ Primus 1000 PFD hotspots
|
|||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-5</offset>
|
||||
<offset>-6</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>Wind Speed</name>
|
||||
<type>text</type>
|
||||
<font>arial_black</font>
|
||||
<point-size>6</point-size>
|
||||
<color>
|
||||
<red>0.7</red>
|
||||
<green>0.7</green>
|
||||
<blue>0.3</blue>
|
||||
</color>
|
||||
<chunks>
|
||||
<chunk>
|
||||
<type>number-value</type>
|
||||
<property>environment/wind-speed-kt</property>
|
||||
<format>%03.0f</format>
|
||||
</chunk>
|
||||
</chunks>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-55</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-61</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>Ground Speed</name>
|
||||
<type>text</type>
|
||||
<font>arial_black</font>
|
||||
<point-size>6</point-size>
|
||||
<color>
|
||||
<red>0.1</red>
|
||||
<green>0.9</green>
|
||||
<blue>0.4</blue>
|
||||
</color>
|
||||
<chunks>
|
||||
<chunk>
|
||||
<type>number-value</type>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<format>%03.0f</format>
|
||||
</chunk>
|
||||
</chunks>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>22</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>-71</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
|
||||
<!-- FD MODE ANNUNCIATORS-->
|
||||
|
||||
<layer>
|
||||
<name>LATERAL</name>
|
||||
<type>text</type>
|
||||
<font>arial_black</font>
|
||||
<point-size>6</point-size>
|
||||
<color>
|
||||
<red>0.1</red>
|
||||
<green>0.9</green>
|
||||
<blue>0.3</blue>
|
||||
</color>
|
||||
<chunks>
|
||||
<chunk>
|
||||
<type>text-value</type>
|
||||
<property>instrumentation/flightdirector/lateral-mode</property>
|
||||
</chunk>
|
||||
</chunks>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>-35</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>100</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
<layer>
|
||||
<name>VERTICAL</name>
|
||||
<type>text</type>
|
||||
<font>arial_black</font>
|
||||
<point-size>6</point-size>
|
||||
<color>
|
||||
<red>0.1</red>
|
||||
<green>0.9</green>
|
||||
<blue>0.3</blue>
|
||||
</color>
|
||||
<chunks>
|
||||
<chunk>
|
||||
<type>text-value</type>
|
||||
<property>instrumentation/flightdirector/vertical-mode</property>
|
||||
</chunk>
|
||||
</chunks>
|
||||
<transformations>
|
||||
<transformation>
|
||||
<type>x-shift</type>
|
||||
<offset>10</offset>
|
||||
</transformation>
|
||||
<transformation>
|
||||
<type>y-shift</type>
|
||||
<offset>100</offset>
|
||||
</transformation>
|
||||
</transformations>
|
||||
</layer>
|
||||
|
||||
|
||||
</layers>
|
||||
|
||||
<actions>
|
||||
|
|
|
@ -2,12 +2,12 @@ AC3Db
|
|||
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
|
||||
MATERIAL "illum" rgb 1 1 1 amb 0 0 0 emis 1 1 1 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "gloss" rgb 1 1 1 amb 0 0 0 emis 0 0 0 spec 0.5 0.5 0.5 shi 32 trans 0
|
||||
MATERIAL "illum.green" rgb 0.19 0.65 0.2 amb 0 0 0 emis 0.346667 0.346667 0.346667 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "illum.pink" rgb 0.878431 0.635294 0.635294 amb 0 0 0 emis 0.717132 0.717132 0.717132 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "illum.yellow" rgb 0.904762 0.877883 0.286539 amb 0 0 0 emis 0.689728 0.689728 0.689728 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "illum.blue" rgb 0.273054 0.632391 0.780538 amb 0 0 0 emis 0.561994 0.561994 0.561994 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "illum.green" rgb 0 0 0 amb 0 0 0 emis 0.19 0.65 0.2 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "illum.pink" rgb 0 0 0 amb 0 0 0 emis 0.88 0.63 0.63 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "illum.yellow" rgb 0 0 0 amb 0 0 0 emis 0.90 0.87 0.28 spec 0 0 0 shi 0 trans 0
|
||||
MATERIAL "illum.blue" rgb 0 0 0 amb 0 0 0 emis 0.27 0.63 0.78 spec 0 0 0 shi 0 trans 0
|
||||
OBJECT world
|
||||
kids 66
|
||||
kids 60
|
||||
OBJECT poly
|
||||
name "AI"
|
||||
data 8
|
||||
|
@ -2506,69 +2506,6 @@ refs 3
|
|||
33 0.988388895988 0.979011774063
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "gsptext"
|
||||
data 8
|
||||
Mesh.063
|
||||
texture "digits.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002042 -0.069922 -0.028695
|
||||
0.002042 -0.076512 -0.028695
|
||||
0.002042 -0.076512 -0.023935
|
||||
0.002042 -0.069922 -0.023935
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.371848881245 0.0891927108169
|
||||
3 0.316926956177 0.0891927108169
|
||||
2 0.316926956177 0.0147162750363
|
||||
1 0.371848881245 0.0147162750363
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "gsptext.001"
|
||||
data 8
|
||||
Mesh.047
|
||||
texture "digits.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002042 -0.069922 -0.033466
|
||||
0.002042 -0.076512 -0.033466
|
||||
0.002042 -0.076512 -0.028706
|
||||
0.002042 -0.069922 -0.028706
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.370942592621 0.0891927108169
|
||||
3 0.316020667553 0.0891927108169
|
||||
2 0.316020667553 0.0147162750363
|
||||
1 0.370942592621 0.0147162750363
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "gsptext.002"
|
||||
data 8
|
||||
Mesh.050
|
||||
texture "digits.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002042 -0.069922 -0.03822
|
||||
0.002042 -0.076512 -0.03822
|
||||
0.002042 -0.076512 -0.03346
|
||||
0.002042 -0.069922 -0.03346
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.370942592621 0.0891927108169
|
||||
3 0.316020667553 0.0891927108169
|
||||
2 0.316020667553 0.0147162750363
|
||||
1 0.370942592621 0.0147162750363
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "hdgbug"
|
||||
data 8
|
||||
Mesh.017
|
||||
|
@ -2889,66 +2826,3 @@ refs 4
|
|||
2 0.335650146008 0.632843852043
|
||||
1 0.414371550083 0.632843852043
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "wspd"
|
||||
data 8
|
||||
Mesh.024
|
||||
texture "digits.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002042 -0.061474 0.050694
|
||||
0.002042 -0.067576 0.050694
|
||||
0.002042 -0.067576 0.055102
|
||||
0.002042 -0.061474 0.055102
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.371848881245 0.0891927108169
|
||||
3 0.316926956177 0.0891927108169
|
||||
2 0.316926956177 0.0147162750363
|
||||
1 0.371848881245 0.0147162750363
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "wspd.001"
|
||||
data 8
|
||||
Mesh.060
|
||||
texture "digits.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002042 -0.061474 0.046277
|
||||
0.002042 -0.067576 0.046277
|
||||
0.002042 -0.067576 0.050685
|
||||
0.002042 -0.061474 0.050685
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.370942592621 0.0891927108169
|
||||
3 0.316020667553 0.0891927108169
|
||||
2 0.316020667553 0.0147162750363
|
||||
1 0.370942592621 0.0147162750363
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "wspd.002"
|
||||
data 8
|
||||
Mesh.059
|
||||
texture "digits.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002042 -0.061474 0.041875
|
||||
0.002042 -0.067576 0.041875
|
||||
0.002042 -0.067576 0.046283
|
||||
0.002042 -0.061474 0.046283
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.370942592621 0.0891927108169
|
||||
3 0.316020667553 0.0891927108169
|
||||
2 0.316020667553 0.0147162750363
|
||||
1 0.370942592621 0.0147162750363
|
||||
kids 0
|
||||
|
|
|
@ -636,58 +636,6 @@ Primus 1000 Primary Flight Display
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>gsptext</object-name>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>gsptext.001</object-name>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>gsptext.002</object-name>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>mach.001</object-name>
|
||||
<property>velocities/mach</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>mach.002</object-name>
|
||||
|
@ -714,45 +662,6 @@ Primus 1000 Primary Flight Display
|
|||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>wspd</object-name>
|
||||
<property>environment/wind-speed-kt</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>wspd.001</object-name>
|
||||
<property>environment/wind-speed-kt</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>wspd.002</object-name>
|
||||
<property>environment/wind-speed-kt</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>crstext</object-name>
|
||||
|
|
Loading…
Add table
Reference in a new issue