ATC: fix issues
This commit is contained in:
parent
16edee3c39
commit
786a5055d6
3 changed files with 8 additions and 4 deletions
|
@ -148,7 +148,7 @@
|
||||||
<offsets>
|
<offsets>
|
||||||
<x-m>-0.01279</x-m>
|
<x-m>-0.01279</x-m>
|
||||||
<y-m>0.20</y-m>
|
<y-m>0.20</y-m>
|
||||||
<z-m>-0.13391</z-m>
|
<z-m>-0.13350</z-m>
|
||||||
<heading-deg>90</heading-deg>
|
<heading-deg>90</heading-deg>
|
||||||
</offsets>
|
</offsets>
|
||||||
<alignment>left-center</alignment>
|
<alignment>left-center</alignment>
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
<offsets>
|
<offsets>
|
||||||
<x-m>-0.01279</x-m>
|
<x-m>-0.01279</x-m>
|
||||||
<y-m>0.20</y-m>
|
<y-m>0.20</y-m>
|
||||||
<z-m>-0.13391</z-m>
|
<z-m>-0.13350</z-m>
|
||||||
<heading-deg>90</heading-deg>
|
<heading-deg>90</heading-deg>
|
||||||
</offsets>
|
</offsets>
|
||||||
<alignment>left-center</alignment>
|
<alignment>left-center</alignment>
|
||||||
|
@ -396,7 +396,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>atc.transponderPanel.modeSwitch(getprop("/controls/atc/mode-knob") - 1);</script>
|
<script>atc.transponderPanel.modeSwitch(getprop("/controls/atc/mode-knob") + 1);</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
|
@ -238,6 +238,10 @@ setlistener("/instrumentation/transponder/id-code", func {
|
||||||
}
|
}
|
||||||
}, 0, 0);
|
}, 0, 0);
|
||||||
|
|
||||||
|
setlistener("controls/atc/mode-knob", func {
|
||||||
|
|
||||||
|
}, 0, 0);
|
||||||
|
|
||||||
var Transponders = std.Vector.new([Transponder.new("/systems/electrical/bus/ac-ess-shed", 1), Transponder.new("/systems/electrical/bus/ac2", 2)]);
|
var Transponders = std.Vector.new([Transponder.new("/systems/electrical/bus/ac-ess-shed", 1), Transponder.new("/systems/electrical/bus/ac2", 2)]);
|
||||||
|
|
||||||
var transponderTimer = maketimer(0.1, func() {
|
var transponderTimer = maketimer(0.1, func() {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4793
|
4794
|
Reference in a new issue