Difference between revisions of "TempEnts (SourceMod SDKTools)"

From AlliedModders Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
For more information on SourceMod's TempEnt support, see the [[SDKTools_%28SourceMod_Development%29#TempEnt_Functions|SDKTools TempEnt Functions]] writeup.
 
For more information on SourceMod's TempEnt support, see the [[SDKTools_%28SourceMod_Development%29#TempEnt_Functions|SDKTools TempEnt Functions]] writeup.
 +
  
 
=TempEnts=
 
=TempEnts=
 
Below is a list of the predefined tempent stocks found in <tt>sdktools_tempents_stocks.inc</tt>.  Many of the images are copyrighted by Mani and are from [http://www.mani-admin-plugin.com/mani_admin_plugin/documentation/index.php his documentation].
 
Below is a list of the predefined tempent stocks found in <tt>sdktools_tempents_stocks.inc</tt>.  Many of the images are copyrighted by Mani and are from [http://www.mani-admin-plugin.com/mani_admin_plugin/documentation/index.php his documentation].
 +
 +
==Blood Sprite==
 +
{{tempent|Blood Sprite|CTEBloodSprite|TE_SetupBloodSprite|Te_bloodsprite.jpg}}
  
 
==Dust==
 
==Dust==
 
{{tempent|Dust|CTEDust|TE_SetupDust|Te_dust.jpg}}
 
{{tempent|Dust|CTEDust|TE_SetupDust|Te_dust.jpg}}
 +
 +
==Energy Splash==
 +
{{tempent|Energy Splash|CTEEnergySplash|TE_SetupEnergySplash|Te_energysplash.jpg}}
 +
 +
==Explosion==
 +
{{tempent|Explosion|CTEExplosion|TE_SetupExplosion|Te_explosion.jpg}}
 +
 +
==GlowSprite==
 +
{{tempent|GlowSprite|CTEGlowSprite|TE_SetupGlowSprite|Te_glowsprite.jpg}}
  
 
==Metal Sparks==
 
==Metal Sparks==
 
{{tempent|Metal Sparks|CTEMetalSparks|TE_SetupMetalSparks|Te_metalsparks.jpg}}
 
{{tempent|Metal Sparks|CTEMetalSparks|TE_SetupMetalSparks|Te_metalsparks.jpg}}
  
==Muzzle Flash==
+
==MuzzleFlash==
 
{{tempent|MuzzleFlash|CTEMuzzleFlash|TE_SetupMuzzleFlash|Te_muzzleflash.jpg}}
 
{{tempent|MuzzleFlash|CTEMuzzleFlash|TE_SetupMuzzleFlash|Te_muzzleflash.jpg}}
  

Revision as of 15:46, 7 July 2007

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