mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
small cleanup
This commit is contained in:
@ -32,4 +32,3 @@ _seekerStateParams set [2, _animationSourceGun];
|
||||
_seekerStateParams set [3, _usePilotCamera || { (_shooter isKindOf "Plane") && hasPilotCamera _shooter }];
|
||||
|
||||
if ((_shooter isKindOf "Plane") && !hasPilotCamera _shooter) then { WARNING("SACLOS fired from planes without pilot camera unsupported!"); };
|
||||
|
||||
|
@ -39,4 +39,4 @@ _attackProfileStateParams set [2, _final];
|
||||
|
||||
_targetData set [0, _projectilePos vectorFromTo _final];
|
||||
|
||||
_final
|
||||
_final
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "script_component.hpp"
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
* Author: jaynus / nou
|
||||
* Attack profile: Javelin Dir
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "script_component.hpp"
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
* Author: jaynus / nou
|
||||
* Attack profile: Javelin Top
|
||||
|
@ -51,4 +51,3 @@ if (!_atMinRotationAngle && _distanceToTarget2d >= 500 && _timeToGo >= 10) then
|
||||
};
|
||||
|
||||
_returnTargetPos
|
||||
|
||||
|
@ -41,4 +41,3 @@ _attackProfileStateParams set [2, _final];
|
||||
_targetData set [0, _projectilePos vectorFromTo _final];
|
||||
|
||||
_final
|
||||
|
||||
|
@ -22,5 +22,3 @@ private _dir = [sin _yaw * cos _pitch, cos _yaw * cos _pitch, sin _pitch];
|
||||
private _up = [[sin _roll, -sin _pitch, cos _roll * cos _pitch], -_yaw] call BIS_fnc_rotateVector2D;
|
||||
|
||||
_projectile setVectorDirAndUp [_dir, _up];
|
||||
|
||||
|
||||
|
@ -43,4 +43,3 @@ if (!((terrainIntersectASL [_seekerPos, _targetPos]) && {terrainIntersectASL [_s
|
||||
};
|
||||
|
||||
_return
|
||||
|
||||
|
@ -76,7 +76,7 @@ private _nextFireMode = _attackProfiles select _index;
|
||||
TRACE_4("",_currentFireMode,_nextFireMode,_index,_attackProfiles);
|
||||
|
||||
|
||||
private _currentFireMode = if (_useModeForAttackProfile) then {
|
||||
if (_useModeForAttackProfile) then {
|
||||
TRACE_2("setting fire mode",_weaponStateToken,_nextFireMode);
|
||||
{
|
||||
_x params ["_xIndex", "", "_xWeapon", "", "_xMode"];
|
||||
|
@ -227,4 +227,3 @@ if (GVAR(debug_drawGuidanceInfo)) then {
|
||||
_stateParams set [0, diag_tickTime];
|
||||
|
||||
END_COUNTER(guidancePFH);
|
||||
|
||||
|
@ -33,4 +33,3 @@ private _navigationParams = [
|
||||
_correctionDistance
|
||||
];
|
||||
_navigationParams
|
||||
|
||||
|
@ -73,4 +73,3 @@ _seekerStateParams set [7, [0, 0, 0]];
|
||||
_seekerStateParams set [8, CBA_missionTime];
|
||||
_seekerStateParams set [9, isNull _target];
|
||||
_seekerStateParams set [10, _lockTypes];
|
||||
|
||||
|
@ -19,4 +19,3 @@ _args params ["_firedEH"];
|
||||
_firedEH params ["","","","","","","_projectile"];
|
||||
|
||||
_profileAdjustedTargetPos vectorDiff getPosASLVisual _projectile
|
||||
|
||||
|
@ -46,4 +46,3 @@ if (accTime > 0) then {
|
||||
};
|
||||
|
||||
_targetDirection
|
||||
|
||||
|
@ -45,5 +45,3 @@ _attackProfileStateParams set [4, _maxDistanceSqr]; // max distance squared used
|
||||
_attackProfileStateParams set [5, _minDistanceSqr];
|
||||
_attackProfileStateParams set [6, _wireCutSource];
|
||||
_attackProfileStateParams set [7, _distanceAheadOfMissile];
|
||||
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
#include "\z\ace\addons\nlaw\script_component.hpp"
|
Reference in New Issue
Block a user