Update configs

This commit is contained in:
PabstMirror 2018-12-13 14:18:27 -06:00
parent 507b0bce58
commit f9f490d252
4 changed files with 20 additions and 11 deletions

View File

@ -21,7 +21,9 @@ params ["_seekerTargetPos", "_args"];
_args params ["_firedEH"];
_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 _projectilePos = getPosASL _projectile;

View File

@ -7,25 +7,31 @@ class CfgAmmo {
timeToLive = 1;
};
class M_Titan_AT;
class GVAR(ammo_rocket): M_Titan_AT {
class MissileBase;
class GVAR(ammo_rocket): MissileBase {
irLock = 0;
laserLock = 0;
airLock = 0;
manualControl = 0;
timeToLive = 30;
model = QPATHTOF(models\ace_pike_ammo.p3d);
maxSpeed = 150;
thrust = 30;
thrustTime = 2;
thrust = 15;
thrustTime = 8;
initTime = 0;
airFriction = 0.1;
hit = 100;
indirectHit = 8;
indirectHitRange = 6;
initTime = 0;
CraterEffects = "AAMissileCrater";
explosionEffects = "AAMissileExplosion";
effectsMissileInit = "RocketBackEffectsRPG";
effectsMissile = "missile3";
// Begin ACE guidance Configs
class ace_missileguidance {
@ -48,11 +54,11 @@ class CfgAmmo {
seekerAccuracy = 1; // seeker accuracy multiplier
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
defaultAttackProfile = "LIN";
attackProfiles[] = { "LIN", "DIR", "MID", "HI" };
attackProfiles[] = { "LIN" };
};
};
};

View File

@ -8,6 +8,6 @@ class CfgMagazines {
ammo = QGVAR(ammo_gl);
model = QPATHTOF(models\ace_pike_ammo.p3d);
initSpeed = 40;
mass = 10;
mass = 17; // 1.7 lbs
};
};

View File

@ -43,6 +43,7 @@ if (_ammo != QGVAR(ammo_gl)) exitWith {};
// Start missile guidance
[_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
[{