104enum AnimUpperBodyType
127enum AnimRangedWeaponType
144 void AnimSoundEvent(
string soundPath)
151 if (
GetGame().ConfigGetText(soundPath +
"soundSet", soundSetName))
154 if (m_SoundParams.IsValid())
162 if (
GetGame().ConfigGetText(soundPath +
"soundLookupTable", tableName))
179 if (
GetGame().ConfigGetText(soundPath +
"noise", noiseName))
204 if (m_Table && paramHash)
213 GetSoundBuilderEx().AddEnvSoundVariables(position);
218class AnimSoundVoiceEvent
226 void AnimSoundVoiceEvent(
string soundPath)
230 if ( !
GetGame().IsDedicatedServer() )
235 if ( m_SoundParams.IsValid() )
245 if (
GetGame().ConfigGetText(soundPath +
"noise", noiseName))
278 string m_sSoundLookupTableName;
282 void AnimStepEvent(
string stepPath)
286 if ( !
GetGame().IsDedicatedServer() )
295 if (
GetGame().ConfigGetText(stepPath +
"noise",noiseName))
305 return m_soundLookupTable.GetSoundBuilder(surfaceHash);
312 autoptr AnimDamageParams m_DamageParams;
314 void AnimDamageEvent(
string damagePath)
320 m_DamageParams =
new AnimDamageParams(damageName);
324class AnimDamageParams
333 static const string DAMAGE_CFG_CLASS =
"CfgDamages ";
334 void AnimDamageParams(
string damageName)
336 m_sName = damageName;
337 string damagePath = DAMAGE_CFG_CLASS + damageName +
" ";
344 m_bInvertTeams =
false;
345 string str_invert_teams_cfg;
347 str_invert_teams_cfg.
ToLower();
348 if (str_invert_teams_cfg ==
"true")
350 m_bInvertTeams =
true;
355class AnimEffectParams
359 static const string EFFECT_CFG_CLASS =
"CfgEffects ";
360 void AnimEffectParams(
string effectName)
362 m_sName = effectName;
363 string effectPath = EFFECT_CFG_CLASS + effectName +
" ";
class AnimSoundObjectBuilderBank AnimSoundLookupTableBank()
class AttachmentSoundLookupTable extends SoundLookupTable m_NoiseParams
class SoundLookupTable StepSoundLookupTable()
SoundObjectBuilder GetSoundBuilder(int parameterHash)
enum AnimBootsType NylonJacket
enum AnimBootsType TShirt
enum AnimBootsType Chainmail
enum AnimBootsType Ghillie
enum AnimBootsType Outdoor
enum AnimBootsType ChemlonDress
enum AnimBootsType Military
enum AnimBootsType WoolShirt
enum AnimBootsType LeatherJacket
enum AnimBootsType HeavyJacket
class NoiseSystem NoiseParams()
static AnimSoundObjectBuilderBank GetInstance()
proto native float ConfigGetFloat(string path)
Get float value from config on path.
proto native int ConfigGetInt(string path)
Get int value from config on path.
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
SoundObjectBuilder GetSoundBuilder(int parameterHash)
ref SoundObjectBuilder m_SoundObjectBuilder
proto native CGame GetGame()
class AbstractSoundScene SoundObjectBuilder(SoundParams soundParams)
void SoundObject(SoundParams soundParams)
class SoundObject SoundParams(string name)
proto native SoundObject BuildSoundObject(SoundObjectBuilder soundObjectbuilder)
proto int ToLower()
Changes string to lowercase. Returns length.