Triangle Box Studio Posted May 29, 2022 I'm trying to attempt making a TC for the first time, but I cannot figure out how to make the player character! How would I go about that? 0 Quote Share this post Link to post
0 Rifleman Posted May 29, 2022 First you need to define your new actor in DECORATE or ZSCRIPT. You just inherit from PlayerPawn class or from a class already inheriting from it(DoomPlayer for example). When you have it, in MAPINFO lump you need to add a section like this: Gameinfo { PlayerClasses = "yourclassname" } 1 Quote Share this post Link to post
0 SMG_Man Posted May 29, 2022 (edited) If you're doing this in (G)ZDoom, this is what you do: 1. Define a new player thing in DECORATE or ZSCRIPT. You can inherit from any of the default player types that ZDoom supports if you don't want to make it entirely from scratch, but note that the starting items ARE NEVER INHERITED - you will have to include them in the definition, even if you want to use the standard fist/pistol/50 bullets that Doom has. 2. After defining this new player thing, create a MAPINFO lump (if you haven't already) and include this bit of text: By only providing one player class here (your new one) there won't be a class selection screen or anything, and your new player class will be the default. Hope this helps! Edited May 29, 2022 by SMG_Man 1 Quote Share this post Link to post
0 rouge_means_red Posted May 29, 2022 You could use this standalone template as a starting point, it's what I did for my TC 1 Quote Share this post Link to post
0 Triangle Box Studio Posted June 3, 2022 Thanks, I'll try these and see what happens! This helps a lot. 0 Quote Share this post Link to post
Question
Triangle Box Studio
I'm trying to attempt making a TC for the first time, but I cannot figure out how to make the player character! How would I go about that?
Share this post
Link to post
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.