awtrey516 Posted February 11, 2018 I don't know how to any of this stuff and I've been Frankensteining a project together here's what I have class DoomPlayer : PlayerPawn { Default { Speed 1; Health 50; Radius 16; Height 56; Mass 100; PainChance 255; Player.DisplayName "Marine"; Player.CrouchSprite "PLYC"; Player.StartItem "Pistol"; Player.StartItem "Fist"; Player.StartItem "Clip", 60; Player.WeaponSlot 1, "Fist", "Grenade"; Player.WeaponSlot 2, "Pistol"; Player.WeaponSlot 3, "Shotgun"; Player.WeaponSlot 4, "Machinegun"; Player.WeaponSlot 5, "RocketLauncher"; Player.WeaponSlot 6, "PlasmaRifle"; Player.WeaponSlot 7, "BFG9000"; Player.ColorRange 112, 127; Player.Colorset 0, "Green", 0x70, 0x7F, 0x72; Player.Colorset 1, "Gray", 0x60, 0x6F, 0x62; Player.Colorset 2, "Brown", 0x40, 0x4F, 0x42; Player.Colorset 3, "Red", 0x20, 0x2F, 0x22; // Doom Legacy additions Player.Colorset 4, "Light Gray", 0x58, 0x67, 0x5A; Player.Colorset 5, "Light Brown", 0x38, 0x47, 0x3A; Player.Colorset 6, "Light Red", 0xB0, 0xBF, 0xB2; Player.Colorset 7, "Light Blue", 0xC0, 0xCF, 0xC2; } States { Spawn: PLAY A -1; Loop; See: PLAY ABCD 4; Loop; Missile: PLAY E 12; Goto Spawn; Melee: PLAY F 6 BRIGHT; Goto Missile; Pain: PLAY G 4; PLAY G 4 A_Pain; Goto Spawn; Death: PLAY H 0 A_PlayerSkinCheck("AltSkinDeath"); Death1: PLAY H 10; PLAY I 10 A_PlayerScream; PLAY J 10 A_NoBlocking; PLAY KLM 10; PLAY N -1; Stop; XDeath: PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath"); XDeath1: PLAY O 5; PLAY P 5 A_XScream; PLAY Q 5 A_NoBlocking; PLAY RSTUV 5; PLAY W -1; Stop; AltSkinDeath: PLAY H 6; PLAY I 6 A_PlayerScream; PLAY JK 6; PLAY L 6 A_NoBlocking; PLAY MNO 6; PLAY P -1; Stop; AltSkinXDeath: PLAY Q 5 A_PlayerScream; PLAY R 0 A_NoBlocking; PLAY R 5 A_SkullPop; PLAY STUVWX 5; PLAY Y -1; Stop; } } 0 Share this post Link to post
Gaia74 Posted February 11, 2018 (edited) easy, here have 500 health class DoomPlayer : PlayerPawn { Default { Speed 1; Health 500 Player.MaxHealth 500 Radius 16; Height 56; Mass 100; PainChance 255; Player.DisplayName "Marine"; Player.CrouchSprite "PLYC"; Player.StartItem "Pistol"; Player.StartItem "Fist"; Player.StartItem "Clip", 60; Player.WeaponSlot 1, "Fist", "Grenade"; Player.WeaponSlot 2, "Pistol"; Player.WeaponSlot 3, "Shotgun"; Player.WeaponSlot 4, "Machinegun"; Player.WeaponSlot 5, "RocketLauncher"; Player.WeaponSlot 6, "PlasmaRifle"; Player.WeaponSlot 7, "BFG9000"; Player.ColorRange 112, 127; Player.Colorset 0, "Green", 0x70, 0x7F, 0x72; Player.Colorset 1, "Gray", 0x60, 0x6F, 0x62; Player.Colorset 2, "Brown", 0x40, 0x4F, 0x42; Player.Colorset 3, "Red", 0x20, 0x2F, 0x22; // Doom Legacy additions Player.Colorset 4, "Light Gray", 0x58, 0x67, 0x5A; Player.Colorset 5, "Light Brown", 0x38, 0x47, 0x3A; Player.Colorset 6, "Light Red", 0xB0, 0xBF, 0xB2; Player.Colorset 7, "Light Blue", 0xC0, 0xCF, 0xC2; } States { Spawn: PLAY A -1; Loop; See: PLAY ABCD 4; Loop; Missile: PLAY E 12; Goto Spawn; Melee: PLAY F 6 BRIGHT; Goto Missile; Pain: PLAY G 4; PLAY G 4 A_Pain; Goto Spawn; Death: PLAY H 0 A_PlayerSkinCheck("AltSkinDeath"); Death1: PLAY H 10; PLAY I 10 A_PlayerScream; PLAY J 10 A_NoBlocking; PLAY KLM 10; PLAY N -1; Stop; XDeath: PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath"); XDeath1: PLAY O 5; PLAY P 5 A_XScream; PLAY Q 5 A_NoBlocking; PLAY RSTUV 5; PLAY W -1; Stop; AltSkinDeath: PLAY H 6; PLAY I 6 A_PlayerScream; PLAY JK 6; PLAY L 6 A_NoBlocking; PLAY MNO 6; PLAY P -1; Stop; AltSkinXDeath: PLAY Q 5 A_PlayerScream; PLAY R 0 A_NoBlocking; PLAY R 5 A_SkullPop; PLAY STUVWX 5; PLAY Y -1; Stop; } } only add the property of max health 0 Share this post Link to post
awtrey516 Posted February 11, 2018 (edited) Wait! It didn't change anything. Edited February 11, 2018 by awtrey516 0 Share this post Link to post
awtrey516 Posted February 11, 2018 2 hours ago, Gaia74 said: easy, here have 500 health class DoomPlayer : PlayerPawn { Default { Speed 1; Health 500 Player.MaxHealth 500 Radius 16; Height 56; Mass 100; PainChance 255; Player.DisplayName "Marine"; Player.CrouchSprite "PLYC"; Player.StartItem "Pistol"; Player.StartItem "Fist"; Player.StartItem "Clip", 60; Player.WeaponSlot 1, "Fist", "Grenade"; Player.WeaponSlot 2, "Pistol"; Player.WeaponSlot 3, "Shotgun"; Player.WeaponSlot 4, "Machinegun"; Player.WeaponSlot 5, "RocketLauncher"; Player.WeaponSlot 6, "PlasmaRifle"; Player.WeaponSlot 7, "BFG9000"; Player.ColorRange 112, 127; Player.Colorset 0, "Green", 0x70, 0x7F, 0x72; Player.Colorset 1, "Gray", 0x60, 0x6F, 0x62; Player.Colorset 2, "Brown", 0x40, 0x4F, 0x42; Player.Colorset 3, "Red", 0x20, 0x2F, 0x22; // Doom Legacy additions Player.Colorset 4, "Light Gray", 0x58, 0x67, 0x5A; Player.Colorset 5, "Light Brown", 0x38, 0x47, 0x3A; Player.Colorset 6, "Light Red", 0xB0, 0xBF, 0xB2; Player.Colorset 7, "Light Blue", 0xC0, 0xCF, 0xC2; } States { Spawn: PLAY A -1; Loop; See: PLAY ABCD 4; Loop; Missile: PLAY E 12; Goto Spawn; Melee: PLAY F 6 BRIGHT; Goto Missile; Pain: PLAY G 4; PLAY G 4 A_Pain; Goto Spawn; Death: PLAY H 0 A_PlayerSkinCheck("AltSkinDeath"); Death1: PLAY H 10; PLAY I 10 A_PlayerScream; PLAY J 10 A_NoBlocking; PLAY KLM 10; PLAY N -1; Stop; XDeath: PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath"); XDeath1: PLAY O 5; PLAY P 5 A_XScream; PLAY Q 5 A_NoBlocking; PLAY RSTUV 5; PLAY W -1; Stop; AltSkinDeath: PLAY H 6; PLAY I 6 A_PlayerScream; PLAY JK 6; PLAY L 6 A_NoBlocking; PLAY MNO 6; PLAY P -1; Stop; AltSkinXDeath: PLAY Q 5 A_PlayerScream; PLAY R 0 A_NoBlocking; PLAY R 5 A_SkullPop; PLAY STUVWX 5; PLAY Y -1; Stop; } } only add the property of max health It didn't change anything. 0 Share this post Link to post
Gaia74 Posted February 11, 2018 nothing?, strange, lets go to replace the original class create a new class class NewGaia74Class : PlayerPawn { Default { Speed 1; Health 500; Player.MaxHealth 500 Radius 16; Height 56; Mass 100; PainChance 255; Player.DisplayName "Marine"; Player.CrouchSprite "PLYC"; Player.StartItem "Pistol"; Player.StartItem "Fist"; Player.StartItem "Clip", 60; Player.WeaponSlot 1, "Fist", "Grenade"; Player.WeaponSlot 2, "Pistol"; Player.WeaponSlot 3, "Shotgun"; Player.WeaponSlot 4, "Machinegun"; Player.WeaponSlot 5, "RocketLauncher"; Player.WeaponSlot 6, "PlasmaRifle"; Player.WeaponSlot 7, "BFG9000"; Player.ColorRange 112, 127; Player.Colorset 0, "Green", 0x70, 0x7F, 0x72; Player.Colorset 1, "Gray", 0x60, 0x6F, 0x62; Player.Colorset 2, "Brown", 0x40, 0x4F, 0x42; Player.Colorset 3, "Red", 0x20, 0x2F, 0x22; // Doom Legacy additions Player.Colorset 4, "Light Gray", 0x58, 0x67, 0x5A; Player.Colorset 5, "Light Brown", 0x38, 0x47, 0x3A; Player.Colorset 6, "Light Red", 0xB0, 0xBF, 0xB2; Player.Colorset 7, "Light Blue", 0xC0, 0xCF, 0xC2; } States { Spawn: PLAY A -1; Loop; See: PLAY ABCD 4; Loop; Missile: PLAY E 12; Goto Spawn; Melee: PLAY F 6 BRIGHT; Goto Missile; Pain: PLAY G 4; PLAY G 4 A_Pain; Goto Spawn; Death: PLAY H 0 A_PlayerSkinCheck("AltSkinDeath"); Death1: PLAY H 10; PLAY I 10 A_PlayerScream; PLAY J 10 A_NoBlocking; PLAY KLM 10; PLAY N -1; Stop; XDeath: PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath"); XDeath1: PLAY O 5; PLAY P 5 A_XScream; PLAY Q 5 A_NoBlocking; PLAY RSTUV 5; PLAY W -1; Stop; AltSkinDeath: PLAY H 6; PLAY I 6 A_PlayerScream; PLAY JK 6; PLAY L 6 A_NoBlocking; PLAY MNO 6; PLAY P -1; Stop; AltSkinXDeath: PLAY Q 5 A_PlayerScream; PLAY R 0 A_NoBlocking; PLAY R 5 A_SkullPop; PLAY STUVWX 5; PLAY Y -1; Stop; } } next add a keyconf and only write this clearplayerclasses addplayerclass NewGaia74Class 0 Share this post Link to post
awtrey516 Posted February 11, 2018 9 minutes ago, Gaia74 said: nothing?, strange, lets go to replace the original class create a new class class NewGaia74Class : PlayerPawn { Default { Speed 1; Health 500; Player.MaxHealth 500 Radius 16; Height 56; Mass 100; PainChance 255; Player.DisplayName "Marine"; Player.CrouchSprite "PLYC"; Player.StartItem "Pistol"; Player.StartItem "Fist"; Player.StartItem "Clip", 60; Player.WeaponSlot 1, "Fist", "Grenade"; Player.WeaponSlot 2, "Pistol"; Player.WeaponSlot 3, "Shotgun"; Player.WeaponSlot 4, "Machinegun"; Player.WeaponSlot 5, "RocketLauncher"; Player.WeaponSlot 6, "PlasmaRifle"; Player.WeaponSlot 7, "BFG9000"; Player.ColorRange 112, 127; Player.Colorset 0, "Green", 0x70, 0x7F, 0x72; Player.Colorset 1, "Gray", 0x60, 0x6F, 0x62; Player.Colorset 2, "Brown", 0x40, 0x4F, 0x42; Player.Colorset 3, "Red", 0x20, 0x2F, 0x22; // Doom Legacy additions Player.Colorset 4, "Light Gray", 0x58, 0x67, 0x5A; Player.Colorset 5, "Light Brown", 0x38, 0x47, 0x3A; Player.Colorset 6, "Light Red", 0xB0, 0xBF, 0xB2; Player.Colorset 7, "Light Blue", 0xC0, 0xCF, 0xC2; } States { Spawn: PLAY A -1; Loop; See: PLAY ABCD 4; Loop; Missile: PLAY E 12; Goto Spawn; Melee: PLAY F 6 BRIGHT; Goto Missile; Pain: PLAY G 4; PLAY G 4 A_Pain; Goto Spawn; Death: PLAY H 0 A_PlayerSkinCheck("AltSkinDeath"); Death1: PLAY H 10; PLAY I 10 A_PlayerScream; PLAY J 10 A_NoBlocking; PLAY KLM 10; PLAY N -1; Stop; XDeath: PLAY O 0 A_PlayerSkinCheck("AltSkinXDeath"); XDeath1: PLAY O 5; PLAY P 5 A_XScream; PLAY Q 5 A_NoBlocking; PLAY RSTUV 5; PLAY W -1; Stop; AltSkinDeath: PLAY H 6; PLAY I 6 A_PlayerScream; PLAY JK 6; PLAY L 6 A_NoBlocking; PLAY MNO 6; PLAY P -1; Stop; AltSkinXDeath: PLAY Q 5 A_PlayerScream; PLAY R 0 A_NoBlocking; PLAY R 5 A_SkullPop; PLAY STUVWX 5; PLAY Y -1; Stop; } } next add a keyconf and only write this clearplayerclasses addplayerclass NewGaia74Class So wait i did everything bu what should I call the file containing the new classes info? 0 Share this post Link to post
Wereknight Posted February 11, 2018 (edited) Have you ever seen ZDoom wiki? 2 Share this post Link to post
Gaia74 Posted February 11, 2018 i yes the file need the name: Decorate 0 Share this post Link to post
awtrey516 Posted February 11, 2018 5 minutes ago, Gaia74 said: i yes the file need the name: Decorate Alright i did it all and nothing it still starts me with 100 Health 0 Share this post Link to post
Kappes Buur Posted February 11, 2018 https://zdoom.org/wiki/Creating_new_player_classes 0 Share this post Link to post
Empyre Posted February 12, 2018 4 hours ago, awtrey516 said: So wait i did everything bu what should I call the file containing the new classes info? You call it KEYCONF, like awtrey516 said. 0 Share this post Link to post
awtrey516 Posted February 12, 2018 Thanks everyone for helping me out. 0 Share this post Link to post
Dude27th Posted February 13, 2018 (edited) What about : ? ACTOR NewGaia74Class: DoomPlayer { Health 500 Speed 1 Radius 16 Height 56 Mass 100 Player.WeaponSlot 1 "Fist", "Grenade" } 0 Share this post Link to post