DayZ
1.24
Loading...
Searching...
No Matches
PluginDayzPlayerDebug.c
Go to the documentation of this file.
1
// *************************************************************************************
2
// ! PluginDayzPlayerDebugUserData
3
// *************************************************************************************
4
class
PluginDayzPlayerDebugUserData
5
{
6
void
PluginDayzPlayerDebugUserData
(
string
name
,
int
category
,
int
pUserData
,
bool
pFullBody
,
int
pStanceMask
= -1)
7
{
8
m_iUserData
=
pUserData
;
//animation CMD id
9
m_bIsFullBody
=
pFullBody
;
10
m_iStanceMask
=
pStanceMask
;
11
m_Category
=
category
;
//pType
12
m_Name
=
name
;
13
}
14
15
int
GetInt
()
16
{
17
return
m_iUserData
;
18
}
19
20
bool
IsFullBody
()
21
{
22
return
m_bIsFullBody
;
23
}
24
25
int
GetStanceMask
()
26
{
27
return
m_iStanceMask
;
28
}
29
30
int
GetCategory
()
31
{
32
return
m_Category
;
33
}
34
35
string
GetName
()
36
{
37
return
m_Name
;
38
}
39
string
GetNameUnique
()
40
{
41
return
m_Name
+
"|"
+
GetCategory
();
42
}
43
44
protected
int
m_iUserData
;
45
protected
bool
m_bIsFullBody
;
46
protected
int
m_iStanceMask
;
47
protected
int
m_Category
;
48
protected
string
m_Name
;
49
}
50
51
// *************************************************************************************
52
// ! PluginDayzPlayerDebugUI
53
// *************************************************************************************
54
class
PluginDayzPlayerDebugUIHandler
extends
ScriptedWidgetEventHandler
55
{
56
override
bool
OnClick
(
Widget
w
,
int
x
,
int
y
,
int
button
)
57
{
58
super
.OnClick(
w
,
x
,
y
,
button
);
59
return
m_pPluginPlayerDebug
.OnClick(
w
,
x
,
y
,
button
);
60
}
61
62
override
bool
OnChange
(
Widget
w
,
int
x
,
int
y
,
bool
finished
)
63
{
64
super
.OnChange(
w
,
x
,
y
,
finished
);
65
return
m_pPluginPlayerDebug
.OnChange(
w
,
x
,
y
,
finished
);
66
}
67
68
override
bool
OnMouseEnter
(
Widget
w
,
int
x
,
int
y
)
69
{
70
super
.OnMouseEnter(
w
,
x
,
y
);
71
GetGame
().GetMission().AddActiveInputExcludes({
"menu"
});
72
return
true
;
73
74
}
75
76
override
bool
OnMouseLeave
(
Widget
w
,
Widget
enterW
,
int
x
,
int
y
)
77
{
78
super
.OnMouseLeave(
w
,
enterW
,
x
,
y
);
79
GetGame
().GetMission().RemoveActiveInputExcludes({
"menu"
},
true
);
80
return
true
;
81
}
82
83
PluginDayzPlayerDebug
m_pPluginPlayerDebug
;
84
}
85
86
87
// *************************************************************************************
88
// ! PluginDayzPlayerDebugUI
89
// *************************************************************************************
90
class
PluginDayzPlayerActionCallback
extends
HumanCommandActionCallback
91
{
92
protected
static
ref
set<string>
m_AnimEventMapping
;
93
void
PluginDayzPlayerActionCallback
()
94
{
95
96
//Print("Action callback created");
97
EnableCancelCondition
(
true
);
98
//RegisterAnimationEvent("ActionExec", 1); // really weird id
99
100
if
(!m_AnimEventMapping)
//making sure to only do once
101
{
102
m_AnimEventMapping =
new
set<string>
();
103
m_AnimEventMapping.Insert(
"ActionExec"
);
104
m_AnimEventMapping.Insert(
"SoundWeapon"
);
105
m_AnimEventMapping.Insert(
"SoundVoice"
);
106
m_AnimEventMapping.Insert(
"SoundAttachment"
);
107
m_AnimEventMapping.Insert(
"Sound"
);
108
}
109
110
111
foreach
(
int
index
,
string
eventName
: m_AnimEventMapping)
112
RegisterAnimationEvent
(
eventName
,
index
);
113
114
EnableStateChangeCallback
();
// enable this to get OnStateChange callbacks
115
116
m_fTimeStart =
GetWorldTime
();
117
}
118
119
void
~PluginDayzPlayerActionCallback
()
120
{
121
//Print("Action callback deleted");
122
}
123
124
override
void
OnFinish
(
bool
pCanceled
)
125
{
126
if
(
pCanceled
)
127
m_pStateWidget.SetText(
"Result: canceled"
);
128
else
129
m_pStateWidget.SetText(
"Result: ended"
);
130
}
131
132
133
bool
CancelCondition
()
134
{
135
// Print("Action cancel condition");
136
return
DefaultCancelCondition
();
137
}
138
139
override
void
OnAnimationEvent
(
int
pEventID
)
140
{
141
142
//Print(pEventID);
143
//Print("--------------------------------");
144
// only one event id is registered - 1 so nothing else can be delivered
145
string
eventName
= m_AnimEventMapping.Get(
pEventID
);
146
string
eventText
=
eventName
+
" event at: "
;
147
float
tFromSt
=
GetWorldTime
() -
m_fTimeStart
;
148
149
eventText
+=
tFromSt
.ToString();
150
m_EventsHistory
.AddItem(
eventText
,
null
, 0);
151
m_pAnimEventWidget.SetText(
eventText
);
152
}
153
154
override
void
OnStateChange
(
int
pOldState
,
int
pCurrentState
)
155
{
156
string
oldState
=
GetStateString
(
pOldState
);
157
string
newState
=
GetStateString
(
pCurrentState
);
158
159
m_pStateWidget.SetText(
oldState
+
"->"
+
newState
);
160
};
161
162
164
float
m_fTimeStart
;
165
TextWidget
m_pStateWidget
;
166
TextWidget
m_pAnimEventWidget
;
167
TextListboxWidget
m_EventsHistory
;
168
}
169
170
171
// *************************************************************************************
172
// ! PluginDayzPlayerDebug
173
// *************************************************************************************
174
class
PluginDayzPlayerDebug
extends
PluginBase
175
{
176
private
const
int
TYPE_MOD_LOOPING
= 0;
177
private
const
int
TYPE_MOD_ONETIME
= 1;
178
private
const
int
TYPE_FB_LOOPING
= 2;
179
private
const
int
TYPE_FB_ONETIME
= 3;
180
181
private
const
int
TYPE_MOD_GESTURE_LOOPING
= 4;
182
private
const
int
TYPE_MOD_GESTURE_ONETIME
= 5;
183
private
const
int
TYPE_FB_GESTURE_LOOPING
= 6;
184
private
const
int
TYPE_FB_GESTURE_ONETIME
= 7;
185
private
const
int
TYPE_FB_SUICIDE_LOOPING
=
TYPE_FB_GESTURE_LOOPING
;
186
187
private
const
int
TYPE_ALL
= -1;
188
189
190
ref
Timer
m_TickTimer
;
191
192
protected
ref
array<ref PluginDayzPlayerDebugUserData>
m_AnimationList
=
new
array<ref PluginDayzPlayerDebugUserData>
();
193
protected
ref
map<string, ref PluginDayzPlayerDebugUserData>
m_AnimationListMappings
=
new
map<string, ref PluginDayzPlayerDebugUserData>
();
194
protected
ref
map<int, string>
m_TypeNameMappings
=
new
map<int, string>
();
195
196
bool
m_IsActive
=
false
;
197
bool
m_HasFocus
=
false
;
198
bool
m_HasServerWalk
=
false
;
199
200
Widget
m_MainWnd
;
201
Widget
m_Card0
;
202
Widget
m_Card1
;
203
Widget
m_Card2
;
204
Widget
m_Card3
;
205
Widget
m_Card4
;
206
ButtonWidget
m_Card0Button
;
207
ButtonWidget
m_Card1Button
;
208
ButtonWidget
m_Card2Button
;
209
ButtonWidget
m_Card3Button
;
210
ButtonWidget
m_Card4Button
;
211
212
213
EditBoxWidget
m_PlayerStatusV
;
214
TextListboxWidget
m_ActionsSelector
;
215
ButtonWidget
m_ActionsStart
;
216
ButtonWidget
m_ActionsEnd
;
217
ButtonWidget
m_ActionsFinish
;
218
ButtonWidget
m_ActionsCancel
;
219
ButtonWidget
m_ActionsOTA
;
220
ButtonWidget
m_ActionsOTL
;
221
TextWidget
m_ActionStateV
;
222
TextWidget
m_ActionEventV
;
223
TextWidget
m_ActionsGlobalStatus
;
224
225
EditBoxWidget
m_ActionsFilter
;
226
227
ButtonWidget
m_PlayerSyncCreateShadow
;
228
ButtonWidget
m_PlayerSyncDelete
;
229
ButtonWidget
m_PlayerServerWalk
;
230
231
TextWidget
m_ItemAccClass
;
232
TextWidget
m_ItemAccSClass
;
233
TextWidget
m_ItemAccInst
;
234
235
ButtonWidget
m_ActionTypeAll
;
236
ButtonWidget
m_ActionTypeLA
;
237
ButtonWidget
m_ActionTypeOA
;
238
ButtonWidget
m_ActionTypeFLA
;
239
ButtonWidget
m_ActionTypeFOA
;
240
ButtonWidget
m_ActionTypeLG
;
241
ButtonWidget
m_ActionTypeOG
;
242
ButtonWidget
m_ActionTypeFLG
;
243
ButtonWidget
m_ActionTypeFOG
;
244
245
246
ButtonWidget
m_ClearEventsButton
;
247
248
TextListboxWidget
m_EventsHistory
;
249
250
ref
PluginDayzPlayerDebugUIHandler
m_pUIHandler
;
251
252
Entity
m_pPlayerShadow
;
253
254
protected
int
m_CurrentType
;
255
256
// command handler properties
257
bool
m_CH_ActionStart
=
false
;
258
int
m_CH_ActionCommand
= -1000;
259
bool
m_CH_ActionCancel
=
false
;
260
261
262
ref
PluginDayzPlayerDebug_Weapons
m_Weapons
;
263
ref
PluginDayzPlayerDebug_Ctrl
m_Controls
;
264
ref
PluginDayzPlayerDebug_OtherCmds
m_OtherCmds
;
265
266
//---------------------------------------------------
267
// gui stuff
268
269
void
PluginDayzPlayerDebug
()
270
{
271
RegisterAnimations
();
272
CreateTypeNameMapping
();
273
274
275
#ifndef NO_GUI
276
CreateModuleWidgets
();
277
m_Weapons
=
new
PluginDayzPlayerDebug_Weapons
(
m_Card1
);
278
m_Controls
=
new
PluginDayzPlayerDebug_Ctrl
(
m_Card2
);
279
m_OtherCmds
=
new
PluginDayzPlayerDebug_OtherCmds
(
m_Card3
);
280
#endif
281
282
283
//m_TypeNameMappings.Insert(TYPE_FB_SUICIDE_LOOPING, "TYPE_FB_SUICIDE_LOOPING");
284
285
}
286
287
void
CreateTypeNameMapping
()
288
{
289
m_TypeNameMappings
.Insert(
TYPE_MOD_LOOPING
,
"MOD_LOOPING"
);
290
m_TypeNameMappings
.Insert(
TYPE_MOD_ONETIME
,
"MOD_ONETIME"
);
291
m_TypeNameMappings
.Insert(
TYPE_FB_LOOPING
,
"FB_LOOPING"
);
292
m_TypeNameMappings
.Insert(
TYPE_FB_ONETIME
,
"FB_ONETIME"
);
293
m_TypeNameMappings
.Insert(
TYPE_MOD_GESTURE_LOOPING
,
"MOD_GESTURE_LOOPING"
);
294
m_TypeNameMappings
.Insert(
TYPE_MOD_GESTURE_ONETIME
,
"MOD_GESTURE_ONETIME"
);
295
m_TypeNameMappings
.Insert(
TYPE_FB_GESTURE_LOOPING
,
"FB_GESTURE_LOOPING"
);
296
m_TypeNameMappings
.Insert(
TYPE_FB_GESTURE_ONETIME
,
"FB_GESTURE_ONETIME"
);
297
}
298
299
300
void
~PluginDayzPlayerDebug
()
301
{
302
ReleaseFocus
();
303
304
PlayerSyncDelete
();
305
306
#ifndef NO_GUI
307
m_Weapons
=
NULL
;
308
m_Controls
=
NULL
;
309
m_OtherCmds
=
NULL
;
310
DestroyModuleWidgets
();
311
#endif
312
}
313
314
315
void
RegisterDebugItem
(
ItemBase
item
,
PlayerBase
player
)
316
{
317
}
318
319
320
bool
IsActive
()
321
{
322
return
m_IsActive
;
323
}
324
325
void
ShowWidgets
(
bool
show)
326
{
327
if
(
m_MainWnd
)
328
m_MainWnd
.Show(show);
329
}
330
332
void
Show
()
333
{
334
ShowWidgets
(
true
);
335
m_IsActive
=
true
;
336
337
if
(!
m_TickTimer
)
338
{
339
m_TickTimer
=
new
Timer
();
340
m_TickTimer
.Run(0.1,
this
,
"Tick"
,
NULL
,
true
);
341
}
342
}
343
345
void
Hide
()
346
{
347
ShowWidgets
(
false
);
348
m_IsActive
=
false
;
349
350
m_TickTimer
=
NULL
;
351
}
352
354
void
CaptureFocus
()
355
{
356
if
(!
m_HasFocus
)
357
{
358
GetGame
().GetInput().ChangeGameFocus(1);
359
GetGame
().GetUIManager().ShowUICursor(
true
);
360
m_HasFocus
=
true
;
361
}
362
}
363
365
void
ReleaseFocus
()
366
{
367
if
(
m_HasFocus
)
368
{
369
GetGame
().GetInput().ChangeGameFocus(-1);
370
GetGame
().GetUIManager().ShowUICursor(
false
);
371
m_HasFocus
=
false
;
372
}
373
}
374
375
int
m_CurrentMode
= 0;
376
378
void
ToggleDebugWindowEvent
()
379
{
380
m_CurrentMode
++;
381
if
(
m_CurrentMode
> 2)
382
m_CurrentMode
= 0;
383
384
ToggleDebugWindowSetMode
(
m_CurrentMode
);
385
}
386
387
389
void
ToggleDebugWindowEventOld
()
390
{
394
395
if
(
m_IsActive
&& !
m_HasFocus
)
396
Hide
();
397
else
398
{
399
Show
();
400
ReleaseFocus
();
401
}
402
}
403
404
405
void
ToggleDebugWindowEventP
()
406
{
410
411
if
(
m_IsActive
&&
m_HasFocus
)
412
{
413
Hide
();
414
ReleaseFocus
();
415
}
416
else
417
{
418
Show
();
419
CaptureFocus
();
420
}
421
}
422
423
424
void
ToggleDebugWindowSetMode
(
int
pMode
)
425
{
426
switch
(
pMode
)
427
{
428
case
0:
Hide
();
ReleaseFocus
();
break
;
429
case
1:
Show
();
ReleaseFocus
();
break
;
430
case
2:
Show
();
CaptureFocus
();
break
;
431
}
432
}
433
434
void
CreateModuleWidgets
()
435
{
436
if
(!
m_pUIHandler
)
437
{
438
m_pUIHandler
=
new
PluginDayzPlayerDebugUIHandler
();
439
m_pUIHandler
.m_pPluginPlayerDebug =
this
;
440
}
441
442
if
(!
m_MainWnd
)
443
{
444
m_MainWnd
=
GetGame
().GetWorkspace().CreateWidgets(
"gui/layouts/debug/day_z_playerdebug.layout"
);
445
m_MainWnd
.SetHandler(
m_pUIHandler
);
446
m_MainWnd
.Show(
false
);
447
}
448
449
m_Card0
=
m_MainWnd
.FindAnyWidget(
"Card0"
);
450
m_Card1
=
m_MainWnd
.FindAnyWidget(
"Card1"
);
451
m_Card2
=
m_MainWnd
.FindAnyWidget(
"Card2"
);
452
m_Card3
=
m_MainWnd
.FindAnyWidget(
"Card3"
);
453
m_Card4
=
m_MainWnd
.FindAnyWidget(
"Card4"
);
454
m_Card0Button
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"Card0Button"
));
455
m_Card1Button
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"Card1Button"
));
456
m_Card2Button
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"Card2Button"
));
457
m_Card3Button
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"Card3Button"
));
458
m_Card4Button
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"Card4Button"
));
459
460
461
m_PlayerStatusV
=
EditBoxWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"PlayerStatusV"
));
462
m_ActionsSelector
=
TextListboxWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsSelector"
));
463
m_ActionsStart
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsStart"
));
464
m_ActionsEnd
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsEnd"
));
465
m_ActionsFinish
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsFinish"
));
466
m_ActionsCancel
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsCancel"
));
467
m_ActionsOTA
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsOTA"
));
468
m_ActionsOTL
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsOTL"
));
469
m_ActionStateV
=
TextWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionStateV"
));
470
m_ActionEventV
=
TextWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionEventV"
));
471
m_ActionsGlobalStatus
=
TextWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionGlobalStatus"
));
472
473
474
m_ActionsFilter
=
EditBoxWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"FilterField"
));
475
476
m_PlayerSyncCreateShadow
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"PlayerSyncCreate"
));
477
m_PlayerSyncDelete
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"PlayerSyncDelete"
));
478
m_PlayerServerWalk
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"PlayerServerWalk"
));
479
480
m_ItemAccClass
=
TextWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ItemAccessClass"
));
481
m_ItemAccSClass
=
TextWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ItemAccessSClass"
));
482
m_ItemAccInst
=
TextWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ItemAccessInst"
));
483
484
m_ActionTypeAll
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupALL"
));
485
m_ActionTypeLA
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupLA"
));
486
m_ActionTypeOA
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupOA"
));
487
m_ActionTypeFLA
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupFLA"
));
488
m_ActionTypeFOA
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupFOA"
));
489
m_ActionTypeLG
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupLG"
));
490
m_ActionTypeOG
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupOG"
));
491
m_ActionTypeFLG
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupFLG"
));
492
m_ActionTypeFOG
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ActionsGroupFOG"
));
493
494
495
m_EventsHistory
=
TextListboxWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"EventHistory"
));
496
m_ClearEventsButton
=
ButtonWidget
.Cast(
m_MainWnd
.FindAnyWidget(
"ClearButton"
));
497
498
DisplayActions
(-1);
499
500
ShowCard
(0);
501
502
// m_DebugAgentListWidget = m_DebugRootWidget.FindAnyWidget("w_Agents");
503
// m_DebugFloatsListWidget = m_DebugRootWidget.FindAnyWidget("w_Floats");
504
// m_DebugStringsListWidget = m_DebugRootWidget.FindAnyWidget("w_Strings");
505
// m_DebugFloatsProperListWidget = m_DebugRootWidget.FindAnyWidget("w_FloatsProper");
506
// m_ItemPreviewWidget = m_DebugRootWidget.FindAnyWidget("w_ItemPreview");
507
// m_ClassNameWidget = m_DebugRootWidget.FindAnyWidget("w_ClassName");
508
}
509
510
void
DestroyModuleWidgets
()
511
{
512
delete
m_MainWnd
;
513
}
514
515
516
void
ShowCard
(
int
pCard
)
517
{
518
m_Card0
.Show(
pCard
== 0);
519
m_Card1
.Show(
pCard
== 1);
520
m_Card2
.Show(
pCard
== 2);
521
m_Card3
.Show(
pCard
== 3);
522
m_Card4
.Show(
pCard
== 4);
523
}
524
525
526
//---------------------------------------------------
527
// main update
528
529
530
void
Tick
()
531
{
532
DayZPlayer
player
=
DayZPlayer
.Cast(
GetGame
().
GetPlayer
());
533
if
(!
player
)
534
return
;
535
536
// Print("PluginDayzPlayerDebug tick");
537
UpdatePlayerStatus
(
player
);
538
539
// DbgShowBoneName(player);
540
UpdateCommandModifiers
(
player
);
541
543
UpdateItemAccessor
(
player
);
544
545
m_Weapons
.Tick();
546
}
547
548
549
//---------------------------------------------------
550
// Player main
551
552
553
void
UpdatePlayerStatus
(
DayZPlayer
pPlayer
)
554
{
555
556
ref
HumanMovementState
state
=
new
HumanMovementState
();
557
558
559
pPlayer
.GetMovementState(
state
);
560
561
string
a =
"Cmd:"
;
562
563
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_MOVE)
564
{
565
a +=
"MOVE:"
;
566
a +=
" st:"
+
state
.m_iStanceIdx.ToString() +
", mv:"
+
state
.m_iMovement.ToString();
567
}
568
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_ACTION)
569
{
570
a +=
"FB ACTION:"
;
571
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
572
}
573
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_MELEE)
574
{
575
a +=
"MELEE:"
;
576
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
577
}
578
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_MELEE2)
579
{
580
a +=
"MELEE2:"
;
581
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
582
}
583
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_FALL)
584
{
585
a +=
"FALL:"
;
586
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
587
}
588
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_DEATH)
589
{
590
a +=
"now DEAD:"
;
591
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
592
}
593
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_LADDER)
594
{
595
a +=
"LADDER:"
;
596
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
597
}
598
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_UNCONSCIOUS)
599
{
600
a +=
"Unconscious:"
;
601
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
602
}
603
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_SWIM)
604
{
605
a +=
"Swimming:"
;
606
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
607
}
608
else
if
(
state
.m_CommandTypeId ==
DayZPlayerConstants
.COMMANDID_CLIMB)
609
{
610
a +=
"Climbing:"
;
611
a +=
" st:"
+
state
.m_iStanceIdx.ToString();
612
}
613
else
614
a +=
"UNKNOWN"
;
615
616
m_PlayerStatusV
.SetText(a);
617
}
618
619
620
void
DbgShowBoneName
(
DayZPlayer
pPlayer
)
621
{
622
int
boneIndex
=
pPlayer
.GetBoneIndexByName(
"Head"
);
623
624
// vector pos = pPlayer.GetBonePositionMS(boneIndex);
625
vector
tm
[4];
626
627
pPlayer
.GetBoneTransformMS(
boneIndex
,
tm
);
628
629
630
string
a =
"Bone index:"
;
631
a +=
boneIndex
.ToString();
632
a +=
","
;
633
a +=
tm
.ToString();
634
Print
(a);
635
}
636
637
638
void
UpdateCommandModifiers
(
DayZPlayer
pPlayer
)
639
{
640
Actions_UpdateGlobals
(
pPlayer
);
641
642
// int nMods = pPlayer.GetCommandModifierCount();
643
// Print("Number of modifiers");
644
// Print(nMods);
645
646
/*
647
for (int i = 0; i < nMods; i ++)
648
{
649
// int a = pPlayer.GetCommandModifierId(i);
650
651
if (pPlayer.GetCommandModifierId(i) == DayZPlayerConstants.COMMANDID_MOD_ACTION)
652
{
653
}
654
655
// Print(a);
656
657
}
658
*/
659
660
HumanCommandActionCallback
clbk
=
pPlayer
.GetCommandModifier_Action();
661
if
(
clbk
)
662
Print
(
clbk
);
663
;
664
}
665
666
667
//---------------------------------------------------
668
// Actions
669
670
void
DisplayActions
(
int
pType
)
671
{
672
m_CurrentType
=
pType
;
673
TStringArray
sortedNames
=
new
TStringArray
();
674
m_ActionsSelector
.ClearItems();
675
string
filterTextLower
=
m_ActionsFilter
.GetText();
676
filterTextLower
.ToLower();
677
678
TStringArray
filterTokens
=
new
TStringArray
;
679
filterTextLower
.Split(
" "
,
filterTokens
);
680
681
foreach
(
PluginDayzPlayerDebugUserData
dta
:
m_AnimationList
)
682
{
683
string
nameLower
=
dta
.GetName();
684
nameLower
.ToLower();
685
bool
add
=
false
;
686
if
(
pType
== -1 ||
pType
==
dta
.GetCategory())
687
{
688
if
(
filterTextLower
)
689
{
690
foreach
(
string
token
:
filterTokens
)
691
{
692
if
(
nameLower
.Contains(
token
))
693
add
=
true
;
694
}
695
}
696
else
697
add
=
true
;
698
}
699
if
(
add
)
700
sortedNames
.Insert(
dta
.GetNameUnique());
701
}
702
sortedNames
.Sort();
703
foreach
(
int
i
,
string
sortedNameUnique
:
sortedNames
)
704
{
705
PluginDayzPlayerDebugUserData
data
=
m_AnimationListMappings
.Get(
sortedNameUnique
);
706
string
sortedName
=
data
.GetName();
707
string
typeName
;
708
709
if
(
m_TypeNameMappings
.Contains(
data
.GetCategory()))
710
typeName
=
m_TypeNameMappings
.Get(
data
.GetCategory());
711
712
m_ActionsSelector
.AddItem(
sortedName
,
data
, 0,
i
);
713
if
(
typeName
)
714
m_ActionsSelector
.SetItem(
i
,
typeName
,
null
, 1);
715
}
716
}
717
718
720
void
Actions_Start
()
721
{
722
int
row
=
m_ActionsSelector
.GetSelectedRow();
723
if
(
row
== -1)
724
return
;
725
727
DayZPlayer
player
=
DayZPlayer
.Cast(
GetGame
().
GetPlayer
());
728
if
(!
player
)
729
return
;
730
731
PluginDayzPlayerDebugUserData
userData
;
732
m_ActionsSelector
.GetItemData(
row
, 0,
userData
);
733
735
PluginDayzPlayerActionCallback a;
736
737
if
(
userData
.IsFullBody())
738
a = PluginDayzPlayerActionCallback.Cast(
player
.StartCommand_Action(
userData
.GetInt(), PluginDayzPlayerActionCallback,
userData
.GetStanceMask()));
739
else
740
a = PluginDayzPlayerActionCallback.Cast(
player
.AddCommandModifier_Action(
userData
.GetInt(), PluginDayzPlayerActionCallback));
741
m_ActionEventV
.SetText(
""
);
742
a.m_pStateWidget =
m_ActionStateV
;
743
a.m_pAnimEventWidget =
m_ActionEventV
;
744
a.m_EventsHistory =
m_EventsHistory
;
745
746
Print
(
m_ActionStateV
);
747
m_ActionStateV
.SetText(
"Crash Test"
);
748
}
749
751
void
Actions_DoInternalCommand
(
int
pCommandId
)
752
{
754
DayZPlayer
player
=
DayZPlayer
.Cast(
GetGame
().
GetPlayer
());
755
if
(!
player
)
756
return
;
757
758
HumanCommandActionCallback
clbk
=
player
.GetCommand_Action();
759
if
(!
clbk
)
760
{
761
clbk
=
player
.GetCommandModifier_Action();
762
if
(!
clbk
)
763
return
;
764
}
765
766
clbk
.InternalCommand(
pCommandId
);
767
}
768
770
void
Actions_DoCancel
()
771
{
773
DayZPlayer
player
=
DayZPlayer
.Cast(
GetGame
().
GetPlayer
());
774
if
(!
player
)
775
return
;
776
777
HumanCommandActionCallback
clbk
=
player
.GetCommand_Action();
778
if
(!
clbk
)
779
{
780
clbk
=
player
.GetCommandModifier_Action();
781
if
(!
clbk
)
782
return
;
783
}
784
clbk
.Cancel();
785
}
786
787
789
void
Actions_UpdateGlobals
(
DayZPlayer
pPlayer
)
790
{
791
HumanCommandActionCallback
clbk
=
pPlayer
.GetCommandModifier_Action();
792
if
(!
clbk
)
793
m_ActionsGlobalStatus
.SetText(
"No Action"
);
794
795
m_ActionsGlobalStatus
.SetText(
clbk
.ToString());
796
}
797
798
800
801
802
void
PlayerSyncCreate
()
803
{
804
PlayerSyncDelete
();
805
806
vector
item_position
=
GetGame
().GetPlayer().GetPosition() + (
GetGame
().GetPlayer().GetDirection() * 2.0);
807
808
m_pPlayerShadow
=
Entity
.Cast(
GetGame
().CreateObject(
"SurvivorM_Mirek"
,
item_position
,
false
,
false
));
809
810
DayZPlayer
pl
=
DayZPlayer
.Cast(
GetGame
().GetPlayer());
811
pl
.DebugSyncShadowSetup(
DayZPlayer
.Cast(
m_pPlayerShadow
));
812
}
813
814
void
PlayerSyncDelete
()
815
{
816
if
(
m_pPlayerShadow
)
817
{
818
GetGame
().ObjectDelete(
m_pPlayerShadow
);
819
m_pPlayerShadow
=
NULL
;
820
}
821
822
DayZPlayer
pl
=
DayZPlayer
.Cast(
GetGame
().
GetPlayer
());
823
if
(
pl
)
824
pl
.DebugSyncShadowSetup(
NULL
);
825
826
}
827
828
829
//---------------------------------------------------
830
// item accessor
831
832
void
UpdateItemAccessor
(
DayZPlayer
pPlayer
)
833
{
834
m_ItemAccClass
.SetText(
pPlayer
.DebugGetItemClass());
835
m_ItemAccSClass
.SetText(
pPlayer
.DebugGetItemSuperClass());
836
m_ItemAccInst
.SetText(
pPlayer
.DebugGetItemAnimInstance());
837
}
838
839
840
//---------------------------------------------------
841
// window ui clicks
842
844
bool
OnClick
(
Widget
w
,
int
x
,
int
y
,
int
button
)
845
{
846
if
(
w
==
m_Card0Button
)
847
ShowCard
(0);
848
else
if
(
w
==
m_Card1Button
)
849
ShowCard
(1);
850
else
if
(
w
==
m_Card2Button
)
851
ShowCard
(2);
852
else
if
(
w
==
m_Card3Button
)
853
ShowCard
(3);
854
else
if
(
w
==
m_Card4Button
)
855
ShowCard
(4);
856
857
else
if
(
w
==
m_ClearEventsButton
)
858
m_EventsHistory
.ClearItems();
859
else
if
(
w
==
m_ActionsStart
)
860
{
861
Print
(
"PluginPlayerDebug: Action Start"
);
862
m_CH_ActionStart
=
true
;
863
return
true
;
864
}
865
else
if
(
w
==
m_ActionsEnd
)
866
{
867
Print
(
"PluginPlayerDebug: Action End"
);
868
m_CH_ActionCommand
=
DayZPlayerConstants
.CMD_ACTIONINT_END;
869
return
true
;
870
}
871
else
if
(
w
==
m_ActionsFinish
)
872
{
873
Print
(
"PluginPlayerDebug: Action Finish"
);
874
m_CH_ActionCommand
=
DayZPlayerConstants
.CMD_ACTIONINT_FINISH;
875
return
true
;
876
}
877
else
if
(
w
==
m_ActionsOTA
)
878
{
879
Print
(
"PluginPlayerDebug: Action One Time Action"
);
880
m_CH_ActionCommand
=
DayZPlayerConstants
.CMD_ACTIONINT_ACTION;
881
return
true
;
882
}
883
else
if
(
w
==
m_ActionsOTL
)
884
{
885
Print
(
"PluginPlayerDebug: Action Loop"
);
886
m_CH_ActionCommand
=
DayZPlayerConstants
.CMD_ACTIONINT_ACTIONLOOP;
887
return
true
;
888
}
889
else
if
(
w
==
m_ActionsCancel
)
890
{
891
Print
(
"PluginPlayerDebug: Action Cancel"
);
892
m_CH_ActionCancel
=
true
;
893
return
true
;
894
}
895
else
if
(
w
==
m_PlayerSyncCreateShadow
)
896
{
897
PlayerSyncCreate
();
898
return
true
;
899
}
900
else
if
(
w
==
m_PlayerSyncDelete
)
901
{
902
PlayerSyncDelete
();
903
return
true
;
904
}
905
else
if
(
w
==
m_PlayerServerWalk
)
906
{
908
m_HasServerWalk
= !
m_HasServerWalk
;
909
#ifdef DEVELOPER
910
Param1<bool>
rp
=
new
Param1<bool>
(
m_HasServerWalk
);
911
GetGame
().RPCSingleParam(
GetGame
().
GetPlayer
(),
ERPCs
.RPC_DAYZPLAYER_DEBUGSERVERWALK,
rp
,
true
);
912
#endif
913
}
914
else
if
(
w
==
m_ActionTypeLA
)
915
DisplayActions
(
TYPE_MOD_LOOPING
);
916
else
if
(
w
==
m_ActionTypeOA
)
917
DisplayActions
(
TYPE_MOD_ONETIME
);
918
else
if
(
w
==
m_ActionTypeFLA
)
919
DisplayActions
(
TYPE_FB_LOOPING
);
920
else
if
(
w
==
m_ActionTypeFOA
)
921
DisplayActions
(
TYPE_FB_ONETIME
);
922
else
if
(
w
==
m_ActionTypeLG
)
923
DisplayActions
(
TYPE_MOD_GESTURE_LOOPING
);
924
else
if
(
w
==
m_ActionTypeOG
)
925
DisplayActions
(
TYPE_MOD_GESTURE_ONETIME
);
926
else
if
(
w
==
m_ActionTypeFLG
)
927
DisplayActions
(
TYPE_FB_GESTURE_LOOPING
);
928
else
if
(
w
==
m_ActionTypeFOG
)
929
DisplayActions
(
TYPE_FB_GESTURE_ONETIME
);
930
else
if
(
w
==
m_ActionTypeAll
)
931
DisplayActions
(
TYPE_ALL
);
932
933
if
(
m_Weapons
.OnClick(
w
,
x
,
y
,
button
))
934
return
true
;
935
else
if
(
m_OtherCmds
.OnClick(
w
,
x
,
y
,
button
))
936
return
true
;
937
else
938
return
m_Controls
.OnClick(
w
,
x
,
y
,
button
);
939
}
940
941
bool
OnChange
(
Widget
w
,
int
x
,
int
y
,
bool
finished
)
942
{
943
if
(
w
==
m_ActionsFilter
)
944
DisplayActions
(
m_CurrentType
);
945
946
if
(
m_Controls
.OnChange(
w
,
x
,
y
,
finished
))
947
return
true
;
948
949
950
return
false
;
951
}
952
953
//---------------------------------------------------
954
// Global handler to handle commands from player
955
956
bool
IsWeaponChange
(
out
string
pNewWeapon
,
out
int
pHideSlot
,
out
int
pShowSlot
)
957
{
958
if
(
m_Weapons
)
959
m_Weapons
.IsWeaponChange(
pNewWeapon
,
pHideSlot
,
pShowSlot
);
960
961
return
false
;
962
}
963
964
965
//---------------------------------------------------
966
// Global handler to handle commands from player
967
968
void
CommandHandler
()
969
{
970
if
(
m_CH_ActionStart
)
971
{
972
Actions_Start
();
973
m_CH_ActionStart
=
false
;
974
}
975
976
if
(
m_CH_ActionCommand
!= -1000)
977
{
978
Actions_DoInternalCommand
(
m_CH_ActionCommand
);
979
m_CH_ActionCommand
= -1000;
980
}
981
982
if
(
m_CH_ActionCancel
)
983
{
984
Actions_DoCancel
();
985
m_CH_ActionCancel
=
false
;
986
}
987
988
if
(
m_Weapons
)
989
m_Weapons
.CommandHandler();
990
991
if
(
m_Controls
)
992
m_Controls
.CommandHandler();
993
994
if
(
m_OtherCmds
)
995
m_OtherCmds
.CommandHandler();
996
}
997
998
void
RegisterAnimation
(
string
name
,
int
category
,
int
pUserData
,
bool
pFullBody
,
int
pStanceMask
= -1)
999
{
1000
PluginDayzPlayerDebugUserData
data
=
new
PluginDayzPlayerDebugUserData
(
name
,
category
,
pUserData
,
pFullBody
,
pStanceMask
);
1001
m_AnimationList
.Insert(
data
);
1002
m_AnimationListMappings
.Insert(
data
.GetNameUnique(),
data
);
1003
}
1004
1005
void
RegisterAnimations
()
1006
{
1007
RegisterAnimation
(
"CLEAN HANDS BOTTLE"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_CLEANHANDSBOTTLE,
false
);
1008
RegisterAnimation
(
"DRINK"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_DRINK,
false
);
1009
RegisterAnimation
(
"EAT"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_EAT,
false
);
1010
RegisterAnimation
(
"EMPTY VESSEL"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_EMPTY_VESSEL,
false
);
1011
RegisterAnimation
(
"CATCH RAIN"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_CATCHRAIN,
false
);
1012
RegisterAnimation
(
"VIEW COMPASS"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_VIEWCOMPASS,
false
);
1013
RegisterAnimation
(
"ITEM TUNE"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_ITEM_TUNE,
false
);
1014
RegisterAnimation
(
"GIVE L ITEM"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_GIVEL,
false
);
1015
RegisterAnimation
(
"GIVE R ITEM"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_GIVER,
false
);
1016
RegisterAnimation
(
"SHAVE"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_SHAVE,
false
);
1017
RegisterAnimation
(
"FILL MAG"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_FILLMAG,
false
);
1018
RegisterAnimation
(
"EMPTY MAG"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_EMPTYMAG,
false
);
1019
RegisterAnimation
(
"OPEN ITEM"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_OPENITEM,
false
);
1020
RegisterAnimation
(
"TAKE TEMP SELF"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_TAKETEMPSELF,
false
);
1021
RegisterAnimation
(
"VIEW MAP"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_VIEWMAP,
false
);
1022
RegisterAnimation
(
"RAISE ITEM"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_RAISEITEM,
false
);
1023
RegisterAnimation
(
"SEARCH INVENTORY"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_SEARCHINVENTORY,
false
);
1024
RegisterAnimation
(
"CRAFTING UPPDERBODY"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_CRAFTING,
false
);
1025
RegisterAnimation
(
"RESTRAINED STRUGGLE"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_RESTRAINEDSTRUGGLE,
false
);
1026
RegisterAnimation
(
"COVER HEAD SELF"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_COVERHEAD_SELF,
false
);
1027
RegisterAnimation
(
"COVER HEAD TARGET"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_COVERHEAD_TARGET,
false
);
1028
RegisterAnimation
(
"SET ALARM CLOCK"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_SET_ALARM,
false
);
1029
RegisterAnimation
(
"ENGINE START"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_STARTENGINE,
false
);
1030
RegisterAnimation
(
"TOOT HORN"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_TOOTHORN,
false
);
1031
RegisterAnimation
(
"ENGINE STOP"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_STOPENGINE,
false
);
1032
RegisterAnimation
(
"SHIFT GEAR"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_SHIFTGEAR,
false
);
1033
RegisterAnimation
(
"TURN ON/OFF LIGHTS"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_HEADLIGHT,
false
);
1034
RegisterAnimation
(
"DRIVER OPEN DOOR"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_DRIVER_DOOR_OPEN,
false
);
1035
RegisterAnimation
(
"DRIVER CLOSE DOOR"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_DRIVER_DOOR_CLOSE,
false
);
1036
RegisterAnimation
(
"CODRIVER OPEN DOOR"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_CODRIVER_DOOROPEN,
false
);
1037
RegisterAnimation
(
"CODRIVER CLOSE DOOR"
,
TYPE_MOD_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONMOD_CODRIVER_DOORCLOSE,
false
);
1039
RegisterAnimation
(
"PICK UP HANDS"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_PICKUP_HANDS,
false
);
1040
RegisterAnimation
(
"PICK UP INVENTORY"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_PICKUP_INVENTORY,
false
);
1041
RegisterAnimation
(
"LICK BATTERY"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_LICKBATTERY,
false
);
1042
RegisterAnimation
(
"LIGHT FLARE"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_LIGHTFLARE,
false
);
1043
RegisterAnimation
(
"LITCHEM LIGHT"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_LITCHEMLIGHT,
false
);
1044
RegisterAnimation
(
"UNPIN GRENAGE"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_UNPINGRENAGE,
false
);
1045
RegisterAnimation
(
"OPEN DOOR FW"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_OPENDOORFW,
false
);
1046
RegisterAnimation
(
"OPEN LID"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_OPENLID,
false
);
1047
RegisterAnimation
(
"CLOSE LID"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_CLOSELID,
false
);
1048
RegisterAnimation
(
"RADIO ON"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_ITEM_ON,
false
);
1049
RegisterAnimation
(
"RADIO OFF"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_ITEM_OFF,
false
);
1050
RegisterAnimation
(
"BATON EXTEND"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_BATONEXTEND,
false
);
1051
RegisterAnimation
(
"BATON RETRACT"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_BATONRETRACT,
false
);
1052
RegisterAnimation
(
"UNLOCK HANDCUFF TARGET"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_UNLOCKHANDCUFFTARGET,
false
);
1053
RegisterAnimation
(
"FISHINGROD EXTEND"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_FISHINGRODEXTEND,
false
);
1054
RegisterAnimation
(
"FISHINGROD RETRACT"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_FISHINGRODRETRACT,
false
);
1055
RegisterAnimation
(
"OPEN ITEM ONCE"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_OPENITEM_ONCE,
false
);
1056
RegisterAnimation
(
"CLOSE ITEM ONCE"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_CLOSEITEM_ONCE,
false
);
1057
RegisterAnimation
(
"ATTACH SCOPE"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_ATTACHSCOPE,
false
);
1058
RegisterAnimation
(
"ATTACH BARREL"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_ATTACHBARREL,
false
);
1059
RegisterAnimation
(
"EMPTY SEEDS PACK"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_EMPTYSEEDSPACK,
false
);
1060
RegisterAnimation
(
"INTERACT"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_INTERACTONCE,
false
);
1061
RegisterAnimation
(
"ATTACH ITEM"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_ATTACHITEM,
false
);
1062
RegisterAnimation
(
"STOP ALARM CLOCK"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_STOP_ALARM,
false
);
1063
RegisterAnimation
(
"PRESS TRIGGER"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_PRESS_TRIGGER,
false
);
1064
RegisterAnimation
(
"DROP ITEM HANDS"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_DROPITEM_HANDS,
false
);
1065
RegisterAnimation
(
"DROP ITEM INVENTORY"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_DROPITEM_INVENTORY,
false
);
1066
RegisterAnimation
(
"EAT PILL"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_EAT_PILL,
false
);
1067
RegisterAnimation
(
"EAT TABLET"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_EAT_TABLET,
false
);
1068
RegisterAnimation
(
"HEATPACK"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_HEATPACK,
false
);
1069
RegisterAnimation
(
"BLOODTEST"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_BLOODTEST,
false
);
1070
RegisterAnimation
(
"BLOODTESTOTHER"
,
TYPE_MOD_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONMOD_BLOODTESTOTHER,
false
);
1072
RegisterAnimation
(
"DRINK"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DRINK,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1073
RegisterAnimation
(
"EAT"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_EAT,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1074
RegisterAnimation
(
"CATCH RAIN"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_CATCHRAIN,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1075
RegisterAnimation
(
"WALKIETALKIE TUNE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_ITEM_TUNE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1076
RegisterAnimation
(
"GIVE L ITEM"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_GIVEL,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1077
RegisterAnimation
(
"GIVE R ITEM"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_GIVER,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1078
RegisterAnimation
(
"FILL MAG"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_FILLMAG,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1079
RegisterAnimation
(
"EMPTY MAG"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_EMPTYMAG,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1080
RegisterAnimation
(
"DRINK POND"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DRINKPOND,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1081
RegisterAnimation
(
"DRINK WELL"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DRINKWELL,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1082
RegisterAnimation
(
"FILL BOTTLE WELL"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_FILLBOTTLEWELL,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1083
RegisterAnimation
(
"FIRE ESTINGUISHER"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_FIREESTINGUISHER,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1084
RegisterAnimation
(
"FLAME REPAIR"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_FLAME_REPAIR,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1085
RegisterAnimation
(
"WRING CLOTH"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_WRING,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1086
RegisterAnimation
(
"FISHING"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_FISHING,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1087
RegisterAnimation
(
"CPR"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_CPR,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1088
RegisterAnimation
(
"BANDAGE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_BANDAGE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1089
RegisterAnimation
(
"CRAFTING"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_CRAFTING,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1090
RegisterAnimation
(
"INTERACT"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_INTERACT,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1091
RegisterAnimation
(
"FORCE FEED TARGET"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_FORCEFEED,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1092
RegisterAnimation
(
"BANDAGE TARGET"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_BANDAGETARGET,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1093
RegisterAnimation
(
"SPRAY PLANT"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_SPRAYPLANT,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1094
RegisterAnimation
(
"START FIRE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_STARTFIRE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1095
RegisterAnimation
(
"ANIMAL SKINNING"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_ANIMALSKINNING,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1096
RegisterAnimation
(
"WASH HANDS WELL"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_WASHHANDSWELL,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1097
RegisterAnimation
(
"WASH HANDS POND"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_WASHHANDSPOND,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1098
RegisterAnimation
(
"SALINE BLOODBAG TARGET"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_SALINEBLOODBAGTARGET,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1099
RegisterAnimation
(
"SALINE BLOOD BAG"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_SALINEBLOODBAG,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1100
RegisterAnimation
(
"STITCH UP SELF"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_STITCHUPSELF,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1101
RegisterAnimation
(
"VOMIT"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_VOMIT,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1102
RegisterAnimation
(
"UNRESTRAINT TARGET"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_UNRESTRAINTARGET,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1103
RegisterAnimation
(
"RESTRAIN TARGET"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_RESTRAINTARGET,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1104
RegisterAnimation
(
"CHECK PULSE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_CHECKPULSE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1105
RegisterAnimation
(
"CLEAN WOUNDS TARGET"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_CLEANWOUNDSTARGET,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1106
RegisterAnimation
(
"COLLECT BLOOD SELF"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_COLLECTBLOODSELF,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1107
RegisterAnimation
(
"EMPTY VESSEL"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_EMPTY_VESSEL,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1108
RegisterAnimation
(
"OPEN ITEM"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_OPENITEM,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1109
RegisterAnimation
(
"HACK BUSH"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_HACKBUSH,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1110
RegisterAnimation
(
"HACK TREE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_HACKTREE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1111
RegisterAnimation
(
"TAKE TEMP SELF"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_TAKETEMPSELF,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1112
RegisterAnimation
(
"DIG HOLE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DIG,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1113
RegisterAnimation
(
"DIG UP CACHE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DIGUPCACHE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1114
RegisterAnimation
(
"DIG MANIPULATE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DIGMANIPULATE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1115
RegisterAnimation
(
"DEPLOY HEAVY"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DEPLOY_HEAVY,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1116
RegisterAnimation
(
"DEPLOY 1HD"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DEPLOY_1HD,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1117
RegisterAnimation
(
"DEPLOY 2HD"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DEPLOY_2HD,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1118
RegisterAnimation
(
"BLOW FIREPLACE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_BLOWFIREPLACE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1119
RegisterAnimation
(
"VIEW MAP"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_VIEWMAP,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1120
RegisterAnimation
(
"VIEW COMPASS"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_VIEWCOMPASS,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1121
RegisterAnimation
(
"FILL BOTTLE POND"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_FILLBOTTLEPOND,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1122
RegisterAnimation
(
"PLACING HEAVY"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_PLACING_HEAVY,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1123
RegisterAnimation
(
"PLACING 1HD"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_PLACING_1HD,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1124
RegisterAnimation
(
"PLACING 2HD"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_PLACING_2HD,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1125
RegisterAnimation
(
"CUT BARK"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_CUTBARK,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1126
RegisterAnimation
(
"VIEW NOTE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_VIEWNOTE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE |
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1127
RegisterAnimation
(
"SEARCH INVENTORY"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_SEARCHINVENTORY,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1128
RegisterAnimation
(
"LOOK OPTICS"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_LOOKOPTICS,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE |
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1129
RegisterAnimation
(
"MINE ROCK"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_MINEROCK,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1130
RegisterAnimation
(
"RAISE ITEM"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_RAISEITEM,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1131
RegisterAnimation
(
"RESTRAINED STRUGGLE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_RESTRAINEDSTRUGGLE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE |
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1132
RegisterAnimation
(
"RESTRAIN SELF"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_RESTRAINSELF,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1133
RegisterAnimation
(
"ASSEMBLE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_ASSEMBLE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1134
RegisterAnimation
(
"DISASSEMBLE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_DISASSEMBLE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1135
RegisterAnimation
(
"RAISE FLAG"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_RAISE_FLAG,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1136
RegisterAnimation
(
"LOWER FLAG"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_LOWER_FLAG,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1137
RegisterAnimation
(
"SET ALARM CLOCK"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_SET_ALARM,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1138
RegisterAnimation
(
"SHOVEL DIG"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_SHOVEL_DIG,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1139
RegisterAnimation
(
"VEHICLE_PUSH"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_VEHICLE_PUSH,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1140
RegisterAnimation
(
"PATCHING_TIRE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_PATCHING_TIRE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1141
RegisterAnimation
(
"PATCHING_DUCTTAPE"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_PATCHING_DUCTTAPE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1142
RegisterAnimation
(
"PATCHING_SEWING"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_PATCHING_SEWING,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1143
RegisterAnimation
(
"PATCHING_LEATHER_SEWING_KIT"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_PATCHING_LEATHER_SEWING_KIT,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1144
RegisterAnimation
(
"SPLITTING FIREWOOD"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_SPLITTING_FIREWOOD,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1145
RegisterAnimation
(
"BREAKING STICK"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_BREAKING_STICK,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1146
RegisterAnimation
(
"CLEANING_WEAPON"
,
TYPE_FB_LOOPING
,
DayZPlayerConstants
.CMD_ACTIONFB_CLEANING_WEAPON,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1147
1149
RegisterAnimation
(
"PICK UP HANDS"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_PICKUP_HANDS,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1150
RegisterAnimation
(
"PICK UP INVENTORY"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_PICKUP_INVENTORY,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1151
RegisterAnimation
(
"LICK BATTERY"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_LICKBATTERY,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1152
RegisterAnimation
(
"LIGHT FLARE"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_LIGHTFLARE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1153
RegisterAnimation
(
"LITCHEM LIGHT"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_LITCHEMLIGHT,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1154
RegisterAnimation
(
"UNPIN GRENAGE"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_UNPINGRENAGE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1155
RegisterAnimation
(
"RADIO ON"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_ITEM_ON,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1156
RegisterAnimation
(
"RADIO OFF"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_ITEM_OFF,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1157
RegisterAnimation
(
"HANDCUFF TARGET"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_HANDCUFFTARGET,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1158
RegisterAnimation
(
"MORPHINE"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_MORPHINE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1159
RegisterAnimation
(
"INJECTION"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_INJECTION,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1160
RegisterAnimation
(
"INJECTION TARGET"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_INJECTIONTARGET,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1161
RegisterAnimation
(
"DRINK SIP"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_DRINKSIP,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1162
RegisterAnimation
(
"CLEAN HANDS BOTTLE"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_CLEANHANDSBOTTLE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1163
RegisterAnimation
(
"OPEN ITEM ONCE"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_OPENITEM_ONCE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1164
RegisterAnimation
(
"POKE"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_POKE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1165
RegisterAnimation
(
"ATTACH SCOPE"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_ATTACHSCOPE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1166
RegisterAnimation
(
"ATTACH BARREL"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_ATTACHBARREL,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1167
RegisterAnimation
(
"RESTRAIN"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_RESTRAIN,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE |
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1168
RegisterAnimation
(
"PICK UP HEAVY"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_PICKUP_HEAVY,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1169
RegisterAnimation
(
"STOP ALARM CLOCK"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_STOP_ALARM,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1170
RegisterAnimation
(
"PRESS TRIGGER"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_PRESS_TRIGGER,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1171
RegisterAnimation
(
"EAT PILL"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_EAT_PILL,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1172
RegisterAnimation
(
"EAT TABLET"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_EAT_TABLET,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1173
RegisterAnimation
(
"HEATPACK"
,
TYPE_FB_ONETIME
,
DayZPlayerConstants
.CMD_ACTIONFB_HEATPACK,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1178
RegisterAnimation
(
"GREETING"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_GREETING,
false
);
1179
RegisterAnimation
(
"POINT"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_POINT,
false
);
1180
RegisterAnimation
(
"THUMB UP"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_THUMB,
false
);
1181
RegisterAnimation
(
"THUMB DOWN"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_THUMB,
false
);
1182
RegisterAnimation
(
"SILENCE"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_SILENCE,
false
);
1183
RegisterAnimation
(
"TAUNT"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_TAUNT,
false
);
1184
RegisterAnimation
(
"TIME OUT"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_TIMEOUT,
false
);
1185
RegisterAnimation
(
"HEART"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_HEART,
false
);
1186
RegisterAnimation
(
"FACEPALM"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_FACEPALM,
false
);
1187
RegisterAnimation
(
"WATCHING"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_WATCHING,
false
);
1188
RegisterAnimation
(
"HOLD"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_HOLD,
false
);
1189
RegisterAnimation
(
"LISTENING"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_LISTENING,
false
);
1190
RegisterAnimation
(
"POINT AT SELF"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_POINTSELF,
false
);
1191
RegisterAnimation
(
"LOOK AT ME"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_LOOKATME,
false
);
1192
RegisterAnimation
(
"OKAY"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_OKAY,
false
);
1193
RegisterAnimation
(
"RPS"
,
TYPE_MOD_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREMOD_RPS,
false
);
1195
RegisterAnimation
(
"THROAT"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_THROAT,
false
);
1196
RegisterAnimation
(
"CLAP"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_CLAP,
false
);
1197
RegisterAnimation
(
"DABBING"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_DABBING,
false
);
1198
RegisterAnimation
(
"MOVE"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_MOVE,
false
);
1199
RegisterAnimation
(
"DOWN"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_DOWN,
false
);
1200
RegisterAnimation
(
"COME"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_COME,
false
);
1201
RegisterAnimation
(
"TAUNT KISS"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_TAUNTKISS,
false
);
1202
RegisterAnimation
(
"TAUNT ELBOW"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_TAUNTELBOW,
false
);
1203
RegisterAnimation
(
"TAUNT THINK"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_TAUNTTHINK,
false
);
1204
RegisterAnimation
(
"NOD HEAD"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_NODHEAD,
false
);
1205
RegisterAnimation
(
"SHAKE HEAD"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_SHAKEHEAD,
false
);
1206
RegisterAnimation
(
"SHRUG"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_SHRUG,
false
);
1207
RegisterAnimation
(
"SURRENDER"
,
TYPE_MOD_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREMOD_SURRENDER,
false
);
1209
RegisterAnimation
(
"GREETING"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_GREETING,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1210
RegisterAnimation
(
"POINT"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_POINT,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1211
RegisterAnimation
(
"THUMBUP"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_THUMB,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1212
RegisterAnimation
(
"THUMBDOWN"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_THUMB,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1213
RegisterAnimation
(
"SILENCE"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_SILENCE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1214
RegisterAnimation
(
"TAUNT"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_TAUNT,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1215
RegisterAnimation
(
"TIMEOUT"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_TIMEOUT,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1216
RegisterAnimation
(
"HEART"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_HEART,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1217
RegisterAnimation
(
"WATCHING"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_WATCHING,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1218
RegisterAnimation
(
"HOLD"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_HOLD,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1219
RegisterAnimation
(
"LISTENING"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_LISTENING,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1220
RegisterAnimation
(
"POINTSELF"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_POINTSELF,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1221
RegisterAnimation
(
"LOOKATME"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_LOOKATME,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1222
RegisterAnimation
(
"OKAY"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_OKAY,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1223
RegisterAnimation
(
"SALUTE"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_SALUTE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1224
RegisterAnimation
(
"CAMPFIRE"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_CAMPFIRE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1225
RegisterAnimation
(
"LYINGDOWN"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_LYINGDOWN,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1226
RegisterAnimation
(
"SOS"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_SOS,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1227
RegisterAnimation
(
"SITA"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_SITA,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1228
RegisterAnimation
(
"SITB"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_SITB,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1229
RegisterAnimation
(
"DABBING"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_DABBING,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT);
1230
RegisterAnimation
(
"SURRENDER"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_SURRENDER,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_PRONE);
1231
RegisterAnimation
(
"KNEEL"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_GESTUREFB_KNEEL,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1232
RegisterAnimation
(
"TRAILER WAKE UP"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_TRAILER_WAKE_UP,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1233
RegisterAnimation
(
"TRAILER DEAD BODY"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_TRAILER_DEAD_BODY,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1234
RegisterAnimation
(
"TRAILER WALKIE TALKIE"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_TRAILER_WALKIE_TALKIE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1235
RegisterAnimation
(
"TRAILER WOUNDED"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_TRAILER_WOUNDED,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1236
RegisterAnimation
(
"TRAILER WALK AWAY"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_TRAILER_WALK_AWAY,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1237
RegisterAnimation
(
"TRAILER DEAD DEAD"
,
TYPE_FB_GESTURE_LOOPING
,
DayZPlayerConstants
.CMD_TRAILER_DEAD,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1239
RegisterAnimation
(
"THROAT"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_THROAT,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1240
RegisterAnimation
(
"MOVE"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_MOVE,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1241
RegisterAnimation
(
"DOWN"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_DOWN,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1242
RegisterAnimation
(
"COME"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_COME,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1243
RegisterAnimation
(
"TAUNT KISS"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_TAUNTKISS,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1244
RegisterAnimation
(
"TAUNT THINK"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_TAUNTTHINK,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1245
RegisterAnimation
(
"DANCE"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_DANCE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1246
RegisterAnimation
(
"NOD HEAD"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_NODHEAD,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1247
RegisterAnimation
(
"SHAKE HEAD"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_SHAKEHEAD,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1248
RegisterAnimation
(
"SHRUG"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_SHRUG,
true
,
DayZPlayerConstants
.STANCEMASK_PRONE);
1249
RegisterAnimation
(
"SURRENDER"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_GESTUREFB_SURRENDER,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_PRONE);
1250
RegisterAnimation
(
"TRAILER MASK"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_TRAILER_MASK,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1251
RegisterAnimation
(
"TRAILER MASK_02"
,
TYPE_FB_GESTURE_ONETIME
,
DayZPlayerConstants
.CMD_TRAILER_MASK_02,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1252
1257
RegisterAnimation
(
"1HD"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_1HD,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1258
RegisterAnimation
(
"FIREAXE"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_FIREAXE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1259
RegisterAnimation
(
"PITCHFORK"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_PITCHFORK,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1260
RegisterAnimation
(
"PISTOL"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_PISTOL,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1261
RegisterAnimation
(
"RIFLE"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_RIFLE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1262
RegisterAnimation
(
"SWORD"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_SWORD,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1263
RegisterAnimation
(
"UNARMED"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_UNARMED,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1264
RegisterAnimation
(
"WOODAXE"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_WOODAXE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1265
RegisterAnimation
(
"SPEAR"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_SPEAR,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1266
RegisterAnimation
(
"SICKLE"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_SICKLE,
true
,
DayZPlayerConstants
.STANCEMASK_CROUCH);
1267
RegisterAnimation
(
"HOE"
,
TYPE_FB_SUICIDE_LOOPING
,
DayZPlayerConstants
.CMD_SUICIDEFB_HOE,
true
,
DayZPlayerConstants
.STANCEMASK_ERECT);
1268
}
1269
1270
}
name
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
RegisterAnimationEvent
class DayZCreatureAnimInterface RegisterAnimationEvent(string event_name, string function_name)
OnClick
override bool OnClick(Widget w, int x, int y, int button)
buttons clicks
Definition
DayZGame.c:144
ERPCs
ERPCs
Definition
ERPCs.c:2
x
Icon x
y
Icon y
m_IsActive
bool m_IsActive
Definition
ModifierBase.c:20
GetPlayer
PlayerBase GetPlayer()
Definition
ModifierBase.c:47
m_TickTimer
ref Timer m_TickTimer
Definition
PluginDayZCreatureAIDebug.c:82
OnChange
override bool OnChange(Widget w, int x, int y, bool finished)
Definition
PluginDayZInfectedDebug.c:33
CreateTypeNameMapping
void CreateTypeNameMapping()
Definition
PluginDayzPlayerDebug.c:287
m_ActionTypeFLA
ButtonWidget m_ActionTypeFLA
Definition
PluginDayzPlayerDebug.c:238
TYPE_MOD_ONETIME
const int TYPE_MOD_ONETIME
Definition
PluginDayzPlayerDebug.c:177
m_ActionsSelector
TextListboxWidget m_ActionsSelector
Definition
PluginDayzPlayerDebug.c:214
m_CH_ActionCancel
bool m_CH_ActionCancel
Definition
PluginDayzPlayerDebug.c:259
m_Controls
ref PluginDayzPlayerDebug_Ctrl m_Controls
Definition
PluginDayzPlayerDebug.c:263
m_PlayerSyncDelete
ButtonWidget m_PlayerSyncDelete
Definition
PluginDayzPlayerDebug.c:228
DisplayActions
void DisplayActions(int pType)
Definition
PluginDayzPlayerDebug.c:670
m_ActionsEnd
ButtonWidget m_ActionsEnd
Definition
PluginDayzPlayerDebug.c:216
m_CH_ActionStart
bool m_CH_ActionStart
Definition
PluginDayzPlayerDebug.c:257
IsWeaponChange
bool IsWeaponChange(out string pNewWeapon, out int pHideSlot, out int pShowSlot)
Definition
PluginDayzPlayerDebug.c:956
DbgShowBoneName
void DbgShowBoneName(DayZPlayer pPlayer)
Definition
PluginDayzPlayerDebug.c:620
ToggleDebugWindowEventOld
void ToggleDebugWindowEventOld()
Definition
PluginDayzPlayerDebug.c:389
m_ActionTypeOA
ButtonWidget m_ActionTypeOA
Definition
PluginDayzPlayerDebug.c:237
m_ActionsGlobalStatus
TextWidget m_ActionsGlobalStatus
Definition
PluginDayzPlayerDebug.c:223
m_ClearEventsButton
ButtonWidget m_ClearEventsButton
Definition
PluginDayzPlayerDebug.c:246
Actions_UpdateGlobals
void Actions_UpdateGlobals(DayZPlayer pPlayer)
Definition
PluginDayzPlayerDebug.c:789
m_AnimationListMappings
ref map< string, ref PluginDayzPlayerDebugUserData > m_AnimationListMappings
Definition
PluginDayzPlayerDebug.c:193
m_OtherCmds
ref PluginDayzPlayerDebug_OtherCmds m_OtherCmds
Definition
PluginDayzPlayerDebug.c:264
TYPE_MOD_GESTURE_ONETIME
const int TYPE_MOD_GESTURE_ONETIME
Definition
PluginDayzPlayerDebug.c:182
TYPE_ALL
const int TYPE_ALL
Definition
PluginDayzPlayerDebug.c:187
PluginDayzPlayerDebugUserData
void PluginDayzPlayerDebugUserData(string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
Definition
PluginDayzPlayerDebug.c:57
m_PlayerServerWalk
ButtonWidget m_PlayerServerWalk
Definition
PluginDayzPlayerDebug.c:229
Actions_Start
void Actions_Start()
Definition
PluginDayzPlayerDebug.c:720
m_Card1
Widget m_Card1
Definition
PluginDayzPlayerDebug.c:202
m_ActionTypeLA
ButtonWidget m_ActionTypeLA
Definition
PluginDayzPlayerDebug.c:236
m_pPlayerShadow
Entity m_pPlayerShadow
Definition
PluginDayzPlayerDebug.c:252
m_ActionsOTA
ButtonWidget m_ActionsOTA
Definition
PluginDayzPlayerDebug.c:219
m_CurrentType
int m_CurrentType
Definition
PluginDayzPlayerDebug.c:254
PlayerSyncDelete
void PlayerSyncDelete()
Definition
PluginDayzPlayerDebug.c:814
m_ActionEventV
TextWidget m_ActionEventV
Definition
PluginDayzPlayerDebug.c:222
m_Weapons
ref PluginDayzPlayerDebug_Weapons m_Weapons
Definition
PluginDayzPlayerDebug.c:262
TYPE_FB_GESTURE_LOOPING
const int TYPE_FB_GESTURE_LOOPING
Definition
PluginDayzPlayerDebug.c:183
m_ActionStateV
TextWidget m_ActionStateV
Definition
PluginDayzPlayerDebug.c:221
m_AnimationList
ref array< ref PluginDayzPlayerDebugUserData > m_AnimationList
Definition
PluginDayzPlayerDebug.c:192
m_ActionTypeFOA
ButtonWidget m_ActionTypeFOA
Definition
PluginDayzPlayerDebug.c:239
RegisterAnimations
void RegisterAnimations()
Definition
PluginDayzPlayerDebug.c:1005
m_ItemAccInst
TextWidget m_ItemAccInst
Definition
PluginDayzPlayerDebug.c:233
m_MainWnd
Widget m_MainWnd
Definition
PluginDayzPlayerDebug.c:200
~PluginDayzPlayerDebug
void ~PluginDayzPlayerDebug()
Definition
PluginDayzPlayerDebug.c:300
m_ActionsFilter
EditBoxWidget m_ActionsFilter
Definition
PluginDayzPlayerDebug.c:225
m_ItemAccSClass
TextWidget m_ItemAccSClass
Definition
PluginDayzPlayerDebug.c:232
UpdateCommandModifiers
void UpdateCommandModifiers(DayZPlayer pPlayer)
Definition
PluginDayzPlayerDebug.c:638
PlayerSyncCreate
void PlayerSyncCreate()
Definition
PluginDayzPlayerDebug.c:802
m_CurrentMode
int m_CurrentMode
Definition
PluginDayzPlayerDebug.c:375
m_pUIHandler
ref PluginDayzPlayerDebugUIHandler m_pUIHandler
Definition
PluginDayzPlayerDebug.c:250
PluginDayzPlayerDebug
void PluginDayzPlayerDebug()
Definition
PluginDayzPlayerDebug.c:269
m_ItemAccClass
TextWidget m_ItemAccClass
Definition
PluginDayzPlayerDebug.c:231
UpdatePlayerStatus
void UpdatePlayerStatus(DayZPlayer pPlayer)
Definition
PluginDayzPlayerDebug.c:553
m_Card2Button
ButtonWidget m_Card2Button
Definition
PluginDayzPlayerDebug.c:208
m_HasServerWalk
bool m_HasServerWalk
Definition
PluginDayzPlayerDebug.c:198
m_ActionsFinish
ButtonWidget m_ActionsFinish
Definition
PluginDayzPlayerDebug.c:217
m_ActionTypeFLG
ButtonWidget m_ActionTypeFLG
Definition
PluginDayzPlayerDebug.c:242
TYPE_FB_ONETIME
const int TYPE_FB_ONETIME
Definition
PluginDayzPlayerDebug.c:179
ToggleDebugWindowEventP
void ToggleDebugWindowEventP()
Definition
PluginDayzPlayerDebug.c:405
Actions_DoInternalCommand
void Actions_DoInternalCommand(int pCommandId)
Definition
PluginDayzPlayerDebug.c:751
TYPE_FB_SUICIDE_LOOPING
const int TYPE_FB_SUICIDE_LOOPING
Definition
PluginDayzPlayerDebug.c:185
RegisterDebugItem
void RegisterDebugItem(ItemBase item, PlayerBase player)
Definition
PluginDayzPlayerDebug.c:315
m_ActionTypeFOG
ButtonWidget m_ActionTypeFOG
Definition
PluginDayzPlayerDebug.c:243
TYPE_MOD_LOOPING
class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING
m_ActionTypeLG
ButtonWidget m_ActionTypeLG
Definition
PluginDayzPlayerDebug.c:240
TYPE_FB_GESTURE_ONETIME
const int TYPE_FB_GESTURE_ONETIME
Definition
PluginDayzPlayerDebug.c:184
m_HasFocus
bool m_HasFocus
Definition
PluginDayzPlayerDebug.c:197
m_CH_ActionCommand
int m_CH_ActionCommand
Definition
PluginDayzPlayerDebug.c:258
Actions_DoCancel
void Actions_DoCancel()
Definition
PluginDayzPlayerDebug.c:770
m_ActionsStart
ButtonWidget m_ActionsStart
Definition
PluginDayzPlayerDebug.c:215
m_Card1Button
ButtonWidget m_Card1Button
Definition
PluginDayzPlayerDebug.c:207
m_Card0Button
ButtonWidget m_Card0Button
Definition
PluginDayzPlayerDebug.c:206
m_ActionsOTL
ButtonWidget m_ActionsOTL
Definition
PluginDayzPlayerDebug.c:220
m_Card3
Widget m_Card3
Definition
PluginDayzPlayerDebug.c:204
m_EventsHistory
TextListboxWidget m_EventsHistory
Definition
PluginDayzPlayerDebug.c:248
m_ActionsCancel
ButtonWidget m_ActionsCancel
Definition
PluginDayzPlayerDebug.c:218
m_Card4
Widget m_Card4
Definition
PluginDayzPlayerDebug.c:205
m_TypeNameMappings
ref map< int, string > m_TypeNameMappings
Definition
PluginDayzPlayerDebug.c:194
m_ActionTypeAll
ButtonWidget m_ActionTypeAll
Definition
PluginDayzPlayerDebug.c:235
m_Card2
Widget m_Card2
Definition
PluginDayzPlayerDebug.c:203
CommandHandler
void CommandHandler()
Definition
PluginDayzPlayerDebug.c:968
m_Card3Button
ButtonWidget m_Card3Button
Definition
PluginDayzPlayerDebug.c:209
TYPE_FB_LOOPING
const int TYPE_FB_LOOPING
Definition
PluginDayzPlayerDebug.c:178
TYPE_MOD_GESTURE_LOOPING
const int TYPE_MOD_GESTURE_LOOPING
Definition
PluginDayzPlayerDebug.c:181
m_Card4Button
ButtonWidget m_Card4Button
Definition
PluginDayzPlayerDebug.c:210
m_ActionTypeOG
ButtonWidget m_ActionTypeOG
Definition
PluginDayzPlayerDebug.c:241
m_PlayerStatusV
EditBoxWidget m_PlayerStatusV
Definition
PluginDayzPlayerDebug.c:213
m_Card0
Widget m_Card0
Definition
PluginDayzPlayerDebug.c:201
m_pPluginPlayerDebug
PluginDayzPlayerDebug m_pPluginPlayerDebug
Definition
PluginDayzPlayerDebug.c:83
m_PlayerSyncCreateShadow
ButtonWidget m_PlayerSyncCreateShadow
Definition
PluginDayzPlayerDebug.c:227
RegisterAnimation
void RegisterAnimation(string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
Definition
PluginDayzPlayerDebug.c:998
UpdateItemAccessor
void UpdateItemAccessor(DayZPlayer pPlayer)
Definition
PluginDayzPlayerDebug.c:832
OnMouseEnter
override bool OnMouseEnter(Widget w, int x, int y)
Definition
UiHintPanel.c:545
OnMouseLeave
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
Definition
UiHintPanel.c:554
DayZPlayer
Definition
DayZPlayerImplement.c:71
EditBoxWidget
Definition
EnWidgets.c:354
Entity
Definition
Camera.c:2
HumanCommandActionCallback
Definition
StateCB.c:2
HumanCommandActionCallback::CancelCondition
bool CancelCondition()
Definition
PluginDayzPlayerDebug.c:133
HumanCommandActionCallback::m_AnimEventMapping
static ref set< string > m_AnimEventMapping
Definition
PluginDayzPlayerDebug.c:92
HumanCommandActionCallback::OnStateChange
override void OnStateChange(int pOldState, int pCurrentState)
Definition
PluginDayzPlayerDebug.c:154
HumanCommandActionCallback::m_fTimeStart
float m_fTimeStart
Definition
PluginDayzPlayerDebug.c:164
HumanCommandActionCallback::OnFinish
override void OnFinish(bool pCanceled)
Definition
PluginDayzPlayerDebug.c:124
HumanCommandActionCallback::m_EventsHistory
TextListboxWidget m_EventsHistory
Definition
PluginDayzPlayerDebug.c:167
HumanCommandActionCallback::PluginDayzPlayerActionCallback
void PluginDayzPlayerActionCallback()
Definition
PluginDayzPlayerDebug.c:93
HumanCommandActionCallback::OnAnimationEvent
override void OnAnimationEvent(int pEventID)
Definition
PluginDayzPlayerDebug.c:139
HumanCommandActionCallback::~PluginDayzPlayerActionCallback
void ~PluginDayzPlayerActionCallback()
Definition
PluginDayzPlayerDebug.c:119
HumanCommandActionCallback::m_pStateWidget
TextWidget m_pStateWidget
Definition
PluginDayzPlayerDebug.c:165
HumanCommandActionCallback::m_pAnimEventWidget
TextWidget m_pAnimEventWidget
Definition
PluginDayzPlayerDebug.c:166
HumanMovementState
Definition
human.c:1113
ItemBase
Definition
InventoryItem.c:697
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
PluginBase
Definition
PluginBase.c:2
PluginBase::CaptureFocus
void CaptureFocus()
Definition
PluginDayZInfectedDebug.c:139
PluginBase::OnClick
bool OnClick(Widget w, int x, int y, int button)
buttons clicks
Definition
PluginDayZInfectedDebug.c:282
PluginBase::m_ActionsFilter
int m_ActionsFilter
Definition
PluginAdminLog.c:23
PluginBase::m_pUIHandler
ref PluginDayZInfectedDebugUIHandler m_pUIHandler
Definition
PluginDayZInfectedDebug.c:95
PluginBase::ToggleDebugWindowEvent
void ToggleDebugWindowEvent()
Definition
PluginDayZInfectedDebug.c:118
PluginBase::ShowWidgets
void ShowWidgets(bool show)
Definition
PluginDayZInfectedDebug.c:188
PluginBase::OnChange
bool OnChange(Widget w, int x, int y, bool finished)
Definition
PluginDayZInfectedDebug.c:341
PluginBase::m_MainWnd
Widget m_MainWnd
main controls
Definition
PluginDayZInfectedDebug.c:46
PluginBase::CreateModuleWidgets
void CreateModuleWidgets()
Definition
PluginDayZInfectedDebug.c:210
PluginBase::m_IsActive
bool m_IsActive
Definition
PluginDayZInfectedDebug.c:43
PluginBase::ToggleDebugWindowSetMode
void ToggleDebugWindowSetMode(int pMode)
Definition
PluginDayZInfectedDebug.c:128
PluginBase::Hide
void Hide()
Definition
PluginDayZInfectedDebug.c:177
PluginBase::ShowCard
void ShowCard(int pCard)
Definition
PluginDayZInfectedDebug.c:275
PluginBase::IsActive
bool IsActive()
Definition
PluginDrawCheckerboard.c:53
PluginBase::m_TickTimer
ref Timer m_TickTimer
status refresh timer
Definition
PluginDayZInfectedDebug.c:101
PluginBase::DestroyModuleWidgets
void DestroyModuleWidgets()
Definition
PluginDayZInfectedDebug.c:269
PluginBase::ReleaseFocus
void ReleaseFocus()
Definition
PluginDayZInfectedDebug.c:150
PluginBase::Tick
void Tick()
Definition
PluginDayZInfectedDebug.c:441
PluginBase::Show
void Show()
Definition
PluginDayZInfectedDebug.c:161
PluginDayzPlayerDebug_Ctrl
Definition
PluginDayzPlayerDebug_Ctrl.c:7
PluginDayzPlayerDebug_OtherCmds
Definition
PluginDayzPlayerDebug_OtherCmds.c:6
PluginDayzPlayerDebug_Weapons
Definition
PluginDayzPlayerDebug_Weapons.c:52
PluginDayzPlayerDebugUserData
Definition
PluginDayzPlayerDebug.c:5
PluginDayzPlayerDebugUserData::m_iStanceMask
int m_iStanceMask
Definition
PluginDayzPlayerDebug.c:46
PluginDayzPlayerDebugUserData::GetName
string GetName()
Definition
PluginDayzPlayerDebug.c:35
PluginDayzPlayerDebugUserData::GetCategory
int GetCategory()
Definition
PluginDayzPlayerDebug.c:30
PluginDayzPlayerDebugUserData::IsFullBody
bool IsFullBody()
Definition
PluginDayzPlayerDebug.c:20
PluginDayzPlayerDebugUserData::GetInt
int GetInt()
Definition
PluginDayzPlayerDebug.c:15
PluginDayzPlayerDebugUserData::PluginDayzPlayerDebugUserData
void PluginDayzPlayerDebugUserData(string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
Definition
PluginDayzPlayerDebug.c:6
PluginDayzPlayerDebugUserData::GetStanceMask
int GetStanceMask()
Definition
PluginDayzPlayerDebug.c:25
PluginDayzPlayerDebugUserData::m_Category
int m_Category
Definition
PluginDayzPlayerDebug.c:47
PluginDayzPlayerDebugUserData::GetNameUnique
string GetNameUnique()
Definition
PluginDayzPlayerDebug.c:39
PluginDayzPlayerDebugUserData::m_iUserData
int m_iUserData
Definition
PluginDayzPlayerDebug.c:44
PluginDayzPlayerDebugUserData::m_bIsFullBody
bool m_bIsFullBody
Definition
PluginDayzPlayerDebug.c:45
PluginDayzPlayerDebugUserData::m_Name
string m_Name
Definition
PluginDayzPlayerDebug.c:48
ScriptedWidgetEventHandler
map: item x vector(index, width, height)
Definition
EnWidgets.c:651
TextWidget
Definition
EnWidgets.c:220
Timer
Definition
DayZPlayerImplement.c:61
Widget
Definition
EnWidgets.c:190
array< string >
vector
Definition
EnConvert.c:106
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:597
GetGame
proto native CGame GetGame()
Print
proto void Print(void var)
Prints content of variable to console/log.
TStringArray
array< string > TStringArray
Definition
EnScript.c:666
GetWorldTime
proto native float GetWorldTime()
EnableCancelCondition
proto native void EnableCancelCondition(bool pEnable)
EnableStateChangeCallback
proto native void EnableStateChangeCallback()
enables state change callback OnStateChange
GetStateString
string GetStateString()
returns debug string of current state
Definition
human.c:391
DefaultCancelCondition
proto native bool DefaultCancelCondition()
system implemented cancel condition (now raise or sprint cancels action)
scripts
4_World
Plugins
PluginBase
PluginDayzPlayerDebug.c
Generated by
1.10.0