small cleanup

This commit is contained in:
PabstMirror
2024-05-30 15:59:29 -05:00
parent bcb6ed7c68
commit 02c1d79eff
16 changed files with 4 additions and 18 deletions

View File

@ -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!"); };

View File

@ -39,4 +39,4 @@ _attackProfileStateParams set [2, _final];
_targetData set [0, _projectilePos vectorFromTo _final];
_final
_final

View File

@ -1,4 +1,4 @@
#include "script_component.hpp"
#include "..\script_component.hpp"
/*
* Author: jaynus / nou
* Attack profile: Javelin Dir

View File

@ -1,4 +1,4 @@
#include "script_component.hpp"
#include "..\script_component.hpp"
/*
* Author: jaynus / nou
* Attack profile: Javelin Top

View File

@ -51,4 +51,3 @@ if (!_atMinRotationAngle && _distanceToTarget2d >= 500 && _timeToGo >= 10) then
};
_returnTargetPos

View File

@ -41,4 +41,3 @@ _attackProfileStateParams set [2, _final];
_targetData set [0, _projectilePos vectorFromTo _final];
_final

View File

@ -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];

View File

@ -43,4 +43,3 @@ if (!((terrainIntersectASL [_seekerPos, _targetPos]) && {terrainIntersectASL [_s
};
_return

View File

@ -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"];

View File

@ -227,4 +227,3 @@ if (GVAR(debug_drawGuidanceInfo)) then {
_stateParams set [0, diag_tickTime];
END_COUNTER(guidancePFH);

View File

@ -33,4 +33,3 @@ private _navigationParams = [
_correctionDistance
];
_navigationParams

View File

@ -73,4 +73,3 @@ _seekerStateParams set [7, [0, 0, 0]];
_seekerStateParams set [8, CBA_missionTime];
_seekerStateParams set [9, isNull _target];
_seekerStateParams set [10, _lockTypes];

View File

@ -19,4 +19,3 @@ _args params ["_firedEH"];
_firedEH params ["","","","","","","_projectile"];
_profileAdjustedTargetPos vectorDiff getPosASLVisual _projectile

View File

@ -46,4 +46,3 @@ if (accTime > 0) then {
};
_targetDirection

View File

@ -45,5 +45,3 @@ _attackProfileStateParams set [4, _maxDistanceSqr]; // max distance squared used
_attackProfileStateParams set [5, _minDistanceSqr];
_attackProfileStateParams set [6, _wireCutSource];
_attackProfileStateParams set [7, _distanceAheadOfMissile];

View File

@ -1 +0,0 @@
#include "\z\ace\addons\nlaw\script_component.hpp"