SKININFO: Difference between revisions

From Zandronum Wiki
(Ported https://zdoom.org/wiki/SKININFO)
 
(Add special lump warning box)
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''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.
{{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.


  ''{''
  ''{''
Line 5: Line 6:
  ''}''
  ''}''


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


*'''hidden'''
*'''hidden'''
Line 32: Line 33:
  class = "Player"
  class = "Player"
  }
  }
[[Category:Special lumps]]
[[Category:Zandronum-specific lumps]]

Latest revision as of 20: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"
}