Discuss all aspects related to modding Zandronum here.
-
L0N3W0LF
- New User
- Posts: 9
- Joined: Sun Nov 02, 2014 4:47 pm
#1
Post
by L0N3W0LF » Sun Jan 18, 2015 4:56 pm
Im making a basic skin with the face of my friend just for testing. The skin images work greate and the skin name appers on the player configuration section. The only problem is that the skin cant make any sounds. What am i doing wrong?
Here is the SKININFO info file
* ZDoom S_Skin
* Lump on top of all
Code: Select all
{
name = "Charly"
sprite = CHLY
gender = male
}
Here is the audio SNDFILE
* ZDoom SndInfo
* Lump on top of all and under SKININFO
Code: Select all
Charly/Taunt1 SWAGT1
Charly/Taunt2 SWAGT2
Charly/Taunt3 SWAGT3
Charly/Taunt4 SWAGT4
Charly/Taunt5 SWAGT5
Charly/Taunt6 SWAGT6
Charly/Dead SWAGDT
Charly/Hit SWAGHU
$random Charly/Taunt { Charly/Taunt1 Charly/Taunt2 Charly/Taunt3 Charly/Taunt4 Charly/Taunt5 Charly/Taunt6 }
// Audio stuff
$playeralias "Charly" male *death Charly/Dead
$playeralias "Charly" male *xdeath Charly/Dead
$playeralias "Charly" male *gibbed Charly/Dead
$playeralias "Charly" male *pain100 Charly/Hit
$playeralias "Charly" male *pain75 Charly/Hit
$playeralias "Charly" male *pain50 Charly/Hit
$playeralias "Charly" male *pain25 Charly/Hit
$playeralias "Charly" male *grunt Charly/Taunt1
$playeralias "Charly" male *taunt Charly/Taunt
The audio files are all .ogg and the name of all of them start as "SWAG" and all of them are the last lumps.
Any ideas?
Last edited by
L0N3W0LF on Sun Jan 18, 2015 4:58 pm, edited 1 time in total.
-
Erma
- Forum Regular
- Posts: 418
- Joined: Wed Nov 07, 2012 11:39 pm
#2
Post
by Erma » Sun Jan 18, 2015 5:11 pm
Hi there!
I sometimes have a similar problem of a skin or class not working as it should soundwise.
Spoiler: code (Open)$PlayerSound Geraldine female *Death Geraldinedeath
$PlayerSoundDup Geraldine female *XDeath *Death
$PlayerSound Geraldine female *Pain100 GeraldineHit
$PlayerSoundDup Geraldine female *Pain75 *Pain100
$PlayerSoundDup Geraldine female *Pain50 *Pain100
$PlayerSoundDup Geraldine female *Pain25 *Pain100
$PlayerSound Geraldine female *Grunt QUIET
$PlayerSoundDup Geraldine female *Land *Grunt
$PlayerSound Geraldine female *Jump QUIET
$PlayerSoundDup Geraldine female *UseFail *Grunt
$PlayerSound Geraldine female *Taunt GeraldineTaunt
$PlayerAlias Geraldine female *Death Geraldinedeath
$PlayerAlias Geraldine female *XDeath *Death
$PlayerAlias Geraldine female *Pain100 GeraldineHit
$PlayerAlias Geraldine female *Pain75 *Pain100
$PlayerAlias Geraldine female *Pain50 *Pain100
$PlayerAlias Geraldine female *Pain25 *Pain100
$PlayerAlias Geraldine female *Grunt QUIET
$PlayerAlias Geraldine female *Land QUIET
$PlayerAlias Geraldine female *Jump silent
$PlayerAlias Geraldine female *UseFail QUIET
$PlayerAlias Geraldine female *Taunt GeraldineTaunt
Do you have anything similar to this in your SNDINFO?
If you use a taunt/death/pain-sound which has multiple and random files, $PlayerAlias must be used. Atleast, that's what always worked for me.
Feel free to copy this code and just rename and redirect the correct lines. (e.g.: Geraldine -> Charly and Geraldinetaunt -> Charly/taunt)

-
L0N3W0LF
- New User
- Posts: 9
- Joined: Sun Nov 02, 2014 4:47 pm
#3
Post
by L0N3W0LF » Sun Jan 18, 2015 5:25 pm
Hey!
Thanks for the help and code share :D but it dosent work either. (yes i checked all the names)
I dont know what is going on :/
I also tried the $volume thing and nop.
-
Erma
- Forum Regular
- Posts: 418
- Joined: Wed Nov 07, 2012 11:39 pm
#4
Post
by Erma » Sun Jan 18, 2015 5:36 pm
L0N3W0LF wrote:
Hey!
Thanks for the help and code share :D but it dosent work either. (yes i checked all the names)
I dont know what is going on :/
I also tried the $volume thing and nop.
Could you upload the skin somewhere, so I can have a look at it? Speedyshare.com or Mediafire.com are usually good file-storage/distribution sites.
Last edited by
Erma on Sun Jan 18, 2015 5:39 pm, edited 1 time in total.
-
Erma
- Forum Regular
- Posts: 418
- Joined: Wed Nov 07, 2012 11:39 pm
#6
Post
by Erma » Sun Jan 18, 2015 5:51 pm
Doesn't want to show his face? Is this skin based on your friend then?
I'd just need the file though. But try adding the "playersounddup" part of my code in it as well. Just the entire thing :)
-
Erma
- Forum Regular
- Posts: 418
- Joined: Wed Nov 07, 2012 11:39 pm
#8
Post
by Erma » Sun Jan 18, 2015 6:04 pm
Ah. I figured it out.
The soundfiles itself are corrupted. I tried playing the sounds in SLADE, but none of them play. Tried exporting it into a single .ogg file in REAPER (audio editor). Said I could not import the file.
I think your friend will have to redo the sounds.
-
L0N3W0LF
- New User
- Posts: 9
- Joined: Sun Nov 02, 2014 4:47 pm
#9
Post
by L0N3W0LF » Sun Jan 18, 2015 6:06 pm
Thats weird, i actually can play them on SLADE and can export them o.0 but ok ill try then (:
Found what the problem is: My audio files are indeed .ogg but they are Opus audio format. You have to use Ogg Vorbis audio format. :S
Here is a link to a good audio format converter (:
http://soundconverter.org/
now the audio works :D
And thanks for the help, Hekmatyar (:
Last edited by
L0N3W0LF on Sun Jan 18, 2015 6:38 pm, edited 1 time in total.
-
Slim
- Zandrone
- Posts: 1112
- Joined: Sat Mar 16, 2013 7:11 am
- Location: Zero Space
- Clan: Can't fit it in here
- Clan Tag: -=FSR=-
-
Contact:
#10
Post
by Slim » Sun Jan 18, 2015 6:45 pm
For future reference, (shameless plug omg)
http://zandronum.com/forum/showthread.p ... 1#pid58404
Contains all you need to make one yourself/fix a skin with all the info.
"
Your childish antics grow tiring. If you dare to fight me, then I accept your challenge: Anytime, anywhere." - Zero, Megaman X5Spoiler: Quotes (Open)5:54 PM - Slim: you're complaining about something so small that
5:54 PM - Lance: so? we do that all the time
5:55 PM - Lance: we're a bunch of losers complaining at a bar minus the bar
Spoiler: Galactus tried evading (Open)
-
L0N3W0LF
- New User
- Posts: 9
- Joined: Sun Nov 02, 2014 4:47 pm
#11
Post
by L0N3W0LF » Sun Jan 18, 2015 6:54 pm
In the tutorial you should explain that even if its a .ogg file they should see if the audio format it self is a "Ogg Vorbis audio" format, because in my case the audio format was "Opus audio".
Yes i saw your article but it didn't help in my case, but thanks (:
-
Slim
- Zandrone
- Posts: 1112
- Joined: Sat Mar 16, 2013 7:11 am
- Location: Zero Space
- Clan: Can't fit it in here
- Clan Tag: -=FSR=-
-
Contact:
#12
Post
by Slim » Sun Jan 18, 2015 7:01 pm
Ohhh, Opus... Yeah I must've overlooked that, Muh bad.
"
Your childish antics grow tiring. If you dare to fight me, then I accept your challenge: Anytime, anywhere." - Zero, Megaman X5Spoiler: Quotes (Open)5:54 PM - Slim: you're complaining about something so small that
5:54 PM - Lance: so? we do that all the time
5:55 PM - Lance: we're a bunch of losers complaining at a bar minus the bar
Spoiler: Galactus tried evading (Open)