Skip to content

Commit

Permalink
Stores: Fix missing fc requisites
Browse files Browse the repository at this point in the history
  • Loading branch information
SammySkycrafts committed Sep 24, 2023
1 parent de72a5e commit 676a575
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions A-10-set.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,8 @@ Fairchild A-10 simulation config.
</generator>
</APU>
<armament>
<master-arm-switch type="int">0</master-arm-switch>
<master-arm type="int">0</master-arm>
<trigger type="bool">false</trigger>
<trigger-gun type="bool">false</trigger-gun>
<trigger-hydra-1 type="bool">false</trigger-hydra-1>
Expand Down
4 changes: 2 additions & 2 deletions Models/Cockpit/A-10-armament-panel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<animation>
<object-name>master-arm-switch</object-name>
<type>knob</type>
<property>controls/armament/master-arm</property>
<property>controls/armament/master-arm-switch</property>
<factor>30</factor>
<drag-direction>vertical</drag-direction>
<center>
Expand All @@ -20,7 +20,7 @@
<action>
<binding>
<command>property-adjust</command>
<property>controls/armament/master-arm</property>
<property>controls/armament/master-arm-switch</property>
<factor>1</factor>
<min>-1</min>
<max>1</max>
Expand Down
4 changes: 3 additions & 1 deletion Nasal/WEAPONS/fire-control.nas
Original file line number Diff line number Diff line change
Expand Up @@ -1244,4 +1244,6 @@ var getCompleteRadarTargetsList = func {
# A list of all MP/AI aircraft/ships/surface-targets around the aircraft, including those that is outside radar line of sight etc..

return radar_system.getCompleteList();
}
}

var masterArmSwitch = "controls/armament/master-arm-switch";

0 comments on commit 676a575

Please sign in to comment.