DayZ
1.24
Loading...
Searching...
No Matches
DefaultRecoil.c
Go to the documentation of this file.
1
class
DefaultRecoil
:
RecoilBase
2
{
3
override
void
Init
()
4
{
5
m_HandsCurvePoints
.Insert(
"0 0 0"
);
//forms a 2 dimensional spline(z is ignored)
6
m_HandsCurvePoints
.Insert(
"0 1 0"
);
7
m_HandsCurvePoints
.Insert(
"0 0 0"
);
8
m_HandsOffsetRelativeTime
= 0.4;
9
10
m_MouseOffsetRangeMin
= 60;
//in degrees min
11
m_MouseOffsetRangeMax
= 120;
//in degrees max
12
m_MouseOffsetDistance
= 1;
//how far should the mouse travel
13
m_MouseOffsetRelativeTime
= 0;
//[0..1] a time it takes to move the mouse the required distance relative to the reload time of the weapon(firing mode)
14
}
15
}
DefaultRecoil
Definition
DefaultRecoil.c:2
DefaultRecoil::Init
override void Init()
Definition
DefaultRecoil.c:3
RecoilBase
Definition
RecoilBase.c:2
RecoilBase::m_MouseOffsetDistance
float m_MouseOffsetDistance
Definition
RecoilBase.c:19
RecoilBase::m_MouseOffsetRangeMax
float m_MouseOffsetRangeMax
Definition
RecoilBase.c:14
RecoilBase::m_MouseOffsetRelativeTime
float m_MouseOffsetRelativeTime
Definition
RecoilBase.c:15
RecoilBase::m_HandsOffsetRelativeTime
float m_HandsOffsetRelativeTime
Definition
RecoilBase.c:16
RecoilBase::m_MouseOffsetRangeMin
float m_MouseOffsetRangeMin
Definition
RecoilBase.c:13
RecoilBase::m_HandsCurvePoints
ref array< vector > m_HandsCurvePoints
Definition
RecoilBase.c:27
scripts
4_World
Classes
RecoilBase
Recoils
DefaultRecoil.c
Generated by
1.10.0