8 string stepsCfgPath =
"CfgVehicles SurvivorBase AnimEvents Steps ";
110 string attachCfgPath =
"CfgVehicles SurvivorBase AnimEvents Attachments ";
129 table =
new AttachmentSoundLookupTable();
175 string cfgPath =
"CfgVehicles SurvivorBase AnimEvents SoundVoice ";
228 return table.GetNoiseParam();
251 string soundsCfgPath =
"CfgVehicles SurvivorBase AnimEvents Sounds ";
322 GetGame().ProfilerStart(
"DayZPlayerTypeRegisterSounds");
324 pType.RegisterStepEvent(
"Step", 0.2);
326 pType.RegisterSoundEvent(
"Sound", -1);
327 pType.RegisterSoundEvent(
"SoundWeapon", 0.2);
328 pType.RegisterSoundEvent(
"SoundVoice", -1);
329 if (!
GetGame().IsDedicatedServer())
330 pType.RegisterSoundEvent(
"SoundAttachment", 0.2);
336 if (!
GetGame().IsDedicatedServer())
338 pType.RegisterParticleEvent(
"Particle", -1);
353 GetGame().ProfilerStop(
"DayZPlayerTypeRegisterSounds");
PlayerSpawnPreset slotName
void PlayerVoiceLookupTable()
static AnimSoundObjectBuilderBank GetInstance()
static ref AnimSoundObjectBuilderBank m_instance
class SoundLookupTable StepSoundLookupTable()
autoptr map< int, StepSoundLookupTable > m_pSoundTables
void DayZPlayerTypeStepSoundLookupTableImpl()
class DayZPlayerTypeStepSoundLookupTableImpl extends DayZPlayerTypeStepSoundLookupTable DayZPlayerTypeAttachmentSoundLookupTableImpl()
class DayZPlayerTypeVoiceSoundLookupTableImpl extends DayZPlayerTypeVoiceSoundLookupTable DayZPlayerTypeSoundTableImpl()
ref array< ref AnimSoundEvent > m_animSoundEvents
autoptr map< int, ref StepSoundLookupTable > m_pSoundTableInstances
void DayZPlayerTypeRegisterSounds(DayZPlayerType pType)
void DayZPlayerTypeVoiceSoundLookupTableImpl()
class NoiseSystem NoiseParams()
SoundObjectBuilder GetSoundBuilder(int eventId, string slotName, int attachmentHash)
autoptr map< int, ref StepSoundLookupTable > m_pSoundTableInstances
void DayZPlayerTypeStepSoundLookupTableImpl()
static DayZPlayerTypeStepSoundLookupTableImpl GetInstance()
static ref DayZPlayerTypeStepSoundLookupTableImpl m_instance
autoptr map< int, StepSoundLookupTable > m_pSoundTables
override SoundObjectBuilder GetSoundBuilder(int eventId, int pMovement, int pSurfaceHash, AnimBootsType pBoots)
void DayZPlayerTypeVoiceSoundLookupTableImpl()
autoptr map< int, ref PlayerVoiceLookupTable > m_pSoundTableInstances
override SoundObjectBuilder GetSoundBuilder(int eventId, int parameterHash)
static ref DayZPlayerTypeVoiceSoundLookupTableImpl m_instance
static DayZPlayerTypeVoiceSoundLookupTableImpl GetInstance()
override NoiseParams GetNoiseParams(int eventId)
autoptr map< int, PlayerVoiceLookupTable > m_pSoundTables
DayZPlayerConstants
defined in C++
class DayZPlayerTypeAttachmentSoundLookupTable GetSoundEvent(int event_id)
proto native CGame GetGame()