SKININFO: Difference between revisions

From Zandronum Wiki
(Ported https://zdoom.org/wiki/SKININFO)
 
No edit summary
Tag: Source edit
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.
'''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 5:
  ''}''
  ''}''


=== 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 32:
  class = "Player"
  class = "Player"
  }
  }
[[Category:Special lumps]]
[[Category:Zandronum-specific lumps]]

Revision as of 17:59, 22 August 2022

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