435 Print(
"DayZPlayerImplementAiming | " +
val);
static const float SWAY_TIME_OUT
enum eSwayStates SWAY_MULTIPLIER_DEFAULT
static const float SWAY_TIME_EXHAUSTED
static const float SWAY_MULTIPLIER_STABLE
static const float SWAY_ROLL
static const float SWAY_TIME_IN
static const float SWAY_MULTIPLIER_EXHAUSTED
static const float SWAY_TIME_STABLE
void DayZPlayerUtils()
cannot be instantiated
Super root of all classes in Enforce script.
int GetCurrentSwayState()
ref KuruShake m_KuruShake
static float m_AimXClampRanges[]
float CalculateWeight(int stance_index, float current_stamina, float camera_sway_modifier, bool holding_breath)
float m_HorizontalNoiseXAxisOffset
void DayZPlayerImplementAiming(DayZPlayerImplement player)
void DbgPrintAimingImplement(string val)
float CalculateSpeedMultiplier(float stamina)
void SetProceduralRecoilEnabled(bool state)
bool UpdateSwayState(int state)
void SetCamShakeValues(float x_axis, float y_axis)
void ApplyShakes(out float x_axis, out float y_axis, int level)
void RequestKuruShake(float amount)
const float SWAY_WEIGHT_SCALER
void SetAimNoiseAllowed(bool state)
float m_SwayStateStartTime
ref RecoilBase m_CurrentRecoil
void SetRecoil(Weapon_Base weapon)
bool IsProceduralRecoilEnabled()
float m_StateStartSwayMultiplier
float m_HorizontalNoiseVelocity[1]
void ApplyBreathingPattern(out float x_axis, out float y_axis, float pAmplitude, float pTotalTime, float weight)
float m_LastSwayMultiplier
bool ProcessStealthFilters(float pDt, SDayZPlayerAimingModel pModel)
void OnRaiseBegin(DayZPlayerImplement player)
float m_BreathingXAxisOffset
float m_HorizontalTargetValue
bool ProcessAimFilters(float pDt, SDayZPlayerAimingModel pModel, int stance_index)
void OnFinisherBegin(float currentAimY)
float m_BreathingYAxisOffset
float m_FilterVelocityStealthAimY[1]
DayZPlayerImplement m_PlayerDpi
bool m_ProceduralRecoilEnabled
float CalculateSwayMultiplier()
void ApplyHorizontalNoise(out float x_axis, out float y_axis, float smooth_time, float max_velocity_low, float max_velocity_high, float velocity_modifier, float max_distance, float weight, float pDt)
void OnSwayStateChange(int state)
DayZPlayerConstants
defined in C++
proto void Print(void var)
Prints content of variable to console/log.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float Round(float f)
Returns mathematical round of value.
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 AbsFloat(float f)
Returns absolute value.
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.