Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
KuruShake Class Reference

Private Member Functions

void KuruShake (PlayerBase player, float amount)
void Update (float delta_time, out float pos_x, out float pos_y)

Private Attributes

ref array< vectorm_Curve = new array<vector>
PlayerBase m_Player
float m_RelativeTime
float m_RelativeTime2
float m_ShakeStrength
float m_Time
float m_Time2
const float RANDOM_RANGE_DEVIATION = 0.50
const float RANDOM_RANGE_POINT = 1
const float SHAKE_DURATION_PHASE1 = 0.01
const float SHAKE_STRENGTH_MAX = 5
const float SHAKE_STRENGTH_MIN = 1

Detailed Description

Definition at line 1 of file kurushake.c.

Constructor & Destructor Documentation

◆ KuruShake()

Member Function Documentation

◆ Update()

void Update ( float delta_time,
out float pos_x,
out float pos_y )
inlineprivate

Field Documentation

◆ m_Curve

ref array<vector> m_Curve = new array<vector>
private

Definition at line 17 of file kurushake.c.

Referenced by KuruShake(), and Update().

◆ m_Player

Definition at line 9 of file kurushake.c.

◆ m_RelativeTime

float m_RelativeTime
private

Definition at line 12 of file kurushake.c.

Referenced by Update().

◆ m_RelativeTime2

float m_RelativeTime2
private

Definition at line 13 of file kurushake.c.

Referenced by Update().

◆ m_ShakeStrength

float m_ShakeStrength
private

Definition at line 14 of file kurushake.c.

Referenced by KuruShake().

◆ m_Time

float m_Time
private

Definition at line 10 of file kurushake.c.

Referenced by Update().

◆ m_Time2

float m_Time2
private

Definition at line 11 of file kurushake.c.

Referenced by Update().

◆ RANDOM_RANGE_DEVIATION

const float RANDOM_RANGE_DEVIATION = 0.50
private

Definition at line 4 of file kurushake.c.

Referenced by KuruShake().

◆ RANDOM_RANGE_POINT

const float RANDOM_RANGE_POINT = 1
private

Definition at line 3 of file kurushake.c.

Referenced by KuruShake().

◆ SHAKE_DURATION_PHASE1

const float SHAKE_DURATION_PHASE1 = 0.01
private

Definition at line 5 of file kurushake.c.

Referenced by Update().

◆ SHAKE_STRENGTH_MAX

const float SHAKE_STRENGTH_MAX = 5
private

Definition at line 7 of file kurushake.c.

Referenced by KuruShake().

◆ SHAKE_STRENGTH_MIN

const float SHAKE_STRENGTH_MIN = 1
private

Definition at line 6 of file kurushake.c.

Referenced by KuruShake().


The documentation for this class was generated from the following file: