DayZ 1.24
Loading...
Searching...
No Matches
dayzplayer.c File Reference

Go to the source code of this file.

Classes

class  DayZPlayerCameraResult
 
class  DayZPlayerTypeStepSoundLookupTable
 
class  DayZPlayerTypeAttachmentSoundLookupTable
 
class  VegetationSound
 
class  SDayZPlayerAimingModel
 

Enumerations

enum  DayZPlayerConstants {
  DEBUG_MENU , DEBUG_TURNSLIDE , DEBUG_SHOWDEBUGPLUGIN , DEBUG_SHOWINJURY ,
  DEBUG_SHOWEXHAUSTION , DEBUG_ENABLEJUMP , DEBUG_ENABLETALKING , STANCEIDX_ERECT ,
  STANCEIDX_CROUCH , STANCEIDX_PRONE , STANCEIDX_RAISEDERECT , STANCEIDX_RAISEDCROUCH ,
  STANCEIDX_RAISEDPRONE , STANCEIDX_RAISED , STANCEMASK_ERECT , STANCEMASK_CROUCH ,
  STANCEMASK_PRONE , STANCEMASK_RAISEDERECT , STANCEMASK_RAISEDCROUCH , STANCEMASK_RAISEDPRONE ,
  STANCEMASK_ALL , STANCEMASK_NOTRAISED = STANCEMASK_ERECT | STANCEMASK_CROUCH | STANCEMASK_PRONE , STANCEMASK_RAISED = STANCEMASK_RAISEDERECT | STANCEMASK_RAISEDCROUCH | STANCEMASK_RAISEDPRONE , MOVEMENT_IDLE ,
  MOVEMENT_WALK , MOVEMENT_RUN , MOVEMENT_SPRINT , ROTATION_DISABLE ,
  ROTATION_ENABLE , MOVEMENTIDX_SLIDE = -2 , MOVEMENTIDX_IDLE = 0 , MOVEMENTIDX_WALK = 1 ,
  MOVEMENTIDX_RUN = 2 , MOVEMENTIDX_SPRINT = 3 , MOVEMENTIDX_CROUCH_RUN = 4 , MELEE_LIGHT = 0 ,
  MELEE_HEAVY = 1 , VEHICLECLASS_CAR , VEHICLECLASS_HELI , VEHICLESEAT_DRIVER ,
  VEHICLESEAT_CODRIVER , VEHICLESEAT_PASSENGER_L , VEHICLESEAT_PASSENGER_R , DEATH_DEFAULT = -1 ,
  DEATH_PULL_OUT_TRANSPORT , DEATH_BODY , DEATH_FAST , DEATH_WATER ,
  DEATH_FALL , DEATH_UNCON_ON_LAND , DEATH_UNCON_IN_WATER , COMMANDID_NONE ,
  COMMANDID_MOVE , COMMANDID_ACTION , COMMANDID_MELEE , COMMANDID_MELEE2 ,
  COMMANDID_FALL , COMMANDID_DEATH , COMMANDID_DAMAGE , COMMANDID_LADDER ,
  COMMANDID_UNCONSCIOUS , COMMANDID_SWIM , COMMANDID_VEHICLE , COMMANDID_CLIMB ,
  COMMANDID_SCRIPT , COMMANDID_MOD_LOOKAT , COMMANDID_MOD_WEAPONS , COMMANDID_MOD_ACTION ,
  COMMANDID_MOD_DAMAGE , CMD_ACTIONINT_INTERRUPT = -2 , CMD_ACTIONINT_FINISH = -1 , CMD_ACTIONINT_END = 0 ,
  CMD_ACTIONINT_ACTION = 1 , CMD_ACTIONINT_ACTIONLOOP = 2 , CMD_ACTIONMOD_DRINK = 0 , CMD_ACTIONMOD_EAT = 1 ,
  CMD_ACTIONMOD_EMPTY_VESSEL = 2 , CMD_ACTIONMOD_CATCHRAIN = 3 , CMD_ACTIONMOD_VIEWCOMPASS = 7 , CMD_ACTIONMOD_ITEM_TUNE = 9 ,
  CMD_ACTIONMOD_GIVEL = 10 , CMD_ACTIONMOD_GIVER = 11 , CMD_ACTIONMOD_SHAVE = 12 , CMD_ACTIONMOD_FILLMAG = 13 ,
  CMD_ACTIONMOD_EMPTYMAG = 14 , CMD_ACTIONMOD_OPENITEM = 15 , CMD_ACTIONMOD_TAKETEMPSELF = 18 , CMD_ACTIONMOD_VIEWMAP = 19 ,
  CMD_ACTIONMOD_RAISEITEM = 20 , CMD_ACTIONMOD_SEARCHINVENTORY = 21 , CMD_ACTIONMOD_CRAFTING = 22 , CMD_ACTIONMOD_RESTRAINEDSTRUGGLE = 23 ,
  CMD_ACTIONMOD_COVERHEAD_SELF = 24 , CMD_ACTIONMOD_COVERHEAD_TARGET = 25 , CMD_ACTIONMOD_SET_ALARM = 250 , CMD_ACTIONMOD_SET_KITCHENTIMER = 252 ,
  CMD_ACTIONMOD_RESET_KITCHENTIMER = 253 , CMD_ACTIONMOD_PICKUP_HANDS = 500 , CMD_ACTIONMOD_PICKUP_INVENTORY = 501 , CMD_ACTIONMOD_LICKBATTERY = 502 ,
  CMD_ACTIONMOD_LIGHTFLARE = 503 , CMD_ACTIONMOD_LITCHEMLIGHT = 504 , CMD_ACTIONMOD_UNPINGRENAGE = 505 , CMD_ACTIONMOD_OPENDOORFW = 506 ,
  CMD_ACTIONMOD_OPENLID = 507 , CMD_ACTIONMOD_CLOSELID = 508 , CMD_ACTIONMOD_ITEM_ON = 509 , CMD_ACTIONMOD_ITEM_OFF = 510 ,
  CMD_ACTIONMOD_BATONEXTEND = 511 , CMD_ACTIONMOD_BATONRETRACT = 512 , CMD_ACTIONMOD_UNLOCKHANDCUFFTARGET = 513 , CMD_ACTIONMOD_FISHINGRODEXTEND = 514 ,
  CMD_ACTIONMOD_FISHINGRODRETRACT = 515 , CMD_ACTIONMOD_CLEANHANDSBOTTLE = 516 , CMD_ACTIONMOD_OPENITEM_ONCE = 517 , CMD_ACTIONMOD_ATTACHSCOPE = 518 ,
  CMD_ACTIONMOD_ATTACHBARREL = 519 , CMD_ACTIONMOD_EMPTYSEEDSPACK = 520 , CMD_ACTIONMOD_INTERACTONCE = 521 , CMD_ACTIONMOD_ATTACHITEM = 522 ,
  CMD_ACTIONMOD_CLOSEITEM_ONCE = 523 , CMD_ACTIONMOD_FOLDITEM_ONCE = 524 , CMD_ACTIONMOD_UNFOLDITEM_ONCE = 525 , CMD_ACTIONMOD_PRESS_TRIGGER = 526 ,
  CMD_ACTIONMOD_STOP_ALARM = 251 , CMD_ACTIONMOD_EAT_PILL = 527 , CMD_ACTIONMOD_EAT_TABLET = 528 , CMD_ACTIONMOD_HEATPACK = 529 ,
  CMD_ACTIONMOD_BLOODTEST = 530 , CMD_ACTIONMOD_BLOODTESTOTHER = 531 , CMD_ACTIONMOD_DROPITEM_HANDS = 900 , CMD_ACTIONMOD_DROPITEM_INVENTORY = 901 ,
  CMD_ACTIONFB_DRINK = 0 , CMD_ACTIONFB_EAT = 1 , CMD_ACTIONFB_CATCHRAIN = 3 , CMD_ACTIONFB_ITEM_TUNE = 9 ,
  CMD_ACTIONFB_GIVEL = 10 , CMD_ACTIONFB_GIVER = 11 , CMD_ACTIONFB_FILLMAG = 13 , CMD_ACTIONFB_EMPTYMAG = 14 ,
  CMD_ACTIONFB_DRINKPOND = 50 , CMD_ACTIONFB_DRINKWELL = 51 , CMD_ACTIONFB_FILLBOTTLEWELL = 52 , CMD_ACTIONFB_FIREESTINGUISHER = 53 ,
  CMD_ACTIONFB_WRING = 54 , CMD_ACTIONFB_FISHING = 56 , CMD_ACTIONFB_CPR = 57 , CMD_ACTIONFB_BANDAGE = 58 ,
  CMD_ACTIONFB_CRAFTING = 59 , CMD_ACTIONFB_INTERACT = 60 , CMD_ACTIONFB_FORCEFEED = 62 , CMD_ACTIONFB_BANDAGETARGET = 63 ,
  CMD_ACTIONFB_SPRAYPLANT = 64 , CMD_ACTIONFB_STARTFIRE = 65 , CMD_ACTIONFB_ANIMALSKINNING = 66 , CMD_ACTIONFB_WASHHANDSWELL = 67 ,
  CMD_ACTIONFB_WASHHANDSPOND = 68 , CMD_ACTIONFB_SALINEBLOODBAGTARGET = 69 , CMD_ACTIONFB_SALINEBLOODBAG = 70 , CMD_ACTIONFB_STITCHUPSELF = 71 ,
  CMD_ACTIONFB_VOMIT = 72 , CMD_ACTIONFB_UNRESTRAINTARGET = 73 , CMD_ACTIONFB_RESTRAINTARGET = 74 , CMD_ACTIONFB_CHECKPULSE = 76 ,
  CMD_ACTIONFB_CLEANWOUNDSTARGET = 78 , CMD_ACTIONFB_COLLECTBLOODSELF = 81 , CMD_ACTIONFB_EMPTY_VESSEL = 82 , CMD_ACTIONFB_OPENITEM = 83 ,
  CMD_ACTIONFB_HACKBUSH = 85 , CMD_ACTIONFB_HACKTREE = 86 , CMD_ACTIONFB_TAKETEMPSELF = 87 , CMD_ACTIONFB_DIG = 88 ,
  CMD_ACTIONFB_DIGUPCACHE = 89 , CMD_ACTIONFB_DIGMANIPULATE = 90 , CMD_ACTIONFB_DEPLOY_HEAVY = 95 , CMD_ACTIONFB_DEPLOY_2HD = 96 ,
  CMD_ACTIONFB_DEPLOY_1HD = 97 , CMD_ACTIONFB_BLOWFIREPLACE = 98 , CMD_ACTIONFB_VIEWMAP = 99 , CMD_ACTIONFB_VIEWCOMPASS = 100 ,
  CMD_ACTIONFB_FILLBOTTLEPOND = 101 , CMD_ACTIONFB_PLACING_HEAVY = 102 , CMD_ACTIONFB_PLACING_2HD = 103 , CMD_ACTIONFB_PLACING_1HD = 104 ,
  CMD_ACTIONFB_CUTBARK = 105 , CMD_ACTIONFB_VIEWNOTE = 106 , CMD_ACTIONFB_SEARCHINVENTORY = 107 , CMD_GESTUREFB_LOOKOPTICS = 108 ,
  CMD_ACTIONFB_MINEROCK = 109 , CMD_ACTIONFB_RAISEITEM = 110 , CMD_ACTIONFB_RESTRAINEDSTRUGGLE = 111 , CMD_ACTIONFB_RESTRAINSELF = 112 ,
  CMD_ACTIONFB_ASSEMBLE = 113 , CMD_ACTIONFB_DISASSEMBLE = 114 , CMD_ACTIONFB_FLAME_REPAIR = 115 , CMD_ACTIONFB_TURN_VALVE = 116 ,
  CMD_ACTIONFB_SET_ALARM = 250 , CMD_ACTIONFB_SHOVEL_DIG = 117 , CMD_ACTIONFB_VEHICLE_PUSH = 118 , CMD_ACTIONFB_PATCHING_TIRE = 119 ,
  CMD_ACTIONFB_PATCHING_DUCTTAPE = 120 , CMD_ACTIONFB_PATCHING_SEWING = 121 , CMD_ACTIONFB_PATCHING_LEATHER_SEWING_KIT = 122 , CMD_ACTIONFB_SPLITTING_FIREWOOD = 123 ,
  CMD_ACTIONFB_BREAKING_STICK = 124 , CMD_ACTIONFB_CLEANING_WEAPON = 125 , CMD_ACTIONFB_PICKUP_HANDS = 500 , CMD_ACTIONFB_PICKUP_INVENTORY = 501 ,
  CMD_ACTIONFB_LICKBATTERY = 502 , CMD_ACTIONFB_LIGHTFLARE = 503 , CMD_ACTIONFB_LITCHEMLIGHT = 504 , CMD_ACTIONFB_UNPINGRENAGE = 505 ,
  CMD_ACTIONFB_ITEM_ON = 506 , CMD_ACTIONFB_ITEM_OFF = 507 , CMD_ACTIONFB_HANDCUFFTARGET = 508 , CMD_ACTIONFB_MORPHINE = 509 ,
  CMD_ACTIONFB_INJECTION = 510 , CMD_ACTIONFB_INJECTIONTARGET = 511 , CMD_ACTIONFB_DRINKSIP = 512 , CMD_ACTIONFB_CLEANHANDSBOTTLE = 513 ,
  CMD_ACTIONFB_OPENITEM_ONCE = 514 , CMD_ACTIONFB_POKE = 515 , CMD_ACTIONFB_ATTACHSCOPE = 516 , CMD_ACTIONFB_ATTACHBARREL = 517 ,
  CMD_ACTIONFB_RESTRAIN = 518 , CMD_ACTIONFB_PICKUP_HEAVY = 519 , CMD_ACTIONFB_PRESS_TRIGGER = 526 , CMD_ACTIONFB_RAISE_FLAG = 600 ,
  CMD_ACTIONFB_LOWER_FLAG = 601 , CMD_ACTIONFB_STOP_ALARM = 251 , CMD_ACTIONFB_EAT_PILL = 527 , CMD_ACTIONFB_EAT_TABLET = 528 ,
  CMD_ACTIONFB_HEATPACK = 529 , CMD_ACTIONFB_DROPITEM_HANDS = 900 , CMD_TRAILER_MASK = 3006 , CMD_TRAILER_MASK_02 = 3007 ,
  CMD_ACTIONMOD_STARTENGINE = 300 , CMD_ACTIONMOD_TOOTHORN = 301 , CMD_ACTIONMOD_DRIVER_DOOR_OPEN = 400 , CMD_ACTIONMOD_DRIVER_DOOR_CLOSE = 401 ,
  CMD_ACTIONMOD_CODRIVER_DOOROPEN = 402 , CMD_ACTIONMOD_CODRIVER_DOORCLOSE = 403 , CMD_ACTIONMOD_STOPENGINE = 404 , CMD_ACTIONMOD_SHIFTGEAR = 405 ,
  CMD_ACTIONMOD_HEADLIGHT = 406 , CMD_GESTUREMOD_GREETING = 1000 , CMD_GESTUREMOD_POINT = 1001 , CMD_GESTUREMOD_THUMB = 1002 ,
  CMD_GESTUREMOD_THUMBDOWN = 1003 , CMD_GESTUREMOD_SILENCE = 1004 , CMD_GESTUREMOD_TAUNT = 1005 , CMD_GESTUREMOD_TIMEOUT = 1006 ,
  CMD_GESTUREMOD_HEART = 1007 , CMD_GESTUREMOD_FACEPALM = 1008 , CMD_GESTUREMOD_WATCHING = 1009 , CMD_GESTUREMOD_HOLD = 1010 ,
  CMD_GESTUREMOD_LISTENING = 1011 , CMD_GESTUREMOD_POINTSELF = 1012 , CMD_GESTUREMOD_LOOKATME = 1013 , CMD_GESTUREMOD_OKAY = 1014 ,
  CMD_GESTUREMOD_RPS = 10000 , CMD_ACTIONINT_RPS_ROCK = 10 , CMD_ACTIONINT_RPS_PAPER = 11 , CMD_ACTIONINT_RPS_SCISSORS = 12 ,
  CMD_GESTUREMOD_THROAT = 1100 , CMD_GESTUREMOD_CLAP = 1101 , CMD_GESTUREMOD_DABBING = 1102 , CMD_GESTUREMOD_MOVE = 1103 ,
  CMD_GESTUREMOD_DOWN = 1104 , CMD_GESTUREMOD_COME = 1105 , CMD_GESTUREMOD_TAUNTKISS = 1106 , CMD_GESTUREMOD_TAUNTELBOW = 1107 ,
  CMD_GESTUREMOD_TAUNTTHINK = 1108 , CMD_GESTUREMOD_NODHEAD = 1109 , CMD_GESTUREMOD_SHAKEHEAD = 1110 , CMD_GESTUREMOD_SHRUG = 1111 ,
  CMD_GESTUREMOD_SURRENDER = 1112 , CMD_GESTUREMOD_SURRENDERIN = 1112 , CMD_GESTUREMOD_SURRENDEROUT = 1113 , CMD_GESTUREFB_GREETING = 1000 ,
  CMD_GESTUREFB_POINT = 1001 , CMD_GESTUREFB_THUMB = 1002 , CMD_GESTUREFB_THUMBDOWN = 1003 , CMD_GESTUREFB_SILENCE = 1004 ,
  CMD_GESTUREFB_TAUNT = 1005 , CMD_GESTUREFB_TIMEOUT = 1006 , CMD_GESTUREFB_HEART = 1007 , CMD_GESTUREFB_WATCHING = 1009 ,
  CMD_GESTUREFB_HOLD = 1010 , CMD_GESTUREFB_LISTENING = 1011 , CMD_GESTUREFB_POINTSELF = 1012 , CMD_GESTUREFB_LOOKATME = 1013 ,
  CMD_GESTUREFB_OKAY = 1014 , CMD_GESTUREFB_SALUTE = 1050 , CMD_GESTUREFB_CAMPFIRE = 1051 , CMD_GESTUREFB_LYINGDOWN = 1052 ,
  CMD_GESTUREFB_SOS = 1053 , CMD_GESTUREFB_SITA = 1054 , CMD_GESTUREFB_SITB = 1055 , CMD_GESTUREFB_DABBING = 1056 ,
  CMD_GESTUREFB_KNEEL = 1057 , CMD_GESTUREFB_THROAT = 1100 , CMD_GESTUREFB_MOVE = 1103 , CMD_GESTUREFB_DOWN = 1104 ,
  CMD_GESTUREFB_COME = 1105 , CMD_GESTUREFB_TAUNTKISS = 1106 , CMD_GESTUREFB_TAUNTTHINK = 1108 , CMD_GESTUREFB_DANCE = 1109 ,
  CMD_GESTUREFB_NODHEAD = 1110 , CMD_GESTUREFB_SHAKEHEAD = 1111 , CMD_GESTUREFB_SHRUG = 1112 , CMD_GESTUREFB_SURRENDER = 1113 ,
  CMD_GESTUREFB_SURRENDERIN = 1113 , CMD_GESTUREFB_SURRENDEROUT = 1114 , CMD_TRAILER_WAKE_UP = 3000 , CMD_TRAILER_DEAD_BODY = 3001 ,
  CMD_TRAILER_WALKIE_TALKIE = 3002 , CMD_TRAILER_WOUNDED = 3003 , CMD_TRAILER_WALK_AWAY = 3004 , CMD_TRAILER_DEAD = 3005 ,
  CMD_SUICIDEFB_1HD = 2000 , CMD_SUICIDEFB_FIREAXE = 2001 , CMD_SUICIDEFB_PITCHFORK = 2002 , CMD_SUICIDEFB_PISTOL = 2003 ,
  CMD_SUICIDEFB_RIFLE = 2004 , CMD_SUICIDEFB_SWORD = 2005 , CMD_SUICIDEFB_UNARMED = 2006 , CMD_SUICIDEFB_WOODAXE = 2007 ,
  CMD_SUICIDEFB_SPEAR = 2008 , CMD_SUICIDEFB_SICKLE = 2009 , CMD_SUICIDEFB_HOE = 2010
}
 defined in C++ More...
 
enum  DayZPlayerInstanceType {
  INSTANCETYPE_SERVER , INSTANCETYPE_CLIENT , INSTANCETYPE_REMOTE , INSTANCETYPE_AI_SERVER ,
  INSTANCETYPE_AI_REMOTE , INSTANCETYPE_AI_SINGLEPLAYER
}
 defined in C++ More...
 

Functions

class DayZPlayerCameraResult DayZPlayerCamera (DayZPlayer pPlayer, HumanInputController pInput)
 
void DayZPlayerCameraResult ()
 cannot be instanced from script (always created from C++)
 
void ~DayZPlayerCameraResult ()
 cannot be instanced from script (always created from C++)
 
bool CanFreeLook ()
 this overrides freelook for cameras
 
void OnActivate (DayZPlayerCamera pPrevCamera, DayZPlayerCameraResult pPrevCameraResult)
 virtual callback - called when camera is created
 
void OnUpdate (float pDt, out DayZPlayerCameraResult pOutResult)
 virtual callback - called each frame
 
vector GetBaseAngles ()
 
vector GetAdditiveAngles ()
 
string GetCameraName ()
 
float GetCurrentYaw ()
 
float GetCurrentPitch ()
 
float GetCurrentRoll ()
 
vector GetCurrentOrientation ()
 
bool IsCamera3rdRaised ()
 
void SpawnDiagCameraShake ()
 
void SpawnCameraShake (float strength=1, float radius=2, float smoothness=5, float radius_decay_speed=6)
 
void SpawnCameraShakeProper (float strength, float radius, float smoothness, float radius_decay_speed)
 
void SendRecoilOffsetZ (float offset)
 m_fCamPosOffsetZ info, used to adjust near plane in DayZPlayerCameraIronsights now
 
class DayZPlayerTypeStepSoundLookupTable GetSoundBuilder (int eventId, int parameterHash)
 
SoundObjectBuilder GetSoundBuilder (int eventId, int pMovement, int pSurfaceHash, AnimBootsType pBoots)
 
NoiseParams GetNoiseParams (int eventId)
 
class DayZPlayerTypeAttachmentSoundLookupTable GetSoundEvent (int event_id)
 
SoundObjectBuilder GetSoundBuilder (int eventId, string slotName, int attachmentHash)
 
class VegetationSound SetDefaultItemInHandsProfile (string pAnimInstanceName, HumanItemBehaviorCfg pBehaviorCfg)
 
void VegetationSound (SoundObjectBuilder soundObjectBuilder, TIntArray animEventIds)
 
SoundObjectBuilder GetSoundObjectBuilder ()
 
TIntArray GetAnimEventIds ()
 
proto native void ResetItemInHandsProfiles ()
 reset profiles
 
proto native int AddItemInHandsProfile (string pItemClass, string pAnimInstanceName, HumanItemBehaviorCfg pBehaviorCfg)
 VKOSTIK: DO NOT FORGET !!! HumanItemBehaviorCfg.m_iPerItemCameraUD - per item camera user data - enables you setup different cameras for different items in hands.
 
proto native int AddItemInHandsProfileIK (string pItemClass, string pAnimInstanceName, HumanItemBehaviorCfg pBehaviorCfg, string pIkPoseAnim, string pWeaponStates="")
 
proto native int AddItemBoneRemap (string pItemClass, array< string > pBoneRemap)
 
proto native void DebugPreloadAnimationInstances ()
 debug / hack - loads all animation instances
 
proto native void ResetCameraCreators ()
 resets camera creators
 
proto native void RegisterCameraCreator (int pCameraID, typename pCameraType)
 registers camera creator - camera type => camera type (must be descendant of DayZPlayerCamera)
 
proto native void RegisterCameraOnChangeFnStatic (typename pClass, string pFnName)
 registers camera on change function - static function
 
proto native void RegisterCameraOnChangeFn (Class pInstance, string pFnName)
 registers camera on change function -
 
proto native void SetLookLimits (float pDown, float pUp, float pLeft, float pRight)
 sets look limits for a player
 
proto native void SetAimLimits (float pDown, float pUp, float pLeft, float pRight)
 sets aim limits for a player
 
proto native void SetVerticalMinimumAimLimit (float value)
 sets vertical minimum aim limit for a player
 
proto native void SetCameraShootParams (float pRayDistance, float pRayRadius, float pMaxAngleCos)
 sets aim limits for a player
 
proto native int GetHeadBoneIdx ()
 
proto native void RegisterStepEvent (string pEventType, float pFilterTimeout)
 calls DayZPlayer.OnStepEvent();
 
proto native void RegisterSoundEvent (string pEventType, float pFilterTimeout)
 calls DayZPlayer.OnSoundEvent();
 
proto native void RegisterParticleEvent (string pEventType, float pFilterTimeout)
 calls DayZPlayer.OnParticleEvent();
 
void RegisterStepSoundLookupTable (DayZPlayerTypeStepSoundLookupTable pSSLUT)
 
DayZPlayerTypeStepSoundLookupTable GetStepSoundLookupTable ()
 
void RegisterAttachmentSoundLookupTable (DayZPlayerTypeAttachmentSoundLookupTable pASLUT)
 
DayZPlayerTypeAttachmentSoundLookupTable GetAttachmentSoundLookupTable ()
 
void RegisterVoiceSoundLookupTable (DayZPlayerTypeVoiceSoundLookupTable pASLUT)
 
DayZPlayerTypeVoiceSoundLookupTable GetVoiceSoundLookupTable ()
 
void RegisterSoundTable (DayZPlayerTypeAnimTable pST)
 
DayZPlayerTypeAnimTable GetSoundTable ()
 
array< ref VegetationSoundGetVegetationSounds ()
 
NoiseParams GetNoiseParamsStand ()
 
NoiseParams GetNoiseParamsCrouch ()
 
NoiseParams GetNoiseParamsProne ()
 
NoiseParams GetNoiseParamsLandLight ()
 
NoiseParams GetNoiseParamsLandHeavy ()
 
NoiseParams GetNoiseParamsWhisper ()
 
NoiseParams GetNoiseParamsTalk ()
 
NoiseParams GetNoiseParamsShout ()
 
void LoadSoundWeaponEvent ()
 
void LoadVegetationSounds ()
 
AnimSoundEvent GetSoundWeaponEvent (int event_id)
 
void RegisterHitComponentsForAI ()
 register hit components for AI melee (used by attacking AI)
 
string GetHitComponentForAI ()
 
string GetDefaultHitComponent ()
 
string GetDefaultHitPositionComponent ()
 
array< stringGetSuitableFinisherHitComponents ()
 
void DayZPlayerType ()
 
void ~DayZPlayerType ()
 
proto native SHumanGlobalSettings GetGlobalSettingsW ()
 returns Human global settings for DayZPlayer
 
proto native SHumanCommandMoveSettings CommandMoveSettingsW ()
 
proto native SHumanCommandSwimSettings CommandSwimSettingsW ()
 
proto native SHumanCommandClimbSettings CommandClimbSettingsW ()
 
void SDayZPlayerHeadingModel ()
 cannot be created from script
 
void ~SDayZPlayerHeadingModel ()
 
proto native DayZPlayerType GetDayZPlayerType ()
 returns appropriate DayZPlayerType
 
proto native DayZPlayerInstanceType GetInstanceType ()
 
override string GetDebugName ()
 
bool HeadingModel (float pDt, SDayZPlayerHeadingModel pModel)
 
bool AimingModel (float pDt, SDayZPlayerAimingModel pModel)
 -------------— aiming model ----------------------—
 
void CommandHandler (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished)
 -------------— command handling ----------------------—
 
int CameraHandler (int pCameraMode)
 -------------— camera handling ----------------------—
 
proto native DayZPlayerCamera GetCurrentCamera ()
 -------------— camera additional functions ----------------------—
 
proto native void GetCurrentCameraTransform (out vector position, out vector direction, out vector rotation)
 gets transform of current player camera
 
proto native int GetCurrentPerItemCameraUD ()
 gets current camera
 
proto native bool IsCameraBlending ()
 
proto native void AnimCallCommand (int pCommand, int pParamInt, float pParamFloat)
 -------------— animation graph functions ----------------------—
 
proto native void AnimSetFloat (int pVar, float pFlt)
 
proto native void AnimSetInt (int pVar, int pInt)
 
proto native void AnimSetBool (int pVar, bool pBool)
 
proto native int Random ()
 -------------— deterministic random numbers ---------------------—
 
proto native float RandomRange (int pRange)
 Random number in range of <0,pRange-1> - !!! use this only during deterministic simulation (CommandHandler)
 
proto native float Random01 ()
 Random number in range of <0,1> - !!! use this only during deterministic simulation (CommandHandler)
 
bool IsEyeZoom ()
 DEPRICATED(use GetEyeZoomLevel()) returns true if player is using EyeZoom, otherwise false.
 
int GetEyeZoomLevel ()
 returns eye zoom level, uses ECameraZoomType values
 
bool IsShootingFromCamera ()
 return true if shots are fired from camere, otherwise false
 
bool IsHoldingBreath ()
 return true if player is trying to hold breah, otherwise false
 
bool IsPerformingFBGesture ()
 return true if player is currently performing FB gesture, otherwise false
 
bool IsInThirdPerson ()
 return true if player is currently in 3pp, otherwise false
 
proto native MeleeCombatData GetMeleeCombatData ()
 processes melee hit
 
proto native void ProcessMeleeHit (InventoryItem pMeleeWeapon, int pMeleeModeIndex, Object pTarget, int pComponentIndex, vector pHitWorldPos)
 processes melee hit (uses component index)
 
proto native void ProcessMeleeHitName (InventoryItem pMeleeWeapon, int pMeleeModeIndex, Object pTarget, string pComponentName, vector pHitWorldPos)
 processes melee hit (uses component name)
 
proto native EClientKicked GetKickOffReason ()
 get reason for kickoff if available (server only)
 
proto native void ReleaseNetworkControls ()
 -------------— release controls ----------------------—
 
proto native void SendSyncJuncture (int pJunctureID, ParamsWriteContext ctx)
 -------------— sync stuff ----------------------—
 
proto native void StoreInputForRemotes (ParamsWriteContext ctx)
 
proto native bool DebugSyncShadowSetup (DayZPlayer pPlayer)
 -------------— sync shadow ----------------------—
 
void SetCurrentWaterLevel (float pWaterLevel)
 
float GetCurrentWaterLevel ()
 
bool IsPlayerInStance (int pStanceMask)
 -------------— camera additiona functions ----------------------—
 
void OnInputForRemote (ParamsReadContext ctx)
 
void OnInputFromServer (ParamsReadContext ctx)
 
proto native float IsPlayerSpeaking ()
 -------------— speaking anim ----------------------—
 
void UpdateDummyPlayerProxyVisibility (EntityAI shoulder, EntityAI melee)
 
void ForceStandUpForHeavyItems (notnull EntityAI item)
 -------------— Forces player to stand up when swapping to heavy item ----------------------—
 
void ForceStandUpForHeavyItemsSwap (notnull EntityAI item1, notnull EntityAI item2)
 
void OnThrowingModeChange (bool change_to_enabled)
 

Variables

vector m_CameraTM [4]
 transformation matrix - pos + orient of the camera
 
float m_fFovMultiplier
 fov multiplier - 1.0 default - used for modifying fov -
 
float m_fFovAbsolute
 fov absolute value override - -1.0 default, if set - overrides absolute fov setting
 
float m_fNearPlane
 nearplane distance
 
float m_fPositionModelSpace
 0.0 position is in heading space, 1.0 position is in model space
 
float m_fDistance
 camera distance (external cameras only)
 
float m_fUseHeading
 0..1 (0 uses direct dir returned, 1 uses heading from player)
 
float m_fPredictCollisionRadius
 sphere radius used for collision prediction
 
int m_iDirectBone
 -1 no bone, >= 0 - bone index camera is bound to, m_CameraTM is offset to the bone
 
int m_iDirectBoneMode
 
float m_fInsideCamera
 0 not used, 1 - pos, 2 - rot, 3 - pos+rot applied as a parent to m_CameraTM, 4 as 3 but cam aligned with Y
 
bool m_bUpdateWhenBlendOut
 true - camera is updated when blending to new camera (Ironsights == false)
 
float m_fShootFromCamera
 1(default) - uses shoot from camera (+aiming sway), 0 pure weapon shoot (ironsights == 0)
 
float m_fIgnoreParentRoll
 1 - resets base transforms roll
 
float m_fIgnoreParentPitch
 1 - resets base transforms pitch
 
float m_fIgnoreParentYaw
 1 - resets base transforms yaw
 
bool m_bUpdateEveryFrame
 Whether the camera updates the next frame or blends with next character update.
 
vector m_OwnerTM [4]
 override automatically calculated owner transform during rendering (default - false)
 
bool m_bOwnerTMOverride
 The world space transform of the owner to the camera.
 
IEntity m_CollisionIgnoreEntity
 ignore entity in 3rd person camera collision solver
 
DayZPlayer m_pPlayer
 data
 
HumanInputController m_pInput
 human input
 
ref SoundObjectBuilder m_SoundObjectBuilder
 
ref TIntArray m_AnimEventIds
 
ref DayZPlayerTypeStepSoundLookupTable m_pStepSoundLookupTable
 
ref DayZPlayerTypeAttachmentSoundLookupTable m_pAttachmentSoundLookupTable
 
ref DayZPlayerTypeVoiceSoundLookupTable m_pVoiceSoundLookupTable
 
ref DayZPlayerTypeAnimTable m_pSoundTable
 
ref NoiseParams m_pNoiseStepStand
 
ref NoiseParams m_pNoiseStepCrouch
 
ref NoiseParams m_pNoiseStepProne
 
ref NoiseParams m_pNoiseLandLight
 
ref NoiseParams m_pNoiseLandHeavy
 
ref NoiseParams m_pNoiseWhisper
 
ref NoiseParams m_pNoiseTalk
 
ref NoiseParams m_pNoiseShout
 
ref array< ref VegetationSoundm_pVegetationSounds
 
ref array< ref DayZAIHitComponentm_HitComponentsForAI
 Melee hit components (AI targeting)
 
string m_DefaultHitComponent
 
string m_DefaultHitPositionComponent
 
ref array< stringm_SuitableFinisherHitComponents
 
ref array< ref AnimSoundEventm_animSoundEventsAttack
 
enum DayZPlayerConstants SetDefaultItemInHandsProfile
 
enum DayZPlayerInstanceType m_iCamMode
 
int m_iCurrentCommandID
 
float m_fOrientationAngle
 
float m_fHeadingAngle
 
class SDayZPlayerAimingModel SIMPLE_SELECTION_MELEE_RIFLE = 0
 
const int SIMPLE_SELECTION_MELEE_MELEE = 1
 
const int SIMPLE_SELECTION_SHOULDER_RIFLE = 2
 
const int SIMPLE_SELECTION_SHOULDER_MELEE = 3
 

Detailed Description

this file is interface DayZPlayer classes

Definition in file dayzplayer.c.

Enumeration Type Documentation

◆ DayZPlayerConstants

defined in C++

Enumerator
DEBUG_MENU 

dayz player debug menu in enfusion


-------------------— movement stances --------------—

DEBUG_TURNSLIDE 

over turn slides / clamps

DEBUG_SHOWDEBUGPLUGIN 

menu for showing debug plugin

DEBUG_SHOWINJURY 

menu for showing injuries

DEBUG_SHOWEXHAUSTION 

menu for showing exhaustion

DEBUG_ENABLEJUMP 

menu for showing exhaustion

DEBUG_ENABLETALKING 

option for showing talk command

STANCEIDX_ERECT 

-------------------— movement stances --------------—

STANCEIDX_CROUCH 
STANCEIDX_PRONE 
STANCEIDX_RAISEDERECT 
STANCEIDX_RAISEDCROUCH 
STANCEIDX_RAISEDPRONE 
STANCEIDX_RAISED 
STANCEMASK_ERECT 

stance masks

STANCEMASK_CROUCH 
STANCEMASK_PRONE 
STANCEMASK_RAISEDERECT 
STANCEMASK_RAISEDCROUCH 
STANCEMASK_RAISEDPRONE 
STANCEMASK_ALL 
STANCEMASK_NOTRAISED 
STANCEMASK_RAISED 
MOVEMENT_IDLE 

movements - masks

MOVEMENT_WALK 

0x1

MOVEMENT_RUN 

0x2

MOVEMENT_SPRINT 

0x4

ROTATION_DISABLE 

0x8

rotation modes

ROTATION_ENABLE 
MOVEMENTIDX_SLIDE 

movement idx

MOVEMENTIDX_IDLE 
MOVEMENTIDX_WALK 
MOVEMENTIDX_RUN 
MOVEMENTIDX_SPRINT 
MOVEMENTIDX_CROUCH_RUN 
MELEE_LIGHT 

melee hit type

MELEE_HEAVY 
VEHICLECLASS_CAR 

vehicle classes

VEHICLECLASS_HELI 
VEHICLESEAT_DRIVER 

vehicle seats

VEHICLESEAT_CODRIVER 
VEHICLESEAT_PASSENGER_L 
VEHICLESEAT_PASSENGER_R 
DEATH_DEFAULT 

death types

DEATH_PULL_OUT_TRANSPORT 

not defining in C++ as it is only used in script for undefined type

DEATH_BODY 

transport death -> death - special handling for pulling a dead player out of a vehicle

DEATH_FAST 

locomotion -> death - normal death animation while a player is conciscious

DEATH_WATER 

locomotion -> death - faster animation, for impulse driven deaths, i.e. hit by vehicle

DEATH_FALL 

swimming -> death

DEATH_UNCON_ON_LAND 

falling -> death

DEATH_UNCON_IN_WATER 

unconscious -> death - while not in water

COMMANDID_NONE 

unconscious -> death - while in water


-------------------— COMMAND IDs -------------------—

command ids - main movement commands

COMMANDID_MOVE 
COMMANDID_ACTION 
COMMANDID_MELEE 
COMMANDID_MELEE2 
COMMANDID_FALL 
COMMANDID_DEATH 
COMMANDID_DAMAGE 
COMMANDID_LADDER 
COMMANDID_UNCONSCIOUS 
COMMANDID_SWIM 
COMMANDID_VEHICLE 
COMMANDID_CLIMB 
COMMANDID_SCRIPT 
COMMANDID_MOD_LOOKAT 

modifier commands - additive behaviour

COMMANDID_MOD_WEAPONS 
COMMANDID_MOD_ACTION 
COMMANDID_MOD_DAMAGE 
CMD_ACTIONINT_INTERRUPT 

internal action commands used in HumanCommandActionCallback.InternalCommand()


-------------------— ACTIONS -----------------------—

totally interrupt action (no animation, just blend)

CMD_ACTIONINT_FINISH 

secondary ending (finishing action, eg running out of water while drinking, not all actions have this)

CMD_ACTIONINT_END 

end action (stopping action, without finish, all actions have this)

CMD_ACTIONINT_ACTION 

one time secondary action within an action

CMD_ACTIONINT_ACTIONLOOP 

loop secondary action within an action

CMD_ACTIONMOD_DRINK 

animations constants

note: (erc - standing, cro - crouching, pne - prone) anim pose it can start from note: (end, end2, action, loop2) internal command which can be send in loop state looping


modifier (differential animation)

CMD_ACTIONMOD_EAT 
CMD_ACTIONMOD_EMPTY_VESSEL 
CMD_ACTIONMOD_CATCHRAIN 
CMD_ACTIONMOD_VIEWCOMPASS 
CMD_ACTIONMOD_ITEM_TUNE 
CMD_ACTIONMOD_GIVEL 
CMD_ACTIONMOD_GIVER 
CMD_ACTIONMOD_SHAVE 
CMD_ACTIONMOD_FILLMAG 
CMD_ACTIONMOD_EMPTYMAG 
CMD_ACTIONMOD_OPENITEM 
CMD_ACTIONMOD_TAKETEMPSELF 
CMD_ACTIONMOD_VIEWMAP 
CMD_ACTIONMOD_RAISEITEM 
CMD_ACTIONMOD_SEARCHINVENTORY 
CMD_ACTIONMOD_CRAFTING 
CMD_ACTIONMOD_RESTRAINEDSTRUGGLE 
CMD_ACTIONMOD_COVERHEAD_SELF 
CMD_ACTIONMOD_COVERHEAD_TARGET 
CMD_ACTIONMOD_SET_ALARM 
CMD_ACTIONMOD_SET_KITCHENTIMER 
CMD_ACTIONMOD_RESET_KITCHENTIMER 
CMD_ACTIONMOD_PICKUP_HANDS 
CMD_ACTIONMOD_PICKUP_INVENTORY 
CMD_ACTIONMOD_LICKBATTERY 
CMD_ACTIONMOD_LIGHTFLARE 
CMD_ACTIONMOD_LITCHEMLIGHT 
CMD_ACTIONMOD_UNPINGRENAGE 
CMD_ACTIONMOD_OPENDOORFW 
CMD_ACTIONMOD_OPENLID 
CMD_ACTIONMOD_CLOSELID 
CMD_ACTIONMOD_ITEM_ON 
CMD_ACTIONMOD_ITEM_OFF 
CMD_ACTIONMOD_BATONEXTEND 
CMD_ACTIONMOD_BATONRETRACT 
CMD_ACTIONMOD_UNLOCKHANDCUFFTARGET 
CMD_ACTIONMOD_FISHINGRODEXTEND 
CMD_ACTIONMOD_FISHINGRODRETRACT 
CMD_ACTIONMOD_CLEANHANDSBOTTLE 
CMD_ACTIONMOD_OPENITEM_ONCE 
CMD_ACTIONMOD_ATTACHSCOPE 
CMD_ACTIONMOD_ATTACHBARREL 
CMD_ACTIONMOD_EMPTYSEEDSPACK 
CMD_ACTIONMOD_INTERACTONCE 
CMD_ACTIONMOD_ATTACHITEM 
CMD_ACTIONMOD_CLOSEITEM_ONCE 
CMD_ACTIONMOD_FOLDITEM_ONCE 
CMD_ACTIONMOD_UNFOLDITEM_ONCE 
CMD_ACTIONMOD_PRESS_TRIGGER 
CMD_ACTIONMOD_STOP_ALARM 
CMD_ACTIONMOD_EAT_PILL 
CMD_ACTIONMOD_EAT_TABLET 
CMD_ACTIONMOD_HEATPACK 
CMD_ACTIONMOD_BLOODTEST 
CMD_ACTIONMOD_BLOODTESTOTHER 
CMD_ACTIONMOD_DROPITEM_HANDS 
CMD_ACTIONMOD_DROPITEM_INVENTORY 
CMD_ACTIONFB_DRINK 

fb (full body)

CMD_ACTIONFB_EAT 
CMD_ACTIONFB_CATCHRAIN 
CMD_ACTIONFB_ITEM_TUNE 
CMD_ACTIONFB_GIVEL 
CMD_ACTIONFB_GIVER 
CMD_ACTIONFB_FILLMAG 
CMD_ACTIONFB_EMPTYMAG 
CMD_ACTIONFB_DRINKPOND 
CMD_ACTIONFB_DRINKWELL 
CMD_ACTIONFB_FILLBOTTLEWELL 
CMD_ACTIONFB_FIREESTINGUISHER 
CMD_ACTIONFB_WRING 
CMD_ACTIONFB_FISHING 
CMD_ACTIONFB_CPR 
CMD_ACTIONFB_BANDAGE 
CMD_ACTIONFB_CRAFTING 
CMD_ACTIONFB_INTERACT 
CMD_ACTIONFB_FORCEFEED 
CMD_ACTIONFB_BANDAGETARGET 
CMD_ACTIONFB_SPRAYPLANT 
CMD_ACTIONFB_STARTFIRE 
CMD_ACTIONFB_ANIMALSKINNING 
CMD_ACTIONFB_WASHHANDSWELL 
CMD_ACTIONFB_WASHHANDSPOND 
CMD_ACTIONFB_SALINEBLOODBAGTARGET 
CMD_ACTIONFB_SALINEBLOODBAG 
CMD_ACTIONFB_STITCHUPSELF 
CMD_ACTIONFB_VOMIT 
CMD_ACTIONFB_UNRESTRAINTARGET 
CMD_ACTIONFB_RESTRAINTARGET 
CMD_ACTIONFB_CHECKPULSE 
CMD_ACTIONFB_CLEANWOUNDSTARGET 
CMD_ACTIONFB_COLLECTBLOODSELF 
CMD_ACTIONFB_EMPTY_VESSEL 
CMD_ACTIONFB_OPENITEM 
CMD_ACTIONFB_HACKBUSH 
CMD_ACTIONFB_HACKTREE 
CMD_ACTIONFB_TAKETEMPSELF 
CMD_ACTIONFB_DIG 
CMD_ACTIONFB_DIGUPCACHE 
CMD_ACTIONFB_DIGMANIPULATE 
CMD_ACTIONFB_DEPLOY_HEAVY 
CMD_ACTIONFB_DEPLOY_2HD 
CMD_ACTIONFB_DEPLOY_1HD 
CMD_ACTIONFB_BLOWFIREPLACE 
CMD_ACTIONFB_VIEWMAP 
CMD_ACTIONFB_VIEWCOMPASS 
CMD_ACTIONFB_FILLBOTTLEPOND 
CMD_ACTIONFB_PLACING_HEAVY 
CMD_ACTIONFB_PLACING_2HD 
CMD_ACTIONFB_PLACING_1HD 
CMD_ACTIONFB_CUTBARK 
CMD_ACTIONFB_VIEWNOTE 
CMD_ACTIONFB_SEARCHINVENTORY 
CMD_GESTUREFB_LOOKOPTICS 
CMD_ACTIONFB_MINEROCK 
CMD_ACTIONFB_RAISEITEM 
CMD_ACTIONFB_RESTRAINEDSTRUGGLE 
CMD_ACTIONFB_RESTRAINSELF 
CMD_ACTIONFB_ASSEMBLE 
CMD_ACTIONFB_DISASSEMBLE 
CMD_ACTIONFB_FLAME_REPAIR 
CMD_ACTIONFB_TURN_VALVE 
CMD_ACTIONFB_SET_ALARM 
CMD_ACTIONFB_SHOVEL_DIG 
CMD_ACTIONFB_VEHICLE_PUSH 
CMD_ACTIONFB_PATCHING_TIRE 
CMD_ACTIONFB_PATCHING_DUCTTAPE 
CMD_ACTIONFB_PATCHING_SEWING 
CMD_ACTIONFB_PATCHING_LEATHER_SEWING_KIT 
CMD_ACTIONFB_SPLITTING_FIREWOOD 
CMD_ACTIONFB_BREAKING_STICK 
CMD_ACTIONFB_CLEANING_WEAPON 
CMD_ACTIONFB_PICKUP_HANDS 
CMD_ACTIONFB_PICKUP_INVENTORY 
CMD_ACTIONFB_LICKBATTERY 
CMD_ACTIONFB_LIGHTFLARE 
CMD_ACTIONFB_LITCHEMLIGHT 
CMD_ACTIONFB_UNPINGRENAGE 
CMD_ACTIONFB_ITEM_ON 
CMD_ACTIONFB_ITEM_OFF 
CMD_ACTIONFB_HANDCUFFTARGET 
CMD_ACTIONFB_MORPHINE 
CMD_ACTIONFB_INJECTION 
CMD_ACTIONFB_INJECTIONTARGET 
CMD_ACTIONFB_DRINKSIP 
CMD_ACTIONFB_CLEANHANDSBOTTLE 
CMD_ACTIONFB_OPENITEM_ONCE 
CMD_ACTIONFB_POKE 
CMD_ACTIONFB_ATTACHSCOPE 
CMD_ACTIONFB_ATTACHBARREL 
CMD_ACTIONFB_RESTRAIN 
CMD_ACTIONFB_PICKUP_HEAVY 
CMD_ACTIONFB_PRESS_TRIGGER 
CMD_ACTIONFB_RAISE_FLAG 
CMD_ACTIONFB_LOWER_FLAG 
CMD_ACTIONFB_STOP_ALARM 
CMD_ACTIONFB_EAT_PILL 
CMD_ACTIONFB_EAT_TABLET 
CMD_ACTIONFB_HEATPACK 
CMD_ACTIONFB_DROPITEM_HANDS 
CMD_TRAILER_MASK 

-------------------— TRAILER -----------------------—

CMD_TRAILER_MASK_02 
CMD_ACTIONMOD_STARTENGINE 

-------------------— VEHICLES ----------------------—

CMD_ACTIONMOD_TOOTHORN 
CMD_ACTIONMOD_DRIVER_DOOR_OPEN 
CMD_ACTIONMOD_DRIVER_DOOR_CLOSE 
CMD_ACTIONMOD_CODRIVER_DOOROPEN 
CMD_ACTIONMOD_CODRIVER_DOORCLOSE 
CMD_ACTIONMOD_STOPENGINE 
CMD_ACTIONMOD_SHIFTGEAR 
CMD_ACTIONMOD_HEADLIGHT 
CMD_GESTUREMOD_GREETING 

-------------------— GESTURES ----------------------—

modifier (differential animation)

CMD_GESTUREMOD_POINT 
CMD_GESTUREMOD_THUMB 
CMD_GESTUREMOD_THUMBDOWN 
CMD_GESTUREMOD_SILENCE 
CMD_GESTUREMOD_TAUNT 
CMD_GESTUREMOD_TIMEOUT 
CMD_GESTUREMOD_HEART 
CMD_GESTUREMOD_FACEPALM 
CMD_GESTUREMOD_WATCHING 
CMD_GESTUREMOD_HOLD 
CMD_GESTUREMOD_LISTENING 
CMD_GESTUREMOD_POINTSELF 
CMD_GESTUREMOD_LOOKATME 
CMD_GESTUREMOD_OKAY 
CMD_GESTUREMOD_RPS 
CMD_ACTIONINT_RPS_ROCK 
CMD_ACTIONINT_RPS_PAPER 
CMD_ACTIONINT_RPS_SCISSORS 
CMD_GESTUREMOD_THROAT 
CMD_GESTUREMOD_CLAP 
CMD_GESTUREMOD_DABBING 
CMD_GESTUREMOD_MOVE 
CMD_GESTUREMOD_DOWN 
CMD_GESTUREMOD_COME 
CMD_GESTUREMOD_TAUNTKISS 
CMD_GESTUREMOD_TAUNTELBOW 
CMD_GESTUREMOD_TAUNTTHINK 
CMD_GESTUREMOD_NODHEAD 
CMD_GESTUREMOD_SHAKEHEAD 
CMD_GESTUREMOD_SHRUG 
CMD_GESTUREMOD_SURRENDER 
CMD_GESTUREMOD_SURRENDERIN 
CMD_GESTUREMOD_SURRENDEROUT 
CMD_GESTUREFB_GREETING 

fb (full body)

CMD_GESTUREFB_POINT 
CMD_GESTUREFB_THUMB 
CMD_GESTUREFB_THUMBDOWN 
CMD_GESTUREFB_SILENCE 
CMD_GESTUREFB_TAUNT 
CMD_GESTUREFB_TIMEOUT 
CMD_GESTUREFB_HEART 
CMD_GESTUREFB_WATCHING 
CMD_GESTUREFB_HOLD 
CMD_GESTUREFB_LISTENING 
CMD_GESTUREFB_POINTSELF 
CMD_GESTUREFB_LOOKATME 
CMD_GESTUREFB_OKAY 
CMD_GESTUREFB_SALUTE 
CMD_GESTUREFB_CAMPFIRE 
CMD_GESTUREFB_LYINGDOWN 
CMD_GESTUREFB_SOS 
CMD_GESTUREFB_SITA 
CMD_GESTUREFB_SITB 
CMD_GESTUREFB_DABBING 
CMD_GESTUREFB_KNEEL 
CMD_GESTUREFB_THROAT 
CMD_GESTUREFB_MOVE 
CMD_GESTUREFB_DOWN 
CMD_GESTUREFB_COME 
CMD_GESTUREFB_TAUNTKISS 
CMD_GESTUREFB_TAUNTTHINK 
CMD_GESTUREFB_DANCE 
CMD_GESTUREFB_NODHEAD 
CMD_GESTUREFB_SHAKEHEAD 
CMD_GESTUREFB_SHRUG 
CMD_GESTUREFB_SURRENDER 
CMD_GESTUREFB_SURRENDERIN 
CMD_GESTUREFB_SURRENDEROUT 
CMD_TRAILER_WAKE_UP 

-------------------— TRAILER -----------------------—

CMD_TRAILER_DEAD_BODY 
CMD_TRAILER_WALKIE_TALKIE 
CMD_TRAILER_WOUNDED 
CMD_TRAILER_WALK_AWAY 
CMD_TRAILER_DEAD 
CMD_SUICIDEFB_1HD 

-------------------— SUICIDE -----------------------—

fb (full body)

CMD_SUICIDEFB_FIREAXE 
CMD_SUICIDEFB_PITCHFORK 
CMD_SUICIDEFB_PISTOL 
CMD_SUICIDEFB_RIFLE 
CMD_SUICIDEFB_SWORD 
CMD_SUICIDEFB_UNARMED 
CMD_SUICIDEFB_WOODAXE 
CMD_SUICIDEFB_SPEAR 
CMD_SUICIDEFB_SICKLE 
CMD_SUICIDEFB_HOE 

Definition at line 596 of file dayzplayer.c.

597{
601 DEBUG_MENU,
608
609
613
620 /*
621 STANCEIDX_ERECT + STANCEIDX_RAISED = STANCEIDX_RAISEDERECT
622 STANCEIDX_RAISEDCROUCH - STANCEIDX_RAISED = STANCEIDX_CROUCH...
623 */
625
626
634 STANCEMASK_ALL, // STANCEMASK_ERECT | STANCEMASK_CROUCH | STANCEMASK_PRONE | STANCEMASK_RAISEDERECT | STANCEMASK_RAISEDCROUCH | STANCEMASK_RAISEDPRONE
637
638
644
646
649
654 MOVEMENTIDX_RUN = 2,
657
659 MELEE_LIGHT = 0,
660 MELEE_HEAVY = 1,
661
662
666
672
674 DEATH_DEFAULT = -1,
676 DEATH_BODY,
677 DEATH_FAST,
679 DEATH_FALL,
682 // - Type not used for "swimming to death" or "transport to death"
683
687
689 COMMANDID_NONE, // type is int - no command - invalid state
690 COMMANDID_MOVE, // type is int (overridden from C++) - normal movement (idle, walk, run, sprint, ... )
691 COMMANDID_ACTION, // type is int (overridden from C++) - full body action
692 COMMANDID_MELEE, // type is int (overridden from C++) - melee attacks
693 COMMANDID_MELEE2, // type is int (overridden from C++) - melee attacks
694 COMMANDID_FALL, // type is int (overridden from C++) - falling
695 COMMANDID_DEATH, // type is int (overridden from C++) - dead
696 COMMANDID_DAMAGE, // type is int (overridden from C++) - fullbody damage
697 COMMANDID_LADDER, // type is int (overridden from C++) - ladder
698 COMMANDID_UNCONSCIOUS, // type is int (overridden from C++) - unconscious
699 COMMANDID_SWIM, // type is int (overridden from C++) - swimming
700 COMMANDID_VEHICLE, // type is int (overridden from C++) - vehicle
701 COMMANDID_CLIMB, // type is int (overridden from C++) - climb
702 COMMANDID_SCRIPT, // type is int (overridden from C++) - all scripted commands
703
704
706 COMMANDID_MOD_LOOKAT, // look at - always on
707 COMMANDID_MOD_WEAPONS, // weapons - always on
708 COMMANDID_MOD_ACTION, // action - additive action
709 COMMANDID_MOD_DAMAGE, // damage - additive damage
710
711
715
722
723
725
728
730
733 CMD_ACTIONMOD_DRINK = 0, // erc,cro [end, end2]
734 CMD_ACTIONMOD_EAT = 1, // erc,cro [end, end2]
735 CMD_ACTIONMOD_EMPTY_VESSEL = 2, // erc,cro [end]
736 CMD_ACTIONMOD_CATCHRAIN = 3, // erc,cro [end]
737 CMD_ACTIONMOD_VIEWCOMPASS = 7, // erc,cro [end]
738 CMD_ACTIONMOD_ITEM_TUNE = 9, // erc,cro [end]
739 CMD_ACTIONMOD_GIVEL = 10, // erc,cro [end]
740 CMD_ACTIONMOD_GIVER = 11, // erc,cro [end]
741 CMD_ACTIONMOD_SHAVE = 12, // erc,cro [end]
742 CMD_ACTIONMOD_FILLMAG = 13, // erc,cro [end]
743 CMD_ACTIONMOD_EMPTYMAG = 14, // erc,cro [end]
744 CMD_ACTIONMOD_OPENITEM = 15, // erc,cro [end]
745 CMD_ACTIONMOD_TAKETEMPSELF = 18, // erc,cro [end]
746 CMD_ACTIONMOD_VIEWMAP = 19, // erc,cro [end]
747 CMD_ACTIONMOD_RAISEITEM = 20, // erc,cro [end]
748 CMD_ACTIONMOD_SEARCHINVENTORY = 21, // erc,cro [end]
749 CMD_ACTIONMOD_CRAFTING = 22, // erc,cro [end]
750 CMD_ACTIONMOD_RESTRAINEDSTRUGGLE = 23, // erc,cro [end, end2]
751 CMD_ACTIONMOD_COVERHEAD_SELF = 24, // erc,cro [end, end2]
752 CMD_ACTIONMOD_COVERHEAD_TARGET = 25, // erc,cro [end, end2]
756
757 // onetime
758 CMD_ACTIONMOD_PICKUP_HANDS = 500, // erc,cro
759 CMD_ACTIONMOD_PICKUP_INVENTORY = 501, // erc,cro
760 CMD_ACTIONMOD_LICKBATTERY = 502, // erc,cro
761 CMD_ACTIONMOD_LIGHTFLARE = 503, // erc,cro
762 CMD_ACTIONMOD_LITCHEMLIGHT = 504, // erc,cro
763 CMD_ACTIONMOD_UNPINGRENAGE = 505, // erc,cro
764 CMD_ACTIONMOD_OPENDOORFW = 506, // erc,cro
765 CMD_ACTIONMOD_OPENLID = 507, // erc,cro
766 CMD_ACTIONMOD_CLOSELID = 508, // erc,cro
767 CMD_ACTIONMOD_ITEM_ON = 509, // erc,cro
768 CMD_ACTIONMOD_ITEM_OFF = 510, // erc,cro
769 CMD_ACTIONMOD_BATONEXTEND = 511, // erc,cro
770 CMD_ACTIONMOD_BATONRETRACT = 512, // erc,cro
771 CMD_ACTIONMOD_UNLOCKHANDCUFFTARGET = 513, // erc,cro
772 CMD_ACTIONMOD_FISHINGRODEXTEND = 514, // erc,cro
773 CMD_ACTIONMOD_FISHINGRODRETRACT = 515, // erc,cro
774 CMD_ACTIONMOD_CLEANHANDSBOTTLE = 516, // erc,cro
775 CMD_ACTIONMOD_OPENITEM_ONCE = 517, // erc,cro
776 CMD_ACTIONMOD_ATTACHSCOPE = 518, // erc,cro
777 CMD_ACTIONMOD_ATTACHBARREL = 519, // erc,cro
778 CMD_ACTIONMOD_EMPTYSEEDSPACK = 520, // erc,cro
779 CMD_ACTIONMOD_INTERACTONCE = 521, // erc,cro
780 CMD_ACTIONMOD_ATTACHITEM = 522, // erc,cro
781 CMD_ACTIONMOD_CLOSEITEM_ONCE = 523, // erc,cro,pne
782 CMD_ACTIONMOD_FOLDITEM_ONCE = 524, // erc,cro
783 CMD_ACTIONMOD_UNFOLDITEM_ONCE = 525, // erc,cro
784 CMD_ACTIONMOD_PRESS_TRIGGER = 526, // erc,cro
786 CMD_ACTIONMOD_EAT_PILL = 527, // erc,cro
787 CMD_ACTIONMOD_EAT_TABLET = 528, // erc,cro
788 CMD_ACTIONMOD_HEATPACK = 529, // erc,cro
789 CMD_ACTIONMOD_BLOODTEST = 530, // erc,cro
790 CMD_ACTIONMOD_BLOODTESTOTHER = 531, // erc,cro
791
792
793 CMD_ACTIONMOD_DROPITEM_HANDS = 900, // erc, cro
794 CMD_ACTIONMOD_DROPITEM_INVENTORY = 901, // erc, cro
795
796
799 CMD_ACTIONFB_DRINK = 0, // pne [end, end2]
800 CMD_ACTIONFB_EAT = 1, // pne [end, end2]
801 CMD_ACTIONFB_CATCHRAIN = 3, // pne [end]
802 CMD_ACTIONFB_ITEM_TUNE = 9, // pne [end]
803 CMD_ACTIONFB_GIVEL = 10, // pne [end]
804 CMD_ACTIONFB_GIVER = 11, // pne [end]
805 CMD_ACTIONFB_FILLMAG = 13, // pne [end]
806 CMD_ACTIONFB_EMPTYMAG = 14, // pne [end]
807 CMD_ACTIONFB_DRINKPOND = 50, // cro [end]
808 CMD_ACTIONFB_DRINKWELL = 51, // cro [end]
809 CMD_ACTIONFB_FILLBOTTLEWELL = 52, // cro [end]
810 CMD_ACTIONFB_FIREESTINGUISHER = 53, // erc [end]
811 CMD_ACTIONFB_WRING = 54, // cro [end]
812 CMD_ACTIONFB_FISHING = 56, // cro [action (check fish), end(catch fish), end2(not catching anything ]
813 CMD_ACTIONFB_CPR = 57, // cro [end]
814 CMD_ACTIONFB_BANDAGE = 58, // cro [end]
815 CMD_ACTIONFB_CRAFTING = 59, // cro [end]
816 CMD_ACTIONFB_INTERACT = 60, // erc,cro [end]
817 CMD_ACTIONFB_FORCEFEED = 62, // erc,cro [end]
818 CMD_ACTIONFB_BANDAGETARGET = 63, // erc,cro [end]
819 CMD_ACTIONFB_SPRAYPLANT = 64, // cro [end]
820 CMD_ACTIONFB_STARTFIRE = 65, // cro [end]
821 CMD_ACTIONFB_ANIMALSKINNING = 66, // cro [end]
822 CMD_ACTIONFB_WASHHANDSWELL = 67, // cro [end]
823 CMD_ACTIONFB_WASHHANDSPOND = 68, // cro [end]
824 CMD_ACTIONFB_SALINEBLOODBAGTARGET = 69, // erc,cro [end]
825 CMD_ACTIONFB_SALINEBLOODBAG = 70, // erc,cro [end]
826 CMD_ACTIONFB_STITCHUPSELF = 71, // erc,cro [end]
827 CMD_ACTIONFB_VOMIT = 72, // cro [end]
828 CMD_ACTIONFB_UNRESTRAINTARGET = 73, // erc,cro [end (finish cutting), end2 (cancel cutting)]
829 CMD_ACTIONFB_RESTRAINTARGET = 74, // erc,cro [end (finish tying up), end2 (cancel tying up)]
830 CMD_ACTIONFB_CHECKPULSE = 76, // cro [end]
831 CMD_ACTIONFB_CLEANWOUNDSTARGET = 78, // erc, cro [end]
832 CMD_ACTIONFB_COLLECTBLOODSELF = 81, // erc, cro [end]
833 CMD_ACTIONFB_EMPTY_VESSEL = 82, // erc, cro [end]
834 CMD_ACTIONFB_OPENITEM = 83, // pne [end]
835 CMD_ACTIONFB_HACKBUSH = 85, // erc [end, end2]
836 CMD_ACTIONFB_HACKTREE = 86, // erc [end, end2]
837 CMD_ACTIONFB_TAKETEMPSELF = 87, // pne [end]
838 CMD_ACTIONFB_DIG = 88, // erc [end, end2]
839 CMD_ACTIONFB_DIGUPCACHE = 89, // erc [end, end2]
840 CMD_ACTIONFB_DIGMANIPULATE = 90, // erc [end, end2]
841 CMD_ACTIONFB_DEPLOY_HEAVY = 95, // erc [end, end2]
842 CMD_ACTIONFB_DEPLOY_2HD = 96, // cro [end, end2]
843 CMD_ACTIONFB_DEPLOY_1HD = 97, // cro [end, end2]
844 CMD_ACTIONFB_BLOWFIREPLACE = 98, // cro [end]
845 CMD_ACTIONFB_VIEWMAP = 99, // pne [end]
846 CMD_ACTIONFB_VIEWCOMPASS = 100, // pne [end]
847 CMD_ACTIONFB_FILLBOTTLEPOND = 101, // erc, cro [end]
848 CMD_ACTIONFB_PLACING_HEAVY = 102, // erc [end, end2]
849 CMD_ACTIONFB_PLACING_2HD = 103, // cro [end, end2]
850 CMD_ACTIONFB_PLACING_1HD = 104, // cro [end, end2]
851 CMD_ACTIONFB_CUTBARK = 105, // erc,cro [end, end2]
852 CMD_ACTIONFB_VIEWNOTE = 106, // erc,cro,pne [end]
853 CMD_ACTIONFB_SEARCHINVENTORY = 107, // pne [end]
854 CMD_GESTUREFB_LOOKOPTICS = 108, // erc,cro,pne [end]
855 CMD_ACTIONFB_MINEROCK = 109, // erc [end, end2]
856 CMD_ACTIONFB_RAISEITEM = 110, // pne [end]
857 CMD_ACTIONFB_RESTRAINEDSTRUGGLE = 111, // ,pne [end, end2]
858 CMD_ACTIONFB_RESTRAINSELF = 112, // erc,cro [end]
859 CMD_ACTIONFB_ASSEMBLE = 113, // erc,cro [end, end2]
860 CMD_ACTIONFB_DISASSEMBLE = 114, // erc,cro [end, end2]
861 CMD_ACTIONFB_FLAME_REPAIR = 115, // erc, cro
862 CMD_ACTIONFB_TURN_VALVE = 116, // erc
863 CMD_ACTIONFB_SET_ALARM = 250, // erc,cro ??not sure
864 CMD_ACTIONFB_SHOVEL_DIG = 117, // cro [end, end2]
865 CMD_ACTIONFB_VEHICLE_PUSH = 118, // erc
866 CMD_ACTIONFB_PATCHING_TIRE = 119, // cro [end]
867 CMD_ACTIONFB_PATCHING_DUCTTAPE = 120, // cro [end]
868 CMD_ACTIONFB_PATCHING_SEWING = 121, // cro [end]
870 CMD_ACTIONFB_SPLITTING_FIREWOOD = 123, // cro [end]
871 CMD_ACTIONFB_BREAKING_STICK = 124, // cro [end]
872 CMD_ACTIONFB_CLEANING_WEAPON = 125, // cro [end]
873
874 // onetime
875 CMD_ACTIONFB_PICKUP_HANDS = 500, // pne
877 CMD_ACTIONFB_LICKBATTERY = 502, // pne
878 CMD_ACTIONFB_LIGHTFLARE = 503, // pne
879 CMD_ACTIONFB_LITCHEMLIGHT = 504, // pne
880 CMD_ACTIONFB_UNPINGRENAGE = 505, // pne
881 CMD_ACTIONFB_ITEM_ON = 506, // pne
882 CMD_ACTIONFB_ITEM_OFF = 507, // pne
883 CMD_ACTIONFB_HANDCUFFTARGET = 508, // erc,cro
884 CMD_ACTIONFB_MORPHINE = 509, // cro
885 CMD_ACTIONFB_INJECTION = 510, // cro
886 CMD_ACTIONFB_INJECTIONTARGET = 511, // erc,cro
887 CMD_ACTIONFB_DRINKSIP = 512, // cro
889 CMD_ACTIONFB_OPENITEM_ONCE = 514, // pne
890 CMD_ACTIONFB_POKE = 515, // cro
891 CMD_ACTIONFB_ATTACHSCOPE = 516, // pne
892 CMD_ACTIONFB_ATTACHBARREL = 517, // pne
893 CMD_ACTIONFB_RESTRAIN = 518, // erc,cro,pne
894 CMD_ACTIONFB_PICKUP_HEAVY = 519, // erc
895 CMD_ACTIONFB_PRESS_TRIGGER = 526, // pne
896 CMD_ACTIONFB_RAISE_FLAG = 600, // erc?
897 CMD_ACTIONFB_LOWER_FLAG = 601, // erc?
899 CMD_ACTIONFB_EAT_PILL = 527, // pne
900 CMD_ACTIONFB_EAT_TABLET = 528, // pne
901 CMD_ACTIONFB_HEATPACK = 529, // pne
902
903 CMD_ACTIONFB_DROPITEM_HANDS = 900, // pne, pne back
904
908 CMD_TRAILER_MASK = 3006,
909 CMD_TRAILER_MASK_02 = 3007,
910
911
915
916 // looping actions
917 CMD_ACTIONMOD_STARTENGINE = 300, // [end]
918 CMD_ACTIONMOD_TOOTHORN = 301, // [end]
919
920 // onetime actions
928
929
934 CMD_GESTUREMOD_GREETING = 1000, // erc,cro [end]
935 CMD_GESTUREMOD_POINT = 1001, // erc,cro [end]
936 CMD_GESTUREMOD_THUMB = 1002, // erc,cro [end, CMD_ACTIONINT_ACTION to switch to THUMB DOWN]
937 CMD_GESTUREMOD_THUMBDOWN = 1003, // erc,cro [end, CMD_ACTIONINT_ACTION to switch to THUMB UP]
938 CMD_GESTUREMOD_SILENCE = 1004, // erc,cro [end]
939 CMD_GESTUREMOD_TAUNT = 1005, // erc,cro [end]
940 CMD_GESTUREMOD_TIMEOUT = 1006, // erc,cro [end]
941 CMD_GESTUREMOD_HEART = 1007, // erc,cro [end]
942 CMD_GESTUREMOD_FACEPALM = 1008, // erc,cro [end]
943 CMD_GESTUREMOD_WATCHING = 1009, // erc,cro [end]
944 CMD_GESTUREMOD_HOLD = 1010, // erc,cro [end]
945 CMD_GESTUREMOD_LISTENING = 1011, // erc,cro [end]
946 CMD_GESTUREMOD_POINTSELF = 1012, // erc,cro [end]
947 CMD_GESTUREMOD_LOOKATME = 1013, // erc,cro [end]
948 CMD_GESTUREMOD_OKAY = 1014, // erc,cro [end]
949
950 CMD_GESTUREMOD_RPS = 10000, // erc [SPECIAL, SEE BELOW]
951
952 CMD_ACTIONINT_RPS_ROCK = 10, // RPS Internal Gesture
953 CMD_ACTIONINT_RPS_PAPER = 11, // RPS Internal Gesture
954 CMD_ACTIONINT_RPS_SCISSORS = 12, // RPS Internal Gesture
955
956
957 // onetime
958 CMD_GESTUREMOD_THROAT = 1100, // erc,cro
959 CMD_GESTUREMOD_CLAP = 1101, // erc,cro
960 CMD_GESTUREMOD_DABBING = 1102, // erc,cro
961 CMD_GESTUREMOD_MOVE = 1103, // erc,cro
962 CMD_GESTUREMOD_DOWN = 1104, // erc,cro
963 CMD_GESTUREMOD_COME = 1105, // erc,cro
964 CMD_GESTUREMOD_TAUNTKISS = 1106, // erc,cro
965 CMD_GESTUREMOD_TAUNTELBOW = 1107, // erc,cro
966 CMD_GESTUREMOD_TAUNTTHINK = 1108, // erc,cro
967 CMD_GESTUREMOD_NODHEAD = 1109, // erc,cro
968 CMD_GESTUREMOD_SHAKEHEAD = 1110, // erc,cro
969 CMD_GESTUREMOD_SHRUG = 1111, // erc,cro
970 CMD_GESTUREMOD_SURRENDER = 1112, // erc
971 CMD_GESTUREMOD_SURRENDERIN = 1112, // erc
972 CMD_GESTUREMOD_SURRENDEROUT = 1113, // erc
973
976 CMD_GESTUREFB_GREETING = 1000, // pne [end]
977 CMD_GESTUREFB_POINT = 1001, // pne [end]
978 CMD_GESTUREFB_THUMB = 1002, // pne [end, CMD_ACTIONINT_ACTION to switch to THUMB DOWN]
979 CMD_GESTUREFB_THUMBDOWN = 1003, // pne [end, CMD_ACTIONINT_ACTION to switch to THUMB UP]
980 CMD_GESTUREFB_SILENCE = 1004, // pne [end]
981 CMD_GESTUREFB_TAUNT = 1005, // pne [end]
982 CMD_GESTUREFB_TIMEOUT = 1006, // pne [end]
983 CMD_GESTUREFB_HEART = 1007, // pne [end]
984 CMD_GESTUREFB_WATCHING = 1009, // pne [end]
985 CMD_GESTUREFB_HOLD = 1010, // pne [end]
986 CMD_GESTUREFB_LISTENING = 1011, // pne [end]
987 CMD_GESTUREFB_POINTSELF = 1012, // pne [end]
988 CMD_GESTUREFB_LOOKATME = 1013, // pne [end]
989 CMD_GESTUREFB_OKAY = 1014, // pne [end]
990
991 CMD_GESTUREFB_SALUTE = 1050, // erc [end]
992 CMD_GESTUREFB_CAMPFIRE = 1051, // cro [end]
993 CMD_GESTUREFB_LYINGDOWN = 1052, // cro [end]
994 CMD_GESTUREFB_SOS = 1053, // erc [end]
995 CMD_GESTUREFB_SITA = 1054, // cro [end]
996 CMD_GESTUREFB_SITB = 1055, // cro [end]
997 CMD_GESTUREFB_DABBING = 1056, // erc, cro [end]
998 CMD_GESTUREFB_KNEEL = 1057, // cro [end]
999
1000 // onetime
1001 CMD_GESTUREFB_THROAT = 1100, // pne
1002 CMD_GESTUREFB_MOVE = 1103, // pne
1003 CMD_GESTUREFB_DOWN = 1104, // pne
1004 CMD_GESTUREFB_COME = 1105, // pne
1005 CMD_GESTUREFB_TAUNTKISS = 1106, // pne
1006 CMD_GESTUREFB_TAUNTTHINK = 1108, // pne
1007 CMD_GESTUREFB_DANCE = 1109, // erc
1008 CMD_GESTUREFB_NODHEAD = 1110, // pne
1009 CMD_GESTUREFB_SHAKEHEAD = 1111, // pne
1010 CMD_GESTUREFB_SHRUG = 1112, // pne
1011 CMD_GESTUREFB_SURRENDER = 1113, // cro,pne
1012 CMD_GESTUREFB_SURRENDERIN = 1113, // cro,pne
1013 CMD_GESTUREFB_SURRENDEROUT = 1114, // cro,pne
1014
1015
1019 CMD_TRAILER_WAKE_UP = 3000,
1020 CMD_TRAILER_DEAD_BODY = 3001,
1022 CMD_TRAILER_WOUNDED = 3003,
1023 CMD_TRAILER_WALK_AWAY = 3004,
1024 CMD_TRAILER_DEAD = 3005,
1025
1026
1031 CMD_SUICIDEFB_1HD = 2000, // cro [end (cancel), end2 (commit)]
1032 CMD_SUICIDEFB_FIREAXE = 2001, // erc [end (cancel), end2 (commit)]
1033 CMD_SUICIDEFB_PITCHFORK = 2002, // erc [end (cancel), end2 (commit)]
1034 CMD_SUICIDEFB_PISTOL = 2003, // cro [end (cancel), end2 (commit)]
1035 CMD_SUICIDEFB_RIFLE = 2004, // cro [end (cancel), end2 (commit)]
1036 CMD_SUICIDEFB_SWORD = 2005, // erc [end (cancel), end2 (commit)]
1037 CMD_SUICIDEFB_UNARMED = 2006, // cro [end (cancel), end2 (commit)]
1038 CMD_SUICIDEFB_WOODAXE = 2007, // erc [end (cancel), end2 (commit)]
1039 CMD_SUICIDEFB_SPEAR = 2008, // erc [end (cancel), end2 (commit)]
1040 CMD_SUICIDEFB_SICKLE = 2009, // cro [end (cancel), end2 (commit)]
1041 CMD_SUICIDEFB_HOE = 2010, // erc [end (cancel), end2 (commit)]
1042
1043 // 32767 is totaly MAXIMAL index !!!!!
1044
1045};
@ STANCEMASK_ERECT
stance masks
Definition dayzplayer.c:628
@ CMD_ACTIONMOD_ATTACHSCOPE
Definition dayzplayer.c:776
@ CMD_ACTIONFB_VIEWCOMPASS
Definition dayzplayer.c:846
@ CMD_ACTIONFB_FILLMAG
Definition dayzplayer.c:805
@ CMD_GESTUREFB_COME
@ CMD_GESTUREMOD_LISTENING
Definition dayzplayer.c:945
@ ROTATION_ENABLE
Definition dayzplayer.c:648
@ CMD_GESTUREMOD_TAUNTELBOW
Definition dayzplayer.c:965
@ CMD_GESTUREMOD_POINT
Definition dayzplayer.c:935
@ CMD_GESTUREFB_GREETING
Definition dayzplayer.c:976
@ CMD_ACTIONMOD_CRAFTING
Definition dayzplayer.c:749
@ CMD_ACTIONFB_FILLBOTTLEPOND
Definition dayzplayer.c:847
@ CMD_ACTIONMOD_STOPENGINE
Definition dayzplayer.c:925
@ CMD_ACTIONFB_ITEM_OFF
Definition dayzplayer.c:882
@ CMD_ACTIONFB_DRINKSIP
Definition dayzplayer.c:887
@ DEBUG_ENABLETALKING
option for showing talk command
Definition dayzplayer.c:607
@ CMD_GESTUREMOD_SURRENDEROUT
Definition dayzplayer.c:972
@ CMD_ACTIONMOD_OPENLID
Definition dayzplayer.c:765
@ CMD_SUICIDEFB_PISTOL
@ MELEE_LIGHT
melee hit type
Definition dayzplayer.c:659
@ CMD_ACTIONFB_CUTBARK
Definition dayzplayer.c:851
@ CMD_ACTIONFB_TURN_VALVE
Definition dayzplayer.c:862
@ CMD_GESTUREFB_LOOKOPTICS
Definition dayzplayer.c:854
@ CMD_ACTIONINT_FINISH
secondary ending (finishing action, eg running out of water while drinking, not all actions have this...
Definition dayzplayer.c:718
@ CMD_ACTIONFB_INJECTIONTARGET
Definition dayzplayer.c:886
@ CMD_TRAILER_WAKE_UP
@ CMD_ACTIONFB_FISHING
Definition dayzplayer.c:812
@ CMD_ACTIONFB_SPRAYPLANT
Definition dayzplayer.c:819
@ CMD_GESTUREFB_LYINGDOWN
Definition dayzplayer.c:993
@ CMD_ACTIONMOD_RAISEITEM
Definition dayzplayer.c:747
@ CMD_ACTIONFB_STOP_ALARM
Definition dayzplayer.c:898
@ CMD_ACTIONMOD_INTERACTONCE
Definition dayzplayer.c:779
@ CMD_ACTIONMOD_EAT_TABLET
Definition dayzplayer.c:787
@ CMD_ACTIONFB_PLACING_HEAVY
Definition dayzplayer.c:848
@ CMD_ACTIONFB_SET_ALARM
Definition dayzplayer.c:863
@ CMD_ACTIONFB_VIEWMAP
Definition dayzplayer.c:845
@ CMD_ACTIONFB_SHOVEL_DIG
Definition dayzplayer.c:864
@ CMD_ACTIONMOD_ATTACHBARREL
Definition dayzplayer.c:777
@ CMD_GESTUREMOD_TAUNT
Definition dayzplayer.c:939
@ DEBUG_TURNSLIDE
over turn slides / clamps
Definition dayzplayer.c:602
@ CMD_ACTIONFB_WRING
Definition dayzplayer.c:811
@ CMD_ACTIONMOD_ITEM_OFF
Definition dayzplayer.c:768
@ CMD_ACTIONFB_RESTRAINTARGET
Definition dayzplayer.c:829
@ CMD_ACTIONFB_HACKBUSH
Definition dayzplayer.c:835
@ STANCEIDX_ERECT
Definition dayzplayer.c:614
@ STANCEMASK_PRONE
Definition dayzplayer.c:630
@ STANCEIDX_RAISEDPRONE
Definition dayzplayer.c:619
@ CMD_GESTUREMOD_HOLD
Definition dayzplayer.c:944
@ CMD_TRAILER_MASK_02
Definition dayzplayer.c:909
@ CMD_ACTIONFB_CLEANHANDSBOTTLE
Definition dayzplayer.c:888
@ CMD_GESTUREFB_SHAKEHEAD
@ CMD_ACTIONFB_EAT_TABLET
Definition dayzplayer.c:900
@ STANCEIDX_RAISEDCROUCH
Definition dayzplayer.c:618
@ CMD_ACTIONFB_LICKBATTERY
Definition dayzplayer.c:877
@ CMD_GESTUREFB_TAUNTKISS
@ COMMANDID_MOVE
Definition dayzplayer.c:690
@ CMD_ACTIONMOD_STOP_ALARM
Definition dayzplayer.c:785
@ CMD_ACTIONFB_ATTACHBARREL
Definition dayzplayer.c:892
@ CMD_ACTIONFB_PATCHING_LEATHER_SEWING_KIT
Definition dayzplayer.c:869
@ DEBUG_SHOWEXHAUSTION
menu for showing exhaustion
Definition dayzplayer.c:605
@ MOVEMENTIDX_RUN
Definition dayzplayer.c:654
@ CMD_GESTUREFB_SILENCE
Definition dayzplayer.c:980
@ CMD_ACTIONFB_UNPINGRENAGE
Definition dayzplayer.c:880
@ STANCEMASK_CROUCH
Definition dayzplayer.c:629
@ CMD_ACTIONFB_BANDAGE
Definition dayzplayer.c:814
@ CMD_ACTIONMOD_BLOODTESTOTHER
Definition dayzplayer.c:790
@ COMMANDID_MOD_DAMAGE
Definition dayzplayer.c:709
@ CMD_ACTIONFB_POKE
Definition dayzplayer.c:890
@ CMD_GESTUREMOD_SURRENDERIN
Definition dayzplayer.c:971
@ VEHICLESEAT_PASSENGER_R
Definition dayzplayer.c:671
@ CMD_GESTUREMOD_TAUNTKISS
Definition dayzplayer.c:964
@ CMD_ACTIONFB_DEPLOY_2HD
Definition dayzplayer.c:842
@ CMD_ACTIONFB_HEATPACK
Definition dayzplayer.c:901
@ CMD_ACTIONFB_SALINEBLOODBAG
Definition dayzplayer.c:825
@ CMD_ACTIONMOD_DRIVER_DOOR_CLOSE
Definition dayzplayer.c:922
@ CMD_ACTIONMOD_LICKBATTERY
Definition dayzplayer.c:760
@ CMD_SUICIDEFB_UNARMED
@ CMD_ACTIONFB_EAT
Definition dayzplayer.c:800
@ CMD_GESTUREFB_SITA
Definition dayzplayer.c:995
@ CMD_GESTUREFB_SHRUG
@ CMD_ACTIONFB_CRAFTING
Definition dayzplayer.c:815
@ CMD_ACTIONMOD_GIVEL
Definition dayzplayer.c:739
@ CMD_ACTIONMOD_COVERHEAD_SELF
Definition dayzplayer.c:751
@ COMMANDID_SWIM
Definition dayzplayer.c:699
@ CMD_ACTIONFB_DRINKPOND
Definition dayzplayer.c:807
@ MOVEMENT_SPRINT
0x4
Definition dayzplayer.c:643
@ CMD_ACTIONMOD_BATONRETRACT
Definition dayzplayer.c:770
@ CMD_ACTIONFB_DRINKWELL
Definition dayzplayer.c:808
@ CMD_GESTUREFB_KNEEL
Definition dayzplayer.c:998
@ CMD_GESTUREFB_POINT
Definition dayzplayer.c:977
@ CMD_GESTUREMOD_TIMEOUT
Definition dayzplayer.c:940
@ CMD_GESTUREMOD_MOVE
Definition dayzplayer.c:961
@ CMD_ACTIONFB_DEPLOY_1HD
Definition dayzplayer.c:843
@ CMD_ACTIONFB_VOMIT
Definition dayzplayer.c:827
@ MELEE_HEAVY
Definition dayzplayer.c:660
@ COMMANDID_LADDER
Definition dayzplayer.c:697
@ CMD_GESTUREMOD_SURRENDER
Definition dayzplayer.c:970
@ VEHICLESEAT_PASSENGER_L
Definition dayzplayer.c:670
@ CMD_ACTIONFB_RESTRAINEDSTRUGGLE
Definition dayzplayer.c:857
@ STANCEIDX_CROUCH
Definition dayzplayer.c:615
@ CMD_GESTUREFB_POINTSELF
Definition dayzplayer.c:987
@ CMD_GESTUREMOD_DABBING
Definition dayzplayer.c:960
@ COMMANDID_MELEE
Definition dayzplayer.c:692
@ CMD_ACTIONFB_UNRESTRAINTARGET
Definition dayzplayer.c:828
@ CMD_GESTUREFB_SURRENDEROUT
@ CMD_ACTIONMOD_SHAVE
Definition dayzplayer.c:741
@ CMD_ACTIONMOD_CODRIVER_DOOROPEN
Definition dayzplayer.c:923
@ CMD_SUICIDEFB_PITCHFORK
@ DEBUG_MENU
dayz player debug menu in enfusion
Definition dayzplayer.c:601
@ DEBUG_SHOWINJURY
menu for showing injuries
Definition dayzplayer.c:604
@ CMD_ACTIONMOD_LIGHTFLARE
Definition dayzplayer.c:761
@ COMMANDID_NONE
unconscious -> death - while in water
Definition dayzplayer.c:689
@ CMD_ACTIONFB_DIG
Definition dayzplayer.c:838
@ MOVEMENT_WALK
0x1
Definition dayzplayer.c:641
@ CMD_ACTIONFB_TAKETEMPSELF
Definition dayzplayer.c:837
@ CMD_ACTIONMOD_STARTENGINE
Definition dayzplayer.c:917
@ CMD_ACTIONFB_LIGHTFLARE
Definition dayzplayer.c:878
@ CMD_ACTIONFB_CLEANWOUNDSTARGET
Definition dayzplayer.c:831
@ CMD_ACTIONMOD_EAT_PILL
Definition dayzplayer.c:786
@ CMD_ACTIONFB_EMPTY_VESSEL
Definition dayzplayer.c:833
@ CMD_ACTIONINT_RPS_ROCK
Definition dayzplayer.c:952
@ CMD_ACTIONMOD_CLOSEITEM_ONCE
Definition dayzplayer.c:781
@ COMMANDID_MOD_LOOKAT
modifier commands - additive behaviour
Definition dayzplayer.c:706
@ CMD_GESTUREFB_TIMEOUT
Definition dayzplayer.c:982
@ CMD_GESTUREFB_THUMB
Definition dayzplayer.c:978
@ CMD_ACTIONFB_ATTACHSCOPE
Definition dayzplayer.c:891
@ CMD_ACTIONMOD_EMPTYSEEDSPACK
Definition dayzplayer.c:778
@ CMD_ACTIONMOD_ITEM_ON
Definition dayzplayer.c:767
@ CMD_ACTIONFB_PICKUP_HANDS
Definition dayzplayer.c:875
@ CMD_GESTUREMOD_SILENCE
Definition dayzplayer.c:938
@ CMD_ACTIONFB_DROPITEM_HANDS
Definition dayzplayer.c:903
@ CMD_ACTIONFB_PATCHING_SEWING
Definition dayzplayer.c:868
@ CMD_ACTIONFB_ITEM_ON
Definition dayzplayer.c:881
@ CMD_ACTIONFB_GIVER
Definition dayzplayer.c:804
@ CMD_ACTIONMOD_FISHINGRODEXTEND
Definition dayzplayer.c:772
@ CMD_ACTIONFB_MORPHINE
Definition dayzplayer.c:884
@ CMD_GESTUREFB_HEART
Definition dayzplayer.c:983
@ CMD_ACTIONFB_CATCHRAIN
Definition dayzplayer.c:801
@ CMD_SUICIDEFB_1HD
@ CMD_ACTIONFB_RESTRAINSELF
Definition dayzplayer.c:858
@ COMMANDID_FALL
Definition dayzplayer.c:694
@ CMD_GESTUREMOD_COME
Definition dayzplayer.c:963
@ CMD_GESTUREMOD_RPS
Definition dayzplayer.c:950
@ CMD_ACTIONMOD_UNFOLDITEM_ONCE
Definition dayzplayer.c:783
@ CMD_ACTIONMOD_SET_KITCHENTIMER
Definition dayzplayer.c:754
@ CMD_ACTIONFB_BLOWFIREPLACE
Definition dayzplayer.c:844
@ DEATH_UNCON_IN_WATER
unconscious -> death - while not in water
Definition dayzplayer.c:681
@ ROTATION_DISABLE
0x8
Definition dayzplayer.c:647
@ CMD_ACTIONMOD_FISHINGRODRETRACT
Definition dayzplayer.c:773
@ CMD_SUICIDEFB_SPEAR
@ CMD_SUICIDEFB_WOODAXE
@ CMD_ACTIONFB_LITCHEMLIGHT
Definition dayzplayer.c:879
@ MOVEMENTIDX_SPRINT
Definition dayzplayer.c:655
@ CMD_ACTIONFB_PRESS_TRIGGER
Definition dayzplayer.c:895
@ CMD_ACTIONFB_VEHICLE_PUSH
Definition dayzplayer.c:865
@ CMD_ACTIONMOD_CODRIVER_DOORCLOSE
Definition dayzplayer.c:924
@ CMD_GESTUREFB_TAUNTTHINK
@ CMD_GESTUREMOD_WATCHING
Definition dayzplayer.c:943
@ CMD_ACTIONMOD_DRINK
animations constants
Definition dayzplayer.c:733
@ CMD_ACTIONFB_OPENITEM_ONCE
Definition dayzplayer.c:889
@ COMMANDID_MELEE2
Definition dayzplayer.c:693
@ CMD_GESTUREMOD_THUMB
Definition dayzplayer.c:936
@ CMD_ACTIONFB_SPLITTING_FIREWOOD
Definition dayzplayer.c:870
@ CMD_TRAILER_WALK_AWAY
@ CMD_ACTIONMOD_EAT
Definition dayzplayer.c:734
@ VEHICLECLASS_CAR
vehicle classes
Definition dayzplayer.c:664
@ STANCEMASK_RAISEDPRONE
Definition dayzplayer.c:633
@ CMD_GESTUREFB_WATCHING
Definition dayzplayer.c:984
@ CMD_SUICIDEFB_FIREAXE
@ CMD_GESTUREMOD_CLAP
Definition dayzplayer.c:959
@ CMD_ACTIONMOD_BLOODTEST
Definition dayzplayer.c:789
@ CMD_ACTIONMOD_UNPINGRENAGE
Definition dayzplayer.c:763
@ CMD_ACTIONINT_ACTIONLOOP
loop secondary action within an action
Definition dayzplayer.c:721
@ CMD_ACTIONMOD_FILLMAG
Definition dayzplayer.c:742
@ STANCEMASK_RAISEDERECT
Definition dayzplayer.c:631
@ CMD_GESTUREFB_HOLD
Definition dayzplayer.c:985
@ CMD_ACTIONMOD_DRIVER_DOOR_OPEN
Definition dayzplayer.c:921
@ CMD_GESTUREFB_DOWN
@ COMMANDID_ACTION
Definition dayzplayer.c:691
@ DEATH_FAST
locomotion -> death - normal death animation while a player is conciscious
Definition dayzplayer.c:677
@ CMD_ACTIONMOD_FOLDITEM_ONCE
Definition dayzplayer.c:782
@ DEATH_BODY
transport death -> death - special handling for pulling a dead player out of a vehicle
Definition dayzplayer.c:676
@ CMD_ACTIONFB_LOWER_FLAG
Definition dayzplayer.c:897
@ CMD_TRAILER_WOUNDED
@ CMD_SUICIDEFB_SICKLE
@ COMMANDID_MOD_WEAPONS
Definition dayzplayer.c:707
@ CMD_ACTIONINT_RPS_SCISSORS
Definition dayzplayer.c:954
@ CMD_GESTUREFB_SITB
Definition dayzplayer.c:996
@ CMD_GESTUREMOD_HEART
Definition dayzplayer.c:941
@ COMMANDID_SCRIPT
Definition dayzplayer.c:702
@ CMD_ACTIONFB_PLACING_1HD
Definition dayzplayer.c:850
@ CMD_ACTIONMOD_SET_ALARM
Definition dayzplayer.c:753
@ CMD_ACTIONFB_MINEROCK
Definition dayzplayer.c:855
@ CMD_GESTUREFB_THROAT
@ STANCEMASK_RAISED
Definition dayzplayer.c:636
@ CMD_ACTIONFB_RESTRAIN
Definition dayzplayer.c:893
@ STANCEMASK_ALL
Definition dayzplayer.c:634
@ CMD_ACTIONFB_CPR
Definition dayzplayer.c:813
@ MOVEMENT_RUN
0x2
Definition dayzplayer.c:642
@ CMD_ACTIONFB_PATCHING_TIRE
Definition dayzplayer.c:866
@ CMD_TRAILER_WALKIE_TALKIE
@ CMD_ACTIONFB_DIGMANIPULATE
Definition dayzplayer.c:840
@ CMD_ACTIONFB_HANDCUFFTARGET
Definition dayzplayer.c:883
@ CMD_ACTIONFB_BREAKING_STICK
Definition dayzplayer.c:871
@ CMD_ACTIONMOD_PRESS_TRIGGER
Definition dayzplayer.c:784
@ CMD_ACTIONMOD_DROPITEM_INVENTORY
Definition dayzplayer.c:794
@ CMD_ACTIONMOD_ITEM_TUNE
Definition dayzplayer.c:738
@ CMD_SUICIDEFB_RIFLE
@ CMD_ACTIONFB_PATCHING_DUCTTAPE
Definition dayzplayer.c:867
@ CMD_ACTIONFB_WASHHANDSPOND
Definition dayzplayer.c:823
@ CMD_GESTUREMOD_GREETING
Definition dayzplayer.c:934
@ CMD_ACTIONMOD_CLEANHANDSBOTTLE
Definition dayzplayer.c:774
@ CMD_ACTIONINT_INTERRUPT
internal action commands used in HumanCommandActionCallback.InternalCommand()
Definition dayzplayer.c:717
@ STANCEMASK_NOTRAISED
Definition dayzplayer.c:635
@ CMD_ACTIONFB_INJECTION
Definition dayzplayer.c:885
@ MOVEMENT_IDLE
movements - masks
Definition dayzplayer.c:640
@ CMD_ACTIONMOD_UNLOCKHANDCUFFTARGET
Definition dayzplayer.c:771
@ CMD_ACTIONFB_SALINEBLOODBAGTARGET
Definition dayzplayer.c:824
@ CMD_GESTUREMOD_SHAKEHEAD
Definition dayzplayer.c:968
@ COMMANDID_VEHICLE
Definition dayzplayer.c:700
@ CMD_ACTIONFB_CHECKPULSE
Definition dayzplayer.c:830
@ COMMANDID_CLIMB
Definition dayzplayer.c:701
@ CMD_ACTIONFB_RAISEITEM
Definition dayzplayer.c:856
@ CMD_GESTUREFB_NODHEAD
@ CMD_ACTIONFB_FILLBOTTLEWELL
Definition dayzplayer.c:809
@ CMD_ACTIONMOD_GIVER
Definition dayzplayer.c:740
@ CMD_ACTIONFB_STARTFIRE
Definition dayzplayer.c:820
@ CMD_GESTUREFB_LOOKATME
Definition dayzplayer.c:988
@ CMD_ACTIONFB_DISASSEMBLE
Definition dayzplayer.c:860
@ CMD_ACTIONFB_VIEWNOTE
Definition dayzplayer.c:852
@ CMD_GESTUREFB_DANCE
@ CMD_TRAILER_MASK
Definition dayzplayer.c:908
@ CMD_ACTIONINT_ACTION
one time secondary action within an action
Definition dayzplayer.c:720
@ MOVEMENTIDX_WALK
Definition dayzplayer.c:653
@ CMD_GESTUREFB_TAUNT
Definition dayzplayer.c:981
@ CMD_ACTIONMOD_TOOTHORN
Definition dayzplayer.c:918
@ CMD_ACTIONMOD_PICKUP_INVENTORY
Definition dayzplayer.c:759
@ CMD_ACTIONFB_EMPTYMAG
Definition dayzplayer.c:806
@ CMD_SUICIDEFB_SWORD
@ CMD_ACTIONFB_INTERACT
Definition dayzplayer.c:816
@ COMMANDID_DEATH
Definition dayzplayer.c:695
@ CMD_GESTUREFB_SALUTE
Definition dayzplayer.c:991
@ CMD_ACTIONFB_DRINK
Definition dayzplayer.c:799
@ CMD_GESTUREMOD_LOOKATME
Definition dayzplayer.c:947
@ CMD_ACTIONFB_FIREESTINGUISHER
Definition dayzplayer.c:810
@ CMD_GESTUREMOD_THROAT
Definition dayzplayer.c:958
@ CMD_ACTIONMOD_CATCHRAIN
Definition dayzplayer.c:736
@ CMD_ACTIONMOD_BATONEXTEND
Definition dayzplayer.c:769
@ CMD_TRAILER_DEAD_BODY
@ DEATH_UNCON_ON_LAND
falling -> death
Definition dayzplayer.c:680
@ STANCEMASK_RAISEDCROUCH
Definition dayzplayer.c:632
@ CMD_ACTIONMOD_RESTRAINEDSTRUGGLE
Definition dayzplayer.c:750
@ COMMANDID_MOD_ACTION
Definition dayzplayer.c:708
@ CMD_GESTUREMOD_TAUNTTHINK
Definition dayzplayer.c:966
@ CMD_GESTUREMOD_POINTSELF
Definition dayzplayer.c:946
@ CMD_ACTIONMOD_VIEWMAP
Definition dayzplayer.c:746
@ CMD_ACTIONMOD_EMPTYMAG
Definition dayzplayer.c:743
@ CMD_ACTIONMOD_EMPTY_VESSEL
Definition dayzplayer.c:735
@ CMD_ACTIONFB_OPENITEM
Definition dayzplayer.c:834
@ CMD_ACTIONFB_RAISE_FLAG
Definition dayzplayer.c:896
@ CMD_TRAILER_DEAD
@ CMD_ACTIONFB_STITCHUPSELF
Definition dayzplayer.c:826
@ DEBUG_ENABLEJUMP
menu for showing exhaustion
Definition dayzplayer.c:606
@ VEHICLESEAT_DRIVER
vehicle seats
Definition dayzplayer.c:668
@ CMD_ACTIONFB_WASHHANDSWELL
Definition dayzplayer.c:822
@ MOVEMENTIDX_SLIDE
movement idx
Definition dayzplayer.c:651
@ CMD_SUICIDEFB_HOE
@ CMD_GESTUREMOD_FACEPALM
Definition dayzplayer.c:942
@ MOVEMENTIDX_CROUCH_RUN
Definition dayzplayer.c:656
@ VEHICLESEAT_CODRIVER
Definition dayzplayer.c:669
@ CMD_ACTIONMOD_LITCHEMLIGHT
Definition dayzplayer.c:762
@ CMD_ACTIONMOD_OPENITEM
Definition dayzplayer.c:744
@ COMMANDID_DAMAGE
Definition dayzplayer.c:696
@ CMD_ACTIONMOD_TAKETEMPSELF
Definition dayzplayer.c:745
@ CMD_ACTIONMOD_HEADLIGHT
Definition dayzplayer.c:927
@ CMD_ACTIONMOD_VIEWCOMPASS
Definition dayzplayer.c:737
@ CMD_GESTUREFB_SURRENDERIN
@ CMD_ACTIONFB_ANIMALSKINNING
Definition dayzplayer.c:821
@ CMD_ACTIONMOD_OPENITEM_ONCE
Definition dayzplayer.c:775
@ CMD_ACTIONMOD_HEATPACK
Definition dayzplayer.c:788
@ CMD_GESTUREMOD_OKAY
Definition dayzplayer.c:948
@ CMD_ACTIONMOD_COVERHEAD_TARGET
Definition dayzplayer.c:752
@ CMD_ACTIONINT_END
end action (stopping action, without finish, all actions have this)
Definition dayzplayer.c:719
@ CMD_ACTIONFB_EAT_PILL
Definition dayzplayer.c:899
@ CMD_ACTIONFB_PICKUP_INVENTORY
Definition dayzplayer.c:876
@ CMD_ACTIONFB_HACKTREE
Definition dayzplayer.c:836
@ DEATH_FALL
swimming -> death
Definition dayzplayer.c:679
@ CMD_ACTIONMOD_PICKUP_HANDS
Definition dayzplayer.c:758
@ STANCEIDX_RAISED
Definition dayzplayer.c:624
@ CMD_GESTUREFB_SOS
Definition dayzplayer.c:994
@ CMD_ACTIONMOD_DROPITEM_HANDS
Definition dayzplayer.c:793
@ CMD_ACTIONMOD_RESET_KITCHENTIMER
Definition dayzplayer.c:755
@ CMD_GESTUREFB_THUMBDOWN
Definition dayzplayer.c:979
@ DEATH_PULL_OUT_TRANSPORT
not defining in C++ as it is only used in script for undefined type
Definition dayzplayer.c:675
@ CMD_ACTIONINT_RPS_PAPER
Definition dayzplayer.c:953
@ CMD_ACTIONFB_FLAME_REPAIR
Definition dayzplayer.c:861
@ CMD_GESTUREMOD_NODHEAD
Definition dayzplayer.c:967
@ CMD_ACTIONFB_COLLECTBLOODSELF
Definition dayzplayer.c:832
@ CMD_ACTIONMOD_SHIFTGEAR
Definition dayzplayer.c:926
@ CMD_ACTIONFB_ITEM_TUNE
Definition dayzplayer.c:802
@ CMD_ACTIONMOD_CLOSELID
Definition dayzplayer.c:766
@ CMD_ACTIONFB_DEPLOY_HEAVY
Definition dayzplayer.c:841
@ CMD_GESTUREMOD_DOWN
Definition dayzplayer.c:962
@ CMD_GESTUREFB_CAMPFIRE
Definition dayzplayer.c:992
@ CMD_ACTIONMOD_ATTACHITEM
Definition dayzplayer.c:780
@ CMD_GESTUREMOD_THUMBDOWN
Definition dayzplayer.c:937
@ CMD_ACTIONFB_SEARCHINVENTORY
Definition dayzplayer.c:853
@ CMD_GESTUREFB_LISTENING
Definition dayzplayer.c:986
@ CMD_GESTUREFB_OKAY
Definition dayzplayer.c:989
@ CMD_GESTUREFB_MOVE
@ CMD_ACTIONFB_GIVEL
Definition dayzplayer.c:803
@ CMD_ACTIONFB_PICKUP_HEAVY
Definition dayzplayer.c:894
@ MOVEMENTIDX_IDLE
Definition dayzplayer.c:652
@ CMD_ACTIONFB_PLACING_2HD
Definition dayzplayer.c:849
@ STANCEIDX_PRONE
Definition dayzplayer.c:616
@ DEBUG_SHOWDEBUGPLUGIN
menu for showing debug plugin
Definition dayzplayer.c:603
@ CMD_GESTUREMOD_SHRUG
Definition dayzplayer.c:969
@ CMD_ACTIONFB_ASSEMBLE
Definition dayzplayer.c:859
@ DEATH_WATER
locomotion -> death - faster animation, for impulse driven deaths, i.e. hit by vehicle
Definition dayzplayer.c:678
@ CMD_GESTUREFB_SURRENDER
@ CMD_ACTIONMOD_SEARCHINVENTORY
Definition dayzplayer.c:748
@ VEHICLECLASS_HELI
Definition dayzplayer.c:665
@ CMD_ACTIONMOD_OPENDOORFW
Definition dayzplayer.c:764
@ DEATH_DEFAULT
death types
Definition dayzplayer.c:674
@ CMD_ACTIONFB_DIGUPCACHE
Definition dayzplayer.c:839
@ CMD_ACTIONFB_CLEANING_WEAPON
Definition dayzplayer.c:872
@ CMD_GESTUREFB_DABBING
Definition dayzplayer.c:997
@ COMMANDID_UNCONSCIOUS
Definition dayzplayer.c:698
@ CMD_ACTIONFB_FORCEFEED
Definition dayzplayer.c:817
@ STANCEIDX_RAISEDERECT
Definition dayzplayer.c:617
@ CMD_ACTIONFB_BANDAGETARGET
Definition dayzplayer.c:818

◆ DayZPlayerInstanceType

defined in C++

Enumerator
INSTANCETYPE_SERVER 
INSTANCETYPE_CLIENT 

server instance

INSTANCETYPE_REMOTE 

client instance && controlled

INSTANCETYPE_AI_SERVER 

client instance && other player

INSTANCETYPE_AI_REMOTE 

temporary!

INSTANCETYPE_AI_SINGLEPLAYER 

temporary!

Definition at line 1048 of file dayzplayer.c.

1049{
1053
1057}
@ INSTANCETYPE_REMOTE
client instance && controlled
@ INSTANCETYPE_AI_SERVER
client instance && other player
@ INSTANCETYPE_SERVER
@ INSTANCETYPE_AI_SINGLEPLAYER
temporary!
@ INSTANCETYPE_CLIENT
server instance
@ INSTANCETYPE_AI_REMOTE
temporary!

Function Documentation

◆ AddItemBoneRemap()

proto native int AddItemBoneRemap ( string pItemClass,
array< string > pBoneRemap )
protected

add bone remap for item class pBoneRemap has always 2x N members bone in item's P3D first, bone in Character skeleton second array<string> remap = { "bolt", "Weapon_Bolt", "magazine", "Weapon_Magazine", "trigger", "Weapon_Trigger" }; AddItemBoneRemap("class", remap);

◆ AddItemInHandsProfile()

proto native int AddItemInHandsProfile ( string pItemClass,
string pAnimInstanceName,
HumanItemBehaviorCfg pBehaviorCfg )
protected

VKOSTIK: DO NOT FORGET !!! HumanItemBehaviorCfg.m_iPerItemCameraUD - per item camera user data - enables you setup different cameras for different items in hands.

adds setup profile for items of class pItemClass when item is in hands - pAnimInstanceName is used for animation sourcing pCanRaise is whether weapon / item can be raised pRHandIK == false -> rhand ik is always turned off pLHandIK == false -> lhand ik is always turned off

◆ AddItemInHandsProfileIK()

proto native int AddItemInHandsProfileIK ( string pItemClass,
string pAnimInstanceName,
HumanItemBehaviorCfg pBehaviorCfg,
string pIkPoseAnim,
string pWeaponStates = "" )
protected

◆ AimingModel()

bool AimingModel ( float pDt,
SDayZPlayerAimingModel pModel )
private

-------------— aiming model ----------------------—

updated each tick - this takes care about aiming

◆ AnimCallCommand()

proto native void AnimCallCommand ( int pCommand,
int pParamInt,
float pParamFloat )
private

-------------— animation graph functions ----------------------—

functions usable only from CommandHandler

◆ AnimSetBool()

proto native void AnimSetBool ( int pVar,
bool pBool )
private

◆ AnimSetFloat()

proto native void AnimSetFloat ( int pVar,
float pFlt )
private

◆ AnimSetInt()

proto native void AnimSetInt ( int pVar,
int pInt )
private

◆ CameraHandler()

int CameraHandler ( int pCameraMode)
private

-------------— camera handling ----------------------—

virtual returns registered camera type pCameraMode - DayZPlayerConstants.CAMERAMODE_ ...

◆ CanFreeLook()

bool CanFreeLook ( )

this overrides freelook for cameras

Definition at line 63 of file dayzplayer.c.

64 {
65 return true;
66 }

◆ CommandClimbSettingsW()

proto native SHumanCommandClimbSettings CommandClimbSettingsW ( )
private

this is used for getting appropriate sound effect to play step event on various surfaces && boots it's downcasted to StepSoundLookupTable

◆ CommandHandler()

void CommandHandler ( float pDt,
int pCurrentCommandID,
bool pCurrentCommandFinished )
private

-------------— command handling ----------------------—

updated each tick handles: starting new commands, canceling, interruption pDt - delta time pCurrentCommandID - actually running command's ID pCurrentCommandFinished - is current command finished

◆ CommandMoveSettingsW()

proto native SHumanCommandMoveSettings CommandMoveSettingsW ( )
private

◆ CommandSwimSettingsW()

proto native SHumanCommandSwimSettings CommandSwimSettingsW ( )
private

◆ DayZPlayerCamera()

class DayZPlayerCameraResult DayZPlayerCamera ( DayZPlayer pPlayer,
HumanInputController pInput )

Definition at line 1 of file dayzplayer.c.

57 {
60 }
DayZPlayer m_pPlayer
data
Definition dayzplayer.c:135
HumanInputController m_pInput
human input
Definition dayzplayer.c:136

Referenced by OnActivate(), and CGame::OnRPC().

◆ DayZPlayerCameraResult()

void DayZPlayerCamera::DayZPlayerCameraResult ( )
private

cannot be instanced from script (always created from C++)

Definition at line 83 of file dayzplayer.c.

83 {
84 return "0 0 0";
85 }

◆ DayZPlayerType()

void DayZPlayerType ( )
private

Definition at line 507 of file dayzplayer.c.

508 {
509 string cfgPath = "CfgVehicles SurvivorBase ";
510
512 m_pNoiseStepStand.LoadFromPath(cfgPath + "NoiseStepStand");
513
515 m_pNoiseStepCrouch.LoadFromPath(cfgPath + "NoiseStepCrouch");
516
518 m_pNoiseStepProne.LoadFromPath(cfgPath + "NoiseStepProne");
519
521 m_pNoiseLandLight.LoadFromPath(cfgPath + "NoiseLandLight");
522
524 m_pNoiseLandHeavy.LoadFromPath(cfgPath + "NoiseLandHeavy");
525
527 m_pNoiseWhisper.LoadFromPath(cfgPath + "NoiseWhisper");
528
530 m_pNoiseTalk.LoadFromPath(cfgPath + "NoiseTalk");
531
533 m_pNoiseShout.LoadFromPath(cfgPath + "NoiseShout");
534
537 }
class NoiseSystem NoiseParams()
Definition Noise.c:15
ref NoiseParams m_pNoiseShout
Definition dayzplayer.c:577
ref NoiseParams m_pNoiseStepStand
Definition dayzplayer.c:568
ref NoiseParams m_pNoiseLandHeavy
Definition dayzplayer.c:572
void LoadSoundWeaponEvent()
Definition dayzplayer.c:405
ref NoiseParams m_pNoiseStepProne
Definition dayzplayer.c:570
ref NoiseParams m_pNoiseTalk
Definition dayzplayer.c:576
ref NoiseParams m_pNoiseStepCrouch
Definition dayzplayer.c:569
ref NoiseParams m_pNoiseLandLight
Definition dayzplayer.c:571
ref NoiseParams m_pNoiseWhisper
Definition dayzplayer.c:575
void LoadVegetationSounds()
Definition dayzplayer.c:423

References LoadSoundWeaponEvent(), LoadVegetationSounds(), m_pNoiseLandHeavy, m_pNoiseLandLight, m_pNoiseShout, m_pNoiseStepCrouch, m_pNoiseStepProne, m_pNoiseStepStand, m_pNoiseTalk, m_pNoiseWhisper, and NoiseParams().

Referenced by DayZPlayer::CommandHandler(), DayZPlayer::OnStepEvent(), DayZPlayer::ProcessAttachmentEvent(), DayZPlayer::ProcessSoundEvent(), DayZPlayer::ProcessVoiceEvent(), and DayZPlayer::ProcessWeaponEvent().

◆ DebugPreloadAnimationInstances()

proto native void DebugPreloadAnimationInstances ( )
protected

debug / hack - loads all animation instances

◆ DebugSyncShadowSetup()

proto native bool DebugSyncShadowSetup ( DayZPlayer pPlayer)
private

-------------— sync shadow ----------------------—

test if entity is DayZPlayer

◆ ForceStandUpForHeavyItems()

void ForceStandUpForHeavyItems ( notnull EntityAI item)
private

-------------— Forces player to stand up when swapping to heavy item ----------------------—

Definition at line 1291 of file dayzplayer.c.

1292 {
1294 if (item.IsHeavyBehaviour() && IsPlayerInStance(DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH))
1295 {
1297 if (cm)
1298 cm.ForceStance(DayZPlayerConstants.STANCEIDX_ERECT);
1299 }
1300 }
InventoryLocation.
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597
bool IsPlayerInStance(int pStanceMask)
-------------— camera additiona functions ----------------------—
proto native HumanCommandMove GetCommand_Move()

References GetCommand_Move(), and IsPlayerInStance().

Referenced by DayZPlayer::CommandHandler(), and ForceStandUpForHeavyItemsSwap().

◆ ForceStandUpForHeavyItemsSwap()

void ForceStandUpForHeavyItemsSwap ( notnull EntityAI item1,
notnull EntityAI item2 )
private

Definition at line 1302 of file dayzplayer.c.

1303 {
1306 }
void ForceStandUpForHeavyItems(notnull EntityAI item)
-------------— Forces player to stand up when swapping to heavy item ----------------------—

References ForceStandUpForHeavyItems().

Referenced by ManBase::PredictiveForceSwapEntities(), and ManBase::PredictiveSwapEntities().

◆ GetAdditiveAngles()

vector GetAdditiveAngles ( )

Definition at line 87 of file dayzplayer.c.

88 {
89 return "0 0 0";
90 }

◆ GetAnimEventIds()

TIntArray SetDefaultItemInHandsProfile::GetAnimEventIds ( )
private

Definition at line 14 of file dayzplayer.c.

◆ GetAttachmentSoundLookupTable()

DayZPlayerTypeAttachmentSoundLookupTable GetAttachmentSoundLookupTable ( )
protected

Definition at line 323 of file dayzplayer.c.

324 {
326 }
ref DayZPlayerTypeAttachmentSoundLookupTable m_pAttachmentSoundLookupTable
Definition dayzplayer.c:564

References m_pAttachmentSoundLookupTable.

◆ GetBaseAngles()

vector GetBaseAngles ( )

helper to blend between cameras ret[0] - up down angle ret[1] - left right angle ret[2] - roll angle

Definition at line 82 of file dayzplayer.c.

83 {
84 return "0 0 0";
85 }

◆ GetCameraName()

string GetCameraName ( )

Definition at line 92 of file dayzplayer.c.

93 {
94 return "DayZPlayerCamera";
95 }

◆ GetCurrentCamera()

proto native DayZPlayerCamera GetCurrentCamera ( )
private

-------------— camera additional functions ----------------------—

gets current camera

Referenced by ManBase::OnReceivedHit().

◆ GetCurrentCameraTransform()

proto native void GetCurrentCameraTransform ( out vector position,
out vector direction,
out vector rotation )
private

gets transform of current player camera

◆ GetCurrentOrientation()

vector GetCurrentOrientation ( )

Definition at line 112 of file dayzplayer.c.

113 {
115 }
float GetCurrentRoll()
Definition dayzplayer.c:107
float GetCurrentYaw()
Definition dayzplayer.c:97
float GetCurrentPitch()
Definition dayzplayer.c:102
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

References GetCurrentPitch(), GetCurrentRoll(), GetCurrentYaw(), and Vector().

Referenced by DayZPlayerCameraBase::OnUpdate(), and OnUpdate().

◆ GetCurrentPerItemCameraUD()

proto native int GetCurrentPerItemCameraUD ( )
private

gets current camera

◆ GetCurrentPitch()

float GetCurrentPitch ( )

Definition at line 102 of file dayzplayer.c.

103 {
104 return -1;
105 }

Referenced by GetCurrentOrientation().

◆ GetCurrentRoll()

float GetCurrentRoll ( )

Definition at line 107 of file dayzplayer.c.

108 {
109 return -1;
110 }

Referenced by GetCurrentOrientation().

◆ GetCurrentWaterLevel()

float GetCurrentWaterLevel ( )
private

◆ GetCurrentYaw()

float GetCurrentYaw ( )

Definition at line 97 of file dayzplayer.c.

98 {
99 return -1;
100 }

Referenced by GetCurrentOrientation().

◆ GetDayZPlayerType()

◆ GetDebugName()

override string GetDebugName ( )
private

Definition at line 1116 of file dayzplayer.c.

1117 {
1118 string res = super.GetDebugName();
1119 res += ":" + typename.EnumToString(DayZPlayerInstanceType, GetInstanceType());
1120 return res;
1121 }
DayZPlayerInstanceType
defined in C++
proto native DayZPlayerInstanceType GetInstanceType()

References GetInstanceType().

Referenced by Trigger::AddInsider(), ItemBase::DestroyConstruction(), EntityAI::DropEntityImpl(), TriggerEvents::Enter(), EntityAI::ForceSwapEntitiesImpl(), ItemBase::InitBaseState(), ItemBase::InitVisuals(), TriggerEvents::Leave(), EntityAI::LocalDestroyEntityInHands(), Debug::MeleeLog(), ManBase::NeedInventoryJunctureFromServer(), ItemBase::OnPartDestroyedServer(), ItemBase::OnPartDismantledServer(), ItemBase::OnSetSlotLock(), ItemBase::OnVariablesSynchronized(), Debug::ParticleLog(), EntityAI::PredictiveMoveItemFromHandsToInventory(), EntityAI::PredictiveTakeEntityToTargetAttachmentEx(), EntityAI::PredictiveTakeEntityToTargetCargo(), EntityAI::PredictiveTakeEntityToTargetCargoEx(), Trigger::RemoveInsider(), EntityAI::ReplaceItemElsewhereWithNewInHandsImpl(), EntityAI::ReplaceItemInHandsWithNewElsewhereImpl(), EntityAI::ReplaceItemInHandsWithNewImpl(), EntityAI::ReplaceItemWithNewImpl(), ItemBase::SetMountedState(), ItemBase::SetPartFromSyncData(), Weapon::SpawnAttachedMagazine(), TriggerEvents::Stay(), TriggerEvents::StayFinish(), TriggerEvents::StayStart(), EntityAI::SwapEntitiesImpl(), EntityAI::TakeEntityAsAttachmentExImpl(), EntityAI::TakeEntityAsAttachmentImpl(), ManBase::TakeEntityAsAttachmentImpl(), EntityAI::TakeEntityToCargoImpl(), ManBase::TakeEntityToCargoImpl(), EntityAI::TakeEntityToHandsImpl(), ManBase::TakeEntityToHandsImpl(), EntityAI::TakeEntityToInventoryImpl(), ManBase::TakeEntityToInventoryImpl(), EntityAI::TakeEntityToTargetAttachmentExImpl(), ManBase::TakeEntityToTargetAttachmentImpl(), EntityAI::TakeEntityToTargetCargoExImpl(), EntityAI::TakeEntityToTargetCargoImpl(), ManBase::TakeEntityToTargetCargoImpl(), EntityAI::TakeEntityToTargetInventoryImpl(), ManBase::TakeEntityToTargetInventoryImpl(), EntityAI::TakeToDstImpl(), ManBase::TakeToDstImpl(), Debug::TFLog(), ItemBase::UpdateAttachmentPhysics(), Trigger::UpdateInsiders(), and ItemBase::UpdatePhysics().

◆ GetDefaultHitComponent()

string GetDefaultHitComponent ( )
protected

Definition at line 492 of file dayzplayer.c.

493 {
495 }
string m_DefaultHitComponent
Definition dayzplayer.c:583

References m_DefaultHitComponent.

Referenced by GetHitComponentForAI(), and DayZCreatureAI::GetHitComponentForAI().

◆ GetDefaultHitPositionComponent()

string GetDefaultHitPositionComponent ( )
protected

Definition at line 497 of file dayzplayer.c.

498 {
500 }
string m_DefaultHitPositionComponent
Definition dayzplayer.c:584

References m_DefaultHitPositionComponent.

Referenced by DayZCreatureAI::DayZAnimal(), DayZInfected::Init(), and ManBase::Init().

◆ GetEyeZoomLevel()

int GetEyeZoomLevel ( )
private

returns eye zoom level, uses ECameraZoomType values

Referenced by DayZPlayer::IsEyeZoom().

◆ GetGlobalSettingsW()

proto native SHumanGlobalSettings GetGlobalSettingsW ( )
private

returns Human global settings for DayZPlayer


◆ GetHeadBoneIdx()

proto native int GetHeadBoneIdx ( )
protected

◆ GetHitComponentForAI()

string GetHitComponentForAI ( )
protected

Definition at line 482 of file dayzplayer.c.

483 {
484 string hitComp;
485
487 return hitComp;
488
489 return GetDefaultHitComponent();
490 }
static bool SelectMostProbableHitComponent(array< ref DayZAIHitComponent > pHitComponents, out string pHitComponent)
ref array< ref DayZAIHitComponent > m_HitComponentsForAI
Melee hit components (AI targeting)
Definition dayzplayer.c:582
string GetDefaultHitComponent()
Definition dayzplayer.c:492

References GetDefaultHitComponent(), m_HitComponentsForAI, and DayZAIHitComponentHelpers::SelectMostProbableHitComponent().

◆ GetInstanceType()

◆ GetKickOffReason()

proto native EClientKicked GetKickOffReason ( )
private

get reason for kickoff if available (server only)

◆ GetMeleeCombatData()

proto native MeleeCombatData GetMeleeCombatData ( )
private

processes melee hit

◆ GetNoiseParams()

NoiseParams GetNoiseParams ( int eventId)
protected

Definition at line 303 of file DayZPlayerCfgSounds.c.

311 {
313 return soundEvent;
314 }
315
317 }
318*/
319
321{
322 GetGame().ProfilerStart("DayZPlayerTypeRegisterSounds");
324 pType.RegisterStepEvent("Step", 0.2);
325
326 pType.RegisterSoundEvent("Sound", -1);
327 pType.RegisterSoundEvent("SoundWeapon", 0.2);
328 pType.RegisterSoundEvent("SoundVoice", -1);
329 if (!GetGame().IsDedicatedServer()) //attachments don't generate noise, so we can ignore them on server
330 pType.RegisterSoundEvent("SoundAttachment", 0.2);
331
332
334 pType.RegisterVoiceSoundLookupTable(voiceTable2);
335
336 if (!GetGame().IsDedicatedServer()) //sounds are unnecessary on server
337 {
338 pType.RegisterParticleEvent("Particle", -1);
341 pType.RegisterStepSoundLookupTable(stepTable);
342
344 pType.RegisterAttachmentSoundLookupTable(attachTable);
345
346
348 pType.RegisterSoundTable(soundTable);
349
350 //DayZPlayerTypeSoundVoiceTableImpl voiceTable = new DayZPlayerTypeSoundVoiceTableImpl();
351 //pType.RegisterSoundVoiceTable(voiceTable);
352 }
353 GetGame().ProfilerStop("DayZPlayerTypeRegisterSounds");
354}
void DayZPlayerTypeStepSoundLookupTableImpl()
class DayZPlayerTypeStepSoundLookupTableImpl extends DayZPlayerTypeStepSoundLookupTable DayZPlayerTypeAttachmentSoundLookupTableImpl()
class DayZPlayerTypeVoiceSoundLookupTableImpl extends DayZPlayerTypeVoiceSoundLookupTable DayZPlayerTypeSoundTableImpl()
ref array< ref AnimSoundEvent > m_animSoundEvents
void DayZPlayerTypeRegisterSounds(DayZPlayerType pType)
void DayZPlayerTypeVoiceSoundLookupTableImpl()
void DayZPlayerType()
Definition dayzplayer.c:507
proto native CGame GetGame()

◆ GetNoiseParamsCrouch()

NoiseParams GetNoiseParamsCrouch ( )
protected

Definition at line 370 of file dayzplayer.c.

371 {
372 return m_pNoiseStepCrouch;
373 }

References m_pNoiseStepCrouch.

◆ GetNoiseParamsLandHeavy()

NoiseParams GetNoiseParamsLandHeavy ( )
protected

Definition at line 385 of file dayzplayer.c.

386 {
387 return m_pNoiseLandHeavy;
388 }

References m_pNoiseLandHeavy.

◆ GetNoiseParamsLandLight()

NoiseParams GetNoiseParamsLandLight ( )
protected

Definition at line 380 of file dayzplayer.c.

381 {
382 return m_pNoiseLandLight;
383 }

References m_pNoiseLandLight.

◆ GetNoiseParamsProne()

NoiseParams GetNoiseParamsProne ( )
protected

Definition at line 375 of file dayzplayer.c.

376 {
377 return m_pNoiseStepProne;
378 }

References m_pNoiseStepProne.

◆ GetNoiseParamsShout()

NoiseParams GetNoiseParamsShout ( )
protected

Definition at line 400 of file dayzplayer.c.

401 {
402 return m_pNoiseShout;
403 }

References m_pNoiseShout.

◆ GetNoiseParamsStand()

NoiseParams GetNoiseParamsStand ( )
protected

Definition at line 365 of file dayzplayer.c.

366 {
367 return m_pNoiseStepStand;
368 }

References m_pNoiseStepStand.

◆ GetNoiseParamsTalk()

NoiseParams GetNoiseParamsTalk ( )
protected

Definition at line 395 of file dayzplayer.c.

396 {
397 return m_pNoiseTalk;
398 }

References m_pNoiseTalk.

◆ GetNoiseParamsWhisper()

NoiseParams GetNoiseParamsWhisper ( )
protected

Definition at line 390 of file dayzplayer.c.

391 {
392 return m_pNoiseWhisper;
393 }

References m_pNoiseWhisper.

◆ GetSoundBuilder() [1/3]

class DayZPlayerTypeStepSoundLookupTable GetSoundBuilder ( int eventId,
int parameterHash )
protected

Definition at line 139 of file dayzplayer.c.

160 {
161 return null;
162 }

◆ GetSoundBuilder() [2/3]

SoundObjectBuilder GetSoundBuilder::GetSoundBuilder ( int eventId,
int pMovement,
int pSurfaceHash,
AnimBootsType pBoots )

Definition at line 160 of file dayzplayer.c.

160 {
161 return null;
162 }
163

◆ GetSoundBuilder() [3/3]

SoundObjectBuilder GetSoundEvent::GetSoundBuilder ( int eventId,
string slotName,
int attachmentHash )

Definition at line 181 of file dayzplayer.c.

181 {
182 return null;
183 }
184}

◆ GetSoundEvent()

class DayZPlayerTypeAttachmentSoundLookupTable GetSoundEvent ( int event_id)
protected

Definition at line 164 of file dayzplayer.c.

181 {
182 return null;
183 }

◆ GetSoundObjectBuilder()

SoundObjectBuilder SetDefaultItemInHandsProfile::GetSoundObjectBuilder ( )
private

Definition at line 9 of file dayzplayer.c.

12{

◆ GetSoundTable()

DayZPlayerTypeAnimTable GetSoundTable ( )
protected

Definition at line 343 of file dayzplayer.c.

344 {
345 return m_pSoundTable;
346 }
ref DayZPlayerTypeAnimTable m_pSoundTable
Definition dayzplayer.c:566

References m_pSoundTable.

◆ GetSoundWeaponEvent()

AnimSoundEvent GetSoundWeaponEvent ( int event_id)
protected

Definition at line 448 of file dayzplayer.c.

449 {
451 {
452 if (soundEvent.m_iID == event_id)
453 return soundEvent;
454 }
455
456 return null;
457 }
ref array< ref AnimSoundEvent > m_animSoundEventsAttack
Definition dayzplayer.c:588

References m_animSoundEventsAttack.

◆ GetStepSoundLookupTable()

DayZPlayerTypeStepSoundLookupTable GetStepSoundLookupTable ( )
protected

Definition at line 313 of file dayzplayer.c.

314 {
316 }
ref DayZPlayerTypeStepSoundLookupTable m_pStepSoundLookupTable
Definition dayzplayer.c:563

References m_pStepSoundLookupTable.

◆ GetSuitableFinisherHitComponents()

array< string > GetSuitableFinisherHitComponents ( )
protected

Definition at line 502 of file dayzplayer.c.

503 {
505 }
ref array< string > m_SuitableFinisherHitComponents
Definition dayzplayer.c:586

References m_SuitableFinisherHitComponents.

◆ GetVegetationSounds()

array< ref VegetationSound > GetVegetationSounds ( )
protected

Definition at line 360 of file dayzplayer.c.

361 {
362 return m_pVegetationSounds;
363 }
ref array< ref VegetationSound > m_pVegetationSounds
Definition dayzplayer.c:579

References m_pVegetationSounds.

◆ GetVoiceSoundLookupTable()

DayZPlayerTypeVoiceSoundLookupTable GetVoiceSoundLookupTable ( )
protected

Definition at line 333 of file dayzplayer.c.

334 {
336 }
ref DayZPlayerTypeVoiceSoundLookupTable m_pVoiceSoundLookupTable
Definition dayzplayer.c:565

References m_pVoiceSoundLookupTable.

◆ HeadingModel()

bool HeadingModel ( float pDt,
SDayZPlayerHeadingModel pModel )
private

-------------— heading model ----------------------— updated each tick this can limit / extend player's heading (orientation) behaviour in game

◆ IsCamera3rdRaised()

override bool IsCamera3rdRaised ( )

Definition at line 117 of file dayzplayer.c.

118 {
119 return false;
120 }

◆ IsCameraBlending()

proto native bool IsCameraBlending ( )
private

◆ IsEyeZoom()

bool IsEyeZoom ( )
private

DEPRICATED(use GetEyeZoomLevel()) returns true if player is using EyeZoom, otherwise false.

◆ IsHoldingBreath()

bool IsHoldingBreath ( )
private

return true if player is trying to hold breah, otherwise false

◆ IsInThirdPerson()

bool IsInThirdPerson ( )
private

return true if player is currently in 3pp, otherwise false

◆ IsPerformingFBGesture()

bool IsPerformingFBGesture ( )
private

return true if player is currently performing FB gesture, otherwise false

◆ IsPlayerInStance()

bool IsPlayerInStance ( int pStanceMask)
private

-------------— camera additiona functions ----------------------—

returns true if player is currently in one of the stances specified by stance mask IsPlayerInStance(STANCEMASK_ERECT | STANCEMASK_CROUCH) returns true if player is standing or crouching and not raised (aimed) IsPlayerInStance(STANCEMASK_PRONE | STANCEIDX_RAISEDPRONE) returns true if player is in or in prone (both raised or nonraised) IsPlayerInStance(STANCEMASK_ALL) returns true always IsPlayerInStance(STANCEMASK_RAISEDERECT | STANCEMASK_RAISEDCROUCH | STANCEMASK_RAISEDPRONE) returns true if player has raised hands

Definition at line 1253 of file dayzplayer.c.

1254 {
1257
1258 bool ret = ((1 << state.m_iStanceIdx) & pStanceMask) != 0;
1259 return ret;
1260 }
proto native void GetMovementState(HumanMovementState pState)
returns movement state (current command id, )

References GetMovementState().

Referenced by ManBase::CanRoll(), ForceStandUpForHeavyItems(), DayZPlayer::HandleView(), and ManBase::OnCommandMoveStart().

◆ IsPlayerSpeaking()

proto native float IsPlayerSpeaking ( )
private

-------------— speaking anim ----------------------—

Check if player is using VoN to speak and return max amplitude from current samples

Referenced by DayZPlayer::CommandHandler().

◆ IsShootingFromCamera()

bool IsShootingFromCamera ( )
private

return true if shots are fired from camere, otherwise false

◆ LoadSoundWeaponEvent()

void LoadSoundWeaponEvent ( )
protected

Definition at line 405 of file dayzplayer.c.

406 {
407 string cfgPath = "CfgVehicles SurvivorBase AnimEvents SoundWeapon ";
408
410
411 int soundCount = GetGame().ConfigGetChildrenCount(cfgPath);
412 for (int i = 0; i < soundCount; i++)
413 {
414 string soundName;
415 GetGame().ConfigGetChildName(cfgPath, i, soundName);
416 string soundPath = cfgPath + soundName + " ";
418 if (soundEvent.IsValid())
420 }
421 }

References GetGame(), and m_animSoundEventsAttack.

Referenced by DayZPlayerType().

◆ LoadVegetationSounds()

void LoadVegetationSounds ( )
protected

Definition at line 423 of file dayzplayer.c.

424 {
426
427 string vegSoundsCfgPath = "CfgVehicles SurvivorBase VegetationSounds ";
428 int vegSoundsCount = GetGame().ConfigGetChildrenCount(vegSoundsCfgPath);
429
430 for (int v = 0; v < vegSoundsCount; ++v)
431 {
432 string vegSoundParamName;
433 GetGame().ConfigGetChildName(vegSoundsCfgPath, v, vegSoundParamName);
434
435 string soundSet = "";
436 GetGame().ConfigGetText(vegSoundsCfgPath + vegSoundParamName + " soundSet", soundSet);
437
439 GetGame().ConfigGetIntArray(vegSoundsCfgPath + vegSoundParamName + " animEventIds", animEventIds);
440
442
443 if (soundParams.IsValid() && animEventIds.Count() > 0)
445 }
446 }
void SoundObjectBuilder(SoundParams soundParams)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
void VegetationSound(SoundObjectBuilder soundObjectBuilder, TIntArray animEventIds)
Definition dayzplayer.c:3
array< int > TIntArray
Definition EnScript.c:668

References GetGame(), m_pVegetationSounds, SoundObjectBuilder(), and VegetationSound().

Referenced by DayZPlayerType().

◆ OnActivate()

override void OnActivate ( DayZPlayerCamera pPrevCamera,
DayZPlayerCameraResult pPrevCameraResult )

virtual callback - called when camera is created

Definition at line 69 of file dayzplayer.c.

70 {
71 }

◆ OnInputForRemote()

void OnInputForRemote ( ParamsReadContext ctx)
private

Definition at line 1262 of file dayzplayer.c.

1262{ }

◆ OnInputFromServer()

void OnInputFromServer ( ParamsReadContext ctx)
private

Definition at line 1263 of file dayzplayer.c.

1263{ }

◆ OnThrowingModeChange()

void OnThrowingModeChange ( bool change_to_enabled)
private

Definition at line 1308 of file dayzplayer.c.

1308{}

◆ OnUpdate()

override void OnUpdate ( float pDt,
out DayZPlayerCameraResult pOutResult )

virtual callback - called each frame

basically -> transform up vector (0,1,0) and read x coord -> and set is as roll

prev update

Definition at line 74 of file dayzplayer.c.

75 {
76 }

◆ ProcessMeleeHit()

proto native void ProcessMeleeHit ( InventoryItem pMeleeWeapon,
int pMeleeModeIndex,
Object pTarget,
int pComponentIndex,
vector pHitWorldPos )
private

processes melee hit (uses component index)

◆ ProcessMeleeHitName()

proto native void ProcessMeleeHitName ( InventoryItem pMeleeWeapon,
int pMeleeModeIndex,
Object pTarget,
string pComponentName,
vector pHitWorldPos )
private

processes melee hit (uses component name)

◆ Random()

proto native int Random ( )
private

-------------— deterministic random numbers ---------------------—

Random number in range of <0,0xffffffff> - !!! use this only during deterministic simulation (CommandHandler)

Returns
int value in range of <0,0xffffffff>

◆ Random01()

proto native float Random01 ( )
private

Random number in range of <0,1> - !!! use this only during deterministic simulation (CommandHandler)

Returns
float value in range of <0,1>

◆ RandomRange()

proto native float RandomRange ( int pRange)
private

Random number in range of <0,pRange-1> - !!! use this only during deterministic simulation (CommandHandler)

Parameters
pRangeupper bounds of random number
Returns
int value in range of <0,pRange-1>

◆ RegisterAttachmentSoundLookupTable()

void RegisterAttachmentSoundLookupTable ( DayZPlayerTypeAttachmentSoundLookupTable pASLUT)
protected

Definition at line 318 of file dayzplayer.c.

References m_pAttachmentSoundLookupTable.

◆ RegisterCameraCreator()

proto native void RegisterCameraCreator ( int pCameraID,
typename pCameraType  )
protected

registers camera creator - camera type => camera type (must be descendant of DayZPlayerCamera)

◆ RegisterCameraOnChangeFn()

proto native void RegisterCameraOnChangeFn ( Class pInstance,
string pFnName )
protected

registers camera on change function -

◆ RegisterCameraOnChangeFnStatic()

proto native void RegisterCameraOnChangeFnStatic ( typename pClass ,
string pFnName )
protected

registers camera on change function - static function

◆ RegisterHitComponentsForAI()

override void RegisterHitComponentsForAI ( )
protected

register hit components for AI melee (used by attacking AI)

registers default hit compoent for entity

registers default hit position for entity

list of components suitable for melee finisher attacks (used in fight logic)

register hit components that are selected by probability

Definition at line 460 of file dayzplayer.c.

461 {
463
465 m_DefaultHitComponent = "dmgZone_torso";
468
471 m_SuitableFinisherHitComponents.Insert("Head");
472
474 //DayZAIHitComponentHelpers.RegisterHitComponent(m_HitComponentsForAI, "dmgZone_head", 5); // TMP comment out
480 }
static void RegisterHitComponent(array< ref DayZAIHitComponent > pHitComponents, string pName, float pWeight)
Register Hit Component for AI targeting.

References m_DefaultHitComponent, m_DefaultHitPositionComponent, m_HitComponentsForAI, m_SuitableFinisherHitComponents, and DayZAIHitComponentHelpers::RegisterHitComponent().

◆ RegisterParticleEvent()

proto native void RegisterParticleEvent ( string pEventType,
float pFilterTimeout )
protected

◆ RegisterSoundEvent()

proto native void RegisterSoundEvent ( string pEventType,
float pFilterTimeout )
protected

◆ RegisterSoundTable()

void RegisterSoundTable ( DayZPlayerTypeAnimTable pST)
protected

Definition at line 338 of file dayzplayer.c.

339 {
341 }

References m_pSoundTable.

◆ RegisterStepEvent()

proto native void RegisterStepEvent ( string pEventType,
float pFilterTimeout )
protected

◆ RegisterStepSoundLookupTable()

void RegisterStepSoundLookupTable ( DayZPlayerTypeStepSoundLookupTable pSSLUT)
protected

Definition at line 308 of file dayzplayer.c.

309 {
311 }

References m_pStepSoundLookupTable.

◆ RegisterVoiceSoundLookupTable()

void RegisterVoiceSoundLookupTable ( DayZPlayerTypeVoiceSoundLookupTable pASLUT)
protected

Definition at line 328 of file dayzplayer.c.

329 {
331 }

References m_pVoiceSoundLookupTable.

◆ ReleaseNetworkControls()

proto native void ReleaseNetworkControls ( )
private

-------------— release controls ----------------------—

◆ ResetCameraCreators()

proto native void ResetCameraCreators ( )
protected

resets camera creators


◆ ResetItemInHandsProfiles()

proto native void ResetItemInHandsProfiles ( )
protected

reset profiles

◆ SDayZPlayerHeadingModel()

void SDayZPlayerHeadingModel ( )
private

cannot be created from script

Definition at line 1070 of file dayzplayer.c.

1070{}

◆ SendRecoilOffsetZ()

void SendRecoilOffsetZ ( float offset)
protected

m_fCamPosOffsetZ info, used to adjust near plane in DayZPlayerCameraIronsights now

Definition at line 139 of file dayzplayer.c.

139{};

◆ SendSyncJuncture()

proto native void SendSyncJuncture ( int pJunctureID,
ParamsWriteContext ctx )
private

-------------— sync stuff ----------------------—

Referenced by ManBase::ReadLiftWeaponRequest(), and ManBase::ResetADSPlayerSync().

◆ SetAimLimits()

proto native void SetAimLimits ( float pDown,
float pUp,
float pLeft,
float pRight )
protected

sets aim limits for a player

◆ SetCameraShootParams()

proto native void SetCameraShootParams ( float pRayDistance,
float pRayRadius,
float pMaxAngleCos )
protected

sets aim limits for a player

◆ SetCurrentWaterLevel()

void SetCurrentWaterLevel ( float pWaterLevel)
private

◆ SetDefaultItemInHandsProfile()

class VegetationSound SetDefaultItemInHandsProfile ( string pAnimInstanceName,
HumanItemBehaviorCfg pBehaviorCfg )
protected

class that configures static data for DayZPlayer on each mission start DayZPlayerTypeCreate(DayZPlayerType pType) is called - can call methods


◆ SetLookLimits()

proto native void SetLookLimits ( float pDown,
float pUp,
float pLeft,
float pRight )
protected

sets look limits for a player


◆ SetVerticalMinimumAimLimit()

proto native void SetVerticalMinimumAimLimit ( float value)
protected

sets vertical minimum aim limit for a player

◆ SpawnCameraShake()

void SpawnCameraShake ( float strength = 1,
float radius = 2,
float smoothness = 5,
float radius_decay_speed = 6 )

Definition at line 127 of file dayzplayer.c.

128 {
129 SpawnCameraShakeProper(strength, radius, smoothness, radius_decay_speed);//done this way in order to avoid duplicating default params which could cause issues under certain circumstances
130 }
void SpawnCameraShakeProper(float strength, float radius, float smoothness, float radius_decay_speed)

References SpawnCameraShakeProper().

◆ SpawnCameraShakeProper()

void SpawnCameraShakeProper ( float strength,
float radius,
float smoothness,
float radius_decay_speed )

Definition at line 301 of file DayZPlayerCamera_Base.c.

302 {
304 }
ref CameraShake m_CameraShake

References m_CameraShake.

Referenced by SpawnCameraShake(), and SpawnDiagCameraShake().

◆ SpawnDiagCameraShake()

void SpawnDiagCameraShake ( )

Definition at line 122 of file dayzplayer.c.

123 {
124 SpawnCameraShakeProper(1, 1, 15, 4);
125 }

References SpawnCameraShakeProper().

◆ StoreInputForRemotes()

proto native void StoreInputForRemotes ( ParamsWriteContext ctx)
private

Referenced by ProcessInputData().

◆ UpdateDummyPlayerProxyVisibility()

void UpdateDummyPlayerProxyVisibility ( EntityAI shoulder,
EntityAI melee )
private

Definition at line 1270 of file dayzplayer.c.

1271 {
1272 /*EntityAI shoulder_item = FindAttachmentBySlotName("Shoulder");
1273 EntityAI melee_item = FindAttachmentBySlotName("Melee");*/
1274 bool boo;
1275
1276 if (melee)
1277 {
1278 boo = melee.IsWeapon();
1279 SetSimpleHiddenSelectionState(SIMPLE_SELECTION_MELEE_RIFLE, boo);
1280 SetSimpleHiddenSelectionState(SIMPLE_SELECTION_MELEE_MELEE, !boo);
1281 }
1282 if (shoulder)
1283 {
1284 boo = shoulder.IsWeapon();
1285 SetSimpleHiddenSelectionState(SIMPLE_SELECTION_SHOULDER_RIFLE, boo);
1286 SetSimpleHiddenSelectionState(SIMPLE_SELECTION_SHOULDER_MELEE, !boo);
1287 }
1288 }
const int SIMPLE_SELECTION_SHOULDER_RIFLE
const int SIMPLE_SELECTION_SHOULDER_MELEE
class SDayZPlayerAimingModel SIMPLE_SELECTION_MELEE_RIFLE
const int SIMPLE_SELECTION_MELEE_MELEE

References SIMPLE_SELECTION_MELEE_MELEE, SIMPLE_SELECTION_MELEE_RIFLE, SIMPLE_SELECTION_SHOULDER_MELEE, and SIMPLE_SELECTION_SHOULDER_RIFLE.

◆ VegetationSound()

void SetDefaultItemInHandsProfile::VegetationSound ( SoundObjectBuilder soundObjectBuilder,
TIntArray animEventIds )
private

Definition at line 3 of file dayzplayer.c.

Referenced by LoadVegetationSounds().

◆ ~DayZPlayerCameraResult()

void DayZPlayerCamera::~DayZPlayerCameraResult ( )
private

cannot be instanced from script (always created from C++)

Definition at line 88 of file dayzplayer.c.

88 {
89 return "0 0 0";
90 }

◆ ~DayZPlayerType()

void ~DayZPlayerType ( )
private

◆ ~SDayZPlayerHeadingModel()

Definition at line 1071 of file dayzplayer.c.

1071{}

Variable Documentation

◆ m_AnimEventIds

ref TIntArray m_AnimEventIds
private

Definition at line 1 of file dayzplayer.c.

◆ m_animSoundEventsAttack

ref array<ref AnimSoundEvent> m_animSoundEventsAttack
protected

Definition at line 588 of file dayzplayer.c.

Referenced by GetSoundWeaponEvent(), and LoadSoundWeaponEvent().

◆ m_bOwnerTMOverride

bool m_bOwnerTMOverride

The world space transform of the owner to the camera.

Definition at line 78 of file dayzplayer.c.

◆ m_bUpdateEveryFrame

bool m_bUpdateEveryFrame

Whether the camera updates the next frame or blends with next character update.

Definition at line 75 of file dayzplayer.c.

◆ m_bUpdateWhenBlendOut

bool m_bUpdateWhenBlendOut

true - camera is updated when blending to new camera (Ironsights == false)

Definition at line 70 of file dayzplayer.c.

◆ m_CameraTM

vector m_CameraTM[4]

transformation matrix - pos + orient of the camera

Definition at line 58 of file dayzplayer.c.

◆ m_CollisionIgnoreEntity

IEntity m_CollisionIgnoreEntity

ignore entity in 3rd person camera collision solver

Definition at line 80 of file dayzplayer.c.

◆ m_DefaultHitComponent

◆ m_DefaultHitPositionComponent

◆ m_fDistance

◆ m_fFovAbsolute

float m_fFovAbsolute

fov absolute value override - -1.0 default, if set - overrides absolute fov setting

Definition at line 60 of file dayzplayer.c.

Referenced by DayZPlayerCameraBase(), DayZPlayerCameraBase::HoldBreathFOVEffect(), HoldBreathFOVEffect(), and StdFovUpdate().

◆ m_fFovMultiplier

float m_fFovMultiplier

fov multiplier - 1.0 default - used for modifying fov -

Definition at line 59 of file dayzplayer.c.

◆ m_fHeadingAngle

float m_fHeadingAngle
protected

Definition at line 1067 of file dayzplayer.c.

◆ m_fIgnoreParentPitch

float m_fIgnoreParentPitch

1 - resets base transforms pitch

Definition at line 73 of file dayzplayer.c.

◆ m_fIgnoreParentRoll

float m_fIgnoreParentRoll

1 - resets base transforms roll

Definition at line 72 of file dayzplayer.c.

◆ m_fIgnoreParentYaw

float m_fIgnoreParentYaw

1 - resets base transforms yaw

Definition at line 74 of file dayzplayer.c.

◆ m_fInsideCamera

float m_fInsideCamera

0 not used, 1 - pos, 2 - rot, 3 - pos+rot applied as a parent to m_CameraTM, 4 as 3 but cam aligned with Y

0..1 (0 normal lod, 1 inside lod), >0.7 -> inside

Definition at line 69 of file dayzplayer.c.

◆ m_fNearPlane

float m_fNearPlane

nearplane distance

Definition at line 61 of file dayzplayer.c.

◆ m_fOrientationAngle

float m_fOrientationAngle
protected

Definition at line 1066 of file dayzplayer.c.

◆ m_fPositionModelSpace

float m_fPositionModelSpace

0.0 position is in heading space, 1.0 position is in model space

Definition at line 62 of file dayzplayer.c.

◆ m_fPredictCollisionRadius

float m_fPredictCollisionRadius

sphere radius used for collision prediction

Definition at line 65 of file dayzplayer.c.

Referenced by DayZPlayerCameraBase::DayZPlayerCamera3rdPerson(), and DayZPlayerCamera3rdPersonJump().

◆ m_fShootFromCamera

float m_fShootFromCamera

1(default) - uses shoot from camera (+aiming sway), 0 pure weapon shoot (ironsights == 0)

Definition at line 71 of file dayzplayer.c.

Referenced by AdjustCameraParameters(), and DayZPlayerCameraOptics().

◆ m_fUseHeading

float m_fUseHeading

0..1 (0 uses direct dir returned, 1 uses heading from player)

Definition at line 64 of file dayzplayer.c.

◆ m_HitComponentsForAI

◆ m_iCamMode

enum DayZPlayerInstanceType m_iCamMode
protected

◆ m_iCurrentCommandID

int m_iCurrentCommandID
protected

Definition at line 1065 of file dayzplayer.c.

◆ m_iDirectBone

int m_iDirectBone

-1 no bone, >= 0 - bone index camera is bound to, m_CameraTM is offset to the bone

Definition at line 67 of file dayzplayer.c.

◆ m_iDirectBoneMode

int m_iDirectBoneMode

Definition at line 68 of file dayzplayer.c.

◆ m_OwnerTM

vector m_OwnerTM[4]

override automatically calculated owner transform during rendering (default - false)

Definition at line 77 of file dayzplayer.c.

◆ m_pAttachmentSoundLookupTable

ref DayZPlayerTypeAttachmentSoundLookupTable m_pAttachmentSoundLookupTable
private

◆ m_pInput

◆ m_pNoiseLandHeavy

ref NoiseParams m_pNoiseLandHeavy
private

Definition at line 572 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsLandHeavy().

◆ m_pNoiseLandLight

ref NoiseParams m_pNoiseLandLight
private

Definition at line 571 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsLandLight().

◆ m_pNoiseShout

ref NoiseParams m_pNoiseShout
private

Definition at line 577 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsShout().

◆ m_pNoiseStepCrouch

ref NoiseParams m_pNoiseStepCrouch
private

Definition at line 569 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsCrouch().

◆ m_pNoiseStepProne

ref NoiseParams m_pNoiseStepProne
private

Definition at line 570 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsProne().

◆ m_pNoiseStepStand

ref NoiseParams m_pNoiseStepStand
private

Definition at line 568 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsStand().

◆ m_pNoiseTalk

ref NoiseParams m_pNoiseTalk
private

Definition at line 576 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsTalk().

◆ m_pNoiseWhisper

ref NoiseParams m_pNoiseWhisper
private

Definition at line 575 of file dayzplayer.c.

Referenced by DayZPlayerType(), and GetNoiseParamsWhisper().

◆ m_pPlayer

◆ m_pSoundTable

ref DayZPlayerTypeAnimTable m_pSoundTable
private

Definition at line 566 of file dayzplayer.c.

Referenced by GetSoundTable(), and RegisterSoundTable().

◆ m_pStepSoundLookupTable

ref DayZPlayerTypeStepSoundLookupTable m_pStepSoundLookupTable
private

Definition at line 563 of file dayzplayer.c.

Referenced by GetStepSoundLookupTable(), and RegisterStepSoundLookupTable().

◆ m_pVegetationSounds

ref array<ref VegetationSound> m_pVegetationSounds
private

Definition at line 579 of file dayzplayer.c.

Referenced by GetVegetationSounds(), and LoadVegetationSounds().

◆ m_pVoiceSoundLookupTable

ref DayZPlayerTypeVoiceSoundLookupTable m_pVoiceSoundLookupTable
private

Definition at line 565 of file dayzplayer.c.

Referenced by GetVoiceSoundLookupTable(), and RegisterVoiceSoundLookupTable().

◆ m_SoundObjectBuilder

ref SoundObjectBuilder m_SoundObjectBuilder
private

Definition at line 0 of file dayzplayer.c.

◆ m_SuitableFinisherHitComponents

ref array<string> m_SuitableFinisherHitComponents
protected

Definition at line 586 of file dayzplayer.c.

Referenced by GetSuitableFinisherHitComponents(), and RegisterHitComponentsForAI().

◆ SetDefaultItemInHandsProfile

enum DayZPlayerConstants SetDefaultItemInHandsProfile
protected

◆ SIMPLE_SELECTION_MELEE_MELEE

const int SIMPLE_SELECTION_MELEE_MELEE = 1
private

◆ SIMPLE_SELECTION_MELEE_RIFLE

◆ SIMPLE_SELECTION_SHOULDER_MELEE

const int SIMPLE_SELECTION_SHOULDER_MELEE = 3
private

◆ SIMPLE_SELECTION_SHOULDER_RIFLE

const int SIMPLE_SELECTION_SHOULDER_RIFLE = 2
private