SKININFO: Difference between revisions

From Zandronum Wiki
No edit summary
Tag: Source edit
(Add special lump warning box)
Tag: Source edit
 
Line 1: Line 1:
{{SpecialLumpWarning}}
'''SKININFO''' is a lump used to define skins in Zandronum. The lump is like {{zdoomwiki|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.
'''SKININFO''' is a lump used to define skins in Zandronum. The lump is like {{zdoomwiki|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.



Latest revision as of 21:29, 2 January 2023

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"
}