Classes:ChexPlayer

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Chex Warrior
Actor type Player Game MiniChexLogoIcon.png (Chex)
DoomEd Number None Class Name ChexPlayer


Classes: PlayerPawnDoomPlayerChexPlayer


The player actor used in the Chex Quest modification for Doom. This is essentially the default Doom player with a few minor changes.


DECORATE definition

ACTOR ChexPlayer : DoomPlayer
{
   Player.DisplayName "Chex Warrior"
   Player.CrouchSprite ""
   Player.StartItem "MiniZorcher"
   Player.StartItem "Bootspoon"
   Player.StartItem "MiniZorchRecharge", 50
   Player.DamageScreenColor "60 b0 58"
   Player.WeaponSlot 1, Bootspoon, SuperBootspork
   Player.WeaponSlot 2, MiniZorcher
   Player.WeaponSlot 3, LargeZorcher, SuperLargeZorcher
   Player.WeaponSlot 4, RapidZorcher
   Player.WeaponSlot 5, ZorchPropulsor
   Player.WeaponSlot 6, PhasingZorcher
   Player.WeaponSlot 7, LAZDevice
   Player.ColorRange 192, 207 //Not perfect, but its better than everyone being blue.
   Player.ColorSet 0, "Light Blue",    0xC0, 0xCF,  0xC2
   Player.ColorSet 1, "Green",         0x70, 0x7F,  0x72
   Player.ColorSet 2, "Gray",          0x60, 0x6F,  0x62
   Player.ColorSet 3, "Brown",         0x40, 0x4F,  0x42
   Player.ColorSet 4, "Red",           0x20, 0x2F,  0x22
   Player.ColorSet 5, "Light Gray",    0x58, 0x67,  0x5A
   Player.ColorSet 6, "Light Brown",   0x38, 0x47,  0x3A
   Player.ColorSet 7, "Light Red",     0xB0, 0xBF,  0xB2
}