Transmit door-positions over MP.
This commit is contained in:
parent
56afb80358
commit
b426b4dbed
2 changed files with 12 additions and 0 deletions
|
@ -7,6 +7,15 @@
|
|||
<pitch-deg>-3.0</pitch-deg>
|
||||
<z-m> -0.065 </z-m>
|
||||
</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 -->
|
||||
|
||||
|
|
|
@ -100,6 +100,9 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
|
|||
<multiplay>
|
||||
<chat_display>1</chat_display>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue