Custom player class completely broken

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Custom player class completely broken

Post by Cardboard Marty »

Okay, so I've set up a new custom player class. I've imported the sprites, .png like I always do, set up the sounds in .ogg format, etc. etc. But then when I go to play as this class, the sprite's pants are gray instead of blue like I colored them, and only two of the sounds work.

This is completely frustrating because as far as I can tell I've done everything right here. When I summon the player class, the pants are blue like I intended, but the sounds still don't play when I shoot him or what have you. I even got the extreme death sound to play once but all of a sudden it stopped working.

I set the class up in SLumpEd (imported the sprites/sounds, wrote the code), but I also tried doing it in XWE and still got the same results. :( Help guys?

http://www.sendspace.com/file/0j9iw0

EDIT: Looks like the gray pants are because ZDoom is forcing the palette on my sprites, but only when it's being used as a player class. Apparently this is a known issue :P
User avatar
Sangelothi
Posts: 351
Joined: Mon Sep 07, 2009 12:32 am

Re: Custom player class completely broken

Post by Sangelothi »

Use "$playeralias" when using "random" sounds instead of "$playersound", this should fix the sounds :3:
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Re: Custom player class completely broken

Post by Cardboard Marty »

Did the death sounds play for you at all?
User avatar
Sangelothi
Posts: 351
Joined: Mon Sep 07, 2009 12:32 am

Re: Custom player class completely broken

Post by Sangelothi »

$playersound Agent male *crazydeath treehdt1
$playersound Agent male *wimpydeath ta/death

add that , and it works :D

EDIT: You could also try using "PlayerPawn" instead of "Doomplayer replaces Doomplayer" (Did that with EP because it would play both the original Doom player sounds and the new ones) :wink:
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Re: Custom player class completely broken

Post by Cardboard Marty »

You wouldn't mind just pasting your SNDINFO here would you? It's still not working on my end :\
User avatar
Sangelothi
Posts: 351
Joined: Mon Sep 07, 2009 12:32 am

Re: Custom player class completely broken

Post by Sangelothi »

Spoiler: SNDINFO
Spoiler: Decorate
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Re: Custom player class completely broken

Post by Cardboard Marty »

What version of ZDoom are you using? Weasel and I couldn't get it working in the latest, but DoomRater had it working in 2.3.1.

EDIT: That's with Zero-X's fixes and also DoomRater's, which are both pretty identical it seems.
User avatar
Sangelothi
Posts: 351
Joined: Mon Sep 07, 2009 12:32 am

Re: Custom player class completely broken

Post by Sangelothi »

2.4.0 :mrgreen: (the latest GZDoom SVN to be exact)
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Re: Custom player class completely broken

Post by Cardboard Marty »

I just downloaded that and it's still not working. What the hell?
User avatar
Sangelothi
Posts: 351
Joined: Mon Sep 07, 2009 12:32 am

Re: Custom player class completely broken

Post by Sangelothi »

Hmmm, here try my edit of the wad :D see if it works
User avatar
Sangelothi
Posts: 351
Joined: Mon Sep 07, 2009 12:32 am

Re: Custom player class completely broken

Post by Sangelothi »

Hmm, here try my edit of the wad, see if it works :D

http://www.sendspace.com/file/gk2jg8
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Re: Custom player class completely broken

Post by Cardboard Marty »

Oh wow! That works completely fine, it seems! Thanks! :D
User avatar
Sangelothi
Posts: 351
Joined: Mon Sep 07, 2009 12:32 am

Re: Custom player class completely broken

Post by Sangelothi »

No problem, any idea what was wrong??? :3:
User avatar
Cardboard Marty
Posts: 1149
Joined: Sat Oct 23, 2004 8:29 am
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Re: Custom player class completely broken

Post by Cardboard Marty »

I'm not entirely sure, DoomRater applied the fixes and they seemed to work, but when me and Weasel did they didn't. I also did your fixes and it didn't work on my end, but your .wad works great!
Locked

Return to “Editing (Archive)”