S SKIN

From Eternity Wiki
Revision as of 15:24, 26 October 2019 by Printz (talk | contribs)
Jump to navigationJump to search

The S_SKIN lump is the player skin definition from DOOM Legacy. ZDoom also uses this lump, extending it with new features. Please use EDF for any new skins in Eternity. Keep this format just for cross-port compatibility.

Content

S_SKIN is just a collection of keys and values, optionally joined by equal (=).

The attributes you can set are:

  • name (required)
The name of the skin in the Player Setup menu. It's also used by the EDF playerclass defaultskin.
  • sprite
Must be four upper-case characters which make the name of the sprite of this skin. It is case sensitive. If omitted, it will use the first four letters of the next lump in the WAD.
Unlike regular sprites, the sprite referred by this field doesn't need to have its frame lumps contained within S_START and S_END.
  • face
Up to three letters which make the prefix of the DOOM status bar faces. By default it's STF.
  • dsplpain
  • dspdiehi
  • dsoof
  • dsslop
  • dspunch
  • dsradio
  • dspldeth
  • dsplfall
  • dsplfeet
  • dsfallht
  • dsplwdth
  • dsnoway
Replacement sounds for this skin. If omitted, it will use the corresponding default player sound. Unlike sprite, this is case insensitive.
Note that you can provide any EDF sound name here, not just lump names. Be careful that any name which starts with "ds" will have these two letters skipped, no matter if they are part of the EDF sound name or not. To avoid this issue, use the EDF skin definition instead.

Comments

You can start comments with any of these marks: // # ;

// This is a comment.
#  This is also a comment.
;  Also this is a comment.

Example

// Zombie-like player skin
name zombie
sprite POSS
face ZTF
dsplpain dspopain