1
0
Fork 0

C172P: merge two <nasal> blocks to repair livery over mp.

This commit is contained in:
Gijs de Rooy 2012-03-21 23:05:07 +01:00
parent 6c19b0067c
commit 005838ba0c

View file

@ -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>