<?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_BEAMCYLINDER</id>
	<title>TE BEAMCYLINDER - 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_BEAMCYLINDER"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_BEAMCYLINDER&amp;action=history"/>
	<updated>2026-04-24T19:48:12Z</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_BEAMCYLINDER&amp;diff=1314&amp;oldid=prev</id>
		<title>Outerbeast: Created page with &quot;A ring-shaped beam that expands over time. The orientation of the cylinder can&#039;t be changed. frame  &lt;pre&gt; void te_beamcylinder(Vector pos, float r...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_BEAMCYLINDER&amp;diff=1314&amp;oldid=prev"/>
		<updated>2025-04-05T18:57:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A ring-shaped beam that expands over time. The orientation of the cylinder can&amp;#039;t be changed. &lt;a href=&quot;/File:TE_BEAMCYLINDER.gif&quot; title=&quot;File:TE BEAMCYLINDER.gif&quot;&gt;frame&lt;/a&gt;  &amp;lt;pre&amp;gt; void te_beamcylinder(Vector pos, float r...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A ring-shaped beam that expands over time. The orientation of the cylinder can&amp;#039;t be changed.&lt;br /&gt;
[[File:TE_BEAMCYLINDER.gif|frame]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void te_beamcylinder(Vector pos, float radius, &lt;br /&gt;
	string sprite=&amp;quot;sprites/laserbeam.spr&amp;quot;, uint8 startFrame=0, &lt;br /&gt;
	uint8 frameRate=16, uint8 life=8, uint8 width=8, uint8 noise=0, &lt;br /&gt;
	RGBA c=RGBA_PURPLE, uint8 scrollSpeed=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_BEAMCYLINDER);&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.WriteCoord(pos.x);&lt;br /&gt;
	m.WriteCoord(pos.y);&lt;br /&gt;
	m.WriteCoord(pos.z + radius);&lt;br /&gt;
	m.WriteShort(g_EngineFuncs.ModelIndex(sprite));&lt;br /&gt;
	m.WriteByte(startFrame);&lt;br /&gt;
	m.WriteByte(frameRate);&lt;br /&gt;
	m.WriteByte(life);&lt;br /&gt;
	m.WriteByte(width);&lt;br /&gt;
	m.WriteByte(noise);&lt;br /&gt;
	m.WriteByte(c.r);&lt;br /&gt;
	m.WriteByte(c.g);&lt;br /&gt;
	m.WriteByte(c.b);&lt;br /&gt;
	m.WriteByte(c.a);&lt;br /&gt;
	m.WriteByte(scrollSpeed);&lt;br /&gt;
	m.End();&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Vector	pos	Center point of the cylinder&lt;br /&gt;
* float	radius	Max radius of the cylinder&lt;br /&gt;
* string	sprite	Sprite used to draw the beam&lt;br /&gt;
* uint8	startFrame	Starting frame for the beam sprite&lt;br /&gt;
* uint8	frameRate	Frame rate of the beam sprite (FPS * 0.1) (has no effect)&lt;br /&gt;
* uint8	life	Time to display the beam (seconds * 0.1)&lt;br /&gt;
* uint8	width	Width of the beam / height of the cylinder&lt;br /&gt;
* uint8	noise	Noise amplitude of the beam (units * 0.1) (has no effect)&lt;br /&gt;
* RGBA	c	Color of the beam sprite&lt;br /&gt;
* uint8	scrollSpeed	Scroll speed of the beam sprite (has no effect)&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
</feed>