<?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_PROJECTILE</id>
	<title>TE PROJECTILE - 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_PROJECTILE"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_PROJECTILE&amp;action=history"/>
	<updated>2026-04-24T19:45:10Z</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_PROJECTILE&amp;diff=1322&amp;oldid=prev</id>
		<title>Outerbeast at 19:23, 5 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_PROJECTILE&amp;diff=1322&amp;oldid=prev"/>
		<updated>2025-04-05T19:23:47Z</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 21:23, 5 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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;Shoots a model in some direction. The model has no gravity and kills itself after colliding with an entity or the world.&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;Shoots a model in some direction. The model has no gravity and kills itself after colliding with an entity or the world.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:TE PROJECTILE.gif|frame|TE_PROJECTILE&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/del&gt;]]&lt;/div&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;[[File:TE PROJECTILE.gif|frame|TE_PROJECTILE]]&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;&amp;lt;pre&amp;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;&amp;lt;pre&amp;gt;&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;void te_projectile(Vector pos, Vector velocity, CBaseEntity@ owner=null,  &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;void te_projectile(Vector pos, Vector velocity, CBaseEntity@ owner=null,  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key svencoop_wiki-wiki_:diff:1.41:old-1321:rev-1322:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=TE_PROJECTILE&amp;diff=1321&amp;oldid=prev</id>
		<title>Outerbeast: Created page with &quot;Shoots a model in some direction. The model has no gravity and kills itself after colliding with an entity or the world. TE_PROJECTILE) &lt;pre&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=TE_PROJECTILE&amp;diff=1321&amp;oldid=prev"/>
		<updated>2025-04-05T19:23:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Shoots a model in some direction. The model has no gravity and kills itself after colliding with an entity or the world. &lt;a href=&quot;/File:TE_PROJECTILE.gif&quot; title=&quot;File:TE PROJECTILE.gif&quot;&gt;frame|TE_PROJECTILE)&lt;/a&gt; &amp;lt;pre&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Shoots a model in some direction. The model has no gravity and kills itself after colliding with an entity or the world.&lt;br /&gt;
[[File:TE PROJECTILE.gif|frame|TE_PROJECTILE)]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void te_projectile(Vector pos, Vector velocity, CBaseEntity@ owner=null, &lt;br /&gt;
	string model=&amp;quot;models/grenade.mdl&amp;quot;, uint8 life=1, &lt;br /&gt;
	NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)&lt;br /&gt;
{&lt;br /&gt;
	int ownerId = owner is null ? 0 : owner.entindex();&lt;br /&gt;
	NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);&lt;br /&gt;
	m.WriteByte(TE_PROJECTILE);&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(velocity.x);&lt;br /&gt;
	m.WriteCoord(velocity.y);&lt;br /&gt;
	m.WriteCoord(velocity.z);&lt;br /&gt;
	m.WriteShort(g_EngineFuncs.ModelIndex(model));&lt;br /&gt;
	m.WriteByte(life);&lt;br /&gt;
	m.WriteByte(ownerId);&lt;br /&gt;
	m.End();&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Vector	pos	Center point for the effect&lt;br /&gt;
* Vector	velocity	Speed and direction of the model&lt;br /&gt;
* CBaseEntity@	owner	If set, the projectile will not collide with this entity.&lt;br /&gt;
* string	model	Model to display&lt;br /&gt;
* uint8	life	Time to display model (seconds * 0.1)&lt;br /&gt;
[[Category:Scripting]]&lt;/div&gt;</summary>
		<author><name>Outerbeast</name></author>
	</entry>
</feed>