C172P: merge two <nasal> blocks to repair livery over mp.
This commit is contained in:
parent
6c19b0067c
commit
005838ba0c
1 changed files with 8 additions and 12 deletions
|
@ -14,7 +14,15 @@
|
||||||
rplayer.getNode("sim/model/door-positions/rightDoor/position-norm", 1).alias(rplayer.getNode("sim/multiplay/generic/float[0]"));
|
rplayer.getNode("sim/model/door-positions/rightDoor/position-norm", 1).alias(rplayer.getNode("sim/multiplay/generic/float[0]"));
|
||||||
rplayer.getNode("sim/model/door-positions/leftDoor/position-norm", 1).alias(rplayer.getNode("sim/multiplay/generic/float[1]"));
|
rplayer.getNode("sim/model/door-positions/leftDoor/position-norm", 1).alias(rplayer.getNode("sim/multiplay/generic/float[1]"));
|
||||||
rplayer.getNode("sim/model/door-positions/baggageDoor/position-norm", 1).alias(rplayer.getNode("sim/multiplay/generic/float[2]"));
|
rplayer.getNode("sim/model/door-positions/baggageDoor/position-norm", 1).alias(rplayer.getNode("sim/multiplay/generic/float[2]"));
|
||||||
|
|
||||||
|
var livery_update = aircraft.livery_update.new(
|
||||||
|
"Aircraft/c172p/Models/Liveries", 10,
|
||||||
|
func { print("c172p livery update") });
|
||||||
</load>
|
</load>
|
||||||
|
|
||||||
|
<unload>
|
||||||
|
livery_update.stop();
|
||||||
|
</unload>
|
||||||
</nasal>
|
</nasal>
|
||||||
|
|
||||||
<!-- Normal shader effect. Separate effects required for each normal map texture -->
|
<!-- Normal shader effect. Separate effects required for each normal map texture -->
|
||||||
|
@ -42,18 +50,6 @@
|
||||||
<object-name>elevatorright</object-name>
|
<object-name>elevatorright</object-name>
|
||||||
</effect>
|
</effect>
|
||||||
|
|
||||||
|
|
||||||
<nasal>
|
|
||||||
<load>
|
|
||||||
var livery_update = aircraft.livery_update.new(
|
|
||||||
"Aircraft/c172p/Models/Liveries", 10,
|
|
||||||
func { print("c172p livery update") });
|
|
||||||
</load>
|
|
||||||
|
|
||||||
<unload>
|
|
||||||
livery_update.stop();
|
|
||||||
</unload>
|
|
||||||
</nasal>
|
|
||||||
<!-- Immatriculatoin -->
|
<!-- Immatriculatoin -->
|
||||||
<model>
|
<model>
|
||||||
<path>Aircraft/c172p/Models/Immat/immat.xml</path>
|
<path>Aircraft/c172p/Models/Immat/immat.xml</path>
|
||||||
|
|
Loading…
Reference in a new issue