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