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?
			
									
									I want to make a simple player class
I want to make a simple player class
"For the world is hollow, and I have touched the sky."
						RE: I want to make a simple player class
Basically make a Keyconf lump with
Then inherit from DoomPlayer class and name it coolguy and replace the PLAY sprites with your own... I think thats what you want.
			
									
									
						Code: Select all
clearplayerclass
addplayerclass coolguy- -Jes-
- Frequent Poster Miles card holder
- Posts: 975
- Joined: Fri Aug 03, 2012 9:55 am
- Location: Void Zone
RE: I want to make a simple player class
Might wanna +NOSKINS it, just in case.Llewellyn wrote: Basically make a Keyconf lump withThen inherit from DoomPlayer class and name it coolguy and replace the PLAY sprites with your own... I think thats what you want.Code: Select all
clearplayerclass addplayerclass coolguy
RE: I want to make a simple player class
That's the simplest solution right there. Problem solved.-Jes- wrote: +NOSKINS
"For the world is hollow, and I have touched the sky."
						