class AmmoEffects
Static data holder for certain ammo config values
NoteKept the names similar to what is in config, but it might be a little deceiving as this is mainly used for explosives
Methods 6
Get the ParticleList ID for the particle for this ammoType
References CGame.ConfigGetText(), map.Find(), string.Format()
Show 3 more
, ParticleList.GetParticleIDByName(), map.Insert(), and m_AmmoParticlesAttempt to play the ammo particle at pos if found, returns true on success
Get the typename for the effect for this ammoType
References CGame.ConfigGetText(), map.Find(), string.Format()
Show 3 more
, map.Insert(), string.ToType(), and m_AmmoEffectsReferenced by PlayAmmoEffect()
Attempt to play the ammo effect at pos if found, returns true on success
References Class.Cast(), GetAmmoEffectTypename(), SEffectManager.PlayInWorld()
Show 3 more
, Effect.SetAutodestroy(), typename.Spawn(), and CGame.SurfaceGetType3D()static void Init()Initialize the containers: this is done this way, to have these not exist on server
Referenced by CGame.CGame()