mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
initRound ordering and fixed define names
This commit is contained in:
parent
fd2c59581a
commit
98caad5936
@ -17,9 +17,8 @@
|
||||
*/
|
||||
|
||||
TRACE_1("ACE_Frag rndInit",_this);
|
||||
params ["_projectile"];
|
||||
|
||||
if (!isServer) exitWith {};
|
||||
params ["_projectile"];
|
||||
|
||||
private _ammo = typeOf _projectile;
|
||||
if (_ammo isEqualTo "" || {isNull _projectile}) exitWith {
|
||||
|
@ -40,9 +40,11 @@
|
||||
#define ACE_FRAG_LOW_FRAG_HOLDOFF_REDUCTION 4
|
||||
// Max frag distance - correlates to a a fragCount of 20k & hit chance of 0.5%
|
||||
#define ACE_FRAG_MAX_FRAG_RANGE 565
|
||||
// 4*pi/360 = 0.034906585
|
||||
#define ACE_FRAG_FRAGS_PER_ARC_CONSTANT 0.03491
|
||||
|
||||
// Spall values
|
||||
#define ACE_FRAG_SPALL_HOLDOFF 0.25
|
||||
#define ACE_FRAG_SPALL_VELOCITY_INHERIT_COEFF 0.5
|
||||
// sqrt(2)/50
|
||||
#define ACE_FRAG_ROUND_COEF 0.02828427
|
||||
#define ACE_FRAG_SPALL_CALIBER_COEF 0.02828427
|
||||
|
Loading…
Reference in New Issue
Block a user