<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=Clipmodel_contents_spawnarg</id>
	<title>Clipmodel contents spawnarg - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=Clipmodel_contents_spawnarg"/>
	<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Clipmodel_contents_spawnarg&amp;action=history"/>
	<updated>2026-04-29T19:07:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Clipmodel_contents_spawnarg&amp;diff=1831&amp;oldid=prev</id>
		<title>Greebo at 16:54, 11 September 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Clipmodel_contents_spawnarg&amp;diff=1831&amp;oldid=prev"/>
		<updated>2006-09-11T16:54:29Z</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 16:54, 11 September 2006&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-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&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;I found I kept having to resort to the SDK to change the contents flags of things, for example if I wanted them to have a clipmodel so that they could be stimmed, but didn&amp;#039;t want them to interact with anything else, I set the contents to CONTENTS_FLASHLIGHT_TRIGGER, since we can&amp;#039;t add new contents flags, this seemed like the most harmless dummy contents flag to set.&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;I found I kept having to resort to the SDK to change the contents flags of things, for example if I wanted them to have a clipmodel so that they could be stimmed, but didn&amp;#039;t want them to interact with anything else, I set the contents to CONTENTS_FLASHLIGHT_TRIGGER, since we can&amp;#039;t add new contents flags, this seemed like the most harmless dummy contents flag to set.&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;br&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;br&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;clipmodel_contents an int variable, and it MUST be set to one of the powers of two for the clipmodel contents. These ints may be found in /base/script/doom_defs.script, and they are reproduced here:&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;clipmodel_contents an int variable, and it MUST be set to one of the powers of two for the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;clipmodel contents&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;. These ints may be found in /base/script/doom_defs.script, and they are reproduced here:&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;br&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;br&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;  #define CONTENTS_SOLID 1            // an eye is never valid in a solid&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;  #define CONTENTS_SOLID 1            // an eye is never valid in a solid&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Greebo</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Clipmodel_contents_spawnarg&amp;diff=1817&amp;oldid=prev</id>
		<title>Greebo at 15:59, 11 September 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Clipmodel_contents_spawnarg&amp;diff=1817&amp;oldid=prev"/>
		<updated>2006-09-11T15:59:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Original_Reference|Ishtvan|3930}}&lt;br /&gt;
&lt;br /&gt;
I have added the spawnarg: &amp;#039;&amp;#039;&amp;#039;clipmodel_contents&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
I found I kept having to resort to the SDK to change the contents flags of things, for example if I wanted them to have a clipmodel so that they could be stimmed, but didn&amp;#039;t want them to interact with anything else, I set the contents to CONTENTS_FLASHLIGHT_TRIGGER, since we can&amp;#039;t add new contents flags, this seemed like the most harmless dummy contents flag to set.&lt;br /&gt;
&lt;br /&gt;
clipmodel_contents an int variable, and it MUST be set to one of the powers of two for the clipmodel contents. These ints may be found in /base/script/doom_defs.script, and they are reproduced here:&lt;br /&gt;
&lt;br /&gt;
 #define CONTENTS_SOLID 1            // an eye is never valid in a solid&lt;br /&gt;
 #define CONTENTS_OPAQUE 2           // blocks visibility (for ai)&lt;br /&gt;
 #define CONTENTS_WATER 4            // used for water&lt;br /&gt;
 #define CONTENTS_PLAYERCLIP 8       // solid to players&lt;br /&gt;
 #define CONTENTS_MONSTERCLIP 16     // solid to monsters&lt;br /&gt;
 #define CONTENTS_MOVEABLECLIP 32    // solid to moveable entities&lt;br /&gt;
 #define CONTENTS_IKCLIP 64          // solid to IK&lt;br /&gt;
 #define CONTENTS_BLOOD 128          // used to detect blood decals&lt;br /&gt;
 #define CONTENTS_BODY 256           // used for actors&lt;br /&gt;
 #define CONTENTS_PROJECTILE 512     // used for projectiles&lt;br /&gt;
 #define CONTENTS_CORPSE 1024        // used for dead bodies&lt;br /&gt;
 #define CONTENTS_RENDERMODEL 2048   // used for render models for collision detection&lt;br /&gt;
 #define CONTENTS_TRIGGER 4096       // used for triggers&lt;br /&gt;
 #define CONTENTS_AAS_SOLID 8192     // solid for AAS&lt;br /&gt;
 #define CONTENTS_AAS_OBSTACLE 16384 // used to compile an obstacle &lt;br /&gt;
                                     // into AAS that can be enabled/disabled&lt;br /&gt;
 #define CONTENTS_FLASHLIGHT_TRIGGER 32768 // used for triggers that are activated by the flashlight&lt;br /&gt;
&lt;br /&gt;
Again, just set this spawnArg if you want to set the contents to something other than default. It&amp;#039;s set in idEntity::Spawn, so if something in the SDK sets the contents after idEntity::Spawn, it will override the clipmodel_contents var.&lt;br /&gt;
&lt;br /&gt;
[[Category:Editing]]&lt;/div&gt;</summary>
		<author><name>Greebo</name></author>
	</entry>
</feed>