Merge pull request #20 from Rudolf339/master

Use generic int instead of bool for firing
pull/21/head
Nikolai V. Chr 3 years ago committed by GitHub
commit 709fc05fad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@
<object-name>muzzle_UR</object-name>
<condition>
<property>/sim/rendering/shaders/skydome</property><!-- als -->
<property>sim/multiplay/generic/bool[0]</property><!-- gun firing -->
<property>sim/multiplay/generic/int[1]</property><!-- gun firing -->
</condition>
</animation>

@ -109,11 +109,11 @@
<multiplay>
<generic>
<int n="0" type="int">0</int>
<int n="1" type="int" alias="/controls/armament/trigger"/>
<float n="0" type="double">0</float> <!-- Turret azimuth -->
<float n="1" type="double">0</float> <!-- gun elevation -->
<float n="2" type="double">0</float> <!-- radar azimuth -->
<float n="3" type="double">0</float> <!-- radar elevation -->
<bool n="0" type="bool" alias="/controls/armament/trigger"/>
</generic>
</multiplay>

Loading…
Cancel
Save