Difference between revisions of "TempEnts (SourceMod SDKTools)"

From AlliedModders Wiki
Jump to: navigation, search
m
m
Line 6: Line 6:
 
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].
  
==Sparks==
+
==Dust==
{{tempent|Sparks|CTESparks|TE_SetupSparks|Te_sparks.jpg}}
+
{{tempent|Dust|CTEDust|TE_SetupDust|Te_dust.jpg}}
 +
 
 +
==Metal Sparks==
 +
{{tempent|Metal Sparks|CTEMetalSparks|TE_SetupMetalSparks|Te_metalsparks.jpg}}
 +
 
 +
==Muzzle Flash==
 +
{{tempent|MuzzleFlash|CTEMuzzleFlash|TE_SetupMuzzleFlash|Te_muzzleflash.jpg}}
  
 
==Smoke==
 
==Smoke==
 
{{tempent|Smoke|CTESmoke|TE_SetupSmoke|Te_smoke.jpg}}
 
{{tempent|Smoke|CTESmoke|TE_SetupSmoke|Te_smoke.jpg}}
 +
 +
==Sparks==
 +
{{tempent|Sparks|CTESparks|TE_SetupSparks|Te_sparks.jpg}}
  
 
=See Also=
 
=See Also=

Revision as of 16:39, 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.

Dust

Dust
Name: Dust
Class: CTEDust
Function: TE_SetupDust


Metal Sparks

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


Muzzle Flash

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