2010-08-22 13:13:17 +00:00
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
< !DOCTYPE doc
SYSTEM '../../clonk.dtd'>
2009-05-09 13:11:51 +00:00
<?xml-stylesheet type="text/xsl" href="../../clonk.xsl"?>
<doc >
2010-08-22 13:13:17 +00:00
<title > Object Categories</title>
2011-09-05 20:37:47 +00:00
<h > Object Categories</h>
2010-08-22 13:13:17 +00:00
<part >
2013-02-24 01:42:06 +00:00
<text > An object's category specifies parts of its behavior. For a definition it is set by the <code id= "Category" > Category</code> entry in the DefCore.txt file. Multiple categories can be combined using the binary OR operator.</text>
2010-08-22 13:13:17 +00:00
<text >
<table >
<rowh >
<col > Category</col>
<col > Description</col>
</rowh>
<row >
<col > C4D_StaticBack</col>
2011-10-19 22:26:22 +00:00
<col > Immovable object.</col>
2010-08-22 13:13:17 +00:00
</row>
<row >
<col > C4D_Structure</col>
2011-10-19 22:26:22 +00:00
<col > Unused.</col>
2010-08-22 13:13:17 +00:00
</row>
<row >
<col > C4D_Vehicle</col>
2011-10-19 22:26:22 +00:00
<col > Unused.</col>
2010-08-22 13:13:17 +00:00
</row>
<row >
<col > C4D_Living</col>
<col > A living being.</col>
</row>
<row >
<col > C4D_Object</col>
2011-10-19 22:26:22 +00:00
<col > An item that can hit alive objects.</col>
2010-08-22 13:13:17 +00:00
</row>
<row >
<col > C4D_Goal</col>
<col > Game goal.</col>
</row>
<row >
<col > C4D_Environment</col>
<col > Environmental control object.</col>
</row>
<row >
<col > C4D_Rule</col>
<col > Rule control object.</col>
</row>
<row >
<col > C4D_Background</col>
<col > Object is behind the landscape.</col>
</row>
<row >
<col > C4D_Parallax</col>
2011-07-30 23:32:02 +00:00
<col > Object moves parallax according to the Parallaxity property. For more information see <funclink > C4D_Parallax</funclink> .</col>
2010-08-22 13:13:17 +00:00
</row>
<row >
<col > C4D_MouseSelect</col>
<col > Object can be clicked with the mouse, causing a MouseSelection(int player) callback in the object.</col>
</row>
<row >
<col > C4D_Foreground</col>
<col > Object is always in the foreground, even before global particles.</col>
</row>
<row >
<col > C4D_MouseIgnore</col>
<col > Object cannot be selected with the mouse.</col>
</row>
<row >
<col > C4D_IgnoreFoW</col>
2011-06-30 14:35:36 +00:00
<col > Object is drawn above fog of war. Useful for creating status displays or gui elements using objects.</col>
2010-08-22 13:13:17 +00:00
</row>
</table>
</text>
2013-02-24 13:45:46 +00:00
<h > Example</h>
<examples >
<example >
<code > Category=C4D_StaticBack|C4D_Rule</code>
<text > Category for a rule.</text>
</example>
</examples>
2010-08-22 13:13:17 +00:00
</part>
<author > Sven2</author> <date > 2006-05</date>
2011-10-19 22:26:22 +00:00
<author > Newton</author> <date > 2005-01</date>
<author > Günther</author> <date > 2005, 2011</date>
2009-05-09 13:11:51 +00:00
</doc>