104enum AnimUpperBodyType
127enum AnimRangedWeaponType
144 void AnimSoundEvent(
string soundPath)
146 m_iID =
g_Game.ConfigGetInt(soundPath +
"id");
151 if (
g_Game.ConfigGetText(soundPath +
"soundSet", soundSetName))
154 if (m_SoundParams.IsValid())
162 if (
g_Game.ConfigGetText(soundPath +
"soundLookupTable", tableName))
179 if (
g_Game.ConfigGetText(soundPath +
"noise", noiseName))
204 if (m_Table && paramHash)
213 GetSoundBuilderEx().AddEnvSoundVariables(position);
218class AnimSoundVoiceEvent
226 void AnimSoundVoiceEvent(
string soundPath)
228 m_iID =
g_Game.ConfigGetInt(soundPath +
"id");
230 if ( !
g_Game.IsDedicatedServer() )
233 g_Game.ConfigGetText(soundPath +
"soundSet", soundSetName);
235 if ( m_SoundParams.IsValid() )
245 if (
g_Game.ConfigGetText(soundPath +
"noise", noiseName))
278 string m_sSoundLookupTableName;
282 void AnimStepEvent(
string stepPath)
284 m_iID =
g_Game.ConfigGetInt(stepPath +
"id");
286 if ( !
g_Game.IsDedicatedServer() )
288 g_Game.ConfigGetText(stepPath +
"soundLookupTable", m_sSoundLookupTableName);
295 if (
g_Game.ConfigGetText(stepPath +
"noise",noiseName))
305 return m_soundLookupTable.GetSoundBuilder(surfaceHash);
312 autoptr AnimDamageParams m_DamageParams;
314 void AnimDamageEvent(
string damagePath)
316 m_iID =
g_Game.ConfigGetInt(damagePath +
"id");
319 g_Game.ConfigGetText(damagePath +
"damage", damageName);
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 +
" ";
339 g_Game.ConfigGetText(damagePath +
"bone", m_sBoneName);
340 g_Game.ConfigGetText(damagePath +
"ammo", m_sAmmoName);
341 m_fRadius =
g_Game.ConfigGetFloat(damagePath +
"radius");
342 m_fDuration =
g_Game.ConfigGetFloat(damagePath +
"duration");
344 m_bInvertTeams =
false;
345 string str_invert_teams_cfg;
346 g_Game.ConfigGetText(damagePath +
"invertTeams", 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()
SoundObjectBuilder GetSoundBuilder(int parameterHash)
ref SoundObjectBuilder m_SoundObjectBuilder
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.