DECORATE properties
player.displayname <displayname>
Specifies the display name of the player class. It is the string used to identify the player class (in menus, playerclass cvar, etc.).
player.soundclass <soundclass>
Specifies the sound class of the player class. See
SNDINFO command $playersound.
player.colorrange <from> <to>
The color range in which the player skin is translated.
player.jumpz <jumpz>
The player's jump z. The actual jump height is 8 times bigger than jump z.
player.viewheight <viewheight>
The player's view height.
player.forwardmove <walk> [<run>]
player.sidemove <walk> [<run>]
Player speed modifiers.
player.scoreicon <icon>
The icon shown in multiplayer on the score bar (like in Hexen).
player.startitem <classname> [<amount>]
Adds a inventory item to the list of items given to a player when new game starts. First specified weapon is used as a starting weapon.
DECORATE flags
NOSKIN
Disables skins for the class.
KEYCONF
clearplayerclasses
Clears the list of player classes. Useful if you don't want to use original player classes.
addplayerclass <classname> [nomenu]
Adds a player class to the player class list. The
nomenu flag specifies that the class won't be accesible through new game menu (this way you can create multiplayer-only player classes, selectable only in player setup menu).
ACS
int PlayerClass (int player)
Returns the player class number (based on the order of player classes specified in KEYCONF) of the player. You can use
PlayerClass (PlayerNumber ()) to get the player class of the current player.
S_SKIN
class <displayname>
Defines a skin for the player class specified by it's displayname (
player.displayname property in DECORATE). Use instead of
game.