<p> Doom Builder 2 includes a DECORATE parser used to obtain relevant information (such as editor number, Radius, Height, Scale, and so on) from custom actors. Additional information can be conveyed with keys in the form of special comments inserted within an actor's declaration block:<br/>
Specifies in which category (Monsters, Weapons, etc.) it should be sorted. By default, a custom actor not identified in a configuration file will be put in the Decorate category.<br/>
GZDoom Builder supports hierarchical subgroups, using the backslash separator. For example, <strong>//$Category "Decorations/Tech"</strong> will put the actor within the "Tech" subgroup of the "Decorations" group.<br/>
<br/>
<strong>//$Sprite <sprite></strong><br/>
Specifies which sprite to use to represent the actor in the editor. By default, a custom actor not identified in a configuration file will use the first suitable sprite it finds in the actor definition, trying first the states in the sequence Idle, See, Inactive, Spawn, and if all these fail, the first defined state. This key is therefore especially useful for stateless actor definitions. Keep in mind that this sprite name must match an image in the wad (i.e., if the sprite in your wad is named JUNKA0D0, you need to put JUNKA0D0, JUNKA0 won't work).<br/>
<br/>
<strong>//$Title <title></strong><br/>
Specifies which name to give to the actor. By default, a custom actor not identified in a configuration file will use the Tag property, and if not present, will default to the class name.<br/>
Allows to set the default value for this argument. This property can only be used in conjunction with "<strong>//$ArgN</strong>" property.<br/>
Allows to specify a tooltip text displayed for this argument. Newline character ("\n") can be used to format the text. This property can only be used in conjunction with "<strong>//$ArgN</strong>" property.<br/>
Argument tooltips can be also set for <ahref="gc_argumentsettings.html#argtooltip">things and linedefs</a> in a Game Configuration.<br/>
Allows to specify an <ahref="gc_argumentsettings.html#argtype">argument type</a> for this argument. This property can only be used in conjunction with "<strong>//$ArgN</strong>" property.<br/>
<br/>
<strong><aname="argenum"id="argenum"></a>//$ArgNEnum <string or structure></strong> - <spanclass="red">GZDB only</span>.<br/>
Allows to specify an enum for this argument. This can be either a name of an enum defined in the Game Configuration, or an explicit enum definition. This property can only be used in conjunction with "<strong>//$ArgN</strong>" property.<br/>
Marks the thing as obsolete. It will be detected by "Check obsolete things"<ahref="e_mapanalysis.html">Map Analysis Mode</a> check and will be marked in the <ahref="w_thingedit.html">Thing Properties Window</a> and the Thing Info panel.<br/>
<br/><br/>
<h3>Additionaly, you can use the following special comments in the global block:</h3><br/>
DECORATE parser will stop parsing a file after encountering this comment. This can be used to speedup the parsing process by skipping files, which don't contain placeable actor definitions.<br/>
<br/>
<strong>Note:</strong> It is a good idea to include the Doom Editor Number after the actor definition if you want it to show in Doom Builder, even if it is replacing a standard Doom actor.<br/>
<br/>
<strong>Example:</strong><br/>
<pre>
Actor ChexShield : ResistanceRune replaces ResistanceRune 5104