1
0
Fork 0

Updated c172p from c172p-detail, commit 2/2

From https://github.com/Juanvvc/c172p-detailed/tree/release/2016.2
Commit c2d17ca761b883fc17abe1705542f5014100e65d
This commit is contained in:
Stuart Buchanan 2016-05-18 22:11:05 +01:00
parent 4fbebffc2b
commit 2ed0bb5221
83 changed files with 3335 additions and 1953 deletions

View file

@ -10,4 +10,13 @@
<x-m>0.0</x-m>
<pitch-deg>0.0</pitch-deg>
</offsets>
<effect>
<inherits-from>Aircraft/c172p/Models/Effects/exterior/bumpspec-fuselage</inherits-from>
<object-name>NoseWheelBK</object-name>
<object-name>LeftWheelBK</object-name>
<object-name>RightWheelBK</object-name>
<object-name>LeftWheelBKs</object-name>
<object-name>RightWheelBKs</object-name>
</effect>
</PropertyList>

View file

@ -4,7 +4,7 @@ MATERIAL "ac3dmat1.000" rgb 1.0000 1.0000 1.0000 amb 1.0000 1.0000 1.0000 emis
MATERIAL "wheel_mat" rgb 1.0000 1.0000 1.0000 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.0000 0.0000 0.0000 shi 50 trans 0.0000
MATERIAL "external_mat.003" rgb 1.0000 1.0000 1.0000 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.3600 0.3600 0.3600 shi 50 trans 0.0000
OBJECT world
name "Blender_export__c172p-detailed-bushkit.ac"
name "Blender_export__c172p-bushkit.ac"
kids 7
OBJECT poly
name "AxleBK.001"

View file

@ -2,9 +2,23 @@
<PropertyList>
<name>c172p-interior-radiance</name>
<inherits-from>Effects/interior/c172p-interior</inherits-from>
<inherits-from>Effects/model-interior</inherits-from>
<parameters>
<texture n="4">
<type>cubemap</type>
<images>
<positive-x>Aircraft/c172p/Models/Effects/interior/white.png</positive-x>
<negative-x>Aircraft/c172p/Models/Effects/interior/white.png</negative-x>
<positive-y>Aircraft/c172p/Models/Effects/interior/white.png</positive-y>
<negative-y>Aircraft/c172p/Models/Effects/interior/white.png</negative-y>
<positive-z>Aircraft/c172p/Models/Effects/interior/white.png</positive-z>
<negative-z>Aircraft/c172p/Models/Effects/interior/white.png</negative-z>
</images>
</texture>
<light-filter-one type="vec3d">0.5 0.5 0.5</light-filter-one>
<light-filter-two type="vec3d">0.9 0.2 0.2</light-filter-two>
<light-radius type="float">13</light-radius>
<irradiance-map-type type="int">2</irradiance-map-type>
<irradiance-map-strength type="float">1</irradiance-map-strength>
<irradiance-map-strength type="float">.2</irradiance-map-strength>
</parameters>
</PropertyList>

View file

@ -21,5 +21,12 @@
<light-filter-one type="vec3d">0.5 0.5 0.5</light-filter-one>
<light-filter-two type="vec3d">0.9 0.2 0.2</light-filter-two>
<light-radius type="float">13</light-radius>
<irradiance-map-type type="int">2</irradiance-map-type>
<irradiance-map-strength type="float">.2</irradiance-map-strength>
<residual-ambience-r type="float"><use>/sim/model/c172p/lighting/rgb-ra-r-factor</use></residual-ambience-r>
<residual-ambience-g type="float"><use>/sim/model/c172p/lighting/rgb-ra-g-factor</use></residual-ambience-g>
<residual-ambience-b type="float"><use>/sim/model/c172p/lighting/rgb-ra-b-factor</use></residual-ambience-b>
<ra-irradiance-map-type type="int">0</ra-irradiance-map-type>
<ra-irradiance-map-strength type="float">1</ra-irradiance-map-strength>
</parameters>
</PropertyList>

View file

@ -31,10 +31,15 @@
</effect>
<effect>
<inherits-from>Aircraft/c172p/Models/Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>Aircraft/c172p/Models/Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>FloatReinforceLeft</object-name>
<object-name>FloatReinforceRight</object-name>
<object-name>FloatReinforceJoin</object-name>
<object-name>RudderCatch</object-name>
<object-name>RudderHandle</object-name>
<object-name>RudderScrews</object-name>
<object-name>RudderTube</object-name>
<object-name>RudderCable</object-name>
</effect>
<!-- Specularity fix -->

View file

@ -3,7 +3,7 @@
<path>breakers.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-interior</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>autopilot_breaker</object-name>
<object-name>radio5_breaker</object-name>
<object-name>radio4_breaker</object-name>

View file

@ -1,7 +1,6 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1.0000 1.0000 1.0000 amb 0.2000 0.2000 0.2000 emis 0.0000 0.0000 0.0000 spec 0.5000 0.5000 0.5000 shi 10 trans 0.0000
MATERIAL "Material.001" rgb 0.4869 0.4869 0.4869 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.0018 0.0018 0.0018 shi 50 trans 0.0000
MATERIAL "WhiteLightOff.001" rgb 1.0000 1.0000 1.0000 amb 0.8000 0.8000 0.8000 emis 0.0500 0.0500 0.0500 spec 0.0000 0.0000 0.0000 shi 50 trans 0.0000
MATERIAL "Material.001" rgb 0.3424 0.3424 0.3424 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.1010 0.1010 0.1010 shi 50 trans 0.0000
MATERIAL "ac3dmat1" rgb 0.8276 0.8276 0.8276 amb 0.8000 0.8000 0.8000 emis 0.0500 0.0500 0.0500 spec 0.0000 0.0000 0.0000 shi 50 trans 0.0000
OBJECT world
name "Blender_export__flaps.ac"
@ -142,84 +141,84 @@ numvert 20
0.0000308 0.0066643 0.0103361
numsurf 12
SURF 0X30
mat 2
mat 1
refs 4
0 1.003518 0.519450
1 0.761964 0.519537
6 0.761983 0.504557
7 1.003536 0.504645
SURF 0X30
mat 2
mat 1
refs 4
1 0.895312 0.509850
2 0.940956 0.989976
5 0.813507 0.990823
6 0.860547 0.508755
SURF 0X30
mat 2
mat 1
refs 4
2 0.772456 0.837874
3 0.772822 0.649205
4 0.866225 0.649387
5 0.865859 0.838055
SURF 0X30
mat 2
mat 1
refs 4
3 0.804916 0.996600
0 0.853653 0.510598
7 0.891111 0.510354
4 0.942206 0.996731
SURF 0X30
mat 2
mat 1
refs 4
6 0.999427 0.505317
5 0.999687 0.998459
4 0.758798 0.998230
7 0.758713 0.505365
SURF 0X30
mat 2
mat 1
refs 4
13 0.000000 0.000000
10 1.000000 0.000000
9 1.000000 1.000000
14 0.000000 1.000000
SURF 0X30
mat 2
mat 1
refs 4
15 0.000000 0.000000
8 1.000000 0.000000
11 1.000000 1.000000
12 0.000000 1.000000
SURF 0X30
mat 2
mat 1
refs 4
14 0.797384 0.531519
9 0.847066 0.531469
8 0.847497 0.958390
15 0.797815 0.958440
SURF 0X30
mat 2
mat 1
refs 4
12 0.850313 0.956726
11 0.800665 0.956714
10 0.800768 0.530082
13 0.850416 0.530094
SURF 0X30
mat 2
mat 1
refs 4
15 0.948741 0.971087
12 0.914499 0.971084
13 0.914540 0.528147
14 0.948782 0.528150
SURF 0X30
mat 2
mat 1
refs 4
8 0.796917 0.971509
9 0.795396 0.532148
10 0.829362 0.532030
11 0.830884 0.971392
SURF 0X20
mat 2
mat 1
refs 4
19 0.999740 0.997440
18 0.762886 0.997207
@ -238,7 +237,7 @@ numvert 4
0.0000000 0.0663080 -0.0189484
numsurf 1
SURF 0X20
mat 3
mat 2
refs 4
1 0.003175 -0.009227
0 0.708331 -0.009227

View file

@ -8,7 +8,7 @@
</params>
<effect>
<inherits-from>../../../../Effects/interior/c172p-interior</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>FlapSwitch</object-name>
<object-name>FlapPos</object-name>
<object-name>rect</object-name>
@ -54,27 +54,8 @@
<animation>
<type>slider</type>
<drag-direction>vertical</drag-direction>
<drag-scale-px>20</drag-scale-px>
<drag-scale-px>30</drag-scale-px>
<!-- Flaps moving down -->
<decrease>
<binding>
<command>nasal</command>
<script>controls.flapsDown(1);</script>
</binding>
</decrease>
<!-- Flaps moving up -->
<increase>
<binding>
<command>nasal</command>
<script>controls.flapsDown(-1);</script>
</binding>
</increase>
</animation>
<animation>
<type>translate</type>
<property alias="/params/flaps-lever"/>
<object-name>FlapSwitch</object-name>
<axis>
@ -100,6 +81,22 @@
<dep>0.052</dep>
</entry>
</interpolation>
<!-- Flaps moving down -->
<decrease>
<binding>
<command>nasal</command>
<script>controls.flapsDown(1);</script>
</binding>
</decrease>
<!-- Flaps moving up -->
<increase>
<binding>
<command>nasal</command>
<script>controls.flapsDown(-1);</script>
</binding>
</increase>
</animation>
<animation>

View file

@ -5,14 +5,14 @@
<path>AI.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Aircraft</object-name>
<object-name>CagedIndicator</object-name>
<object-name>Pitch</object-name>
<object-name>Roll</object-name>
<object-name>RollReference</object-name>
<object-name>AdjustKnob</object-name>
<object-name>CageKnob</object-name>
<object-name>Pitch</object-name>
<object-name>Roll</object-name>
</effect>
<animation>

View file

@ -5,7 +5,7 @@
<path>BatteryGauge.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>PtrTipL</object-name>
<object-name>PtrTipR</object-name>

View file

@ -20,7 +20,7 @@
<path>EGT.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Needle</object-name>
<object-name>Bug</object-name>
<object-name>Face</object-name>

View file

@ -5,7 +5,7 @@
<path>c172fuel.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>LeftFuelNeedle</object-name>
<object-name>RightFuelNeedle</object-name>

View file

@ -5,7 +5,7 @@
<path>c172oil.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>OilTempNeedle</object-name>
<object-name>OilPressNeedle</object-name>

View file

@ -11,7 +11,7 @@
</params>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>PointerTip</object-name>
<object-name>PointerCentre</object-name>

View file

@ -5,7 +5,7 @@
<path>VSI.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>PointerTip</object-name>
<object-name>PointerCentre</object-name>

View file

@ -5,7 +5,7 @@
<path>alt.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>inhg</object-name>
<object-name>Needle10000</object-name>

View file

@ -6,7 +6,7 @@
<path>asi.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>Needle</object-name>
</effect>

View file

@ -5,7 +5,7 @@
<path>clock.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>SecondHand</object-name>
<object-name>MinuteHand</object-name>

View file

@ -11,7 +11,7 @@
<path>dme.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>on</object-name>
<object-name>off</object-name>
<object-name>Label3</object-name>
@ -21,7 +21,6 @@
<object-name>SourceSelectorKnob</object-name>
<object-name>PowerSwitch.Lever</object-name>
<object-name>PowerSwitch.Base</object-name>
<object-name>Plane</object-name>
</effect>
<model>
@ -44,10 +43,10 @@
<object-name>n2</object-name>
<object-name>SourceSelectorKnob</object-name>
<emission>
<red>0.4</red>
<green>0.08</green>
<blue>0.00004</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>/sim/model/c172p/lighting/dme</factor-prop>
</emission>
</animation>
@ -55,12 +54,11 @@
<type>material</type>
<object-name>PowerSwitch.Lever</object-name>
<object-name>PowerSwitch.Base</object-name>
<object-name>Plane</object-name>
<emission>
<red>0.1</red>
<green>0.02</green>
<blue>0.00001</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>/sim/model/c172p/lighting/dme</factor-prop>
</emission>
</animation>

View file

@ -37,7 +37,7 @@
<path>ki266.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>ModeSwitch</object-name>
<object-name>Frame</object-name>
<object-name>base</object-name>
@ -58,14 +58,32 @@
<type>select</type>
<object-name>Indicators</object-name>
<condition>
<and>
<property alias="../../../../params/serviceable"/>
<property alias="../../../../params/power-btn"/>
<property alias="../../../../params/electrical"/>
</and>
<property>/sim/model/c172p/lighting/dme-power</property>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>Indicators</object-name>
<condition>
<and>
<not>
<property>sim/rendering/rembrandt/enabled</property>
</not>
<greater-than>
<property>/sim/model/c172p/lighting/dme</property>
<value>0.0</value>
</greater-than>
</and>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>/sim/model/c172p/lighting/dme</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>ModeSwitch</object-name>
@ -73,7 +91,7 @@
<red>0.2</red>
<green>0.04</green>
<blue>0</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
<factor-prop>/sim/model/c172p/lighting/dme</factor-prop>
</emission>
</animation>
@ -81,10 +99,10 @@
<type>material</type>
<object-name>Frame</object-name>
<emission>
<red>0.1</red>
<green>0.02</green>
<blue>0.00001</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>/sim/model/c172p/lighting/dme</factor-prop>
</emission>
</animation>

View file

@ -7,7 +7,7 @@
<path>gear-ctl.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>nosedn1</object-name>
<object-name>nosedn2</object-name>
<object-name>maindn1</object-name>

View file

@ -3,7 +3,7 @@ MATERIAL "DefaultWhite" rgb 1.0000 1.0000 1.0000 amb 0.2000 0.2000 0.2000 emis
MATERIAL "ac3dmat6" rgb 0.0000 1.0000 0.0000 amb 0.2000 0.2000 0.2000 emis 0.0000 0.0000 0.0000 spec 0.0000 0.0000 0.0000 shi 50 trans 1.0000
MATERIAL "DefaultWhite" rgb 1.0000 1.0000 1.0000 amb 1.0000 1.0000 1.0000 emis 0.1500 0.1500 0.1500 spec 0.1600 0.1600 0.1600 shi 50 trans 0.0000
MATERIAL "ac3dmat1" rgb 1.0000 1.0000 1.0000 amb 0.2000 0.2000 0.2000 emis 0.0000 0.0000 0.0000 spec 0.0000 0.0000 0.0000 shi 50 trans 0.0000
MATERIAL "DefaultWhite.002" rgb 1.0000 1.0000 1.0000 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.1600 0.1600 0.1600 shi 50 trans 0.0000
MATERIAL "Material" rgb 0.8000 0.8000 0.8000 amb 1.0000 1.0000 1.0000 emis 0.0000 0.0000 0.0000 spec 0.5000 0.5000 0.5000 shi 50 trans 0.0000
OBJECT world
name "Blender_export__hi.ac"
kids 9
@ -335,31 +335,480 @@ refs 3
kids 0
OBJECT poly
name "HdgBug"
loc 0.0015513 0.0000000 0.0000000
loc 0.0005522 0.0300302 0.0000000
texture "hi03.png"
texrep 1 1
numvert 6
-0.0011000 0.0000000 -0.0400000
-0.0011000 0.0000000 0.0400000
-0.0011000 0.0400000 0.0400000
-0.0011000 -0.0400000 0.0400000
-0.0011000 -0.0400000 -0.0400000
-0.0011000 0.0400000 -0.0400000
numsurf 2
numvert 51
-0.0000769 -0.0062807 0.0008602
-0.0000769 0.0034898 0.0029128
-0.0000769 -0.0062807 -0.0008602
-0.0000769 0.0034898 -0.0029128
0.0000769 -0.0062807 0.0008602
0.0000769 0.0034898 0.0029128
0.0000769 -0.0062807 -0.0008602
0.0000769 0.0034898 -0.0029128
-0.0000769 0.0034898 -0.0000000
-0.0000769 -0.0062807 -0.0000000
0.0000000 0.0034898 -0.0029128
0.0000000 -0.0062807 -0.0008602
0.0000769 0.0034898 -0.0000000
0.0000769 -0.0062807 -0.0000000
0.0000000 0.0034898 0.0029128
0.0000000 -0.0062807 0.0008602
0.0000000 0.0034898 -0.0000000
0.0000000 -0.0062807 -0.0000000
-0.0000769 0.0010471 0.0008602
-0.0000769 0.0034898 -0.0014564
0.0000384 0.0034898 -0.0029128
0.0000769 0.0034898 0.0014564
-0.0000384 0.0034898 0.0029128
-0.0000769 0.0034898 0.0014564
-0.0000769 0.0010471 -0.0008602
-0.0000384 0.0034898 -0.0029128
0.0000769 0.0010471 -0.0008602
0.0000769 0.0034898 -0.0014564
0.0000769 0.0010471 0.0008602
0.0000384 0.0034898 0.0029128
-0.0000384 0.0034898 -0.0000000
0.0000384 0.0034898 -0.0000000
0.0000000 0.0034898 0.0014564
0.0000000 0.0034898 -0.0014564
0.0000384 -0.0062807 -0.0000000
0.0000000 0.0010471 0.0008602
0.0000769 0.0010471 -0.0000000
0.0000000 0.0010471 -0.0008602
-0.0000769 0.0010471 -0.0000000
-0.0000769 0.0010471 -0.0004301
-0.0000769 0.0010471 0.0004301
0.0000384 0.0010471 -0.0008602
-0.0000384 0.0010471 -0.0008602
0.0000769 0.0010471 0.0004301
0.0000769 0.0010471 -0.0004301
-0.0000384 0.0010471 0.0008602
0.0000384 0.0010471 0.0008602
0.0000384 0.0034898 -0.0014564
0.0000384 0.0034898 0.0014564
-0.0000384 0.0034898 0.0014564
-0.0000384 0.0034898 -0.0014564
numsurf 64
SURF 0X0
mat 4
refs 3
44 0.609850 0.213084
6 0.351979 0.176168
26 0.609850 0.176169
SURF 0X0
mat 4
refs 3
4 0.351979 0.323831
13 0.351979 0.250000
6 0.351979 0.176168
SURF 0X0
mat 4
refs 3
43 0.609850 0.286916
28 0.609850 0.323831
4 0.351979 0.323831
SURF 0X0
mat 4
refs 3
44 0.609850 0.213084
36 0.609850 0.250000
43 0.609850 0.286916
SURF 0X0
mat 4
refs 3
44 0.609850 0.213084
4 0.351979 0.323831
6 0.351979 0.176168
SURF 0X0
mat 4
refs 3
44 0.609850 0.213084
43 0.609850 0.286916
4 0.351979 0.323831
SURF 0X0
mat 4
refs 3
17 0.923311 0.703843
13 0.923311 0.500000
34 0.923311 0.601922
SURF 0X0
mat 4
refs 3
11 0.859568 0.703843
6 0.859568 0.500000
13 0.923311 0.500000
SURF 0X0
mat 4
refs 3
17 0.923311 0.703843
11 0.859568 0.703843
13 0.923311 0.500000
SURF 0X0
mat 4
refs 4
4 0.914868 0.085132
0 0.914868 0.500000
1 0.085132 0.500000
3 0.085132 0.085132
50 0.087995 0.375000
25 0.087995 0.500000
3 0.000000 0.500000
19 0.000000 0.375000
SURF 0X0
mat 4
refs 4
1 0.085132 0.500000
0 0.914868 0.500000
5 0.914868 0.914868
2 0.085132 0.914868
49 0.087995 0.125000
30 0.087995 0.250000
8 0.000000 0.250000
23 0.000000 0.125000
SURF 0X0
mat 4
refs 4
48 0.263985 0.125000
31 0.263985 0.250000
16 0.175990 0.250000
32 0.175990 0.125000
SURF 0X0
mat 4
refs 4
47 0.263985 0.375000
20 0.263985 0.500000
10 0.175990 0.500000
33 0.175990 0.375000
SURF 0X0
mat 4
refs 3
15 0.987054 0.703843
13 0.923311 0.500000
4 0.987054 0.500000
SURF 0X0
mat 4
refs 3
17 0.923311 0.703843
34 0.923311 0.601922
13 0.923311 0.500000
SURF 0X0
mat 4
refs 3
15 0.987054 0.703843
17 0.923311 0.703843
13 0.923311 0.500000
SURF 0X0
mat 4
refs 4
0 0.987054 0.907686
9 0.923311 0.907686
17 0.923311 0.703843
15 0.987054 0.703843
SURF 0X0
mat 4
refs 4
9 0.923311 0.907686
2 0.859568 0.907686
11 0.859568 0.703843
17 0.923311 0.703843
SURF 0X0
mat 4
refs 3
28 0.859567 0.500000
15 0.601697 0.703842
4 0.601697 0.500000
SURF 0X0
mat 4
refs 3
18 0.859568 0.907685
0 0.601697 0.907685
15 0.601697 0.703842
SURF 0X0
mat 4
refs 3
35 0.859567 0.703842
45 0.859568 0.805764
18 0.859568 0.907685
SURF 0X0
mat 4
refs 3
28 0.859567 0.500000
46 0.859567 0.601922
35 0.859567 0.703842
SURF 0X0
mat 4
refs 3
28 0.859567 0.500000
18 0.859568 0.907685
15 0.601697 0.703842
SURF 0X0
mat 4
refs 3
28 0.859567 0.500000
35 0.859567 0.703842
18 0.859568 0.907685
SURF 0X0
mat 4
refs 3
6 0.601697 0.500000
41 0.343827 0.601922
26 0.343827 0.500000
SURF 0X0
mat 4
refs 3
42 0.343827 0.805764
37 0.343827 0.703842
41 0.343827 0.601922
SURF 0X0
mat 4
refs 3
2 0.601697 0.907685
24 0.343827 0.907685
42 0.343827 0.805764
SURF 0X0
mat 4
refs 3
6 0.601697 0.500000
11 0.601697 0.703842
2 0.601697 0.907685
SURF 0X0
mat 4
refs 3
6 0.601697 0.500000
42 0.343827 0.805764
41 0.343827 0.601922
SURF 0X0
mat 4
refs 3
6 0.601697 0.500000
2 0.601697 0.907685
42 0.343827 0.805764
SURF 0X0
mat 4
refs 3
39 0.257870 0.786916
40 0.257870 0.713084
38 0.257870 0.750000
SURF 0X0
mat 4
refs 3
0 0.000000 0.676169
18 0.257870 0.676169
40 0.257870 0.713084
SURF 0X0
mat 4
refs 3
2 0.000000 0.823831
9 0.000000 0.750000
0 0.000000 0.676169
SURF 0X0
mat 4
refs 3
39 0.257870 0.786916
24 0.257870 0.823831
2 0.000000 0.823831
SURF 0X0
mat 4
refs 3
39 0.257870 0.786916
0 0.000000 0.676169
40 0.257870 0.713084
SURF 0X0
mat 4
refs 3
39 0.257870 0.786916
2 0.000000 0.823831
0 0.000000 0.676169
SURF 0X0
mat 4
refs 4
8 0.343827 0.750000
19 0.343827 0.875000
39 0.257870 0.786916
38 0.257870 0.750000
SURF 0X0
mat 4
refs 4
19 0.343827 0.875000
3 0.343827 1.000000
24 0.257870 0.823831
39 0.257870 0.786916
SURF 0X0
mat 4
refs 4
1 0.343827 0.500000
23 0.343827 0.625000
40 0.257870 0.713084
18 0.257870 0.676169
SURF 0X0
mat 4
refs 4
23 0.343827 0.625000
8 0.343827 0.750000
38 0.257870 0.750000
40 0.257870 0.713084
SURF 0X0
mat 4
refs 4
10 0.695807 0.203843
20 0.695806 0.101922
41 0.847903 0.101922
37 0.847903 0.203843
SURF 0X0
mat 4
refs 4
20 0.695806 0.101922
7 0.695806 0.000000
26 0.847903 0.000000
41 0.847903 0.101922
SURF 0X0
mat 4
refs 4
3 0.695807 0.407686
25 0.695807 0.305765
42 0.847903 0.305765
24 0.847903 0.407686
SURF 0X0
mat 4
refs 4
25 0.695807 0.305765
10 0.695807 0.203843
37 0.847903 0.203843
42 0.847903 0.305765
SURF 0X0
mat 4
refs 4
12 0.695806 0.250000
21 0.695806 0.375000
43 0.609850 0.286916
36 0.609850 0.250000
SURF 0X0
mat 4
refs 4
21 0.695806 0.375000
5 0.695806 0.500000
28 0.609850 0.323831
43 0.609850 0.286916
SURF 0X0
mat 4
refs 4
7 0.695806 0.000000
27 0.695806 0.125000
44 0.609850 0.213084
26 0.609850 0.176169
SURF 0X0
mat 4
refs 4
27 0.695806 0.125000
12 0.695806 0.250000
36 0.609850 0.250000
44 0.609850 0.213084
SURF 0X0
mat 4
refs 4
14 0.847903 0.203843
22 0.847903 0.101922
45 1.000000 0.101922
35 1.000000 0.203843
SURF 0X0
mat 4
refs 4
22 0.847903 0.101922
1 0.847903 0.000000
18 1.000000 0.000000
45 1.000000 0.101922
SURF 0X0
mat 4
refs 4
5 0.847903 0.407686
29 0.847903 0.305765
46 1.000000 0.305765
28 1.000000 0.407686
SURF 0X0
mat 4
refs 4
29 0.847903 0.305765
14 0.847903 0.203843
35 1.000000 0.203843
46 1.000000 0.305765
SURF 0X0
mat 4
refs 4
31 0.263985 0.250000
47 0.263985 0.375000
33 0.175990 0.375000
16 0.175990 0.250000
SURF 0X0
mat 4
refs 4
12 0.351979 0.250000
27 0.351979 0.375000
47 0.263985 0.375000
31 0.263985 0.250000
SURF 0X0
mat 4
refs 4
27 0.351979 0.375000
7 0.351979 0.500000
20 0.263985 0.500000
47 0.263985 0.375000
SURF 0X0
mat 4
refs 4
29 0.263985 0.000000
48 0.263985 0.125000
32 0.175990 0.125000
14 0.175990 0.000000
SURF 0X0
mat 4
refs 4
5 0.351979 0.000000
21 0.351979 0.125000
48 0.263985 0.125000
29 0.263985 0.000000
SURF 0X0
mat 4
refs 4
21 0.351979 0.125000
12 0.351979 0.250000
31 0.263985 0.250000
48 0.263985 0.125000
SURF 0X0
mat 4
refs 4
22 0.087995 0.000000
49 0.087995 0.125000
23 0.000000 0.125000
1 0.000000 0.000000
SURF 0X0
mat 4
refs 4
14 0.175990 0.000000
32 0.175990 0.125000
49 0.087995 0.125000
22 0.087995 0.000000
SURF 0X0
mat 4
refs 4
32 0.175990 0.125000
16 0.175990 0.250000
30 0.087995 0.250000
49 0.087995 0.125000
SURF 0X0
mat 4
refs 4
30 0.087995 0.250000
50 0.087995 0.375000
19 0.000000 0.375000
8 0.000000 0.250000
SURF 0X0
mat 4
refs 4
16 0.175990 0.250000
33 0.175990 0.375000
50 0.087995 0.375000
30 0.087995 0.250000
SURF 0X0
mat 4
refs 4
33 0.175990 0.375000
10 0.175990 0.500000
25 0.087995 0.500000
50 0.087995 0.375000
kids 0
OBJECT poly
name "OBS-Knob"

View file

@ -5,7 +5,7 @@
<path>hi.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>Front</object-name>
<object-name>OBS-Knob</object-name>
@ -17,11 +17,12 @@
<type>material</type>
<object-name>Face</object-name>
<object-name>Front</object-name>
<object-name>HdgBug</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>sim/model//material/instruments/factor</factor-prop>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
@ -29,12 +30,11 @@
<type>material</type>
<object-name>OBS-Knob</object-name>
<object-name>Hdg-Knob</object-name>
<object-name>HdgBug</object-name> <!-- MOD: bug illumination -->
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>sim/model//material/instruments/factor</factor-prop>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 161 B

View file

@ -6,7 +6,7 @@
<path>hobbs.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Base</object-name>
<object-name>screw</object-name>
<object-name>Drum.0</object-name>

View file

@ -26,7 +26,7 @@ properties' values.
<path>kap140.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>knob-outer</object-name>
<object-name>knob-inner</object-name>
<object-name>base</object-name>
@ -83,13 +83,12 @@ properties' values.
<type>material</type>
<object-name>knob-outer</object-name>
<object-name>knob-inner</object-name>
<object-name>base</object-name>
<object-name>buttons</object-name>
<emission>
<red>0.75</red>
<green>0.25</green>
<blue>0.10</blue>
<factor-prop>/sim/model/material/instruments/factor</factor-prop>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>/sim/model/c172p/lighting/ap</factor-prop>
</emission>
</animation>
@ -998,5 +997,32 @@ properties' values.
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>alt-digits</object-name>
<object-name>annunciators</object-name>
<object-name>hpa-digits</object-name>
<object-name>inhg-digits</object-name>
<object-name>vs-digits</object-name>
<object-name>vs-digits-minus</object-name>
<condition>
<and>
<not>
<property>sim/rendering/rembrandt/enabled</property>
</not>
<greater-than>
<property>/sim/model/c172p/lighting/ap</property>
<value>0.0</value>
</greater-than>
</and>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>/sim/model/c172p/lighting/ap</factor-prop>
</emission>
</animation>
</PropertyList>

View file

@ -48,7 +48,7 @@
<path>kma20.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Chassis</object-name>
<object-name>Knob</object-name>
<object-name>AUTO</object-name>

View file

@ -16,7 +16,7 @@
</params>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>CompassRose</object-name>
<object-name>CompassRoseCenter</object-name>
<object-name>KI227.ADFNeedle</object-name>

View file

@ -12,7 +12,7 @@
<path>kr87.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>indicator</object-name>
<object-name>Chassis</object-name>
<object-name>Volume</object-name>
@ -47,6 +47,33 @@
<property>/instrumentation/adf[0]/operable</property>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>indicator</object-name>
<condition>
<and>
<not>
<property>sim/rendering/rembrandt/enabled</property>
</not>
<greater-than>
<property>/sim/model/c172p/lighting/adf</property>
<value>0.0</value>
</greater-than>
</and>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>/sim/model/c172p/lighting/adf</factor-prop>
</emission>
</animation>
<animation>
<property>/sim/model/c172p/lighting/adf</property>
</animation>
<animation>
<type>noshadow</type>
</animation>
@ -58,7 +85,6 @@
<animation>
<type>material</type>
<object-name>Chassis</object-name>
<object-name>Volume</object-name>
<object-name>FRQOuter</object-name>
<object-name>FRQInner</object-name>
@ -71,7 +97,7 @@
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
<factor-prop>/sim/model/c172p/lighting/adf</factor-prop>
</emission>
</animation>

View file

@ -27,7 +27,7 @@
</params>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Dial1</object-name>
<object-name>Dial10</object-name>
<object-name>Dial100</object-name>

View file

@ -48,17 +48,12 @@
<nav-dial-mhz>instrumentation/nav[0]/frequencies/dial-mhz</nav-dial-mhz>
<nav-volume>instrumentation/nav[0]/volume</nav-volume>
<nav-audio>instrumentation/nav[0]/audio-btn</nav-audio>
<dimming>instrumentation/comm[0]/dimming-norm</dimming>
<red>1</red>
<green>1</green>
<blue>1</blue>
</params>
<path>kx165.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>CommKnobs</object-name>
<object-name>CommKHz</object-name>
<object-name>CommMHz</object-name>
@ -188,62 +183,57 @@
<texture-prop>texture-file</texture-prop>
</animation>
<animation>
<type>material</type>
<object-name>CommKnobs</object-name>
<object-name>CommKHz</object-name>
<object-name>CommMHz</object-name>
<object-name>CommToggle</object-name>
<object-name>CommVolume</object-name>
<object-name>NavKnobs</object-name>
<object-name>NavKHz</object-name>
<object-name>NavMHz</object-name>
<object-name>NavToggle</object-name>
<object-name>NavVolume</object-name>
<object-name>Chassis</object-name>
<condition>
<not><property>sim/rendering/rembrandt/enabled</property></not>
</condition>
<emission>
<red alias="../../../params/red"/>
<green alias="../../../params/green"/>
<blue alias="../../../params/blue"/>
<factor-prop alias="../../../params/dimming"/>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<condition>
<and>
<property alias="../../../../params/comm-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[0]</property>
<value>6.0</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<and>
<property alias="../../../../params/nav-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[0]</property>
<value>6.0</value>
</greater-than>
</and>
<property>/sim/model/c172p/lighting/comm0-power</property>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>CommKnobs</object-name>
<object-name>NavKnobs</object-name>
<condition>
<not><property>sim/rendering/rembrandt/enabled</property></not>
</condition>
<emission>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>/sim/model/c172p/lighting/comm0</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<and>
<not>
<property>sim/rendering/rembrandt/enabled</property>
</not>
<greater-than>
<property>/sim/model/c172p/lighting/comm0</property>
<value>0.0</value>
</greater-than>
</and>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>/sim/model/c172p/lighting/comm0</factor-prop>
</emission>
</animation>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>CommUse</object-name>

View file

@ -48,17 +48,12 @@
<nav-dial-mhz>instrumentation/nav[1]/frequencies/dial-mhz</nav-dial-mhz>
<nav-volume>instrumentation/nav[1]/volume</nav-volume>
<nav-audio>instrumentation/nav[1]/audio-btn</nav-audio>
<dimming>instrumentation/comm[1]/dimming-norm</dimming>
<red>1</red>
<green>1</green>
<blue>1</blue>
</params>
<path>kx165.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>CommKnobs</object-name>
<object-name>CommKHz</object-name>
<object-name>CommMHz</object-name>
@ -188,62 +183,57 @@
<texture-prop>texture-file</texture-prop>
</animation>
<animation>
<type>material</type>
<object-name>CommKnobs</object-name>
<object-name>CommKHz</object-name>
<object-name>CommMHz</object-name>
<object-name>CommToggle</object-name>
<object-name>CommVolume</object-name>
<object-name>NavKnobs</object-name>
<object-name>NavKHz</object-name>
<object-name>NavMHz</object-name>
<object-name>NavToggle</object-name>
<object-name>NavVolume</object-name>
<object-name>Chassis</object-name>
<condition>
<not><property>sim/rendering/rembrandt/enabled</property></not>
</condition>
<emission>
<red alias="../../../params/red"/>
<green alias="../../../params/green"/>
<blue alias="../../../params/blue"/>
<factor-prop alias="../../../params/dimming"/>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<condition>
<and>
<property alias="../../../../params/comm-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[1]</property>
<value>6.0</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<and>
<property alias="../../../../params/nav-serviceable"/>
<property alias="../../../../params/power-comm"/>
<greater-than>
<property>systems/electrical/outputs/comm[1]</property>
<value>6.0</value>
</greater-than>
</and>
<property>/sim/model/c172p/lighting/comm1-power</property>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>CommKnobs</object-name>
<object-name>NavKnobs</object-name>
<condition>
<not><property>sim/rendering/rembrandt/enabled</property></not>
</condition>
<emission>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>/sim/model/c172p/lighting/comm1</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<and>
<not>
<property>sim/rendering/rembrandt/enabled</property>
</not>
<greater-than>
<property>/sim/model/c172p/lighting/comm1</property>
<value>0.0</value>
</greater-than>
</and>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop>/sim/model/c172p/lighting/comm1</factor-prop>
</emission>
</animation>
<effect>
<inherits-from>Effects/model-transparent</inherits-from>
<object-name>CommUse</object-name>

View file

@ -6,28 +6,33 @@
<texture-path>Aircraft/c172p/Models</texture-path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<object-name>LightKnob</object-name>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>radio-light-knob</object-name>
<object-name>panel-light-knob</object-name>
</effect>
<!-- Panel/radio light control -->
<!-- Panel light knob -->
<animation>
<type>knob</type>
<object-name>LightKnob</object-name>
<visible>true</visible>
<object-name>panel-light-knob</object-name>
<property>controls/lighting/instruments-norm</property>
<factor>180</factor>
<axis>
<x>-1</x>
</axis>
<action>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/instruments-norm</property>
<factor>0.1</factor>
<factor>0.05</factor>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
@ -39,4 +44,38 @@
</hovered>
</animation>
<!-- Radio light knob -->
<animation>
<type>knob</type>
<drag-direction>vertical</drag-direction>
<object-name>radio-light-knob</object-name>
<property>controls/lighting/radio-norm</property>
<factor>180</factor>
<axis>
<x>-1</x>
</axis>
<action>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/radio-norm</property>
<factor>0.05</factor>
<min>0</min>
<max>1.0</max>
<wrap>0</wrap>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>lighting-brightness</tooltip-id>
<label>Radio Lighting: %3d%%</label>
<property>controls/lighting/radio-norm</property>
<mapping>percent</mapping>
</binding>
</hovered>
</animation>
</PropertyList>

View file

@ -5,7 +5,7 @@
<path>mag-compass.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Ring</object-name>
<object-name>Casing</object-name>
</effect>

View file

@ -5,7 +5,7 @@
<path>magneto-switch.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>key</object-name>
<object-name>start</object-name>
<object-name>magsw</object-name>

View file

@ -3,7 +3,7 @@
<path>oat.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>OAT.needle</object-name>
<object-name>OAT.face</object-name>
<object-name>OAT.frame</object-name>

View file

@ -5,7 +5,7 @@
<path>tc.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Ball</object-name>
<object-name>Face</object-name>
<object-name>Airplane</object-name>

View file

@ -5,7 +5,7 @@
<path>vac.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>VacFace</object-name>
<object-name>VacNeedle</object-name>
</effect>

View file

@ -15,7 +15,7 @@
<path>vor.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>GlideslopeNeedle</object-name>
<object-name>Ring</object-name>

View file

@ -15,7 +15,7 @@
<path>vor.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/c172p-flashlight</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Face</object-name>
<object-name>GlideslopeNeedle</object-name>
<object-name>Ring</object-name>

View file

@ -8,7 +8,7 @@
</params>
<effect>
<inherits-from>../../../../Effects/interior/c172p-interior</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>RightPedal</object-name>
<object-name>LeftPedal</object-name>
</effect>
@ -17,7 +17,7 @@
<type>translate</type>
<object-name>LeftPedal</object-name>
<property alias="/params/rudder"/>
<factor>0.05</factor>
<factor>-0.05</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
@ -46,7 +46,7 @@
<type>translate</type>
<object-name>RightPedal</object-name>
<property alias="/params/rudder"/>
<factor>-0.05</factor>
<factor>0.05</factor>
<axis>
<x>1.0</x>
<y>0.0</y>

View file

@ -9,7 +9,7 @@
</params>
<effect>
<inherits-from>../../../../Effects/interior/c172p-interior</inherits-from>
<inherits-from>../../../../Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>Yoke</object-name>
<object-name>YokeMount</object-name>
</effect>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 KiB

After

Width:  |  Height:  |  Size: 494 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

View file

@ -437,6 +437,9 @@
<object-name>rightdoor</object-name>
<object-name>Spinner</object-name>
<object-name>Propeller</object-name>
<object-name>NoseWheel</object-name>
<object-name>LeftWheel</object-name>
<object-name>RightWheel</object-name>
</effect>
<effect>
<inherits-from>Effects/exterior/bumpspec-tail</inherits-from>
@ -514,14 +517,19 @@
</ambient>
</animation>
<!-- interior effects -->
<effect>
<inherits-from>Effects/interior/c172p-flashlight</inherits-from>
<object-name>AirVent_left</object-name>
<object-name>AirVent_right</object-name>
</effect>
<!-- interior effects -->
<effect>
<inherits-from>Effects/interior/c172p-interior</inherits-from>
<object-name>wing_1L</object-name>
<object-name>wing_1R</object-name>
<object-name>Firewall</object-name>
<object-name>AirVent_left</object-name>
<object-name>AirVent_right</object-name>
<object-name>chassis</object-name>
<object-name>doorint_right</object-name>
<object-name>doorint_left</object-name>
<object-name>CeilingSpeaker</object-name>
<object-name>TrimWheel</object-name>
<object-name>ElevatorTrimPos</object-name>
<object-name>FuelSelectorFace</object-name>
<object-name>FuelSelectorLeft</object-name>
@ -530,10 +538,6 @@
<object-name>FuelSelectorOff</object-name>
<object-name>mike_mount</object-name>
<object-name>Pedestal</object-name>
<object-name>InstrumentCover</object-name>
<object-name>panel_1_1.inf</object-name>
<object-name>panel_1_1_right</object-name>
<object-name>panel_1_gauges</object-name>
<object-name>CabinAirMounts</object-name>
<object-name>CabinAir</object-name>
<object-name>CabinHeat</object-name>
@ -542,11 +546,6 @@
<object-name>CarbHeatMount</object-name>
<object-name>GenSwitch</object-name>
<object-name>LandingLightSwitch</object-name>
<object-name>LeftBag</object-name>
<object-name>bolt.012</object-name>
<object-name>bolt.013</object-name>
<object-name>bolt.014</object-name>
<object-name>bolt.015</object-name>
<object-name>MasterSwitch</object-name>
<object-name>Mixture</object-name>
<object-name>MixtureMount</object-name>
@ -559,11 +558,28 @@
<object-name>ThrottleMount</object-name>
<object-name>mike</object-name>
<object-name>mike_chord</object-name>
<object-name>Panel_0</object-name>
<object-name>doorhandleint_right</object-name>
<object-name>doorhandleint_left</object-name>
<object-name>ParkingBrake</object-name>
<object-name>PrimerLever</object-name>
<object-name>windlocket_right</object-name>
<object-name>windlocket_left</object-name>
<object-name>windlocketbak_right</object-name>
<object-name>windlocketbak_left</object-name>
<object-name>backseat_left</object-name>
<object-name>carpet</object-name>
<object-name>pilotseat_left</object-name>
<object-name>pilotseat_right</object-name>
<object-name>InstrumentCover</object-name>
<object-name>panel_1_1.inf</object-name>
<object-name>panel_1_1_right</object-name>
<object-name>panel_1_gauges</object-name>
<object-name>LeftBag</object-name>
<object-name>bolt.012</object-name>
<object-name>bolt.013</object-name>
<object-name>bolt.014</object-name>
<object-name>bolt.015</object-name>
<object-name>Panel_0</object-name>
<object-name>bolts_cabin</object-name>
<object-name>bolts_panel</object-name>
<object-name>bolts</object-name>
@ -571,28 +587,6 @@
<object-name>SeatMounts.1</object-name>
<object-name>SeatMounts.2</object-name>
<object-name>SeatMounts.3</object-name>
<object-name>windlocket_right</object-name>
<object-name>windlocket_left</object-name>
<object-name>windlocketbak_right</object-name>
<object-name>windlocketbak_left</object-name>
<object-name>CeilingSpeaker</object-name>
<object-name>TrimWheel</object-name>
<object-name>wing_1L</object-name>
<object-name>wing_1R</object-name>
<object-name>FloatReinforceLeft</object-name>
<object-name>FloatReinforceRight</object-name>
<object-name>FloatReinforceJoin</object-name>
<object-name>backseat_left</object-name>
<object-name>carpet</object-name>
<object-name>pilotseat_left</object-name>
<object-name>pilotseat_right</object-name>
<object-name>Firewall</object-name>
</effect>
<effect>
<inherits-from>Effects/interior/c172p-interior-radiance</inherits-from>
<object-name>chassis</object-name>
<object-name>doorint_right</object-name>
<object-name>doorint_left</object-name>
</effect>
<effect>
<inherits-from>Effects/interior/c172p-interior-glass-reflection-front</inherits-from>
@ -752,30 +746,18 @@
<name>AI</name>
<path>Interior/Panel/Instruments/AI/AI.xml</path>
<offsets>
<!-- MOD: AI Position XYZ
<x-m>-0.369</x-m>
<y-m>-0.222</y-m>
<z-m>0.069</z-m>
-->
<x-m>-0.369</x-m>
<y-m>-0.22147</y-m>
<z-m>0.06863</z-m>
<!-- MODEND: AI Position XYZ -->
</offsets>
</model>
<model>
<name>Altimeter</name>
<path>Interior/Panel/Instruments/alt/alt.xml</path>
<offsets>
<!-- MOD: ALTIMETER Position XYZ
<x-m>-0.369</x-m>
<y-m>-0.133</y-m>
<z-m>0.069</z-m>
-->
<x-m>-0.369</x-m>
<y-m>-0.13245</y-m>
<z-m>0.06775</z-m>
<!-- MODEND: ALTIMETER Position XYZ -->
</offsets>
</model>
<model>
@ -792,9 +774,8 @@
<path>Interior/Panel/Instruments/kap140/KAP140TwoAxisAlt.xml</path>
<offsets>
<x-m>-0.357879</x-m>
<y-m>0.116</y-m>
<!-- <z-m>-0.092</z-m> -->
<z-m>-0.135</z-m>
<y-m>0.115</y-m>
<z-m>-0.132</z-m>
</offsets>
</model>
<model>
@ -802,8 +783,7 @@
<path>Interior/Panel/Instruments/dme/dme.xml</path>
<offsets>
<x-m>-0.357</x-m>
<y-m>0.116</y-m>
<!-- <z-m>-0.142</z-m> -->
<y-m>0.115</y-m>
<z-m>-0.088</z-m>
</offsets>
</model>
@ -811,30 +791,18 @@
<name>asi</name>
<path>Interior/Panel/Instruments/asi/asi.xml</path>
<offsets>
<!-- MOD: ASI Position XYZ
<x-m>-0.368</x-m>
<y-m>-0.311</y-m>
<z-m>0.068</z-m>
-->
<x-m>-0.369</x-m>
<y-m>-0.31185</y-m>
<z-m>0.06863</z-m>
<!-- MODEND: ASI Position XYZ -->
</offsets>
</model>
<model>
<name>Turn</name>
<path>Interior/Panel/Instruments/tc/tc.xml</path>
<offsets>
<!-- MOD: TC Position XYZ
<x-m>-0.368</x-m>
<y-m>-0.311</y-m>
<z-m>0.068</z-m>
-->
<x-m>-0.369</x-m>
<y-m>-0.31165</y-m>
<z-m>-0.03574</z-m>
<!-- MODEND: TC Position XYZ -->
</offsets>
</model>
<model>
@ -877,45 +845,27 @@
<name>avor</name>
<path>Interior/Panel/Instruments/vor/vor.xml</path>
<offsets>
<!-- MOD: VOR1 Position XYZ
<x-m>-0.368</x-m>
<y-m>-0.041</y-m>
<z-m>0.069</z-m>
-->
<x-m>-0.369</x-m>
<y-m>-0.0423</y-m>
<z-m>0.06863</z-m>
<!-- MODEND: VOR2 Position YZ -->
</offsets>
</model>
<model>
<name>vor2</name>
<path>Interior/Panel/Instruments/vor/vor2.xml</path>
<offsets>
<!-- MOD: VOR2 Position YZ
<x-m>-0.368</x-m>
<y-m>-0.041</y-m>
<z-m>-0.036</z-m>
-->
<x-m>-0.369</x-m>
<y-m>-0.0423</y-m>
<z-m>-0.03574</z-m>
<!-- MODEND: VOR2 Position YZ -->
</offsets>
</model>
<model>
<name>adf</name>
<path>Interior/Panel/Instruments/kr87-adf/ki227_228.xml</path>
<offsets>
<!-- MOD: ADF Position xyz
<x-m>-0.368</x-m>
<y-m>-0.041</y-m>
<z-m>-0.141</z-m>
-->
<x-m>-0.372</x-m>
<y-m>-0.04214</y-m>
<z-m>-0.14037</z-m>
<!-- MODEND: ADF Position xyz -->
</offsets>
</model>
<model>
@ -932,7 +882,6 @@
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
<!-- <z-m>0.017</z-m> -->
<z-m>0.051</z-m>
</offsets>
</model>
@ -950,7 +899,6 @@
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
<!-- <z-m>-0.036</z-m> -->
<z-m>-0.002</z-m>
</offsets>
</model>
@ -968,9 +916,8 @@
<path>Interior/Panel/Instruments/kr87-adf/kr87.xml</path>
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
<!-- <z-m>0.061</z-m> -->
<z-m>-0.045</z-m>
<y-m>0.114</y-m>
<z-m>-0.047</z-m>
</offsets>
</model>
@ -988,8 +935,8 @@
</overlay>
<offsets>
<x-m>-0.36</x-m>
<y-m>0.113</y-m>
<z-m>-0.178</z-m>
<y-m>0.115</y-m>
<z-m>-0.177</z-m>
</offsets>
</model>
<!-- MODEND -->
@ -7978,6 +7925,15 @@
<condition>
<and>
<property>/engines/active-engine/oil_consumption_allowed</property>
<not>
<property>/engines/active-engine/running</property>
</not>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<equals>
<property>/controls/engines/active-engine</property>
<value>0</value>
@ -7991,6 +7947,15 @@
<condition>
<and>
<property>/engines/active-engine/oil_consumption_allowed</property>
<not>
<property>/engines/active-engine/running</property>
</not>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<equals>
<property>/controls/engines/active-engine</property>
<value>1</value>
@ -8000,11 +7965,59 @@
<command>dialog-show</command>
<dialog-name>c172p-oil-dialog-180</dialog-name>
</binding>
<binding>
<condition>
<and>
<property>/engines/active-engine/running</property>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<property>/engines/active-engine/oil_consumption_allowed</property>
</and>
</condition>
<command>nasal</command>
<script>
gui.popupTip("You can't check the oil level with the engine running!");
</script>
</binding>
<binding>
<condition>
<and>
<not>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
</not>
<property>/engines/active-engine/oil_consumption_allowed</property>
</and>
</condition>
<command>nasal</command>
<script>
gui.popupTip("You can't check the oil level while in the air!");
</script>
</binding>
</action>
<hovered>
<binding>
<condition>
<property>/engines/active-engine/oil_consumption_allowed</property>
<and>
<not>
<property>/engines/active-engine/running</property>
</not>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<property>/engines/active-engine/oil_consumption_allowed</property>
</and>
</condition>
<command>set-tooltip</command>
<tooltip-id>oil-sump</tooltip-id>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 531 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 2.4 MiB

View file

@ -1,6 +1,21 @@
List of features and bug fixes
==============================
Version 2016.2
--------------
* Decreased rudder authority
* Added propwash effect for 180 HP version
* Improvements to the irradiance effect
* Better oil dialog
* Flap lever is now dragable and scrollable
* Added normal map to wheels and other objects
* Improvements to the heading indicator
* Correct rudder pedal animation
* Updated tutorial to Barcelona
* Changed "Autostart" menu item to actually start the engine as well
* Split instrument light knob into a knob that two knobs: one that controls the instruments, and one that controls the radio's
Version 2016.1
--------------

View file

@ -111,6 +111,7 @@ aircraft.data.add(
aircraft.data.add(
"/controls/lighting/beacon",
"/controls/lighting/instruments-norm",
"/controls/lighting/radio-norm",
"/controls/lighting/landing-lights",
"/controls/lighting/nav-lights",
"/controls/lighting/strobe",

View file

@ -24,6 +24,8 @@ var autostart = func (msg=1) {
setprop("/consumables/fuel/tank[0]/selected", 1);
setprop("/consumables/fuel/tank[1]/selected", 1);
setprop("/controls/flight/flaps", 0.0);
# Set the altimeter
var pressure_sea_level = getprop("/environment/pressure-sea-level-inhg");
setprop("/instrumentation/altimeter/setting-inhg", pressure_sea_level);
@ -41,29 +43,42 @@ var autostart = func (msg=1) {
setprop("/sim/model/c172p/securing/tiedownT-visible", 0);
setprop("/consumables/fuel/tank[0]/water-contamination", 0.0);
setprop("/consumables/fuel/tank[1]/water-contamination", 0.0);
setprop("/consumables/fuel/tank[1]/water-contamination", 0.0);
# Oil level warning for lazy pro's
# Setting max oil level
var oil_enabled = getprop("/engines/active-engine/oil_consumption_allowed");
var oil_level = getprop("/engines/active-engine/oil-level");
if (oil_enabled and oil_level < 6.0) {
if (getprop("/controls/engines/active-engine") == 0) {
setprop("/engines/active-engine/oil-level", 7.0);
}
else {
setprop("/engines/active-engine/oil-level", 8.0);
};
};
if (oil_enabled and oil_level < 6.0)
logger.screen.red("Warning: low oil level! Check level via oil cap on top of engine!");
# Fuel level warnings
# Checking for minimal fuel level
var fuel_level_left = getprop("/consumables/fuel/tank[0]/level-norm");
var fuel_level_right = getprop("/consumables/fuel/tank[1]/level-norm");
if (fuel_level_left < 0.25)
logger.screen.red("Warning: fuel level of the left tank lower than 25%!");
setprop("/consumables/fuel/tank[0]/level-norm", 0.25);
if (fuel_level_right < 0.25)
logger.screen.red("Warning: fuel level of the right tank lower than 25%!");
setprop("/consumables/fuel/tank[1]/level-norm", 0.25);
setprop("/controls/engines/engine[0]/primer-lever", 0);
setprop("/controls/engines/engine/primer", 3);
if (msg)
gui.popupTip("Hold down \"s\" to start the engine", 5);
# All set, starting engine
setprop("/controls/switches/starter", 1);
var engineRunning = setlistener("/engines/active-engine/running", func {
if (getprop("/engines/active-engine/running")) {
setprop("/controls/switches/starter", 0);
removelistener(engineRunning);
}
});
};
##########################################
@ -199,6 +214,7 @@ var switches_save_state = func {
setprop("/controls/lighting/taxi-light", 0);
setprop("/controls/lighting/landing-lights", 0);
setprop("/controls/lighting/instruments-norm", 0.0);
setprop("/controls/lighting/radio-norm", 0.0);
setprop("/controls/gear/water-rudder", 0);
setprop("/controls/gear/water-rudder-down", 0);
setprop("/sim/model/c172p/brake-parking", 1);

View file

@ -181,8 +181,6 @@ var update = func {
};
setlistener("/controls/switches/starter", func {
if (!getprop("/fdm/jsbsim/complex"))
c172p.autostart(0);
var v = getprop("/controls/switches/starter") or 0;
if (v == 0) {
print("Starter off");

View file

@ -1,178 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<filter>
<name>CDI0 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[0]/heading-needle-deflection</input>
<output>instrumentation/nav[0]/filtered-cdiNAV0-deflection</output>
</filter>
<filter>
<name>CDI1 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[1]/heading-needle-deflection</input>
<output>instrumentation/nav[1]/filtered-cdiNAV1-deflection</output>
</filter>
<filter>
<name>GS0 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[0]/gs-needle-deflection-norm</input>
<output>instrumentation/nav[0]/filtered-gsNAV0-deflection</output>
</filter>
<filter>
<name>GS1 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[1]/gs-needle-deflection-norm</input>
<output>instrumentation/nav[1]/filtered-gsNAV1-deflection</output>
</filter>
<filter>
<name>EGT 160 HP lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>4.0</filter-time>
<input>
<property>engines/engine[0]/egt-degf</property>
<!-- 1200 * scale + offset = 0.0
1700 * scale + offset = 1.0 -->
<scale>0.002</scale>
<offset>-2.4</offset>
</input>
<output>engines/engine[0]/egt-norm</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<name>EGT 180 HP lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>4.0</filter-time>
<input>
<property>engines/engine[1]/egt-degf</property>
<!-- 1200 * scale + offset = 0.0
1700 * scale + offset = 1.0 -->
<scale>0.002</scale>
<offset>-2.4</offset>
</input>
<output>engines/engine[1]/egt-norm</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<name>Tank 0 Indicated Level</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/consumables/fuel/tank[0]/level-gal_us</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/consumables/fuel/tank[0]/indicated-level-gal_us</property>
</output>
</filter>
<filter>
<name>Tank 1 Indicated Level</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/consumables/fuel/tank[1]/level-gal_us</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/consumables/fuel/tank[1]/indicated-level-gal_us</property>
</output>
</filter>
<filter>
<name>Engine Indicated Oil Temperature</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/engines/active-engine/oil-temperature-degf</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/engines/active-engine/indicated-oil-temperature-degf</property>
</output>
</filter>
<filter>
<name>Engine Indicated Oil Pressure</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/engines/active-engine/oil-pressure-psi</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/engines/active-engine/indicated-oil-pressure-psi</property>
</output>
</filter>
<filter>
<name>Engine Total Hobbs Hours</name>
<type>gain</type>
<input>
<expression>
<div>
<sum>
<property>/sim/time/hobbs/engine[0]</property>
<property>/sim/time/hobbs/engine[1]</property>
</sum>
<value>3600.0</value>
</div>
</expression>
</input>
<output>
<property>/instrumentation/clock/hobbs-meter-hours</property>
</output>
</filter>
</PropertyList>

View file

@ -198,4 +198,148 @@
<property>/sim/model/c172p/lighting/amphibious</property>
</output>
</logic>
<filter>
<name>Inst Red Factor</name>
<type>gain</type>
<gain>0.010</gain>
<input>
<expression>
<product>
<sum>
<property>/sim/model/c172p/lighting/comm0</property>
<property>/sim/model/c172p/lighting/comm1</property>
<property>/sim/model/c172p/lighting/adf</property>
</sum>
<property>/controls/lighting/radio-norm</property>
</product>
</expression>
</input>
<output>
<property>/sim/model/c172p/lighting/inst-r-norm</property>
</output>
</filter>
<filter>
<name>Inst Blue Factor</name>
<type>gain</type>
<gain>0.006</gain>
<input>
<expression>
<product>
<sum>
<property>/sim/model/c172p/lighting/comm0</property>
<property>/sim/model/c172p/lighting/comm1</property>
<property>/sim/model/c172p/lighting/adf</property>
</sum>
<property>/controls/lighting/radio-norm</property>
</product>
</expression>
</input>
<output>
<property>/sim/model/c172p/lighting/inst-g-norm</property>
</output>
</filter>
<filter>
<name>Inst Green Factor</name>
<type>gain</type>
<gain>0.006</gain>
<input>
<expression>
<product>
<sum>
<property>/sim/model/c172p/lighting/comm0</property>
<property>/sim/model/c172p/lighting/comm1</property>
<property>/sim/model/c172p/lighting/adf</property>
</sum>
<property>/controls/lighting/radio-norm</property>
</product>
</expression>
</input>
<output>
<property>/sim/model/c172p/lighting/inst-b-norm</property>
</output>
</filter>
<!-- Reduce the red glow from the digits of the radio stack
if the instrument lighting is at 100 %.
-->
<filter>
<name>Inst Gain As Function Of Instrument Lighting</name>
<type>gain</type>
<input>
<expression>
<table>
<property>/sim/model/material/instruments/factor</property>
<entry><ind>0.0</ind><dep>1.0</dep></entry>
<entry><ind>1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>
<property>/sim/model/c172p/lighting/inst-gain</property>
</output>
</filter>
<filter>
<name>RGB Red Factor</name>
<type>gain</type>
<input>
<property>/sim/model/c172p/lighting/ra-r</property>
<scale>
<property>/sim/model/material/instruments/factor</property>
</scale>
<offset>
<property>/sim/model/c172p/lighting/inst-r-norm</property>
<scale>
<property>/sim/model/c172p/lighting/inst-gain</property>
</scale>
</offset>
</input>
<output>
<property>/sim/model/c172p/lighting/rgb-ra-r-factor</property>
</output>
</filter>
<filter>
<name>RGB Green Factor</name>
<type>gain</type>
<input>
<property>/sim/model/c172p/lighting/ra-g</property>
<scale>
<property>/sim/model/material/instruments/factor</property>
</scale>
<offset>
<property>/sim/model/c172p/lighting/inst-g-norm</property>
<scale>
<property>/sim/model/c172p/lighting/inst-gain</property>
</scale>
</offset>
</input>
<output>
<property>/sim/model/c172p/lighting/rgb-ra-g-factor</property>
</output>
</filter>
<filter>
<name>RGB Blue Factor</name>
<type>gain</type>
<input>
<property>/sim/model/c172p/lighting/ra-b</property>
<scale>
<property>/sim/model/material/instruments/factor</property>
</scale>
<offset>
<property>/sim/model/c172p/lighting/inst-b-norm</property>
<scale>
<property>/sim/model/c172p/lighting/inst-gain</property>
</scale>
</offset>
</input>
<output>
<property>/sim/model/c172p/lighting/rgb-ra-b-factor</property>
</output>
</filter>
</PropertyList>

View file

@ -103,7 +103,7 @@
</signal>
<signal>
<type>float</type>
<property type="string">/sim/model/material/instruments/factor</property>
<property type="string">/controls/lighting/instruments-norm</property>
</signal>
<!-- ============================================================== -->

View file

@ -42,12 +42,20 @@
output shown on the ASI.
-->
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<channel name="indicated airspeed">
<fcs_function name="systems/asi/indicated-airspeed">
<output>velocities/vias-kts</output>
<function>
<table>
<independentVar lookup="row">velocities/vc-kts</independentVar>
<!-- The indicated-speed-kt property reacts to pitot
failure, but it assumes the pitot is perfect.
Therefore, it practically reacts as a calibrated
airspeed indicator (KCAS).
-->
<independentVar lookup="row">/instrumentation/airspeed-indicator/indicated-speed-kt</independentVar>
<independentVar lookup="column">fcs/flap-pos-deg</independentVar>
<tableData>
0 10 30
@ -73,11 +81,11 @@
</function>
</fcs_function>
<switch name="systems/asi/indicated-airspeed-serviceable">
<output>velocities/vias-kts</output>
<default value="systems/asi/indicated-airspeed"/>
<switch name="systems/asi/pitot-serviceable">
<output>/systems/pitot/serviceable</output>
<default value="1"/>
<test logic="AND" value="0.0">
<test logic="AND" value="0">
/sim/model/c172p/securing/pitot-cover-visible EQ 1
</test>
</switch>

View file

@ -11,27 +11,26 @@ Having the correct altimeter setting is important. As well as helping pilots to
The source of this altimeter setting varies. At high altitudes, a standard pressure is used. At lower levels, and area setting is used, and around airports, the current airport setting is used.
This tutorial will teach you how to set the altimeter based on the ATIS (Automatic Terminal Information Service) for Livermore Municipal airport.
This tutorial will teach you how to set the altimeter based on the ATIS (Automatic Terminal Information Service) for Barcelona El Prat Airport.
</description>
<audio-dir>Tutorials/altimeter</audio-dir>
<timeofday>morning</timeofday>
<presets>
<airport-id>KLVK</airport-id>
<airport-id>LEBL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>20</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>37.6952</latitude-deg>
<longitude-deg>-121.8167</longitude-deg>
<heading-deg>175.0</heading-deg>
<latitude-deg>41.30660774</latitude-deg>
<longitude-deg>2.089508424</longitude-deg>
<heading-deg>70.0</heading-deg>
<airspeed-kt>0</airspeed-kt>
<glideslope-deg>0</glideslope-deg>
<offset-azimuth-deg>0</offset-azimuth-deg>
<offset-distance-nm>0</offset-distance-nm>
</presets>
<init>
<step>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
@ -54,7 +53,7 @@ This tutorial will teach you how to set the altimeter based on the ATIS (Automat
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
@ -66,13 +65,22 @@ This tutorial will teach you how to set the altimeter based on the ATIS (Automat
</set>
<set>
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
<value>119.650</value>
<value>121.975</value>
</set>
</init>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
</step>
<step>
<message>In this lesson, you'll learn how to set the altimeter to the Livermore ATIS. I've already
set the radio to the correct frequency - 119.65</message>
<message>In this lesson, you'll learn how to set the altimeter to the Barcelona ATIS. I've already
set the radio to the correct frequency - 121.975</message>
<wait>10</wait>
</step>
@ -86,9 +94,9 @@ This tutorial will teach you how to set the altimeter based on the ATIS (Automat
</step>
<step>
<message>The ATIS message said the altimeter setting was 30.13.
<message>The ATIS message said the altimeter setting was 30.32.
We can set this on the altimeter by using the small insert window on the right side.
Alternatively we can adjust the altimeter so that it matches the altitude of Livermore - 380ft.
Alternatively we can adjust the altimeter so that it matches the altitude of Barcelona - 15ft.
</message>
<wait>10</wait>
<view>
@ -126,7 +134,7 @@ This tutorial will teach you how to set the altimeter based on the ATIS (Automat
</step>
<step>
<message>Set the altimeter to 380 feet, or the pressure setting to 30.13 inHG.</message>
<message>Set the altimeter to 15 feet, or the pressure setting to 30.32 inHG.</message>
<wait>10</wait>
<view>
<heading-offset-deg>353.8</heading-offset-deg>
@ -150,7 +158,7 @@ This tutorial will teach you how to set the altimeter based on the ATIS (Automat
<condition>
<less-than>
<property>/instrumentation/altimeter/setting-inhg</property>
<value>30.12</value>
<value>30.32</value>
</less-than>
</condition>
</error>
@ -160,7 +168,7 @@ This tutorial will teach you how to set the altimeter based on the ATIS (Automat
<condition>
<greater-than>
<property>/instrumentation/altimeter/setting-inhg</property>
<value>30.14</value>
<value>30.32</value>
</greater-than>
</condition>
</error>
@ -170,20 +178,20 @@ This tutorial will teach you how to set the altimeter based on the ATIS (Automat
<and>
<greater-than>
<property>/instrumentation/altimeter/setting-inhg</property>
<value>30.12</value>
<value>30.32</value>
</greater-than>
<less-than>
<property>/instrumentation/altimeter/setting-inhg</property>
<value>30.14</value>
<value>30.32</value>
</less-than>
</and>
</condition>
</exit>
</step>
<end>
<step>
<message>Tutorial complete. If you set the pressure setting directly,
you can double-check you've set the correct value by checking the current altitude.</message>
</end>
</step>
</PropertyList>

View file

@ -7,18 +7,18 @@
<description>Engine failure is very rare in flight simulators, but a risk in real life.
The tutorial starts with you cruising at 3500ft over the hills of San Francisco. A total engine failure will occur, with no possibility of restart - black smoke, chunks of metal pushed out of the cowling.
The tutorial starts with you cruising at 3500 ft over the hills of Barcelona. A total engine failure will occur, with no possibility of restart - black smoke, chunks of metal pushed out of the cowling.
Glide the aircraft to the nearest airport and make a successful emergency landing. You must manage your altitude and fly a normal pattern from "abeam the numbers". Don't deploy flaps until you have the runway "made".
The Cessna 172 glides at a ratio of 9:1 at a best glide speed of 65 kts IAS. The glide ratio assumes no flaps and a "windmilling" propeller. If you fly any faster or slower, or have flaps deployed, the glide rate will be worse.
Both KSFO (San Francisco International) and KHAF (Half Moon Bay) are within glide distance. In real life, you would opt for the larger of the two airports, but for an extra challenge, try to land at KHAF.
LEBL (Barcelona) is within glide distance. Try to land at LEBL.
</description>
<timeofday>dusk</timeofday>
<presets>
<airport-id>KHAF</airport-id>
<airport-id>LEBL</airport-id>
<on-ground>0</on-ground>
<runway>30</runway>
<altitude-ft>3500</altitude-ft>
@ -34,7 +34,27 @@ Both KSFO (San Francisco International) and KHAF (Half Moon Bay) are within glid
<fix>0</fix>
</presets>
<init>
<step>
<set>
<property>/sim/model/c172p/securing/chock</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownL-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownR-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownT-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/pitot-cover-visible</property>
<value>false</value>
</set>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
@ -45,25 +65,59 @@ Both KSFO (San Francisco International) and KHAF (Half Moon Bay) are within glid
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.5</value>
</set>
<set>
<property>/controls/switches/starter</property>
<value>true</value>
<value>0.2</value>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
</init>
<set>
<property>instrumentation/altimeter/setting-inhg</property>
<value>29.95</value>
</set>
<nasal>
<script>
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
</step>
<step>
<nasal>
<script>
var listeners = std.Vector.new();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.6</value>
</set>
<message>We're happily cruising along, enjoying an evenings flight.</message>
<wait>10</wait>
<wait>15</wait>
</step>
<step>
@ -243,9 +297,9 @@ Both KSFO (San Francisco International) and KHAF (Half Moon Bay) are within glid
</exit>
</step>
<end>
<step>
<message>Assuming the aircraft is upright and you landed on a runway,
you walked away from a total engine failure - well done!</message>
</end>
</step>
</PropertyList>

View file

@ -6,21 +6,21 @@
<description>Landings are not optional...
Land the aircraft from an altitude of 1000ft on runway 30 at KHAF on a calm morning.
Land the aircraft from an altitude of 1700 ft on runway 13 at Sabadell (LELL) on a calm morning.
Unlike normal flight, when landing you use power alone to control descent rate. The runway should stay in the same position throughout the descent - about a third of the distance above the glare-shield.
KHAF has a VASI to the left of runway 30, a series of lights designed to help you judge your approach. Simply put, the VASI will display red lights if you are descending too fast (indicating that you need to increase power), and white lights if you are too high (indicating that you need to decrease power). If you are descending at the right angle, you will see 3 red lights and 3 white.
LELL has a VASI to the left and right of runway 13, a series of lights designed to help you judge your approach. Simply put, the VASI will display red lights if you are descending too fast (indicating that you need to increase power), and white lights if you are too high (indicating that you need to decrease power). If you are descending at the right angle, you will see three red lights and three white.
You start the tutorial cruising at around 1000ft and 90kts. To begin your descent, you will need to reduce power and drop one notch flaps. You are aiming to approach at 80kts and 300fpm. As you get closer, you will need to reduce power further and drop more flaps, aiming to touch down "on the numbers" at 65kts.
You start the tutorial cruising at around 1000 ft and 90 kts. To begin your descent, you will need to reduce power and drop one notch flaps. You are aiming to approach at 60-70 kts and 300 fpm. As you get closer, you will need to reduce power further and drop more flaps, aiming to touch down "on the numbers" at 65 kts.
</description>
<timeofday>afternoon</timeofday>
<timeofday>morning</timeofday>
<presets>
<airport-id>KHAF</airport-id>
<airport-id>LELL</airport-id>
<on-ground>0</on-ground>
<runway>30</runway>
<altitude-ft>1000</altitude-ft>
<runway>13</runway>
<altitude-ft>1700</altitude-ft>
<latitude-deg>-9999</latitude-deg>
<longitude-deg>-9999</longitude-deg>
<!-- <heading-deg>300.0</heading-deg> -->
@ -33,38 +33,38 @@ You start the tutorial cruising at around 1000ft and 90kts. To begin your descen
<fix>0</fix>
</presets>
<init>
<message></message>
<step>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
</set>
<set>
<property>/controls/switches/starter</property>
<value>true</value>
</set>
<set>
<property>/engines/active-engine/running</property>
<value>true</value>
</set>
<set>
<property>/controls/engines/engine/use-primer</property>
<property>/sim/model/c172p/securing/chock</property>
<value>false</value>
</set>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<property>/sim/model/c172p/securing/tiedownL-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownR-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownT-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/pitot-cover-visible</property>
<value>false</value>
</set>
<set>
<property>/controls/flight/elevator-trim</property>
<value>0.05</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
</init>
<step>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
<property>instrumentation/altimeter/setting-inhg</property>
<value>29.95</value>
</set>
<set>
<property>sim/model/c172p/engine_flag_0</property>
@ -103,20 +103,96 @@ You start the tutorial cruising at around 1000ft and 90kts. To begin your descen
<value>0</value>
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.4</value>
<property>/controls/switches/starter</property>
<value>true</value>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>0</value>
</set>
<set>
<property>/controls/switches/master-bat</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-alt</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-avionics</property>
<value>true</value>
</set>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
</set>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.2</value>
</set>
<set>
<property>/controls/engines/engine/primer</property>
<value>4</value>
</set>
<nasal>
<script>
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
<wait>1</wait>
</step>
<step>
<message></message>
<nasal>
<script>
var listeners = std.Vector.new();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.5</value>
</set>
<wait>1</wait>
</step>
<step>
<message>The runway is straight ahead. Reduce throttle to 50% and apply one degree of flaps.
Stay in line with the runway about a hands-width above the glare-shield.
You are aiming to descend at around 500 feet per minute and 80 knots.
You are aiming to descend at around 300 feet per minute and 60 knots.
</message>
<set>
<property>/controls/flight/elevator-trim</property>
<value>0.11</value>
</set>
<error>
<message>You are going too fast. Reduce power and pitch up to reduce your airspeed to 80 knots.</message>
@ -150,10 +226,10 @@ You start the tutorial cruising at around 1000ft and 90kts. To begin your descen
<exit>
<condition>
<greater-than>
<less-than>
<property>/position/latitude-deg</property>
<value>37.48</value>
</greater-than>
<value>41.539</value>
</less-than>
</condition>
</exit>
</step>
@ -180,10 +256,10 @@ You start the tutorial cruising at around 1000ft and 90kts. To begin your descen
<exit>
<condition>
<greater-than>
<less-than>
<property>/position/latitude-deg</property>
<value>37.495</value>
</greater-than>
<value>41.531</value>
</less-than>
</condition>
</exit>
</step>
@ -207,16 +283,27 @@ You start the tutorial cruising at around 1000ft and 90kts. To begin your descen
<condition>
<greater-than>
<property>/position/latitude-deg</property>
<value>37.506</value>
<value>41.528</value>
</greater-than>
</condition>
</exit>
</step>
<step>
<message>Reduce power to idle. When you are about 10 feet above the ground,
smoothly bring the nose up so it is level with the horizon.
<message>Adjust power and pitch, so that you descend with about 65 knots. When you are about 10 feet above the ground,
smoothly bring the nose up so it is level with the horizon and set throttle to idle.
</message>
<error>
<message>You're going too fast! Reduce speed!</message>
<condition>
<greater-than>
<property>/velocities/airspeed-kt</property>
<value>90</value>
</greater-than>
</condition>
</error>
<exit>
<condition>
<less-than>
@ -253,8 +340,20 @@ You start the tutorial cruising at around 1000ft and 90kts. To begin your descen
</exit>
</step>
<end>
<step>
<message>Set the parking brake with Shift-B.</message>
<exit>
<condition>
<equals>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
</equals>
</condition>
</exit>
</step>
<step>
<message>Congratulations on a successful landing.</message>
</end>
</step>
</PropertyList>

View file

@ -8,25 +8,23 @@
The traffic pattern is used as a method to stop aircraft crashing into each other when near an airport.
The pattern is a rectangular flight path with the runway forming one of the long sides.
We will be flying at Sabadell (LELL) - a small airport in the north of Barcelona, from runway 13, on a clear day.
It consists of the following sections:
- Upwind. Once we've taken off, we flying straight ahead on the runway heading to 500ft.
- Crosswind. At 500ft, we turn left 90 degrees and continue climbing until we get to 1000ft.
- Downwind. When we reach 1000ft, we turn left again so we are parallel to the runway, reduce power and fly at 100kts. When we are "abeam the numbers" (opposite the number on the runway we intend to land on), we reduce power to 50%, drop one notch of flat and descend 100ft at 90kts.
- Base. We now make another left-hand turn, add another notch of flaps, and let speed continue to dissipate.
- Final. At the correct moment (based on visual queues),we make a final left turn to line up with the runway. We drop our final lot of flaps, descend and land.
As before, we'll be flying at KHAF, on runway 12, on a clear day.
Runway 12 does not have a VASI. Instead you will need to judge whether you are too low or too high by the view of the runway. If the runway is going away from you, you will land short. If the runway is coming towards you, you will over-shoot. Remember, you should aim to have the runway about a third of the way above the glare-shield, and adjust your rate of descent using power.
- Upwind. Once we've taken off, we flying straight ahead on the runway heading (130 deg) to 1000 ft with.
- Crosswind. At 500 ft, we turn left 90 degrees to 40 deg and continue climbing until we get to 1500 ft.
- Downwind. When we reach 1500 ft, we turn left again so we are parallel to the runway, which is 310 deg, reduce power and fly at 100 kts. When we are "abeam the numbers" (opposite the number on the runway we intend to land on), we reduce power to 60 %, drop one notch of flat and descend 100 ft at 90 kts.
- Base. We now make another left-hand turn to 220 deg, add another notch of flaps, and let speed continue to dissipate to 70 knots. Because of the hills around Sabadell we need to maintain a safe altitude above the ground, resulting in a quite high and steep approach.
- Final. At the correct moment (based on visual queues), we make a final left turn to line up with the runway. Maks sure to stay a safe altitude above ground! We drop our final lot of flaps, descend and land.
</description>
<audio-dir>Tutorials/pattern</audio-dir>
<timeofday>morning</timeofday>
<timeofday>noon</timeofday>
<presets>
<airport-id>KHAF</airport-id>
<airport-id>LELL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>13</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>-9999</latitude-deg>
<longitude-deg>-9999</longitude-deg>
@ -37,7 +35,63 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<offset-distance-nm>0</offset-distance-nm>
</presets>
<init>
<step>
<set>
<property>/sim/model/door-positions/baggageDoor/position-norm</property>
<value>0</value>
</set>
<set>
<property>/sim/model/door-positions/leftDoor/position-norm</property>
<value>0</value>
</set>
<set>
<property>/sim/model/door-positions/rightDoor/position-norm</property>
<value>0</value>
</set>
<set>
<property>/sim/model/c172p/securing/chock</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownL-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownR-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownT-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/pitot-cover-visible</property>
<value>false</value>
</set>
<set>
<property>sim/model/c172p/engine_flag_0</property>
<value>1</value>
</set>
<set>
<property>sim/model/c172p/engine_flag_1</property>
<value>0</value>
</set>
<set>
<property>/controls/engines/active-engine</property>
<value>0</value>
</set>
<set>
<property>instrumentation/altimeter/setting-inhg</property>
<value>29.95</value>
</set>
<set>
<property>/controls/engines/engine/primer</property>
<value>4</value>
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.2</value>
</set>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
@ -50,17 +104,9 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<property>/controls/switches/magnetos</property>
<value>3</value>
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.5</value>
</set>
<set>
<property>/controls/switches/starter</property>
<value>true</value>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
@ -70,20 +116,42 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<property>/controls/flight/elevator-trim</property>
<value>0.17</value>
</set>
</init>
<nasal>
<script>
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
</step>
<step>
<message>Release the parking brakes, smoothly apply full power and start your take-off.</message>
<error>
<message>Apply full throttle for take-off</message>
<condition>
<less-than>
<property>/controls/engines/current-engine/throttle</property>
<value>0.95</value>
</less-than>
</condition>
</error>
<nasal>
<script>
var listeners = std.Vector.new();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
<error>
<message>Release the parking brake using Shift B</message>
<condition>
@ -93,6 +161,15 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</equals>
</condition>
</error>
<error>
<message>Apply full throttle for take-off</message>
<condition>
<less-than>
<property>/controls/engines/current-engine/throttle</property>
<value>0.95</value>
</less-than>
</condition>
</error>
<exit>
<condition>
@ -123,7 +200,7 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</step>
<step>
<message>Take-off at 65 knots and climb straight out on heading 120 at 600 feet per minute (about 70 knots).</message>
<message>Take-off at 65 knots and climb straight out on heading 130 at 600 feet per minute (about 70 knots).</message>
<exit>
<condition>
<greater-than>
@ -135,7 +212,7 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</step>
<step>
<message>Continue your climb on heading 120 at 600 feet per minute to 500 feet.</message>
<message>Continue your climb on heading 130 at 600 feet per minute to 1000 feet.</message>
<error>
<message>Your climb angle is too shallow - raise the nose slightly to increase your climb rate.</message>
@ -156,20 +233,20 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</condition>
</error>
<error>
<message>You are heading too far left, Turn right slightly to heading 120.</message>
<message>You are heading too far left, Turn right slightly to heading 130.</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>110</value>
<value>120</value>
</less-than>
</condition>
</error>
<error>
<message>You are heading too far right, Turn left slightly to heading 120.</message>
<message>You are heading too far right, Turn left slightly to heading 130.</message>
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>130</value>
<value>140</value>
</greater-than>
</condition>
</error>
@ -178,7 +255,7 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<condition>
<less-than>
<property>/velocities/airspeed-kt</property>
<value>69</value>
<value>60</value>
</less-than>
</condition>
</error>
@ -186,94 +263,163 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<exit>
<condition>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>500</value>
</greater-than>
</condition>
</exit>
</step>
<step>
<message>Make a left turn to crosswind (heading 030) and continue climbing to 1000 feet.</message>
<exit>
<condition>
<and>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>900</value>
</greater-than>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>020</value>
</greater-than>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>040</value>
</less-than>
</and>
</condition>
</exit>
</step>
<step>
<message>Level off at 1000 feet and make another left turn to downwind (heading 300).</message>
<exit>
<condition>
<and>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>950</value>
</greater-than>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>290</value>
</greater-than>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>310</value>
</less-than>
</and>
</condition>
</exit>
</step>
<step>
<message>Reduce power to 60%, and trim for level flight. Continue flying parallel to the runway.</message>
<error>
<message>You are heading too far left, Turn right slightly to heading 300.</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>290</value>
</less-than>
</condition>
</error>
<error>
<message>You are heading too far right, Turn left slightly to heading 300.</message>
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>310</value>
</greater-than>
</condition>
</error>
<error>
<message>You are too high. Pattern altitude is 1000 feet.</message>
<condition>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1100</value>
</greater-than>
</condition>
</error>
<error>
<message>You are too low. Pattern altitude is 1000 feet.</message>
<condition>
<less-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>900</value>
</greater-than>
</condition>
</exit>
</step>
<step>
<message>Make a left turn to crosswind (heading 040) and continue climbing to 1500 feet.</message>
<error>
<message>You're too far right. Turn left to heading 040!</message>
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>50</value>
</greater-than>
</condition>
</error>
<error>
<message>You're too far left. Turn right to heading 040!</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>30</value>
</less-than>
</condition>
</error>
<exit>
<condition>
<and>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1400</value>
</greater-than>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>030</value>
</greater-than>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>050</value>
</less-than>
</and>
</condition>
</exit>
</step>
<step>
<message>Level off the aircraft at 1500 ft and maintain heading and altitude for a few more seconds</message>
<wait>10</wait>
</step>
<step>
<message>Now make another 90 degree left turn to downwind (heading 310).</message>
<error>
<message>You're getting too low. Climb to 1500 ft!</message>
<condition>
<less-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1400</value>
</less-than>
</condition>
</error>
<error>
<message>You're getting too high. Descent to 1500 ft!</message>
<condition>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1600</value>
</greater-than>
</condition>
</error>
<error>
<message>You're too far right. Turn left to heading 310!</message>
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>320</value>
</greater-than>
</condition>
</error>
<error>
<message>You're too far left. Turn right to heading 310!</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>300</value>
</less-than>
</condition>
</error>
<exit>
<condition>
<and>
<less-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1600</value>
</less-than>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1400</value>
</greater-than>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>300</value>
</greater-than>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>320</value>
</less-than>
</and>
</condition>
</exit>
</step>
<step>
<message>Reduce power to 80-85%, and trim for level flight. Continue flying parallel to the runway.</message>
<error>
<message>You are heading too far left, Turn right slightly to heading 310.</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>300</value>
</less-than>
</condition>
</error>
<error>
<message>You are heading too far right, Turn left slightly to heading 310.</message>
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>320</value>
</greater-than>
</condition>
</error>
<error>
<message>You are too high. Pattern altitude is 1500 feet.</message>
<condition>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1600</value>
</greater-than>
</condition>
</error>
<error>
<message>You are too low. Pattern altitude is 1500 feet.</message>
<condition>
<less-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1400</value>
</less-than>
</condition>
</error>
@ -282,14 +428,14 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<condition>
<greater-than>
<property>/position/latitude-deg</property>
<value>37.528</value>
<value>41.544</value>
</greater-than>
</condition>
</exit>
</step>
<step>
<message>You are now opposite the end of the runway. Reduce power to 50%, set flaps to 10.</message>
<message>You are now opposite the end of the runway. Reduce power to 70%, set flaps to 10.</message>
<exit>
<condition>
@ -300,7 +446,7 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</greater-than>
<less-than>
<property>/controls/engines/current-engine/throttle</property>
<value>0.55</value>
<value>0.75</value>
</less-than>
</and>
</condition>
@ -308,14 +454,14 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</step>
<step>
<message>Let the aircraft descend and slow. Continue flying a heading of 300.</message>
<message>Let the aircraft descend and slow down. Continue flying a heading of 310.</message>
<error>
<message>You are heading too far left, Turn right slightly to heading 300.</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>290</value>
<value>300</value>
</less-than>
</condition>
</error>
@ -324,16 +470,16 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>310</value>
<value>320</value>
</greater-than>
</condition>
</error>
<error>
<message>You are too high. You should be descending to around 850 feet.</message>
<message>You are too high. You should be descending to around 1300 feet.</message>
<condition>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1100</value>
<value>1350</value>
</greater-than>
</condition>
</error>
@ -342,44 +488,52 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
<condition>
<less-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>900</value>
<value>1350</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>Turn left to base (heading 210), and set flaps to 20.
Continue to descend at around 500 feet per minute.
<set>
<property>/instrumentation/nav/frequencies/selected-mhz</property>
<value>112</value>
</set>
<set>
<property>/instrumentation/nav[0]/radials/selected-deg</property>
<value>127</value>
</set>
<message>Turn left to base (heading 220), and set flaps to 20.
Continue descending, but make sure to maintain a safe altitude above the ground!
</message>
<exit>
<condition>
<less-than>
<property>/position/longitude-deg</property>
<value>-122.520</value>
<property>/instrumentation/nav[0]/filtered-cdiNAV0-deflection</property>
<value>4</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>Turn onto final (heading 120), and line up with the runway.</message>
<message>Turn onto final (heading 130), and line up with the runway.</message>
<exit>
<condition>
<and>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>120</value>
</greater-than>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>140</value>
</less-than>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>100</value>
</greater-than>
<less-than>
<property>/position/latitude-deg</property>
<value>37.545</value>
<value>41.538</value>
</less-than>
</and>
</condition>
@ -387,20 +541,21 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</step>
<step>
<message>Set flaps to 30. Control your descent rate using the throttle.</message>
<message>Set flaps to 30. Control your descent rate using the throttle.
Watch the VASI lights to see if you're on the correct glideslope.</message>
<exit>
<condition>
<less-than>
<property>/position/latitude-deg</property>
<value>37.525</value>
<value>41.528</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>Reduce power to idle. When you are about 10 feet above the ground,
<message>Slowly reduce power to idle. When you are about 10 feet above the ground,
smoothly bring the nose up so it is just above the horizon.
</message>
<exit>
@ -441,11 +596,11 @@ Runway 12 does not have a VASI. Instead you will need to judge whether you are t
</exit>
</step>
<end>
<step>
<message>Congratulations on successfully following the pattern.
If you want to practice more landings, you can take off again immediately.
Don't forget to lift your flaps though! This is known as a Touch and Go.
</message>
</end>
</step>
</PropertyList>

View file

@ -13,13 +13,13 @@ This tutorial will guide you through the Preflight inspection
<audio-dir>Tutorials/preflight</audio-dir>
<timeofday>morning</timeofday>
<presets>
<airport-id>KLVK</airport-id>
<airport-id>LELL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>13</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>37.6952</latitude-deg>
<longitude-deg>-121.8167</longitude-deg>
<heading-deg>175.0</heading-deg>
<latitude-deg>41.52158426</latitude-deg>
<longitude-deg>2.100607724</longitude-deg>
<heading-deg>40</heading-deg>
<airspeed-kt>0</airspeed-kt>
<glideslope-deg>0</glideslope-deg>
<offset-azimuth-deg>0</offset-azimuth-deg>
@ -37,7 +37,7 @@ This tutorial will guide you through the Preflight inspection
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
@ -129,7 +129,7 @@ This tutorial will guide you through the Preflight inspection
</set>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>true</value>
<value>1</value>
</set>
<set>
<property>/sim/model/hide-yoke</property>
@ -207,7 +207,7 @@ This tutorial will guide you through the Preflight inspection
<property>/controls/engines/current-engine/throttle</property>
<value>0</value>
</set>
<message>Welcome to Livermore Municipal Airport. In this lesson we'll check the condition of our aircraft.</message>
<message>Welcome to Sabadell Airport. In this lesson we'll check the condition of our aircraft.</message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>

View file

@ -13,23 +13,23 @@ but the smallest airports and provides information on the current ground-level
weather, the altimeter setting and the runway in use.
</description>
<audio-dir>Tutorials/radio</audio-dir>
<audio-dir>Tutorials/startup</audio-dir>
<timeofday>morning</timeofday>
<presets>
<airport-id>KLVK</airport-id>
<airport-id>LEBL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>20</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>37.6952</latitude-deg>
<longitude-deg>-121.8167</longitude-deg>
<heading-deg>175.0</heading-deg>
<latitude-deg>41.30660774</latitude-deg>
<longitude-deg>2.089508424</longitude-deg>
<heading-deg>70.0</heading-deg>
<airspeed-kt>0</airspeed-kt>
<glideslope-deg>0</glideslope-deg>
<offset-azimuth-deg>0</offset-azimuth-deg>
<offset-distance-nm>0</offset-distance-nm>
</presets>
<init>
<step>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
@ -52,7 +52,15 @@ weather, the altimeter setting and the runway in use.
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
<value>118.1</value>
</set>
<set>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<value>123.5</value>
</set>
<set>
<property>/environment/weather-scenario</property>
@ -62,11 +70,17 @@ weather, the altimeter setting and the runway in use.
<property>/controls/flight/elevator-trim</property>
<value>0.17</value>
</set>
</init>
<step>
<message>In this lesson, you'll learn how to tune the radio to the Livermore ATIS.
<message>In this lesson, you'll learn how to tune the radio to the ATIS of the Airport Barcelona-El Prat,
which is the nearest one with ATIS.
The radio is in the middle of the center console.</message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
<wait>10</wait>
</step>
@ -78,92 +92,80 @@ weather, the altimeter setting and the runway in use.
</step>
<step>
<message>To change the standby frequency, click on the highlighted knob. The outer knob changes the number on the left of the decimal place.
The inner knob changes the number on the right of the decimal place.</message>
<message>To change the standby frequency, click on the highlighted knob.</message>
<view>
<field-of-view>14.0</field-of-view>
<heading-offset-deg>336</heading-offset-deg>
<pitch-offset-deg>-20</pitch-offset-deg>
<pitch-offset-deg>-16</pitch-offset-deg>
</view>
<marker>
<x-m>-0.3444</x-m>
<y-m>0.0907</y-m>
<z-m>0.0053</z-m>
<scale>1.0000</scale>
<x-m>-0.3446</x-m>
<y-m>0.0669</y-m>
<z-m>0.049</z-m>
<scale>0.6364</scale>
</marker>
</step>
<step>
<message>The left mouse button increases the value, while the middle button decreases it. Alternatively, you can use your mouse wheel.</message>
<message>The outer knob changes the number on the left of the decimal place. The inner knob changes the number on the right of the decimal place.
The left mouse button increases the value, while the middle button decreases it. Alternatively, you can use your mouse wheel.</message>
<view>
<field-of-view>14.0</field-of-view>
<heading-offset-deg>336</heading-offset-deg>
<pitch-offset-deg>-20</pitch-offset-deg>
<pitch-offset-deg>-16</pitch-offset-deg>
</view>
<marker>
<x-m>-0.3444</x-m>
<y-m>0.0907</y-m>
<z-m>0.0053</z-m>
<scale>1.0000</scale>
<x-m>-0.3347</x-m>
<y-m>0.0884</y-m>
<z-m>0.0398</z-m>
<scale>1.0661</scale>
</marker>
</step>
<step>
<message>Set the standby frequency to 119.65 MHz. This is the ATIS frequency for Livermore, and is printed on sectional charts.</message>
<message>Set the standby frequency to 121.97 MHz. This is the ATIS frequency for Barcelona El Prat Airport, and is printed on sectional charts.</message>
<view>
<field-of-view>14.0</field-of-view>
<heading-offset-deg>336</heading-offset-deg>
<pitch-offset-deg>-20</pitch-offset-deg>
<pitch-offset-deg>-16</pitch-offset-deg>
</view>
<marker>
<x-m>-0.3444</x-m>
<y-m>0.0907</y-m>
<z-m>0.0053</z-m>
<scale>1.0000</scale>
<x-m>-0.3347</x-m>
<y-m>0.0884</y-m>
<z-m>0.0398</z-m>
<scale>1.0661</scale>
</marker>
<exit>
<condition>
<and>
<greater-than>
<property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
<value>119.64</value>
</greater-than>
<less-than>
<property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
<value>119.66</value>
</less-than>
</and>
<equals>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<value>121.975</value>
</equals>
</condition>
</exit>
</step>
<step>
<message>Now, switch the active and standby frequencies by pressing the swap button so the active frequency is 119.650MHz.</message>
<message>Now, switch the active and standby frequencies by pressing the swap button so the active frequency is 121.97 MHz.</message>
<view>
<field-of-view>14.0</field-of-view>
<heading-offset-deg>336</heading-offset-deg>
<pitch-offset-deg>-20</pitch-offset-deg>
<pitch-offset-deg>-16</pitch-offset-deg>
</view>
<marker>
<x-m>-0.3444</x-m>
<y-m>0.0684</y-m>
<z-m>0.0142</z-m>
<scale>1.0000</scale>
<x-m>-0.3446</x-m>
<y-m>0.0669</y-m>
<z-m>0.049</z-m>
<scale>0.6364</scale>
</marker>
<exit>
<condition>
<and>
<greater-than>
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
<value>119.64</value>
</greater-than>
<less-than>
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
<value>119.66</value>
</less-than>
</and>
<equals>
<property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
<value>121.975</value>
</equals>
</condition>
</exit>
</step>
@ -174,7 +176,7 @@ weather, the altimeter setting and the runway in use.
<view>
<field-of-view>14.0</field-of-view>
<heading-offset-deg>336</heading-offset-deg>
<pitch-offset-deg>-20</pitch-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
</view>
<marker>
<x-m>-0.3494</x-m>
@ -202,11 +204,11 @@ weather, the altimeter setting and the runway in use.
<step>
<message>Once you've heard it, you can switch it off by swapping the frequency back to standby, or toggling off the audio panel.
Do that now.</message>
Switch now off the audio panel..</message>
<view>
<field-of-view>14.0</field-of-view>
<heading-offset-deg>336</heading-offset-deg>
<pitch-offset-deg>-20</pitch-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
</view>
<marker>
<x-m>-0.3494</x-m>
@ -217,30 +219,18 @@ weather, the altimeter setting and the runway in use.
<exit>
<condition>
<or>
<and>
<greater-than>
<property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
<value>119.64</value>
</greater-than>
<less-than>
<property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
<value>119.66</value>
</less-than>
</and>
<equals>
<property>/instrumentation/kma20/com1</property>
<value>0</value>
</equals>
</or>
<equals>
<property>/instrumentation/kma20/com1</property>
<value>0</value>
</equals>
</condition>
</exit>
</step>
<end>
<step>
<message>Great job. COMM2 is located immediately below COMM1 in the radio stack, and is tuned in the same way.
The NAV radios work in exactly the same way, except they use a different frequency
range, and their output goes to the navigational instruments.</message>
</end>
</step>
</PropertyList>

View file

@ -13,47 +13,43 @@ For more information on the before takeoff checklist, see Section 2-11 of the FA
<audio-dir>Tutorials/startup</audio-dir>
<timeofday>morning</timeofday>
<presets>
<airport-id>KLVK</airport-id>
<airport-id>LELL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>20</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>37.6946</latitude-deg>
<longitude-deg>-121.82949</longitude-deg>
<heading-deg>80.0</heading-deg>
<latitude-deg>41.52328208</latitude-deg>
<longitude-deg>2.100250035</longitude-deg>
<heading-deg>55.0</heading-deg>
<airspeed-kt>0</airspeed-kt>
<glideslope-deg>0</glideslope-deg>
<offset-azimuth-deg>0</offset-azimuth-deg>
<offset-distance-nm>0</offset-distance-nm>
</presets>
<init>
<step>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
</set>
<set>
<property>/controls/switches/master-bat</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-alt</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-avionics</property>
<value>true</value>
</set>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
</set>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.07</value>
</set>
<set>
<property>/controls/switches/starter</property>
<value>true</value>
</set>
<set>
<property>/engines/active-engine/running</property>
<value>true</value>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
@ -63,37 +59,55 @@ For more information on the before takeoff checklist, see Section 2-11 of the FA
<property>/controls/flight/elevator-trim</property>
<value>0.17</value>
</set>
</init>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.2</value>
</set>
<set>
<property>/controls/engines/engine/primer</property>
<value>4</value>
</set>
<nasal>
<script>
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
</step>
<step>
<message>In this lesson we'll cover the pre-takeoff checks.</message>
<nasal>
<script>
# Script to simulate holding down the starter button until the engine starts
var starter = func() {
setprop("/controls/switches/starter", 1);
if (!getprop("/engines/active-engine/running")) {
settimer(starter, 0);
}
};
var listeners = std.Vector.new();
# The FDM resets the starter property on each FDM cycle. By effectively starting
# a number of threads to continually keep setting the starter to true, we can
# get around this and give the engine the opportunity to catch.
starter();
starter();
starter();
starter();
starter();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
</step>
<step>
<set>
<property>/controls/switches/starter</property>
<value>false</value>
</set>
<message>You can access the pre-takeoff checklist by selecting Help-&gt;Checklists from the menu.</message>
<wait>10</wait>
</step>
@ -146,7 +160,7 @@ and that the aircraft has been rigged correctly.</message>
<message>Check the trim is in position</message>
<view>
<heading-offset-deg>349.2</heading-offset-deg>
<pitch-offset-deg>-32.9</pitch-offset-deg>
<pitch-offset-deg>-50</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -159,6 +173,41 @@ and that the aircraft has been rigged correctly.</message>
<z-m>-0.4427</z-m>
<scale>4.0</scale>
</marker>
<error>
<message>Set the elevator trim a bit more NOSE UP (scroll down with the mouse wheel)!</message>
<condition>
<greater-than>
<property>/controls/flight/elevator-trim</property>
<value>-0.1</value>
</greater-than>
</condition>
</error>
<error>
<message>Set the elevator trim a bit more NOSE DOWN (scroll up with the mouse wheel)!</message>
<condition>
<less-than>
<property>/controls/flight/elevator-trim</property>
<value>-0.2</value>
</less-than>
</condition>
</error>
<exit>
<condition>
<and>
<greater-than>
<property>/controls/flight/elevator-trim</property>
<value>-0.2</value>
</greater-than>
<less-than>
<property>/controls/flight/elevator-trim</property>
<value>-0.1</value>
</less-than>
</and>
</condition>
</exit>
</step>
<step>
@ -251,7 +300,7 @@ and that the aircraft has been rigged correctly.</message>
We need to check that the vacuum system is working correct by checking the suction gauge.</message>
<view>
<heading-offset-deg>17.3</heading-offset-deg>
<pitch-offset-deg>-19.2</pitch-offset-deg>
<pitch-offset-deg>-25</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -270,7 +319,7 @@ and that the aircraft has been rigged correctly.</message>
<message>Check that the engine instruments are in the green.</message>
<view>
<heading-offset-deg>10.7</heading-offset-deg>
<pitch-offset-deg>-24.8</pitch-offset-deg>
<pitch-offset-deg>-30</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -289,7 +338,7 @@ and that the aircraft has been rigged correctly.</message>
<message>Check that the electrical system is also fine.</message>
<view>
<heading-offset-deg>15.2</heading-offset-deg>
<pitch-offset-deg>-28.2</pitch-offset-deg>
<pitch-offset-deg>-35</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -308,7 +357,7 @@ and that the aircraft has been rigged correctly.</message>
<message>Now we need to check that the magnetos are working correctly.</message>
<view>
<heading-offset-deg>11.3</heading-offset-deg>
<pitch-offset-deg>-34.3</pitch-offset-deg>
<pitch-offset-deg>-38</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -316,23 +365,27 @@ and that the aircraft has been rigged correctly.</message>
<field-of-view>23.2</field-of-view>
</view>
<marker>
<x-m>-0.3671</x-m>
<y-m>-0.4142</y-m>
<z-m>-0.2502</z-m>
<scale>2.3067</scale>
<x-m>-0.3500</x-m>
<y-m>-0.3600</y-m>
<z-m>-0.2700</z-m>
<scale>2.0000</scale>
</marker>
<set>
<property>/sim/panel-hotspots</property>
<value>true</value>
</set>
<set>
<property>/sim/model/hide-yoke</property>
<value>true</value>
</set>
</step>
<step>
<message>Click the left hotspot twice, to switch to the right magneto, or use your mouse scrollwheel.
<message>Click the left hotspot twice with the middle mouse button, to switch to the right magneto, or use your mouse scrollwheel.
There should be a small drop in the tachometer.</message>
<view>
<heading-offset-deg>11.3</heading-offset-deg>
<pitch-offset-deg>-34.3</pitch-offset-deg>
<pitch-offset-deg>-38</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -346,7 +399,7 @@ and that the aircraft has been rigged correctly.</message>
<scale>3.0</scale>
</marker>
<error>
<message>Click the left hotspot twice so the key is set to RIGHT.</message>
<message>Click the left hotspot twice with the middle mouse button, so the key is set to RIGHT.</message>
<condition>
<not-equals>
<property>/controls/switches/magnetos</property>
@ -365,11 +418,11 @@ and that the aircraft has been rigged correctly.</message>
</step>
<step>
<message>Click the middle hotspot twice, to switch back to both magnetos.
<message>Click the left hotspot twice with the left mouse button, to switch back to both magnetos.
The tachometer should recover back to 1700rpm.</message>
<view>
<heading-offset-deg>11.3</heading-offset-deg>
<pitch-offset-deg>-34.3</pitch-offset-deg>
<pitch-offset-deg>-38</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -384,7 +437,7 @@ and that the aircraft has been rigged correctly.</message>
</marker>
<error>
<message>Click the left hotspot twice, so the key is set to BOTH.</message>
<message>Click the left hotspot twice with the left mouse button, so the key is set to BOTH.</message>
<condition>
<not-equals>
<property>/controls/switches/magnetos</property>
@ -408,7 +461,7 @@ and that the aircraft has been rigged correctly.</message>
Again, there should be a small drop in the tachometer.</message>
<view>
<heading-offset-deg>11.3</heading-offset-deg>
<pitch-offset-deg>-34.3</pitch-offset-deg>
<pitch-offset-deg>-38</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -447,7 +500,7 @@ and that the aircraft has been rigged correctly.</message>
The tachometer should recover back to 1700rpm.</message>
<view>
<heading-offset-deg>11.3</heading-offset-deg>
<pitch-offset-deg>-34.3</pitch-offset-deg>
<pitch-offset-deg>-38</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.3</y-offset-m>
@ -539,8 +592,8 @@ and that the aircraft has been rigged correctly.</message>
</exit>
</step>
<end>
<step>
<message>Our pre-takeoff checks are now complete. We're ready to fly.</message>
</end>
</step>
</PropertyList>

View file

@ -12,7 +12,7 @@ This tutorial will take you through that process.
Starting this tutorial with the engine not running will NOT work!
</description>
<init>
<step>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
@ -35,13 +35,22 @@ Starting this tutorial with the engine not running will NOT work!
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
</init>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
</step>
<step>
<message>We're almost done. But before we're finished you need to shut down the engine and secure the aircraft.</message>

View file

@ -13,26 +13,23 @@ This tutorial will take you through starting the Cessna 172p.
<audio-dir>Tutorials/startup</audio-dir>
<timeofday>morning</timeofday>
<presets>
<airport-id>KLVK</airport-id>
<airport-id>LELL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>13</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>37.6952</latitude-deg>
<longitude-deg>-121.8167</longitude-deg>
<heading-deg>175.0</heading-deg>
<latitude-deg>41.52158426</latitude-deg>
<longitude-deg>2.100607724</longitude-deg>
<heading-deg>40</heading-deg>
<airspeed-kt>0</airspeed-kt>
<glideslope-deg>0</glideslope-deg>
<offset-azimuth-deg>0</offset-azimuth-deg>
<offset-distance-nm>0</offset-distance-nm>
</presets>
<init>
</init>
<step>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>true</value>
<value>1</value>
</set>
<set>
<property>/controls/flight/flaps</property>
@ -52,7 +49,7 @@ This tutorial will take you through starting the Cessna 172p.
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
@ -122,7 +119,7 @@ This tutorial will take you through starting the Cessna 172p.
<property>/controls/engines/engine/primer-lever</property>
<value>false</value>
</set>
<set>
<set>
<property>/sim/model/door-positions/baggageDoor/position-norm</property>
<value>0</value>
</set>
@ -930,8 +927,8 @@ This tutorial will take you through starting the Cessna 172p.
<scale>1.0992</scale>
</marker>
<error>
<message>Switch on the Nav lights!</message>
<condition>
<message>Switch on the Nav lights!</message>
<condition>
<not>
<property>/controls/lighting/nav-lights</property>
</not>

View file

@ -5,17 +5,17 @@
<name>Takeoff</name>
<description>
This tutorial starts from Half-Moon Bay (KHAF), a small airport on the coast near San Francisco, in clear, still, weather.
This tutorial starts from Sabadell Airport (LELL), a medium-sized airfield in the north of Barcelona, in clear, still, weather.
This tutorial will teach you how to take-off, and climb at 600 feet per minute. You will level off at 1000ft to complete the tutorial.
This tutorial will teach you how to take-off from runway 13, and climb at 600 feet per minute. You will level off at 2000 ft to complete the tutorial.
</description>
<audio-dir>Tutorials/takeoff</audio-dir>
<timeofday>morning</timeofday>
<presets>
<airport-id>KHAF</airport-id>
<airport-id>LELL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>13</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>-9999</latitude-deg>
<longitude-deg>-9999</longitude-deg>
@ -26,15 +26,43 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
<offset-distance-nm>0</offset-distance-nm>
</presets>
<init>
<step>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
<set>
<property>instrumentation/altimeter/setting-inhg</property>
<value>29.95</value>
</set>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
</set>
<set>
<property>/controls/switches/master-bat</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-alt</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-avionics</property>
<value>true</value>
</set>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
</set>
<set>
<property>/controls/flight/elevator-trim</property>
<value>-0.17</value>
</set>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
@ -44,37 +72,51 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
<value>0.2</value>
</set>
<set>
<property>/controls/switches/starter</property>
<value>true</value>
<property>/controls/engines/engine/primer</property>
<value>4</value>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
<set>
<property>/controls/flight/elevator-trim</property>
<value>0.17</value>
</set>
</init>
<step>
<nasal>
<script>
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
<message>At the start of the take-off roll, you will control the direction of the aircraft using the
nose-wheel steering and rudder. As the aircraft takes off, you will use the ailerons and elevator
to control the direction and attitude of the aircraft.
</message>
<wait>10</wait>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
<wait>15</wait>
</step>
<step>
<message>
The nose-wheel and rudder is controlled using 0/Enter on the numeric keypad, or by using the mouse
in "yoke" mode with the left mouse button held down.
To switch the mouse to yoke mode, press the right mouse button until it displays as a + sign.
To switch the mouse to yoke mode, press either "TAB", or the right mouse button until it displays as a + sign.
</message>
<nasal>
<script>
var listeners = std.Vector.new();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
<wait>10</wait>
</step>
@ -142,7 +184,7 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
</step>
<step>
<message>Let the aircraft lift off at 65 knots and climb straight out on heading 120 at 600 feet per minute.</message>
<message>Let the aircraft lift off at 65 knots and climb straight out on heading 130 at 600 feet per minute.</message>
<error>
<message>Gently raise the nose, by pressing the down key on the keypad, or moving the mouse back slightly.</message>
@ -186,20 +228,20 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
</condition>
</error>
<error>
<message>You are heading too far left, Turn right slightly to heading 120.</message>
<message>You are heading too far left, Turn right slightly to heading 130.</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>110</value>
<value>115</value>
</less-than>
</condition>
</error>
<error>
<message>You are heading too far right, Turn left slightly to heading 120.</message>
<message>You are heading too far right, Turn left slightly to heading 130.</message>
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>130</value>
<value>135</value>
</greater-than>
</condition>
</error>
@ -217,21 +259,21 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
<condition>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1000</value>
<value>1900</value>
</greater-than>
</condition>
</exit>
</step>
<step>
<message>Level off at between 1000 and 1100 feet.</message>
<message>Level off at between 2000 and 2200 feet.</message>
<error>
<message>You are too low</message>
<condition>
<less-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1000</value>
<value>2000</value>
</less-than>
</condition>
</error>
@ -240,7 +282,25 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
<condition>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1100</value>
<value>2200</value>
</greater-than>
</condition>
</error>
<error>
<message>You are heading too far left, Turn right slightly to heading 130.</message>
<condition>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>115</value>
</less-than>
</condition>
</error>
<error>
<message>You are heading too far right, Turn left slightly to heading 130.</message>
<condition>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>145</value>
</greater-than>
</condition>
</error>
@ -250,11 +310,11 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
<and>
<greater-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1000</value>
<value>2000</value>
</greater-than>
<less-than>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<value>1100</value>
<value>2200</value>
</less-than>
<less-than>
<property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
@ -264,13 +324,21 @@ This tutorial will teach you how to take-off, and climb at 600 feet per minute.
<property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
<value>-150</value>
</greater-than>
<greater-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>115</value>
</greater-than>
<less-than>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<value>145</value>
</less-than>
</and>
</condition>
</exit>
</step>
<end>
<step>
<message>Congratulations, you've successfully taken off. Now try landing!</message>
</end>
</step>
</PropertyList>

View file

@ -13,13 +13,13 @@ For more information on taxiing, see Section 2-9 of the FAA Airplane Flying Hand
<audio-dir>Tutorials/taxiing</audio-dir>
<timeofday>morning</timeofday>
<presets>
<airport-id>KLVK</airport-id>
<airport-id>LELL</airport-id>
<on-ground>1</on-ground>
<runway>12</runway>
<runway>13</runway>
<altitude-ft>-9999</altitude-ft>
<latitude-deg>37.6952</latitude-deg>
<longitude-deg>-121.8167</longitude-deg>
<heading-deg>175.0</heading-deg>
<latitude-deg>41.52158426</latitude-deg>
<longitude-deg>2.100607724</longitude-deg>
<heading-deg>40</heading-deg>
<airspeed-kt>0</airspeed-kt>
<glideslope-deg>0</glideslope-deg>
<offset-azimuth-deg>0</offset-azimuth-deg>
@ -27,42 +27,55 @@ For more information on taxiing, see Section 2-9 of the FAA Airplane Flying Hand
</presets>
<targets>
<j1>
<!-- Turn right onto taxiway -->
<longitude-deg>-121.81664</longitude-deg>
<latitude-deg>37.6949</latitude-deg>
</j1>
<j2>
<!-- Mention differential braking -->
<longitude-deg>-121.82258</longitude-deg>
<latitude-deg>37.6949</latitude-deg>
</j2>
<j3>
<!-- Left turn in taxiway -->
<longitude-deg>-121.8250</longitude-deg>
<latitude-deg>37.69498</latitude-deg>
</j3>
<a1>
<!-- Right turn onto taxiway A -->
<longitude-deg>-121.8251</longitude-deg>
<latitude-deg>37.694616</latitude-deg>
</a1>
<a2>
<!-- Runup aread -->
<longitude-deg>-121.8294</longitude-deg>
<latitude-deg>37.69459</latitude-deg>
</a2>
<taxi1>
<!-- Turn left onto taxiway (heading 320)
After this point follow the yellow line.
-->
<latitude-deg>41.52200491</latitude-deg>
<longitude-deg>2.1010442</longitude-deg>
</taxi1>
<taxi2>
<!-- Run-up area.
Pilot should stop here.
-->
<latitude-deg>41.5232715</latitude-deg>
<longitude-deg>2.100250003</longitude-deg>
</taxi2>
</targets>
<init>
<step>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
<set>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
</set>
<set>
<property>/controls/switches/master-bat</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-alt</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-avionics</property>
<value>true</value>
</set>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
</set>
<set>
<property>/controls/flight/elevator-trim</property>
<value>0.17</value>
</set>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
@ -72,53 +85,47 @@ For more information on taxiing, see Section 2-9 of the FAA Airplane Flying Hand
<value>0.2</value>
</set>
<set>
<property>/controls/switches/starter</property>
<value>true</value>
<property>/controls/engines/engine/primer</property>
<value>4</value>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>340</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
<set>
<property>/controls/flight/elevator-trim</property>
<value>0.17</value>
</set>
</init>
<step>
<message>In this lesson we'll taxi the aircraft from its parking position infront of the FBO,
along taxiways Juliet and Alpha to the run-up area near runway 07L.</message>
<nasal>
<script>
# Script to simulate holding down the starter button until the engine starts
var starter = func() {
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
if (!getprop("/engines/active-engine/running")) {
settimer(starter, 0);
}
};
</script>
</nasal>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
</step>
# The FDM resets the starter property on each FDM cycle. By effectively starting
# a number of threads to continually keep setting the starter to true, we can
# get around this and give the engine the opportunity to catch.
starter();
starter();
starter();
starter();
starter();
<step>
<message>In this lesson we'll taxi the aircraft from its parking position in front of the hangar,
via the taxiway T-1 to the holding pont of runway 13.</message>
<nasal>
<script>
var listeners = std.Vector.new();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
</step>
<step>
<set>
<property>/controls/switches/starter</property>
<value>false</value>
</set>
<message>I've already started the engine. Press Shift-B to release the parking brake. Throttle up to about
20% to move forward slightly, then hold b to check that the normal brakes work.</message>
@ -210,20 +217,21 @@ For more information on taxiing, see Section 2-9 of the FAA Airplane Flying Hand
</step>
<step>
<message>Release the brakes and taxi forwards. You may need to apply a little throttle to get going. Make a right turn onto taxiway Juliet.</message>
<message>Release the brakes and taxi forwards. You may need to apply a little throttle to get going.
Taxi straight ahead until you reach the taxiway. It's ground has a darker color than the apron.</message>
<wait>5</wait>
<error>
<message>That's left, not right.</message>
<message>You're driving curves. To meet the taxiway you have to taxi straight!</message>
<condition>
<or>
<less-than>
<property>/sim/tutorials/targets/j2/direction-deg</property>
<value>-135.0</value>
<property>/sim/tutorials/targets/taxi1/direction-deg</property>
<value>-100</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/j2/direction-deg</property>
<value>135.0</value>
<property>/sim/tutorials/targets/taxi1/direction-deg</property>
<value>100</value>
</greater-than>
</or>
</condition>
@ -242,12 +250,12 @@ For more information on taxiing, see Section 2-9 of the FAA Airplane Flying Hand
<condition>
<and>
<less-than>
<property>/sim/tutorials/targets/j2/direction-deg</property>
<value>20.0</value>
<property>/sim/tutorials/targets/taxi1/distance-m</property>
<value>30.0</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/j2/direction-deg</property>
<value>-20.0</value>
<property>/sim/tutorials/targets/taxi1/distance-m</property>
<value>-30.0</value>
</greater-than>
</and>
</condition>
@ -255,31 +263,14 @@ For more information on taxiing, see Section 2-9 of the FAA Airplane Flying Hand
</step>
<step>
<message>Continue taxiing along taxiway Juliet. Keep the nosewheel on the yellow line. Don't allow the aircraft to go too fast - use b to brake if you need to. </message>
<message>Now make a left turn to about 320 degree top follow the taxiway T-1 to runway 13. Then take the first junction right where the taxiway leads onto the runway. You need to stop before you reach the runway!</message>
<error>
<message>
You're straying off the taxiway. Keep heading on taxiway Juliet, keeping your nosewheel on the yellow line.
</message>
<condition>
<or>
<less-than>
<property>/sim/tutorials/targets/j2/direction-deg</property>
<value>-20.0</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/j2/direction-deg</property>
<value>20.0</value>
</greater-than>
</or>
</condition>
</error>
<error>
<message>You're going too fast. Reduce your throttle slightly and apply your brakes.</message>
<message>You're going too fast. Reduce your throttle slightly and apply your brakes.</message>
<condition>
<greater-than>
<property>/velocities/groundspeed-kt</property>
<value>10.0</value>
<value>15.0</value>
</greater-than>
</condition>
</error>
@ -287,158 +278,67 @@ For more information on taxiing, see Section 2-9 of the FAA Airplane Flying Hand
<exit>
<condition>
<less-than>
<property>/sim/tutorials/targets/j2/distance-m</property>
<value>150.0</value>
<property>/sim/tutorials/targets/taxi2/distance-m</property>
<value>50.0</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>If you need to turn very tightly, you can apply differential braking, and only brake one wheel, by pressing ',' for the left, or '.' for the right.</message>
<message>Set the throttle to idle and apply the parking brake</message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-19.7</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.2</x-offset-m>
<y-offset-m>0.2</y-offset-m>
<z-offset-m>0.4</z-offset-m>
<field-of-view>85.0</field-of-view>
</view>
<error>
<message>
You're straying off the taxiway. Keep your nosewheel on the yellow line.
</message>
<message>We now have to execute the run-up checks and therefore you need to stop. Set the parking brake!</message>
<condition>
<or>
<less-than>
<property>/sim/tutorials/targets/j3/direction-deg</property>
<value>-20.0</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/j3/direction-deg</property>
<value>20.0</value>
</greater-than>
</or>
<not-equals>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
</not-equals>
</condition>
</error>
<error>
<message>You're going too fast. Reduce your throttle slightly and apply your brakes.</message>
<message>Set the throttle to idle!</message>
<condition>
<greater-than>
<property>/velocities/groundspeed-kt</property>
<value>10.0</value>
<property>/controls/engines/current-engine/throttle</property>
<value>0.05</value>
</greater-than>
</condition>
</error>
<exit>
<condition>
<less-than>
<property>/sim/tutorials/targets/j3/distance-m</property>
<value>100.0</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>The taxiway turns left here. Slow down by applying some brakes (b) and follow it round.</message>
<error>
<message>You're straying off the taxiway. Turn left.</message>
<condition>
<or>
<less-than>
<property>/sim/tutorials/targets/a1/direction-deg</property>
<value>-45.0</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/a1/direction-deg</property>
<value>45.0</value>
</greater-than>
</or>
</condition>
</error>
<exit>
<condition>
<less-than>
<property>/sim/tutorials/targets/a1/distance-m</property>
<value>25.0</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>We're now at the intersection of taxiways Juliet, Golf and Alpha. Turn right onto taxiway Alpha.</message>
<error>
<message>That's left, not right.</message>
<condition>
<or>
<less-than>
<property>/sim/tutorials/targets/a2/direction-deg</property>
<value>-135.0</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/a2/direction-deg</property>
<value>135.0</value>
</greater-than>
</or>
</condition>
</error>
<exit>
<condition>
<and>
<equals>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
</equals>
<less-than-equals>
<property>/controls/engines/current-engine/throttle</property>
<value>0.05</value>
</less-than-equals>
<less-than>
<property>/sim/tutorials/targets/a2/direction-deg</property>
<value>20.0</value>
<property>/velocities/groundspeed-kt</property>
<value>1</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/a2/direction-deg</property>
<value>-20.0</value>
</greater-than>
</and>
</condition>
</exit>
</step>
<step>
<message>Continue taxiing along taxiway Alpha to the end of the taxiway. </message>
<error>
<message>
You're straying off the taxiway. Keep heading on taxiway Alpha, keeping your nosewheel on the yellow line.
</message>
<condition>
<or>
<less-than>
<property>/sim/tutorials/targets/a2/direction-deg</property>
<value>-15.0</value>
</less-than>
<greater-than>
<property>/sim/tutorials/targets/a2/direction-deg</property>
<value>15.0</value>
</greater-than>
</or>
</condition>
</error>
<exit>
<condition>
<less-than>
<property>/sim/tutorials/targets/a2/distance-m</property>
<value>60.0</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>We've reached the run-up area. Brake slowly to a stop and set the parking brake (shift-b).</message>
<exit>
<condition>
<equals>
<property>/sim/model/c172p/brake-parking</property>
<value>1</value>
</equals>
</condition>
</exit>
</step>
<end>
<message>We've reached the run-up area. Well done.</message>
</end>
</step>
</PropertyList>

View file

@ -850,6 +850,22 @@
<factor>0.2</factor>
</volume>
</dial>
<dial>
<name>dial-radio-lighting</name>
<mode>in-transit</mode>
<path>Sounds/scroll.wav</path>
<property>/controls/lighting/radio-norm</property>
<position>
<x>-0.3660</x>
<y>0.0350</y>
<z>-0.3500</z>
</position>
<reference-dist>0.2</reference-dist>
<max-dist>5.0</max-dist>
<volume>
<factor>0.2</factor>
</volume>
</dial>
<dial>
<name>dial-horizon-offset</name>
<mode>in-transit</mode>

View file

@ -49,7 +49,7 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
<author>Original by David Megginson, gsagostinho (Gilberto Agostinho), wlbragg (Wayne Bragg), Juanvvc (Juan Vera del Campo), onox, thevirtualfer, Dany93 (Daniel Dubreuil), dg-505 (Jonathan Schellhase), IHAM-COL (Israel Hernandez), tigert (Tuomas Kuosmanen), AndersG (Anders Gidenstam), wkitty42 (Waldo Kitty), algefaen</author>
<status>advanced production</status>
<aircraft-version>2016.1</aircraft-version>
<aircraft-version>2016.2</aircraft-version>
<rating>
<FDM type="int">4</FDM>
<systems type="int">5</systems>
@ -141,6 +141,9 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
<lighting>
<taxi type="bool">false</taxi>
<landing type="bool">false</landing>
<ra-r type="double">0.05</ra-r>
<ra-g type="double">0.025</ra-g>
<ra-b type="double">0.025</ra-b>
</lighting>
<!-- Damage type (0 = normal, 1 = broken, 2 = damaged) used by model -->
@ -258,7 +261,6 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
<path>/controls/climate-control/overhead-vent-front-left</path>
<path>/controls/climate-control/overhead-vent-front-right</path>
<path>/fdm/jsbsim/running</path>
<path>/fdm/jsbsim/complex</path>
<path>/consumables/fuel/save-fuel-state</path>
<path>/consumables/fuel/contamination_allowed</path>
<path>/instrumentation/save-switches-state</path>
@ -306,7 +308,7 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
<property-rule n="100">
<name>FiltersOnly</name>
<path>Systems/NAVandGSfilters.xml</path>
<path>Systems/instruments.xml</path>
</property-rule>
<!-- Needed by shadows in ALS and other ground effects:
@ -484,6 +486,7 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
<taxi-light type="bool">false</taxi-light>
<landing-lights type="bool">false</landing-lights>
<instruments-norm type="double">0.0</instruments-norm>
<radio-norm type="double">0.0</radio-norm>
</lighting>
<gear>
<water-rudder type="bool">0</water-rudder>
@ -715,6 +718,7 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
<file>Aircraft/Generic/updateloop.nas</file>
</updateloop>
<c172p>
<file>Nasal/c172p.nas</file>
<file>Nasal/liveries.nas</file>
<file>Nasal/immat.nas</file>
<file>Nasal/doors.nas</file>
@ -727,7 +731,6 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
<file>Nasal/flashlight.nas</file>
<!-- Damage Mod -->
<file>Nasal/physics.nas</file>
<file>Nasal/c172p.nas</file>
<file>Nasal/tiedowns.nas</file>
</c172p>
<electrical>
@ -906,7 +909,6 @@ http://forum.flightgear.org/viewtopic.php?f=4&t=25157
</heat>
<crash type="bool">false</crash>
<running type="bool">false</running>
<complex type="bool">true</complex>
<bushkit type="int">0</bushkit>
<wing-damage>
<left-wing type="double">0.0</left-wing>

View file

@ -825,8 +825,8 @@
<input>fcs/yaw-trim-sum</input>
<gain>0.01745</gain>
<range>
<min>-25</min>
<max>25</max>
<min>-16</min>
<max>16</max>
</range>
<output>fcs/rudder-pos-rad</output>
</aerosurface_scale>
@ -834,8 +834,8 @@
<aerosurface_scale name="Rudder Position Normalized">
<input>fcs/rudder-pos-deg</input>
<domain>
<min>-25</min>
<max>25</max>
<min>-16</min>
<max>16</max>
</domain>
<range>
<min>-1</min>
@ -1067,6 +1067,7 @@
<sum>
<property>velocities/u-aero-fps</property>
<property>propulsion/engine/prop-induced-velocity_fps</property>
<property>propulsion/engine[1]/prop-induced-velocity_fps</property>
</sum>
</function>
@ -1700,7 +1701,7 @@
<property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property>
<value>-0.07</value>
<value>-0.0645</value>
</product>
</function>
</axis>

Binary file not shown.

View file

@ -78,16 +78,6 @@
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Complex start up procedures</label>
<property>/fdm/jsbsim/complex</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>

View file

@ -42,7 +42,7 @@
<slider>
<name>c172p-left-fuel-slider</name>
<min>0</min>
<max>28.0</max>
<max>21.5</max>
<live>true</live>
<enable>
<less-than>

View file

@ -10,13 +10,15 @@
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<empty>
<stretch>true</stretch>
</empty>
<text>
<label>Oil Level</label>
</text>
<empty><stretch>true</stretch></empty>
<empty>
<stretch>true</stretch>
</empty>
<button>
<legend/>
<key>Esc</key>
@ -38,7 +40,7 @@
<layout>hbox</layout>
<text>
<label>Oil Level:</label>
<halign>left</halign>
<halign>right</halign>
</text>
<slider>
<name>c172p-oil-slider-160</name>
@ -46,10 +48,17 @@
<max>7.0</max>
<live>true</live>
<enable>
<less-than>
<property>velocities/groundspeed-kt</property>
<value>1.0</value>
</less-than>
<and>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<not>
<property>/engines/active-engine/running</property>
</not>
</and>
</enable>
<property>/engines/active-engine/oil-level</property>
<binding>
@ -76,20 +85,47 @@
</group>
<group>
<layout>hbox</layout>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<visible>
<greater-than-equals>
<property>velocities/groundspeed-kt</property>
<value>1.0</value>
</greater-than-equals>
<and>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<property>/engines/active-engine/running</property>
</and>
</visible>
<color>
<red>0.9</red>
<green>0.1</green>
<blue>0.1</blue>
</color>
<label>Dialog disabled when in movement</label>
<label>Slider disabled while engine is running!</label>
</text>
<text>
<row>0</row>
<col>0</col>
<visible>
<not>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
</not>
</visible>
<color>
<red>0.9</red>
<green>0.1</green>
<blue>0.1</blue>
</color>
<label>Slider disabled while in the air!</label>
</text>
</group>

View file

@ -10,12 +10,15 @@
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<empty>
<stretch>true</stretch>
</empty>
<text>
<label>Oil Level</label>
</text>
<empty><stretch>true</stretch></empty>
<empty>
<stretch>true</stretch>
</empty>
<button>
<legend/>
@ -38,7 +41,7 @@
<layout>hbox</layout>
<text>
<label>Oil Level:</label>
<halign>left</halign>
<halign>right</halign>
</text>
<slider>
<name>c172p-oil-slider-180</name>
@ -46,10 +49,17 @@
<max>8.0</max>
<live>true</live>
<enable>
<less-than>
<property>velocities/groundspeed-kt</property>
<value>1.0</value>
</less-than>
<and>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<not>
<property>/engines/active-engine/running</property>
</not>
</and>
</enable>
<property>/engines/active-engine/oil-level</property>
<binding>
@ -76,20 +86,47 @@
</group>
<group>
<layout>hbox</layout>
<layout>table</layout>
<text>
<row>0</row>
<col>0</col>
<visible>
<greater-than-equals>
<property>velocities/groundspeed-kt</property>
<value>1.0</value>
</greater-than-equals>
<and>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
<property>/engines/active-engine/running</property>
</and>
</visible>
<color>
<red>0.9</red>
<green>0.1</green>
<blue>0.1</blue>
</color>
<label>Dialog disabled when in movement</label>
<label>Slider disabled while engine is running!</label>
</text>
<text>
<row>0</row>
<col>0</col>
<visible>
<not>
<or>
<property>/fdm/jsbsim/gear/unit[1]/WOW</property>
<property>/fdm/jsbsim/gear/unit[19]/WOW</property>
<property>/fdm/jsbsim/gear/unit[23]/WOW</property>
<property>/fdm/jsbsim/hydro/active-norm</property>
</or>
</not>
</visible>
<color>
<red>0.9</red>
<green>0.1</green>
<blue>0.1</blue>
</color>
<label>Slider disabled while in the air!</label>
</text>
</group>

View file

@ -42,7 +42,7 @@
<slider>
<name>c172p-right-fuel-slider</name>
<min>0</min>
<max>28.0</max>
<max>21.5</max>
<live>true</live>
<enable>
<less-than>