<?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_BEAMSPRITE</id>
	<title>TE BEAMSPRITE - 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_BEAMSPRITE"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_BEAMSPRITE&amp;action=history"/>
	<updated>2026-04-24T19:46:28Z</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_BEAMSPRITE&amp;diff=1347&amp;oldid=prev</id>
		<title>Outerbeast at 11:37, 16 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_BEAMSPRITE&amp;diff=1347&amp;oldid=prev"/>
		<updated>2025-04-16T11:37:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:37, 16 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Additive sprite drawn at the end of the beam&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Additive sprite drawn at the end of the beam&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Scripting]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key svencoop_wiki-wiki_:diff:1.41:old-1346:rev-1347:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=TE_BEAMSPRITE&amp;diff=1346&amp;oldid=prev</id>
		<title>Outerbeast: Created page with &quot;A beam with a sprite at the end.  It appears to be completely useless since it&#039;s only visible for a single frame and there is no way to increase its life time. Please, someone...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_BEAMSPRITE&amp;diff=1346&amp;oldid=prev"/>
		<updated>2025-04-16T11:37:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A beam with a sprite at the end.  It appears to be completely useless since it&amp;#039;s only visible for a single frame and there is no way to increase its life time. Please, someone...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A beam with a sprite at the end.&lt;br /&gt;
&lt;br /&gt;
It appears to be completely useless since it&amp;#039;s only visible for a single frame and there is no way to increase its life time. Please, someone correct me if I&amp;#039;m wrong.&lt;br /&gt;
[[File:TE BEAMSPRITE.gif|frame|TE_BEAMSPRITE]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void te_beamsprite(Vector start, Vector end,&lt;br /&gt;
	string beamSprite=&amp;quot;sprites/laserbeam.spr&amp;quot;, &lt;br /&gt;
	string endSprite=&amp;quot;sprites/glow01.spr&amp;quot;,&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_BEAMSPRITE);&lt;br /&gt;
	m.WriteCoord(start.x);&lt;br /&gt;
	m.WriteCoord(start.y);&lt;br /&gt;
	m.WriteCoord(start.z);&lt;br /&gt;
	m.WriteCoord(end.x);&lt;br /&gt;
	m.WriteCoord(end.y);&lt;br /&gt;
	m.WriteCoord(end.z);&lt;br /&gt;
	m.WriteShort(g_EngineFuncs.ModelIndex(beamSprite));&lt;br /&gt;
	m.WriteShort(g_EngineFuncs.ModelIndex(endSprite));&lt;br /&gt;
	m.End();&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;&amp;quot;&lt;br /&gt;
! Vector&lt;br /&gt;
! start&lt;br /&gt;
! Starting position of the beam&lt;br /&gt;
|-&lt;br /&gt;
| Vector&lt;br /&gt;
| end&lt;br /&gt;
| End position of the beam&lt;br /&gt;
|-&lt;br /&gt;
| string&lt;br /&gt;
| beamSprite&lt;br /&gt;
| Sprite used to display the beam&lt;br /&gt;
|-&lt;br /&gt;
| string&lt;br /&gt;
| endSprite&lt;br /&gt;
| Additive sprite drawn at the end of the beam&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
</feed>