Config expansion.

This commit is contained in:
jaynus 2015-04-09 09:39:23 -07:00
parent bbfd28586b
commit fe147c4986
2 changed files with 7 additions and 3 deletions

View File

@ -63,6 +63,8 @@ class CfgAmmo {
seekerAngle = 90; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 1;
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
// Attack profile type selection
@ -121,11 +123,13 @@ class CfgAmmo {
seekerAngle = 90; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 1;
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
// Attack profile type selection
defaultAttackProfile = "TOP";
attackProfiles[] = { "TOP" };
attackProfiles[] = { "TOP", "LIN" };
};
};
};

View File

@ -5,13 +5,13 @@ TRACE_1("enter", _this);
private["_player", "_currentFireMode"];
_currentFireMode = ACE_player getVariable["ace_missileguidance_attackProfile", "TOP"];
if(_currentFireMode == "DIR") then {
if(_currentFireMode == "LIN") then {
_currentFireMode = "TOP";
__JavelinIGUITop ctrlSetTextColor __ColorGreen;
__JavelinIGUIDir ctrlSetTextColor __ColorGray;
} else {
_currentFireMode = "DIR";
_currentFireMode = "LIN";
__JavelinIGUITop ctrlSetTextColor __ColorGray;
__JavelinIGUIDir ctrlSetTextColor __ColorGreen;