Minor fixes for 1.78 RC (#5825)

This commit is contained in:
PabstMirror 2017-11-30 10:29:35 -06:00 committed by GitHub
parent ef8825bb21
commit d357395b4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 24 deletions

View File

@ -105,10 +105,5 @@ class CfgWeapons {
dispersion = 0.0064; //0.0023; dispersion = 0.0064; //0.0023;
multiplier = 1; multiplier = 1;
}; };
class close: HighROF {};
class short: close {};
class medium: LowROF {};
class far: medium {};
}; };
}; };

View File

@ -40,6 +40,7 @@ private _absLoad = getNumber (configFile >> "CfgInventoryGlobalVariable" >> "max
private _loadCoef = _unit getVariable QGVAR(loadCoef); private _loadCoef = _unit getVariable QGVAR(loadCoef);
if (isNil "_loadCoef") then { if (isNil "_loadCoef") then {
INFO("Note: getUnitTrait / loadCoef enum error can be ignored [present in ARMA 1.78 RC]");
_loadCoef = _unit getUnitTrait "loadCoef"; _loadCoef = _unit getUnitTrait "loadCoef";
_unit setVariable [QGVAR(loadCoef), _loadCoef, true]; _unit setVariable [QGVAR(loadCoef), _loadCoef, true];
}; };

View File

@ -1,25 +1,7 @@
class CfgAmmo { class CfgAmmo {
class Missile_AGM_02_F;
class M_Mo_120mm_AT: Missile_AGM_02_F {
cost = 400000; // Stop it from aiming at FUCKING RABBITS.
weaponLockSystem = 2;
};
class M_Mo_120mm_AT_LG: M_Mo_120mm_AT {
cost = 400000;
weaponLockSystem = 4;
};
class MissileBase; class MissileBase;
class M_Mo_82mm_AT: MissileBase { class M_Mo_82mm_AT: MissileBase {
cost = 400000; cost = 400000; // Stop it from aiming at FUCKING RABBITS.
weaponLockSystem = 2;
};
class M_Mo_82mm_AT_LG: M_Mo_82mm_AT {
cost = 400000;
weaponLockSystem = 4;
}; };
}; };