SKININFO

From Zandronum Wiki
Revision as of 20:29, 2 January 2023 by DrinkyBird (talk | contribs) (Add special lump warning box)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article documents a Zandronum-specific special lump which may not be supported by ZDoom and its other child ports.

SKININFO is a lump used to define skins in Zandronum. The lump is like S_SKIN, in fact it is feature equivalent with a few additions. Everything from S_SKIN can be used as properties. The advantage of SKININFO is that multiple skins can be defined in one lump.

{
Properties...
}

Properties

In addition to the properties of S_SKIN, the following can be used:

  • hidden
Defines whether the player the skin is available directly or needs to be unlocked first. Counter-intuitively, it is named "hidden" but actually correspond to "revealed". Possible values are true (revealed) and false (hidden).
  • class
Limits the skin to the class defined. (Clarification needed.)
  • cheat
Defines whether the skin filter "Disable cheat skins" filters it out as a cheat skin. Possible values are true (cheat skin) and false (normal skin).

Examples

{
name = "Elena"
sprite = elna
dsnoway = dselnway
dsoof = dseloof
dspldeth = dselpdet
dspdiehi = dseldihi
dsplpain = dselpain
dstaunt = dseltaun
dspunch = dselpnch
gender = female
color = ff 00 00
hidden = false
cheat = false
class = "Player"
}