TempEnts (SourceMod SDKTools)

From AlliedModders Wiki
Revision as of 16:46, 7 July 2007 by BAILOPAN (talk | contribs)
Jump to: navigation, search

TempEnts, also called "temporary entities," "tempentities," or "TEs," are quick graphical displays that are too simple to justify the overhead of a CBaseEntity instantiation or full server-side networkability. In the SDK, they are statically defined instances that can be "played back" to the client by simply sending a copy of its network class properties.

For more information on SourceMod's TempEnt support, see the SDKTools TempEnt Functions writeup.


TempEnts

Below is a list of the predefined tempent stocks found in sdktools_tempents_stocks.inc. Many of the images are copyrighted by Mani and are from his documentation.

Blood Sprite

Blood Sprite
Name: Blood Sprite
Class: CTEBloodSprite
Function: TE_SetupBloodSprite


Dust

Dust
Name: Dust
Class: CTEDust
Function: TE_SetupDust


Energy Splash

Energy Splash
Name: Energy Splash
Class: CTEEnergySplash
Function: TE_SetupEnergySplash


Explosion

Explosion
Name: Explosion
Class: CTEExplosion
Function: TE_SetupExplosion


GlowSprite

GlowSprite
Name: GlowSprite
Class: CTEGlowSprite
Function: TE_SetupGlowSprite


Metal Sparks

Metal Sparks
Name: Metal Sparks
Class: CTEMetalSparks
Function: TE_SetupMetalSparks


MuzzleFlash

MuzzleFlash
Name: MuzzleFlash
Class: CTEMuzzleFlash
Function: TE_SetupMuzzleFlash


Smoke

Smoke
Name: Smoke
Class: CTESmoke
Function: TE_SetupSmoke


Sparks

Sparks
Name: Sparks
Class: CTESparks
Function: TE_SetupSparks


See Also