mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update configs
This commit is contained in:
parent
507b0bce58
commit
f9f490d252
@ -21,7 +21,9 @@ params ["_seekerTargetPos", "_args"];
|
|||||||
_args params ["_firedEH"];
|
_args params ["_firedEH"];
|
||||||
_firedEH params ["_shooter","","","","","","_projectile"];
|
_firedEH params ["_shooter","","","","","","_projectile"];
|
||||||
|
|
||||||
if (_seekerTargetPos isEqualTo [0,0,0]) exitWith {_seekerTargetPos};
|
if (_seekerTargetPos isEqualTo [0,0,0]) exitWith {
|
||||||
|
_projectilePos vectorAdd (_projectile vectorModelToWorld [0, 50, 0])
|
||||||
|
};
|
||||||
|
|
||||||
private _shooterPos = getPosASL _shooter;
|
private _shooterPos = getPosASL _shooter;
|
||||||
private _projectilePos = getPosASL _projectile;
|
private _projectilePos = getPosASL _projectile;
|
||||||
|
@ -7,8 +7,8 @@ class CfgAmmo {
|
|||||||
timeToLive = 1;
|
timeToLive = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
class M_Titan_AT;
|
class MissileBase;
|
||||||
class GVAR(ammo_rocket): M_Titan_AT {
|
class GVAR(ammo_rocket): MissileBase {
|
||||||
irLock = 0;
|
irLock = 0;
|
||||||
laserLock = 0;
|
laserLock = 0;
|
||||||
airLock = 0;
|
airLock = 0;
|
||||||
@ -18,14 +18,20 @@ class CfgAmmo {
|
|||||||
|
|
||||||
model = QPATHTOF(models\ace_pike_ammo.p3d);
|
model = QPATHTOF(models\ace_pike_ammo.p3d);
|
||||||
maxSpeed = 150;
|
maxSpeed = 150;
|
||||||
thrust = 30;
|
thrust = 15;
|
||||||
thrustTime = 2;
|
thrustTime = 8;
|
||||||
|
initTime = 0;
|
||||||
|
airFriction = 0.1;
|
||||||
|
|
||||||
hit = 100;
|
hit = 100;
|
||||||
indirectHit = 8;
|
indirectHit = 8;
|
||||||
indirectHitRange = 6;
|
indirectHitRange = 6;
|
||||||
|
|
||||||
initTime = 0;
|
CraterEffects = "AAMissileCrater";
|
||||||
|
explosionEffects = "AAMissileExplosion";
|
||||||
|
effectsMissileInit = "RocketBackEffectsRPG";
|
||||||
|
effectsMissile = "missile3";
|
||||||
|
|
||||||
|
|
||||||
// Begin ACE guidance Configs
|
// Begin ACE guidance Configs
|
||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
@ -48,11 +54,11 @@ class CfgAmmo {
|
|||||||
seekerAccuracy = 1; // seeker accuracy multiplier
|
seekerAccuracy = 1; // seeker accuracy multiplier
|
||||||
|
|
||||||
seekerMinRange = 1;
|
seekerMinRange = 1;
|
||||||
seekerMaxRange = 1000; // Range from the missile which the seeker can visually search
|
seekerMaxRange = 2000; // Range from the missile which the seeker can visually search
|
||||||
|
|
||||||
// Attack profile type selection
|
// Attack profile type selection
|
||||||
defaultAttackProfile = "LIN";
|
defaultAttackProfile = "LIN";
|
||||||
attackProfiles[] = { "LIN", "DIR", "MID", "HI" };
|
attackProfiles[] = { "LIN" };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -8,6 +8,6 @@ class CfgMagazines {
|
|||||||
ammo = QGVAR(ammo_gl);
|
ammo = QGVAR(ammo_gl);
|
||||||
model = QPATHTOF(models\ace_pike_ammo.p3d);
|
model = QPATHTOF(models\ace_pike_ammo.p3d);
|
||||||
initSpeed = 40;
|
initSpeed = 40;
|
||||||
mass = 10;
|
mass = 17; // 1.7 lbs
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -43,6 +43,7 @@ if (_ammo != QGVAR(ammo_gl)) exitWith {};
|
|||||||
|
|
||||||
// Start missile guidance
|
// Start missile guidance
|
||||||
[_unit, _weapon, _muzzle, _mode, QGVAR(ammo_rocket), _magazine, _rocket] call EFUNC(missileguidance,onFired);
|
[_unit, _weapon, _muzzle, _mode, QGVAR(ammo_rocket), _magazine, _rocket] call EFUNC(missileguidance,onFired);
|
||||||
|
TRACE_2("starting missile guidance",_rocket,typeOf _rocket);
|
||||||
|
|
||||||
#ifdef DEBUG_MODE_FULL
|
#ifdef DEBUG_MODE_FULL
|
||||||
[{
|
[{
|
||||||
|
Loading…
Reference in New Issue
Block a user