Page 1 of 1

Tutorial: How to make a basic skin with sounds.

Posted: Sat Feb 08, 2014 9:10 pm
by Slim
Since I didn't see a guide on the forums, I decided to write this little tutorial so it helps people make skins. EDIT: Move this if you have to.

EDIT: Here's if you want a .pk3 format (folders for organization)

[spoiler]Image[/spoiler]

[spoiler]Image[/spoiler]


You need the sprites for the skin, so either find, rip or create some. GIMP is a good tool to edit/create sprites. When you've got some, add them to a WAD (or create a ZIP archive) in SLADE and make sure the lump names are correct. then you need a S_SKIN or SKININFO lump, and in that lump you have to add something like this:

Code: Select all

{
name = "Postal Dude"
sprite = DUDP
Scale = 1.0
Face = STF
gender = male
}
"name" is the name of the skin. But if the name has a space in it you must quote the name. Name goes like this: [spoiler]Image[/spoiler]

"sprite" is the name of the shortened 4-letter name of the sprites.

"scale" is the size of the skin ingame. 1.0 is recommended depending on intended size.

"face" is where you define the skin's HUD face sprites. If you don't have a face and want one, add STF and you'll get the default Doom face. (optional)

"gender" is the gender of course. This is also needed when creating SNDINFO.

Others include names of certain sounds.

SNDINFO is what the skin uses for it's own sounds. If you want it to, You can define many sounds. The most basic are pain, death etc. But let's go through it then.


What I do first is this:

Code: Select all

DREGRET DREGRET

First you define what the sound name will be when adding it to $random and $playeralias etc. Example: Changing the first DREGRET to something like dude/regret so this it comes out like this: dude/regret DREGRET
Be sure to define every sound you want in the skin.

Now to explain $random since it's what I do next.
$random is the way to allow when it's defined, to play more than one sound for a action. i.e you can have 3 pain sounds each for *pain100 *pain75 *pain50 and *pain25, making 12 sounds used for that.

How to define it would be like this:

Code: Select all

$random PostalDude/Taunt { dude/regret DTAUNT1 }

The names must be how explained above, either the original sound file name, or a new one. Now two sounds are made for taunt. They will play randomly when taunt is invoked.
You can do this for each action, and make plenty for each. Be aware though, depending on sound file. Your skin could grow exponentially in filesize. I recommend converting any sound you have for the skin in .ogg format.

Lastly I will explain $playeralias.

Code: Select all

$playeralias "Postal Dude" male *pain100 PostalDude/PainScratched

So it goes like: $playeralias (skin name) (gender) (*taunt or any other action goes here) and then (what was defined in $random, like  PostalDude/Taunt.)
Now you'll want to wrap the skin up and be done. Almost there.

Guide for SLADE3: Make sure you get the transparent color (the background you cut the sprite on) is made to be taken away. And the offsets need to be done correctly.

[spoiler]Image Image Image Image[/spoiler]


And now it should be ready for testing. Save it into a WAD or Pk3 file and then load it. and you should be able to use it in player setup if you followed this correctly. Hope this helps.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Mon Feb 10, 2014 5:16 pm
by Ænima
Great tut! The wording should be straightforward enough for most newbies to understand. Now let's just hope we don't get a sudden influx of bad Minecraft/DOTA skins because of this. D:


Requesting a sticky.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Mon Feb 10, 2014 5:24 pm
by Slim
Ænima wrote: Great tut! The wording should be straightforward enough for most newbies to understand. Now let's just hope we don't get a sudden influx of bad Minecraft/DOTA skins because of this. D:


Requesting a sticky.

I wrote it because 1.: We seem to be getting a steady influx of threads and posts asking how to make these, and I'm wondering why no one did it yet...
And 2.: I felt like writing one for some time.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Wed Jun 18, 2014 7:40 am
by Fawful117
Um...sir? It won't let me save it into a PK3 file. It only lets me save it as a wad...and that doesn't really work in MM8BDM...

RE: Tutorial: How to make a basic skin with sounds.

Posted: Wed Jun 18, 2014 12:41 pm
by mr fiat
im pretty sure skins in wad format work just fine for mm88bdm, they work fine for other iwads so why would it not for mm8bdm?

RE: Tutorial: How to make a basic skin with sounds.

Posted: Wed Jun 18, 2014 2:21 pm
by Slim
Fawful117 wrote: Um...sir? It won't let me save it into a PK3 file. It only lets me save it as a wad...and that doesn't really work in MM8BDM...
Are you using Slade3? And are you trying "Save As"? Making sure you can save it as a zip format or pk3 format is important. If you have to select zip format simply add the ".pk3" extension to the name.

And I don't know where you got your know-how on WADs not working in MM8BDM, But WADs work for any IWAD as long as they are made for it.
Whoever told you what you know is wrong. Skins also do NOT work on player classes if that's what isn't working.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Thu Jun 19, 2014 10:36 pm
by Fawful117
I'm afraid I'd have to show you via Skype, since it's the only way I can show you the instructions I've been following.

I really need help with this...

RE: Tutorial: How to make a basic skin with sounds.

Posted: Thu Jun 19, 2014 10:38 pm
by Slim
Fawful117 wrote: I'm afraid I'd have to show you via Skype, since it's the only way I can show you the instructions I've been following.

I really need help with this...
Got something to print screen? I'm no fan of skype.

EDIT: I reccomend LightShot for print screening certain portions of the screen.

EDIT 2: Did you create the skin file as a WAD archive or ZIP archive? That might be your issue.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Thu Jun 19, 2014 10:52 pm
by Fawful117
I DID create it as a WAD archive...isn't that one of the directions?

RE: Tutorial: How to make a basic skin with sounds.

Posted: Thu Jun 19, 2014 10:55 pm
by Slim
Fawful117 wrote: I DID create it as a WAD archive...isn't that one of the directions?
I did say that, but that's the general direction. If I knew your skin was a little more organized (folders in it), I would've suggested zip format sooner. I thought you were having issues on WAD format. :P

Anyways, better edit the OP with that since people can eat me alive for small inaccuracies.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Thu Jun 19, 2014 11:01 pm
by Fawful117
Ah, I see now.

I'm a little confused on how to work the sounds into it, though.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Fri Jun 20, 2014 1:36 am
by Slim
Fawful117 wrote: Ah, I see now.

I'm a little confused on how to work the sounds into it, though.
Make a text lump named exactly "SNDINFO" (without the quotes), and input your sounds like this mini-tutorial:

[spoiler]

Code: Select all

//Sound definitions 
//(these are what you define sounds' names to be- 
//when assigned to a * function)
//Example: (*what the sound name will be* *lump name* OR
// *lump name* *same exact lump name*)

thisisasound sound
thisisanothersound sound2

//or
//sound sound
//sound2 sound2 works 

//Random Sound definitions ($random "what the sound name will be" { "lump name" "lump name" } etc.)
$random randomsound { thisisasound thisisanothersound }

//Sound assignments
$playeralias "Skin Name" male *death thisisasound
$playeralias "Skin Name" male *pain100 randomsound
[/spoiler]

I hope that gives you a better understanding. I woulda put it together sooner, but I was occupied.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Fri Jun 20, 2014 5:05 am
by Fawful117
I understand everything now. Thanks, man.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Fri Jun 20, 2014 6:47 am
by Slim
Fawful117 wrote: I understand everything now. Thanks, man.
Glad to be of service. :D

RE: Tutorial: How to make a basic skin with sounds.

Posted: Sun Aug 17, 2014 3:29 am
by JellyTrigger
This looks awesome, I've been trying to find out how to create skins for like five years! Thanks a lot man! I'm going to try to see if I can make one now.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Sun Aug 17, 2014 4:05 am
by Slim
Glad I didn't miss any steps then. Because I felt like there was a step I might've missed.

RE: Tutorial: How to make a basic skin with sounds.

Posted: Fri Jun 19, 2015 6:58 pm
by Slim
Requesting move to tutorials sub-forum, please. (I forgot there even was one until Solstar's thread)

RE: Tutorial: How to make a basic skin with sounds.

Posted: Tue Sep 29, 2015 4:45 am
by Slim
Tutorial has been moved to the resources sub-forum, (Many thanks Mifu) disregard above post.

Re: Tutorial: How to make a basic skin with sounds.

Posted: Fri Apr 21, 2017 7:34 pm
by NecroticBlossoms
Sorry for bumping this thread, but I would like to say that people should be careful with their own skins' sound names (to avoid conflict if other skins have ones with same names).

Once I was testing a skin of mine (after putting it in the skins' folder), and noticed that it played a different jump sound which came from another skin (both parties' jump sounds had the exact name). I've fixed the problem after renaming my skin's jump sound and changing its SNDINFO lump.