<?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_BLOODSPRITE</id>
	<title>TE BLOODSPRITE - 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_BLOODSPRITE"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_BLOODSPRITE&amp;action=history"/>
	<updated>2026-04-24T19:47:14Z</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_BLOODSPRITE&amp;diff=1326&amp;oldid=prev</id>
		<title>Outerbeast: Created page with &quot;A downward spray of sprites with an animated sprite in the center.  TE_BLOODSPRITE &lt;pre&gt; void te_bloodsprite(Vector pos, string sprite1=&quot;spri...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_BLOODSPRITE&amp;diff=1326&amp;oldid=prev"/>
		<updated>2025-04-05T19:33:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A downward spray of sprites with an animated sprite in the center.  &lt;a href=&quot;/File:TE_BLOODSPRITE.gif&quot; title=&quot;File:TE BLOODSPRITE.gif&quot;&gt;frame|TE_BLOODSPRITE&lt;/a&gt; &amp;lt;pre&amp;gt; void te_bloodsprite(Vector pos, string sprite1=&amp;quot;spri...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A downward spray of sprites with an animated sprite in the center.&lt;br /&gt;
&lt;br /&gt;
[[File:TE BLOODSPRITE.gif|frame|TE_BLOODSPRITE]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void te_bloodsprite(Vector pos, string sprite1=&amp;quot;sprites/bloodspray.spr&amp;quot;,&lt;br /&gt;
	string sprite2=&amp;quot;sprites/blood.spr&amp;quot;, uint8 color=70, uint8 scale=3,&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_BLOODSPRITE);&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(sprite1));&lt;br /&gt;
	m.WriteShort(g_EngineFuncs.ModelIndex(sprite2));&lt;br /&gt;
	m.WriteByte(color);&lt;br /&gt;
	m.WriteByte(scale);&lt;br /&gt;
	m.End();&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vector	pos	Center point of the effect&lt;br /&gt;
* string	sprite1	Animated sprite in the center (alpha transparency)&lt;br /&gt;
* string	sprite2	Animated sprites sprayed down from the center point (alpha transparency)&lt;br /&gt;
* uint8	color	Sprite color (index in Engine Palette #1)&lt;br /&gt;
* uint8	scale	Sprite scale * 0.1&lt;br /&gt;
[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
</feed>