static bool GetHitIndicationOverrideEnabled()
static int GetHitIndicationIndicatorColor()
static int GetHitIndicationMode()
static float GetHitIndicationMaxDuration()
static int GetHitIndicationTypeID()
static float GetHitIndicationBreakPoint()
static float GetHitIndicationScatter()
static int m_RotationOverride
ref HitDirectionImagesBase m_ImageData
void CalculateArrowPosition(float timeslice=-1.0)
void ~HitDirectionEffectBase()
void Update(float timeslice)
override HitDirectionImagesBase GetImageData()
const float DURATION_COEF_MIN
override void FinalizePositionCalculation()
static float m_DurationMax
void SetIndicatorPositon(float timeslice=-1.0)
void Init(DayZPlayer player, float hit_direction, float intensity_max)
Called manually after object spawn.
static float m_BreakPointBase
static void CheckValues()
range 0..180, randomized offset of direction to make it less acurate
void SetIndicatorRotation(float timeslice=-1.0)
static float m_DistanceAdjust
range 0..1, a point where the fading starts
void FinalizePositionCalculation()
specific handling on individual indicator type
HitDirectionImagesBase GetImageData()
static bool m_ServerOverrideEnabled
void HitDirectionEffectBase()
const float INTENSITY_MIN
override void SetIndicatorRotation(float timeslice=-1.0)
proto native CGame GetGame()
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float ModFloat(float x, float y)
Returns the floating-point remainder of x/y rounded towards zero.
static proto float NormalizeAngle(float ang)
Normalizes the angle (0...360)
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
static proto float Cos(float angle)
Returns cosinus of angle in radians.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float Sin(float angle)
Returns sinus of angle in radians.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static proto float Pow(float v, float power)
Return power of v ^ power.
static const float DEG2RAD
static proto float SmoothCD(float val, float target, inout float velocity[], float smoothTime, float maxVelocity, float dt)
Does the CD smoothing function - easy in | easy out / S shaped smoothing.
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].
proto void GetScreenSize(out int x, out int y)