mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
todo: fix nlaw
This commit is contained in:
parent
fe2fedd1e8
commit
8d52a2eb16
@ -46,3 +46,4 @@ if (accTime > 0) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_commandedAcceleration
|
_commandedAcceleration
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
#ifdef DEBUG_MODE_FULL
|
#ifdef DEBUG_MODE_FULL
|
||||||
#define TRACK_ON_PAUSE true
|
#define TRACK_ON_PAUSE false
|
||||||
#else
|
#else
|
||||||
#define TRACK_ON_PAUSE false
|
#define TRACK_ON_PAUSE false
|
||||||
#endif
|
#endif
|
||||||
@ -92,7 +92,6 @@ if (TRACK_ON_PAUSE || {accTime > 0 && !isGamePaused}) then {
|
|||||||
private _flareRelativeVelocity = (velocity _x) vectorDiff _projectileVelocity;
|
private _flareRelativeVelocity = (velocity _x) vectorDiff _projectileVelocity;
|
||||||
private _angleBetweenVelocities = acos (_closingVelocity vectorCos _flareRelativeVelocity);
|
private _angleBetweenVelocities = acos (_closingVelocity vectorCos _flareRelativeVelocity);
|
||||||
|
|
||||||
systemChat str [_angleBetweenVelocities, _flareAngleFilter];
|
|
||||||
if (_angleBetweenVelocities <= _flareAngleFilter) then {
|
if (_angleBetweenVelocities <= _flareAngleFilter) then {
|
||||||
_considering = true;
|
_considering = true;
|
||||||
if (_seekerAccuracy <= random 1) then {
|
if (_seekerAccuracy <= random 1) then {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "\z\ace\addons\main\script_mod.hpp"
|
#include "\z\ace\addons\main\script_mod.hpp"
|
||||||
|
|
||||||
#define DRAW_GUIDANCE_INFO
|
#define DRAW_GUIDANCE_INFO
|
||||||
// #define ENABLE_PROJECTILE_CAMERA
|
#define ENABLE_PROJECTILE_CAMERA
|
||||||
#define DEBUG_MODE_FULL
|
#define DEBUG_MODE_FULL
|
||||||
#define DISABLE_COMPILE_CACHE
|
#define DISABLE_COMPILE_CACHE
|
||||||
// #define ENABLE_PERFORMANCE_COUNTERS
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||||
|
@ -30,7 +30,7 @@ Weapon Configs:
|
|||||||
|
|
||||||
Seeker Types:
|
Seeker Types:
|
||||||
X Laser
|
X Laser
|
||||||
Optical
|
X Optical
|
||||||
X Infrared
|
X Infrared
|
||||||
GPS/INS
|
GPS/INS
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 20; // Minium flap deflection for guidance
|
pitchRate = 5; // Minium flap deflection for guidance
|
||||||
yawRate = 20; // Maximum flap deflection for guidance
|
yawRate = 10; // Maximum flap deflection for guidance
|
||||||
|
|
||||||
canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode
|
canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
|
|
||||||
params ["", "_args", "_seekerStateParams"];
|
params ["", "_args", "_seekerStateParams", "", "", "_targetData"];
|
||||||
_args params ["_firedEH", "_launchParams", "", "_seekerParams", "_stateParams"];
|
_args params ["_firedEH", "_launchParams", "", "_seekerParams", "_stateParams"];
|
||||||
_firedEH params ["","","","","","","_projectile"];
|
_firedEH params ["","","","","","","_projectile"];
|
||||||
_launchParams params ["", "_targetLaunchParams", "", "_attackProfile"];
|
_launchParams params ["", "_targetLaunchParams", "", "_attackProfile"];
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
// #define DRAW_NLAW_INFO
|
// #define DRAW_NLAW_INFO
|
||||||
// #define DEBUG_MODE_FULL
|
// #define DEBUG_MODE_FULL
|
||||||
// #define DISABLE_COMPILE_CACHE
|
#define DISABLE_COMPILE_CACHE
|
||||||
// #define ENABLE_PERFORMANCE_COUNTERS
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||||
|
|
||||||
#ifdef DEBUG_ENABLED_NLAW
|
#ifdef DEBUG_ENABLED_NLAW
|
||||||
|
Loading…
Reference in New Issue
Block a user