Difference between revisions of "DECORATE"

From DoomWiki.org

[unchecked revision][checked revision]
(Removing duplicate sentence)
m
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{stub}}
+
'''DECORATE''' is a scripting and content definition language in [[ZDoom]] that is used to create new actors. The origin of the name stems from its initial use merely as a way to create new decorations without having to steal frames from other actors, as required by [[DeHackEd]].
  
'''DECORATE''' is a scripting language in [[ZDoom]] and its derivatives that is used in the creation of new things. The name comes from the fact that the lump was originally designed just for the creation of new decorations. But is has since been expanded to include monsters, projectiles and weapons.
+
The original syntax, now deprecated, was very simple but did not allow for expansion. To allow modders to define new monsters, the language was redesigned with a more robust syntax. More and more features have been added and the language gradually expanded to cover all actor types, including monsters, weapons, powerups, player classes, and more.
  
The DECORATE lump allows one to define actors that can be placed in a level in Doom and the other games ZDoom support's, without using up extra frames in [[DeHackEd]].
+
Starting with ZDoom v.2.3.0, all actors from all games have been removed from the executable and exported to the DECORATE lump in zdoom.pk3. Their code can be browsed on the ZDoom wiki for reference, offering a large quantity of examples to someone wishing to learn the language.
 +
 
 +
Other than ZDoom and its up-to-date derivatives such as [[GZDoom]] and [[Zandronum]], DECORATE is supported by [[Vavoom]].
  
For historical reasons there are two distinct ways to define actors here. However, the old method has been completely superseded by the new one and it is strongly advised not to use it anymore.
 
 
== See also ==
 
== See also ==
 
 
* {{zdoomwiki|title=DECORATE}}
 
* {{zdoomwiki|title=DECORATE}}
 
[[Category:ZDoom]]
 
[[Category:ZDoom]]
 
[[Category:WAD lumps]]
 
[[Category:WAD lumps]]
 
[[Category:Scripting languages]]
 
[[Category:Scripting languages]]

Revision as of 12:00, 4 February 2015

DECORATE is a scripting and content definition language in ZDoom that is used to create new actors. The origin of the name stems from its initial use merely as a way to create new decorations without having to steal frames from other actors, as required by DeHackEd.

The original syntax, now deprecated, was very simple but did not allow for expansion. To allow modders to define new monsters, the language was redesigned with a more robust syntax. More and more features have been added and the language gradually expanded to cover all actor types, including monsters, weapons, powerups, player classes, and more.

Starting with ZDoom v.2.3.0, all actors from all games have been removed from the executable and exported to the DECORATE lump in zdoom.pk3. Their code can be browsed on the ZDoom wiki for reference, offering a large quantity of examples to someone wishing to learn the language.

Other than ZDoom and its up-to-date derivatives such as GZDoom and Zandronum, DECORATE is supported by Vavoom.

See also