<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=TE_EXPLOSION</id>
	<title>TE EXPLOSION - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=TE_EXPLOSION"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_EXPLOSION&amp;action=history"/>
	<updated>2026-04-24T19:40:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=TE_EXPLOSION&amp;diff=1348&amp;oldid=prev</id>
		<title>Outerbeast: Created page with &quot;The standard Half-Life explosion. The sprite moves upward at 8 units per second. TE_EXPLOSION &lt;pre&gt; void te_explosion(Vector pos, string sprite...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_EXPLOSION&amp;diff=1348&amp;oldid=prev"/>
		<updated>2025-04-16T11:41:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The standard Half-Life explosion. The sprite moves upward at 8 units per second. &lt;a href=&quot;/File:TE_EXPLOSION.gif&quot; title=&quot;File:TE EXPLOSION.gif&quot;&gt;frame|TE_EXPLOSION&lt;/a&gt; &amp;lt;pre&amp;gt; void te_explosion(Vector pos, string sprite...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The standard Half-Life explosion. The sprite moves upward at 8 units per second.&lt;br /&gt;
[[File:TE EXPLOSION.gif|frame|TE_EXPLOSION]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void te_explosion(Vector pos, string sprite=&amp;quot;sprites/zerogxplode.spr&amp;quot;, &lt;br /&gt;
	int scale=10, int frameRate=15, int flags=0,&lt;br /&gt;
	NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)&lt;br /&gt;
{&lt;br /&gt;
	NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);&lt;br /&gt;
	m.WriteByte(TE_EXPLOSION);&lt;br /&gt;
	m.WriteCoord(pos.x);&lt;br /&gt;
	m.WriteCoord(pos.y);&lt;br /&gt;
	m.WriteCoord(pos.z);&lt;br /&gt;
	m.WriteShort(g_EngineFuncs.ModelIndex(sprite));&lt;br /&gt;
	m.WriteByte(scale);&lt;br /&gt;
	m.WriteByte(frameRate);&lt;br /&gt;
	m.WriteByte(flags);&lt;br /&gt;
	m.End();&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;vertical-align:middle;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;font-weight:bold; text-align:center;&amp;quot;&lt;br /&gt;
! Type&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| Vector&lt;br /&gt;
| pos&lt;br /&gt;
| Center point for the effect&lt;br /&gt;
|-&lt;br /&gt;
| string&lt;br /&gt;
| sprite&lt;br /&gt;
| Animated explosion sprite (additive or alpha transparency)&lt;br /&gt;
|-&lt;br /&gt;
| uint8&lt;br /&gt;
| scale&lt;br /&gt;
| Sprite scale * 0.1&lt;br /&gt;
|-&lt;br /&gt;
| uint8&lt;br /&gt;
| frameRate&lt;br /&gt;
| Frame rate of the sprite (FPS * 0.1)&lt;br /&gt;
|-&lt;br /&gt;
| uint8&lt;br /&gt;
| flags&lt;br /&gt;
| Combinable options:&amp;lt;br /&amp;gt;1 : Sprite will be drawn opaque&amp;lt;br /&amp;gt;2 : Do not render the dynamic lights&amp;lt;br /&amp;gt;4 : Do not play the explosion sound&amp;lt;br /&amp;gt;8 : Do not draw the particles&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
</feed>