[2] IMPLEMENTATION

 
Previous (Overview)
Next (Example)
Now on to implementations:


S_SKIN resource format:


The content of S_SKIN is just a simple ASCII text file.

If you put more than one skin into a wad file, there are effectively multiple resources of the same 'S_SKIN' name. If this is a problem you can add any characters after the 'S_SKIN' letters, so that your wad editor doesn't complain. Example: S_SKIN1, S_SKIN2, ...

Legacy will search only for the first 6 letters.

Format of the text file:
 

// This is a comment
Comments start with '//'
name = <skin name> 
Give the name of your skin max 16 characters—NO SPACES!
sprite = XXXX
Identify the sprites to use for this skin 4 characters, optional.
face   = XXX
Identify the status bar face graphics to use for this skin.
MUST be 3 characters.
dsouch
dsplpain
dspdiehi
dsoof
dsslop
dspunch
dsradio
dspldeth
dsjump
dsouch
=
=
=
=
=
=
=
=
=
=
dsXXXXXX
dsXXXXXX
dsXXXXXX
dsXXXXXX
dsXXXXXX
dsXXXXXX
dsXXXXXX
dsXXXXXX
dsXXXXXX
dsXXXXXX
Replace one of the 10 customisable sounds with a new sound. The new sound name MUST start with letters 'DS'
 
Previous (Overview)
Next (Example)