DayZ
1.24
Toggle main menu visibility
Main Page
Topics
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
▼
DayZ
►
Topics
►
Classes
▼
Files
▼
File List
▼
scripts
►
1_Core
►
2_GameLib
►
3_Game
▼
4_World
▼
Classes
►
AreaDamage
►
ArrowManager
►
BaseBuilding
►
BleedingIndication
►
BleedingSources
►
BulletHitReaction
►
ConfigHandler
►
ContaminatedArea
►
Cooking
►
Debug
►
DestructionEffects
►
EmoteClasses
►
Environment
►
Explosions
►
FoodStage
►
HitIndication
►
Modules
►
PlayerGearSpawn
►
PlayerModifiers
►
PlayerNotifiers
►
PlayerStats
►
PlayerSymptoms
►
Recipes
▼
RecoilBase
▼
Recoils
►
Ak101Recoil.c
►
Ak74Recoil.c
►
AkmRecoil.c
►
Aks74uRecoil.c
►
AUGRecoil.c
►
B95Recoil.c
►
Colt1911Recoil.c
►
CrossbowRecoil.c
►
CZ527Recoil.c
►
CZ550Recoil.c
►
Cz75Recoil.c
►
DEagleRecoil.c
►
DefaultRecoil.c
►
DerringerRecoil.c
►
FALRecoil.c
►
FamasRecoil.c
►
Fnx45Recoil.c
►
GlockRecoil.c
►
Izh18Recoil.c
►
Izh18SawedOffRecoil.c
►
Izh18ShotgunRecoil.c
►
Izh43Recoil.c
►
LongHornRecoil.c
►
M14Recoil.c
►
M16A2Recoil.c
►
M4a1Recoil.c
►
M79Recoil.c
►
MagnumRecoil.c
►
MakarovRecoil.c
►
MkiiRecoil.c
►
MosinRecoil.c
►
MosinSawedOffRecoil.c
►
Mp133Recoil.c
►
Mp5kRecoil.c
►
P1Recoil.c
►
PP19Recoil.c
►
RepeaterRecoil.c
►
Ruger1022Recoil.c
►
ScoutRecoil.c
►
SiagaRecoil.c
►
SkorpionRecoil.c
►
SKSRecoil.c
►
SSG82Recoil.c
►
SvdRecoil.c
►
Ump45Recoil.c
►
VSSRecoil.c
►
Winchester70Recoil.c
►
RecoilBase.c
►
RemotePlayerDebug
►
SceneEditor
►
ShockHitReaction
►
SoundEvents
►
SoundHandlers
►
TransmissionAgents
►
UserActionsComponent
►
VirtualHud
►
Weapons
►
Worlds
►
BloodyHands.c
►
CameraShake.c
ContextMenu.c
►
CorpseData.c
►
CraftingManager.c
►
DebugMonitorValues.c
►
EmoteConstructor.c
►
EmoteManager.c
►
Explosion.c
►
HeatComfortAnimHandler.c
►
Hologram.c
►
InjuryHandler.c
IntroSceneCharacter.c
►
InventoryActionHandler.c
►
KeyBinding.c
►
KuruShake.c
►
LifespanLevel.c
►
MeleeTargeting.c
►
MessageReceiverBase.c
►
MissionBaseWorld.c
►
MouseBinding.c
►
MouseButtonInfo.c
►
NutritionalProfile.c
►
PlayerLightManager.c
►
PlayerStomach.c
►
PropertyModifiers.c
►
QuickBarBase.c
►
RainProcurementComponent.c
►
RainProcurementHandler.c
►
RainProcurementManager.c
►
RandomGeneratorSyncManager.c
►
ShockHandler.c
►
SoftSkillsManager.c
►
SqfDebugWatcher.c
►
StaminaHandler.c
►
StaminaModifierData.c
►
StaminaSoundHandler.c
►
StanceIndicator.c
►
ToggleSelections.c
TransferValues.c
►
UndergroundHandlerClient.c
►
WeaponDebug.c
►
WrittenNoteData.c
►
Entities
►
Plugins
►
Static
►
Systems
entities.c
►
5_Mission
►
editor
►
config.cpp
staticDefinesDoc.c
►
File Members
►
Examples
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Loading...
Searching...
No Matches
Izh18ShotgunRecoil.c
Go to the documentation of this file.
1
class
Izh18ShotgunRecoil
:
RecoilBase
2
{
3
override
void
Init
()
4
{
5
vector
point_1
;
6
vector
point_2
;
7
vector
point_3
;
8
vector
point_4
;
9
point_1
[0] =
m_Player
.GetRandomGeneratorSyncManager().GetRandomInRange(
RandomGeneratorSyncUsage
.RGSRecoil, 1.5, 2);
point_1
[1] = 5;
point_1
[2] = 0;
10
point_2
[0] =
m_Player
.GetRandomGeneratorSyncManager().GetRandomInRange(
RandomGeneratorSyncUsage
.RGSRecoil, -0.5, 0.5);
point_2
[1] = 6;
point_2
[2] = 0;
11
point_3
[0] =
m_Player
.GetRandomGeneratorSyncManager().GetRandomInRange(
RandomGeneratorSyncUsage
.RGSRecoil, -1.5, -2);
point_3
[1] = 2;
point_3
[2] = 0;
12
point_4
[0] =
m_Player
.GetRandomGeneratorSyncManager().GetRandomInRange(
RandomGeneratorSyncUsage
.RGSRecoil, -0.75, -0.25);
point_4
[1] = 0.75;
point_4
[2] = 0;
13
m_HandsCurvePoints
.Insert(
point_1
);
//forms a 2 dimensional spline(z is ignored)
14
m_HandsCurvePoints
.Insert(
point_2
);
15
m_HandsCurvePoints
.Insert(
point_3
);
16
m_HandsCurvePoints
.Insert(
point_4
);
17
m_HandsCurvePoints
.Insert(
"0 0 0"
);
18
m_HandsOffsetRelativeTime
= 0.125;
19
20
m_MouseOffsetRangeMin
= 70;
//in degrees min
21
m_MouseOffsetRangeMax
= 110;
//in degrees max
22
m_MouseOffsetDistance
= 3.5;
//how far should the mouse travel
23
m_MouseOffsetRelativeTime
= 0.0625;
//0.03;//[0..1] a time it takes to move the mouse the required distance relative to the reload time of the weapon(firing mode)
24
25
m_CamOffsetDistance
= 0.05;
26
m_CamOffsetRelativeTime
= 0.125;
27
}
3
override
void
Init
() {
…
}
28
}
1
class
Izh18ShotgunRecoil
:
RecoilBase
{
…
};
RandomGeneratorSyncUsage
RandomGeneratorSyncUsage
Definition
RandomGeneratorSyncManager.c:2
Izh18ShotgunRecoil
Definition
Izh18ShotgunRecoil.c:2
Izh18ShotgunRecoil::Init
override void Init()
Definition
Izh18ShotgunRecoil.c:3
Param3
Definition
EntityAI.c:95
RecoilBase
Definition
RecoilBase.c:2
RecoilBase::m_CamOffsetRelativeTime
float m_CamOffsetRelativeTime
Definition
RecoilBase.c:17
RecoilBase::m_CamOffsetDistance
float m_CamOffsetDistance
Definition
RecoilBase.c:18
RecoilBase::m_MouseOffsetDistance
float m_MouseOffsetDistance
Definition
RecoilBase.c:19
RecoilBase::m_Player
PlayerBase m_Player
Definition
RecoilBase.c:6
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
vector
Definition
EnConvert.c:106
scripts
4_World
Classes
RecoilBase
Recoils
Izh18ShotgunRecoil.c
Generated by
1.10.0