Difference between revisions of "DECORATE"

From ECWolf Wiki
(Removed outdated lists.)
m
Line 25: Line 25:
 
== See Also ==
 
== See Also ==
 
* [[ZDoom:DECORATE|DECORATE information on the ZDoom wiki]]
 
* [[ZDoom:DECORATE|DECORATE information on the ZDoom wiki]]
 +
 +
[[Category:Special Lumps]]

Revision as of 15:19, 27 September 2012

DECORATE is a text actor defintion language based upon the language from ZDoom. DECORATE allows you to define many things such as monsters, decorations, key, and weapons.

Syntax

The general format of a DECORATE script looks like this:

actor  name  [ :  parent ] [ replaces  otheractor ] [ ednum ]
{
     properties 
     +/-flags 
    states
    {
          states 
    }

}

A state has the following syntax:

[Label:]
    GARD ABCD 10 [ flags ] [ Action  [ Thinker ]]
    [goto Label|loop|wait|stop]

Those familiar with ZDoom will notice the addition of a Thinker. This is the same as the normal Action function, but will be executed every tic. Note that Wolf3D runs at 70Hz instead of 35Hz so this function will essentially execute every half tic. ECWolf uses durations in 1/35th of a second so durations of X.5 are possible.

At this time the only state flag supported is BRIGHT.

See Also