Difference between revisions of "TempEnts (SourceMod SDKTools)"

From AlliedModders Wiki
Jump to: navigation, search
m
(Added ArmorRicochet)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
=Stocks=
 
=Stocks=
 
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].
 +
 +
==ArmorRicochet==
 +
{{tempent|ArmorRicochet|CTEArmorRicochet|TE_SetupArmorRicochet|Te_armorricochet.jpg}}
  
 
==BeamFollow==
 
==BeamFollow==
Line 56: Line 59:
 
</gallery>
 
</gallery>
  
 +
=SourceMod Commands=
 +
*<tt>sm_dump_teprops &lt;file&gt;</tt> - Dumps tempentity props to a named text file (in the mod folder).
  
 
=See Also=
 
=See Also=
Line 62: Line 67:
  
 
[[Category:SourceMod Scripting]]
 
[[Category:SourceMod Scripting]]
−
[[Category:SourceMod Development]]
 

Latest revision as of 15:54, 24 October 2026

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.

Stocks

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.

ArmorRicochet

Name: ArmorRicochet
Class: CTEArmorRicochet
Function: TE_SetupArmorRicochet


BeamFollow

BeamFollow
Name: BeamFollow
Class: CTEBeamFollow
Function: TE_SetupBeamFollow


BeamLaser

BeamLaser
Name: BeamLaser
Class: CTEBeamLaser
Function: TE_SetupBeamLaser


BeamPoints

BeamPoints
Name: BeamPoints
Class: CTEBeamPoints
Function: TE_SetupBeamPoints


BeamRing

BeamRing
Name: BeamRing
Class: CTEBeamRing
Function: TE_SetupBeamRing


BeamRingPoint

BeamRingPoint
Name: BeamRingPoint
Class: CTEBeamRingPoint
Function: TE_SetupBeamRingPoint


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


Other

Below is a list of tempents of interest which exist but might not have stocks. All images are from the Mani Admin Plugin documentation.

SourceMod Commands

  • sm_dump_teprops <file> - Dumps tempentity props to a named text file (in the mod folder).

See Also