Page 1 of 1

I want to make a simple player class

Posted: Tue Oct 16, 2012 12:07 am
by Empyre
What I want to accomplish is making players use a skin that comes in my wad instead of some skin they've selected in their skins folder. I figured that the best way to accomplish that is to make a simple class that differs from the standard DoomPlayer class only with its skin. I haven't found out how to do that in the ZDoom wiki. I also figure it would be trivial for somebody who knows how to make player classes.

How can I do this?

RE: I want to make a simple player class

Posted: Tue Oct 16, 2012 1:11 am
by Llewellyn
Basically make a Keyconf lump with

Code: Select all

clearplayerclass
addplayerclass coolguy
Then inherit from DoomPlayer class and name it coolguy and replace the PLAY sprites with your own... I think thats what you want.

RE: I want to make a simple player class

Posted: Tue Oct 16, 2012 2:17 am
by -Jes-
Llewellyn wrote: Basically make a Keyconf lump with

Code: Select all

clearplayerclass
addplayerclass coolguy
Then inherit from DoomPlayer class and name it coolguy and replace the PLAY sprites with your own... I think thats what you want.
Might wanna +NOSKINS it, just in case.

RE: I want to make a simple player class

Posted: Tue Oct 16, 2012 4:46 am
by Empyre
-Jes- wrote: +NOSKINS
That's the simplest solution right there. Problem solved.