Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | DayZPlayerCameraResult |
class | DayZPlayerTypeStepSoundLookupTable |
class | DayZPlayerTypeAttachmentSoundLookupTable |
class | VegetationSound |
class | SDayZPlayerAimingModel |
Functions | |
class DayZPlayerCameraResult | DayZPlayerCamera (DayZPlayer pPlayer, HumanInputController pInput) |
private void | DayZPlayerCameraResult () |
cannot be instanced from script (always created from C++) More... | |
private void | ~DayZPlayerCameraResult () |
cannot be instanced from script (always created from C++) More... | |
bool | CanFreeLook () |
this overrides freelook for cameras More... | |
void | OnActivate (DayZPlayerCamera pPrevCamera, DayZPlayerCameraResult pPrevCameraResult) |
virtual callback - called when camera is created More... | |
void | OnUpdate (float pDt, out DayZPlayerCameraResult pOutResult) |
virtual callback - called each frame More... | |
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 More... | |
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 More... | |
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. More... | |
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 More... | |
proto native void | ResetCameraCreators () |
resets camera creators More... | |
proto native void | RegisterCameraCreator (int pCameraID, typename pCameraType) |
registers camera creator - camera type => camera type (must be descendant of DayZPlayerCamera) More... | |
proto native void | RegisterCameraOnChangeFnStatic (typename pClass, string pFnName) |
registers camera on change function - static function More... | |
proto native void | RegisterCameraOnChangeFn (Class pInstance, string pFnName) |
registers camera on change function - More... | |
proto native void | SetLookLimits (float pDown, float pUp, float pLeft, float pRight) |
sets look limits for a player More... | |
proto native void | SetAimLimits (float pDown, float pUp, float pLeft, float pRight) |
sets aim limits for a player More... | |
proto native void | SetVerticalMinimumAimLimit (float value) |
sets vertical minimum aim limit for a player More... | |
proto native void | SetCameraShootParams (float pRayDistance, float pRayRadius, float pMaxAngleCos) |
sets aim limits for a player More... | |
proto native int | GetHeadBoneIdx () |
proto native void | RegisterStepEvent (string pEventType, float pFilterTimeout) |
calls DayZPlayer.OnStepEvent(); More... | |
proto native void | RegisterSoundEvent (string pEventType, float pFilterTimeout) |
calls DayZPlayer.OnSoundEvent(); More... | |
proto native void | RegisterParticleEvent (string pEventType, float pFilterTimeout) |
calls DayZPlayer.OnParticleEvent(); More... | |
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 VegetationSound > | GetVegetationSounds () |
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) More... | |
string | GetHitComponentForAI () |
string | GetDefaultHitComponent () |
string | GetDefaultHitPositionComponent () |
array< string > | GetSuitableFinisherHitComponents () |
private void | DayZPlayerType () |
private void | ~DayZPlayerType () |
proto native SHumanGlobalSettings | GetGlobalSettingsW () |
returns Human global settings for DayZPlayer More... | |
proto native SHumanCommandMoveSettings | CommandMoveSettingsW () |
proto native SHumanCommandSwimSettings | CommandSwimSettingsW () |
proto native SHumanCommandClimbSettings | CommandClimbSettingsW () |
private void | SDayZPlayerHeadingModel () |
cannot be created from script More... | |
private void | ~SDayZPlayerHeadingModel () |
proto native DayZPlayerType | GetDayZPlayerType () |
returns appropriate DayZPlayerType More... | |
proto native DayZPlayerInstanceType | GetInstanceType () |
override string | GetDebugName () |
bool | HeadingModel (float pDt, SDayZPlayerHeadingModel pModel) |
bool | AimingModel (float pDt, SDayZPlayerAimingModel pModel) |
-------------— aiming model ----------------------— More... | |
void | CommandHandler (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished) |
-------------— command handling ----------------------— More... | |
int | CameraHandler (int pCameraMode) |
-------------— camera handling ----------------------— More... | |
proto native DayZPlayerCamera | GetCurrentCamera () |
-------------— camera additional functions ----------------------— More... | |
proto native void | GetCurrentCameraTransform (out vector position, out vector direction, out vector rotation) |
gets transform of current player camera More... | |
proto native int | GetCurrentPerItemCameraUD () |
gets current camera More... | |
proto native bool | IsCameraBlending () |
proto native void | AnimCallCommand (int pCommand, int pParamInt, float pParamFloat) |
-------------— animation graph functions ----------------------— More... | |
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 ---------------------— More... | |
proto native float | RandomRange (int pRange) |
Random number in range of <0,pRange-1> - !!! use this only during deterministic simulation (CommandHandler) More... | |
proto native float | Random01 () |
Random number in range of <0,1> - !!! use this only during deterministic simulation (CommandHandler) More... | |
bool | IsEyeZoom () |
DEPRICATED(use GetEyeZoomLevel()) returns true if player is using EyeZoom, otherwise false. More... | |
int | GetEyeZoomLevel () |
returns eye zoom level, uses ECameraZoomType values More... | |
bool | IsShootingFromCamera () |
return true if shots are fired from camere, otherwise false More... | |
bool | IsHoldingBreath () |
return true if player is trying to hold breah, otherwise false More... | |
bool | IsPerformingFBGesture () |
return true if player is currently performing FB gesture, otherwise false More... | |
bool | IsInThirdPerson () |
return true if player is currently in 3pp, otherwise false More... | |
proto native MeleeCombatData | GetMeleeCombatData () |
processes melee hit More... | |
proto native void | ProcessMeleeHit (InventoryItem pMeleeWeapon, int pMeleeModeIndex, Object pTarget, int pComponentIndex, vector pHitWorldPos) |
processes melee hit (uses component index) More... | |
proto native void | ProcessMeleeHitName (InventoryItem pMeleeWeapon, int pMeleeModeIndex, Object pTarget, string pComponentName, vector pHitWorldPos) |
processes melee hit (uses component name) More... | |
proto native EClientKicked | GetKickOffReason () |
get reason for kickoff if available (server only) More... | |
proto native void | ReleaseNetworkControls () |
-------------— release controls ----------------------— More... | |
proto native void | SendSyncJuncture (int pJunctureID, ParamsWriteContext ctx) |
-------------— sync stuff ----------------------— More... | |
proto native void | StoreInputForRemotes (ParamsWriteContext ctx) |
proto native bool | DebugSyncShadowSetup (DayZPlayer pPlayer) |
-------------— sync shadow ----------------------— More... | |
void | SetCurrentWaterLevel (float pWaterLevel) |
float | GetCurrentWaterLevel () |
bool | IsPlayerInStance (int pStanceMask) |
-------------— camera additiona functions ----------------------— More... | |
void | OnInputForRemote (ParamsReadContext ctx) |
void | OnInputFromServer (ParamsReadContext ctx) |
proto native float | IsPlayerSpeaking () |
-------------— speaking anim ----------------------— More... | |
void | UpdateDummyPlayerProxyVisibility (EntityAI shoulder, EntityAI melee) |
void | ForceStandUpForHeavyItems (notnull EntityAI item) |
-------------— Forces player to stand up when swapping to heavy item ----------------------— More... | |
void | ForceStandUpForHeavyItemsSwap (notnull EntityAI item1, notnull EntityAI item2) |
void | OnThrowingModeChange (bool change_to_enabled) |
this file is interface DayZPlayer classes
Definition in file dayzplayer.c.
enum DayZPlayerConstants |
defined in C++
Definition at line 601 of file dayzplayer.c.
defined in C++
Definition at line 1058 of file dayzplayer.c.
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);
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.
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
proto native int AddItemInHandsProfileIK | ( | string | pItemClass, |
string | pAnimInstanceName, | ||
HumanItemBehaviorCfg | pBehaviorCfg, | ||
string | pIkPoseAnim, | ||
string | pWeaponStates = "" |
||
) |
bool AimingModel | ( | float | pDt, |
SDayZPlayerAimingModel | pModel | ||
) |
-------------— aiming model ----------------------—
updated each tick - this takes care about aiming
-------------— animation graph functions ----------------------—
functions usable only from CommandHandler
-------------— camera handling ----------------------—
virtual returns registered camera type pCameraMode - DayZPlayerConstants.CAMERAMODE_ ...
bool CanFreeLook | ( | ) |
this overrides freelook for cameras
Definition at line 63 of file dayzplayer.c.
proto native SHumanCommandClimbSettings CommandClimbSettingsW | ( | ) |
this is used for getting appropriate sound effect to play step event on various surfaces && boots it's downcasted to StepSoundLookupTable
-------------— 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
proto native SHumanCommandMoveSettings CommandMoveSettingsW | ( | ) |
proto native SHumanCommandSwimSettings CommandSwimSettingsW | ( | ) |
class DayZPlayerCameraResult DayZPlayerCamera | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput | ||
) |
Definition at line 56 of file dayzplayer.c.
private void DayZPlayerCamera::DayZPlayerCameraResult | ( | ) |
cannot be instanced from script (always created from C++)
Definition at line 28 of file dayzplayer.c.
private void DayZPlayerType | ( | ) |
Definition at line 512 of file dayzplayer.c.
proto native void DebugPreloadAnimationInstances | ( | ) |
debug / hack - loads all animation instances
proto native bool DebugSyncShadowSetup | ( | DayZPlayer | pPlayer | ) |
-------------— sync shadow ----------------------—
test if entity is DayZPlayer
void ForceStandUpForHeavyItems | ( | notnull EntityAI | item | ) |
-------------— Forces player to stand up when swapping to heavy item ----------------------—
Definition at line 1302 of file dayzplayer.c.
Definition at line 1315 of file dayzplayer.c.
vector GetAdditiveAngles | ( | ) |
Definition at line 87 of file dayzplayer.c.
TIntArray SetDefaultItemInHandsProfile::GetAnimEventIds | ( | ) |
Definition at line 179 of file dayzplayer.c.
DayZPlayerTypeAttachmentSoundLookupTable GetAttachmentSoundLookupTable | ( | ) |
Definition at line 324 of file dayzplayer.c.
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.
string GetCameraName | ( | ) |
Definition at line 92 of file dayzplayer.c.
proto native DayZPlayerCamera GetCurrentCamera | ( | ) |
-------------— camera additional functions ----------------------—
gets current camera
proto native void GetCurrentCameraTransform | ( | out vector | position, |
out vector | direction, | ||
out vector | rotation | ||
) |
gets transform of current player camera
vector GetCurrentOrientation | ( | ) |
Definition at line 112 of file dayzplayer.c.
proto native int GetCurrentPerItemCameraUD | ( | ) |
gets current camera
float GetCurrentPitch | ( | ) |
Definition at line 102 of file dayzplayer.c.
float GetCurrentRoll | ( | ) |
Definition at line 107 of file dayzplayer.c.
float GetCurrentWaterLevel | ( | ) |
float GetCurrentYaw | ( | ) |
Definition at line 97 of file dayzplayer.c.
proto native DayZPlayerType GetDayZPlayerType | ( | ) |
returns appropriate DayZPlayerType
override string GetDebugName | ( | ) |
Definition at line 1126 of file dayzplayer.c.
string GetDefaultHitComponent | ( | ) |
Definition at line 497 of file dayzplayer.c.
string GetDefaultHitPositionComponent | ( | ) |
Definition at line 502 of file dayzplayer.c.
int GetEyeZoomLevel | ( | ) |
returns eye zoom level, uses ECameraZoomType values
proto native SHumanGlobalSettings GetGlobalSettingsW | ( | ) |
returns Human global settings for DayZPlayer
proto native int GetHeadBoneIdx | ( | ) |
string GetHitComponentForAI | ( | ) |
Definition at line 485 of file dayzplayer.c.
proto native DayZPlayerInstanceType GetInstanceType | ( | ) |
proto native EClientKicked GetKickOffReason | ( | ) |
get reason for kickoff if available (server only)
proto native MeleeCombatData GetMeleeCombatData | ( | ) |
processes melee hit
NoiseParams GetNoiseParams | ( | int | eventId | ) |
Definition at line 217 of file dayzplayercfgsounds.c.
NoiseParams GetNoiseParamsCrouch | ( | ) |
Definition at line 371 of file dayzplayer.c.
NoiseParams GetNoiseParamsLandHeavy | ( | ) |
Definition at line 386 of file dayzplayer.c.
NoiseParams GetNoiseParamsLandLight | ( | ) |
Definition at line 381 of file dayzplayer.c.
NoiseParams GetNoiseParamsProne | ( | ) |
Definition at line 376 of file dayzplayer.c.
NoiseParams GetNoiseParamsShout | ( | ) |
Definition at line 401 of file dayzplayer.c.
NoiseParams GetNoiseParamsStand | ( | ) |
Definition at line 366 of file dayzplayer.c.
NoiseParams GetNoiseParamsTalk | ( | ) |
Definition at line 396 of file dayzplayer.c.
NoiseParams GetNoiseParamsWhisper | ( | ) |
Definition at line 391 of file dayzplayer.c.
class DayZPlayerTypeStepSoundLookupTable GetSoundBuilder | ( | int | eventId, |
int | parameterHash | ||
) |
Definition at line 159 of file dayzplayer.c.
SoundObjectBuilder GetSoundBuilder::GetSoundBuilder | ( | int | eventId, |
int | pMovement, | ||
int | pSurfaceHash, | ||
AnimBootsType | pBoots | ||
) |
Definition at line 140 of file dayzplayer.c.
SoundObjectBuilder GetSoundEvent::GetSoundBuilder | ( | int | eventId, |
string | slotName, | ||
int | attachmentHash | ||
) |
Definition at line 165 of file dayzplayer.c.
class DayZPlayerTypeAttachmentSoundLookupTable GetSoundEvent | ( | int | event_id | ) |
Definition at line 180 of file dayzplayer.c.
SoundObjectBuilder SetDefaultItemInHandsProfile::GetSoundObjectBuilder | ( | ) |
Definition at line 174 of file dayzplayer.c.
DayZPlayerTypeAnimTable GetSoundTable | ( | ) |
Definition at line 344 of file dayzplayer.c.
AnimSoundEvent GetSoundWeaponEvent | ( | int | event_id | ) |
Definition at line 451 of file dayzplayer.c.
DayZPlayerTypeStepSoundLookupTable GetStepSoundLookupTable | ( | ) |
Definition at line 314 of file dayzplayer.c.
Definition at line 507 of file dayzplayer.c.
array<ref VegetationSound> GetVegetationSounds | ( | ) |
Definition at line 361 of file dayzplayer.c.
DayZPlayerTypeVoiceSoundLookupTable GetVoiceSoundLookupTable | ( | ) |
Definition at line 334 of file dayzplayer.c.
bool HeadingModel | ( | float | pDt, |
SDayZPlayerHeadingModel | pModel | ||
) |
-------------— heading model ----------------------— updated each tick this can limit / extend player's heading (orientation) behaviour in game
override bool IsCamera3rdRaised | ( | ) |
Definition at line 117 of file dayzplayer.c.
proto native bool IsCameraBlending | ( | ) |
bool IsEyeZoom | ( | ) |
DEPRICATED(use GetEyeZoomLevel()) returns true if player is using EyeZoom, otherwise false.
bool IsHoldingBreath | ( | ) |
return true if player is trying to hold breah, otherwise false
bool IsInThirdPerson | ( | ) |
return true if player is currently in 3pp, otherwise false
bool IsPerformingFBGesture | ( | ) |
return true if player is currently performing FB gesture, otherwise false
-------------— 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 1264 of file dayzplayer.c.
proto native float IsPlayerSpeaking | ( | ) |
-------------— speaking anim ----------------------—
Check if player is using VoN to speak and return max amplitude from current samples
bool IsShootingFromCamera | ( | ) |
return true if shots are fired from camere, otherwise false
void LoadSoundWeaponEvent | ( | ) |
Definition at line 406 of file dayzplayer.c.
void LoadVegetationSounds | ( | ) |
Definition at line 424 of file dayzplayer.c.
override void OnActivate | ( | DayZPlayerCamera | pPrevCamera, |
DayZPlayerCameraResult | pPrevCameraResult | ||
) |
virtual callback - called when camera is created
Definition at line 69 of file dayzplayer.c.
void OnInputForRemote | ( | ParamsReadContext | ctx | ) |
Definition at line 1273 of file dayzplayer.c.
void OnInputFromServer | ( | ParamsReadContext | ctx | ) |
Definition at line 1274 of file dayzplayer.c.
void OnThrowingModeChange | ( | bool | change_to_enabled | ) |
Definition at line 1321 of file dayzplayer.c.
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.
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 int Random | ( | ) |
-------------— deterministic random numbers ---------------------—
Random number in range of <0,0xffffffff> - !!! 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)
Random number in range of <0,pRange-1> - !!! use this only during deterministic simulation (CommandHandler)
pRange | upper bounds of random number |
void RegisterAttachmentSoundLookupTable | ( | DayZPlayerTypeAttachmentSoundLookupTable | pASLUT | ) |
Definition at line 319 of file dayzplayer.c.
registers camera creator - camera type => camera type (must be descendant of DayZPlayerCamera)
registers camera on change function -
registers camera on change function - static function
void RegisterHitComponentsForAI | ( | ) |
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 463 of file dayzplayer.c.
calls DayZPlayer.OnParticleEvent();
calls DayZPlayer.OnSoundEvent();
void RegisterSoundTable | ( | DayZPlayerTypeAnimTable | pST | ) |
Definition at line 339 of file dayzplayer.c.
calls DayZPlayer.OnStepEvent();
void RegisterStepSoundLookupTable | ( | DayZPlayerTypeStepSoundLookupTable | pSSLUT | ) |
Definition at line 309 of file dayzplayer.c.
void RegisterVoiceSoundLookupTable | ( | DayZPlayerTypeVoiceSoundLookupTable | pASLUT | ) |
Definition at line 329 of file dayzplayer.c.
proto native void ReleaseNetworkControls | ( | ) |
-------------— release controls ----------------------—
proto native void ResetCameraCreators | ( | ) |
resets camera creators
proto native void ResetItemInHandsProfiles | ( | ) |
reset profiles
private void SDayZPlayerHeadingModel | ( | ) |
cannot be created from script
Definition at line 1080 of file dayzplayer.c.
void SendRecoilOffsetZ | ( | float | offset | ) |
m_fCamPosOffsetZ info, used to adjust near plane in DayZPlayerCameraIronsights now
Definition at line 139 of file dayzplayer.c.
proto native void SendSyncJuncture | ( | int | pJunctureID, |
ParamsWriteContext | ctx | ||
) |
-------------— sync stuff ----------------------—
sets aim limits for a player
sets aim limits for a player
void SetCurrentWaterLevel | ( | float | pWaterLevel | ) |
class VegetationSound SetDefaultItemInHandsProfile | ( | string | pAnimInstanceName, |
HumanItemBehaviorCfg | pBehaviorCfg | ||
) |
class that configures static data for DayZPlayer on each mission start DayZPlayerTypeCreate(DayZPlayerType pType) is called - can call methods
sets look limits for a player
proto native void SetVerticalMinimumAimLimit | ( | float | value | ) |
sets vertical minimum aim limit for a player
void SpawnCameraShake | ( | float | strength = 1 , |
float | radius = 2 , |
||
float | smoothness = 5 , |
||
float | radius_decay_speed = 6 |
||
) |
Definition at line 127 of file dayzplayer.c.
void SpawnCameraShakeProper | ( | float | strength, |
float | radius, | ||
float | smoothness, | ||
float | radius_decay_speed | ||
) |
Definition at line 324 of file dayzplayercamera_base.c.
void SpawnDiagCameraShake | ( | ) |
Definition at line 122 of file dayzplayer.c.
proto native void StoreInputForRemotes | ( | ParamsWriteContext | ctx | ) |
Definition at line 1281 of file dayzplayer.c.
void SetDefaultItemInHandsProfile::VegetationSound | ( | SoundObjectBuilder | soundObjectBuilder, |
TIntArray | animEventIds | ||
) |
Definition at line 168 of file dayzplayer.c.
private void DayZPlayerCamera::~DayZPlayerCameraResult | ( | ) |
cannot be instanced from script (always created from C++)
Definition at line 33 of file dayzplayer.c.
private void ~DayZPlayerType | ( | ) |
private void ~SDayZPlayerHeadingModel | ( | ) |
Definition at line 1081 of file dayzplayer.c.
private ref TIntArray m_AnimEventIds |
Definition at line 166 of file dayzplayer.c.
ref array<ref AnimSoundEvent> m_animSoundEventsAttack |
Definition at line 593 of file dayzplayer.c.
bool m_bOwnerTMOverride |
The world space transform of the owner to the camera.
Definition at line 23 of file dayzplayer.c.
bool m_bUpdateEveryFrame |
Whether the camera updates the next frame or blends with next character update.
Definition at line 20 of file dayzplayer.c.
bool m_bUpdateWhenBlendOut |
true - camera is updated when blending to new camera (Ironsights == false)
Definition at line 15 of file dayzplayer.c.
vector m_CameraTM[4] |
transformation matrix - pos + orient of the camera
Definition at line 3 of file dayzplayer.c.
IEntity m_CollisionIgnoreEntity |
ignore entity in 3rd person camera collision solver
Definition at line 25 of file dayzplayer.c.
protected string m_DefaultHitComponent |
Definition at line 588 of file dayzplayer.c.
protected string m_DefaultHitPositionComponent |
Definition at line 589 of file dayzplayer.c.
float m_fDistance |
camera distance (external cameras only)
Definition at line 8 of file dayzplayer.c.
float m_fFovAbsolute |
fov absolute value override - -1.0 default, if set - overrides absolute fov setting
Definition at line 5 of file dayzplayer.c.
float m_fFovMultiplier |
fov multiplier - 1.0 default - used for modifying fov -
Definition at line 4 of file dayzplayer.c.
float m_fHeadingAngle |
Definition at line 1077 of file dayzplayer.c.
float m_fIgnoreParentPitch |
1 - resets base transforms pitch
Definition at line 18 of file dayzplayer.c.
float m_fIgnoreParentRoll |
1 - resets base transforms roll
Definition at line 17 of file dayzplayer.c.
float m_fIgnoreParentYaw |
1 - resets base transforms yaw
Definition at line 19 of file dayzplayer.c.
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 14 of file dayzplayer.c.
float m_fNearPlane |
nearplane distance
Definition at line 6 of file dayzplayer.c.
float m_fOrientationAngle |
Definition at line 1076 of file dayzplayer.c.
float m_fPositionModelSpace |
0.0 position is in heading space, 1.0 position is in model space
Definition at line 7 of file dayzplayer.c.
float m_fPredictCollisionRadius |
sphere radius used for collision prediction
Definition at line 10 of file dayzplayer.c.
float m_fShootFromCamera |
1(default) - uses shoot from camera (+aiming sway), 0 pure weapon shoot (ironsights == 0)
Definition at line 16 of file dayzplayer.c.
float m_fUseHeading |
0..1 (0 uses direct dir returned, 1 uses heading from player)
Definition at line 9 of file dayzplayer.c.
protected ref array<ref DayZAIHitComponent> m_HitComponentsForAI |
Melee hit components (AI targeting)
Definition at line 587 of file dayzplayer.c.
enum DayZPlayerInstanceType m_iCamMode |
int m_iCurrentCommandID |
Definition at line 1075 of file dayzplayer.c.
int m_iDirectBone |
-1 no bone, >= 0 - bone index camera is bound to, m_CameraTM is offset to the bone
Definition at line 12 of file dayzplayer.c.
int m_iDirectBoneMode |
Definition at line 13 of file dayzplayer.c.
vector m_OwnerTM[4] |
override automatically calculated owner transform during rendering (default - false)
Definition at line 22 of file dayzplayer.c.
ref DayZPlayerTypeAttachmentSoundLookupTable m_pAttachmentSoundLookupTable |
Definition at line 569 of file dayzplayer.c.
protected HumanInputController m_pInput |
human input
Definition at line 136 of file dayzplayer.c.
ref NoiseParams m_pNoiseLandHeavy |
Definition at line 577 of file dayzplayer.c.
ref NoiseParams m_pNoiseLandLight |
Definition at line 576 of file dayzplayer.c.
ref NoiseParams m_pNoiseShout |
Definition at line 582 of file dayzplayer.c.
ref NoiseParams m_pNoiseStepCrouch |
Definition at line 574 of file dayzplayer.c.
ref NoiseParams m_pNoiseStepProne |
Definition at line 575 of file dayzplayer.c.
ref NoiseParams m_pNoiseStepStand |
Definition at line 573 of file dayzplayer.c.
ref NoiseParams m_pNoiseTalk |
Definition at line 581 of file dayzplayer.c.
ref NoiseParams m_pNoiseWhisper |
Definition at line 580 of file dayzplayer.c.
PlayerBase m_pPlayer |
ref DayZPlayerTypeAnimTable m_pSoundTable |
Definition at line 571 of file dayzplayer.c.
ref DayZPlayerTypeStepSoundLookupTable m_pStepSoundLookupTable |
Definition at line 568 of file dayzplayer.c.
ref array<ref VegetationSound> m_pVegetationSounds |
Definition at line 584 of file dayzplayer.c.
ref DayZPlayerTypeVoiceSoundLookupTable m_pVoiceSoundLookupTable |
Definition at line 570 of file dayzplayer.c.
private ref SoundObjectBuilder m_SoundObjectBuilder |
Definition at line 165 of file dayzplayer.c.
Definition at line 591 of file dayzplayer.c.
enum DayZPlayerConstants SetDefaultItemInHandsProfile |
const int SIMPLE_SELECTION_MELEE_MELEE = 1 |
Definition at line 1117 of file dayzplayer.c.
class SDayZPlayerAimingModel SIMPLE_SELECTION_MELEE_RIFLE = 0 |
const int SIMPLE_SELECTION_SHOULDER_MELEE = 3 |
Definition at line 1119 of file dayzplayer.c.
const int SIMPLE_SELECTION_SHOULDER_RIFLE = 2 |
Definition at line 1118 of file dayzplayer.c.