1
0
Fork 0

Transmit door-positions over MP.

This commit is contained in:
Gijs de Rooy 2012-01-03 21:35:26 +01:00
parent 56afb80358
commit b426b4dbed
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,15 @@
<pitch-deg>-3.0</pitch-deg> <pitch-deg>-3.0</pitch-deg>
<z-m> -0.065 </z-m> <z-m> -0.065 </z-m>
</offsets> </offsets>
<nasal>
<load>
var rplayer = cmdarg();
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/baggageDoor/position-norm", 1).alias(rplayer.getNode("sim/multiplay/generic/float[2]"));
</load>
</nasal>
<!-- Normal shader effect. Separate effects required for each normal map texture --> <!-- Normal shader effect. Separate effects required for each normal map texture -->

View file

@ -100,6 +100,9 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<multiplay> <multiplay>
<chat_display>1</chat_display> <chat_display>1</chat_display>
<generic> <generic>
<float n="0" alias="/sim/model/door-positions/rightDoor/position-norm"/>
<float n="1" alias="/sim/model/door-positions/leftDoor/position-norm"/>
<float n="2" alias="/sim/model/door-positions/baggageDoor/position-norm"/>
<int type="int">0</int> <int type="int">0</int>
<int type="int">0</int> <int type="int">0</int>
<int type="int">0</int> <int type="int">0</int>