Classes:FighterPlayer

From ZDoom Wiki
Jump to: navigation, search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Baratus
Actor type Player Game MiniHexenLogoIcon.png
DoomEd Number None Class Name FighterPlayer


PlayerPawn FighterPlayer

The Fighter is one of the three character classes available for play in Hexen. He's the toughest and fastest character, and is heavily biased toward melee combat. His weapons are:

  • Spiked gauntlets: A powerful melee attack capable of killing most monster within a single combo of attacks. The first two punches wears down the target and readies the fighter for a final crushing blow. The Spiked Gaunlets is, arguably, the strongest melee weapon that doesn't use mana (even more powerful than the Timon's axe and Hammer of Retribution when they dont have enough mana).
  • Timon's axe: A powerful melee weapon that uses blue mana. While mana is sufficient, this weapon is more powerful than the Spiked gauntlets. However, without mana, this weapon becomes the weakest of the Fighter's weapons, although it can still be used. This weapon only uses up mana when hitting enemies or killable objects in the map. Hitting walls and craking glass does not use mana.
  • Hammer of Retribution: This mighty hammer can be thrown out in a skull-smashing blow when green mana is sufficient. It can also be used up close for a crushing blugeoning (although it's rather slow and the damage isn't much higher than the gauntlet). This weapon knocks enemies back, however, farther than all other weapons.
  • Quietus: This rune sword is the most powerful weapon in the Fighter's arsenal. It uses both mana types to throw out a diagonal volley of green "blades" that explode on contact, dealing splash damage. This weapon is best used up close or in mid-range, for the spread of the missiles make it ineffective for long distances. Surpisingly, the Quietus is the only weapon in the Figher's arsenal that cannot be used without mana. Before using Quietus in combat, the Fighter must first assemble it by finding the three relevant weapon pieces.

Contrarily to other player classes, the Hexen player classes can not easily use additional weapons. While it is possible in KEYCONF to change which weapon is associated to which slot, a Fighter can still only select these four weapons with the keys bound to weapon slots. (However, the keys bound to next and previous weapon, the use console command, and the automatic weapon switching when running out of ammo, can still equip another weapon.) A Fighter picking up a Cleric or Mage weapon will only gain ammunitions from them, though it is still possible to give him the illegal weapons with the console, ACS, or DECORATE.

A Fighter gains no secondary power when under the effect of an Icon of the Defender. He uses the fléchettes like grenades, giving him a ranged attack at low level. When he uses a Mystic Ambit Incant, his nearby allies gain an increase to their armor class.

Character Summary

In a world named Chronos, Baratus the Fighter is the only remaining free member of his order, the Legion. All others have been turned into mind-controled slave under the command of the Legion's treacherous leader, Zedek, who is himself a thrall to the Serpent Rider Korax. Just like his similarly-fated friends Parias the Cleric and Daedolon the Mage, Baratus intends to free his world from Korax and the Serpent Rider's hellish hordes by personally eliminating each and everyone of his enemies.

In game, Baratus appears as a typical fantasy barbarian: nearly naked, extremely muscular, and sporting a horned helmet. He's pictured wielding a mundane-looking sword, hinting that maybe, during early development, he was planned to have a sword for his starting weapon.

DECORATE definition

ACTOR FighterPlayer : PlayerPawn
{
  Health 100
  PainChance 255
  Radius 16
  Height 64
  Speed 1
  +NOSKIN
  +NODAMAGETHRUST
  +NOTHRUSTWHENINVUL
  PainSound "PlayerFighterPain"
  RadiusDamageFactor 0.25
  Player.JumpZ 9
  Player.Viewheight 48
  Player.SpawnClass "Fighter"
  Player.DisplayName "Fighter"
  Player.SoundClass "fighter"
  Player.ScoreIcon "FITEFACE"
  Player.HealRadiusType "Armor"
  Player.HexenArmor 15, 25, 20, 15, 5
  Player.StartItem "FWeapFist"
  Player.ForwardMove 1.08, 1.2
  Player.SideMove 1.125, 1.475
  Player.Portrait "P_FWALK1"
  Player.WeaponSlot 1, FWeapFist
  Player.WeaponSlot 2, FWeapAxe
  Player.WeaponSlot 3, FWeapHammer
  Player.WeaponSlot 4, FWeapQuietus

  Player.ColorRange 246, 254
  Player.ColorSet     0, "Gold",          246, 254,    253
  Player.ColorSetFile 1, "Red",           "TRANTBL0",  0xAC
  Player.ColorSetFile 2, "Blue",          "TRANTBL1",  0x9D
  Player.ColorSetFile 3, "Dull Green",    "TRANTBL2",  0x3E
  Player.ColorSetFile 4, "Green",         "TRANTBL3",  0xC8
  Player.ColorSetFile 5, "Gray",          "TRANTBL4",  0x2D
  Player.ColorSetFile 6, "Brown",         "TRANTBL5",  0x6F
  Player.ColorSetFile 7, "Purple",        "TRANTBL6",  0xEE

  States
  {
  Spawn:
    PLAY A -1
    Stop
  See:
    PLAY ABCD 4
    Loop
  Missile:
  Melee:
    PLAY EF 8
    Goto Spawn
  Pain:
    PLAY G 4
    PLAY G 4 A_Pain
    Goto Spawn
  Death:
    PLAY H 6
    PLAY I 6 A_PlayerScream
    PLAY JK 6
    PLAY L 6 A_NoBlocking
    PLAY M 6
    PLAY N -1
    Stop
  XDeath:
    PLAY O 5 A_PlayerScream
    PLAY P 5 A_SkullPop("BloodyFighterSkull")
    PLAY R 5 A_NoBlocking
    PLAY STUV 5
    PLAY W -1
    Stop
  Ice:
    PLAY X 5 A_FreezeDeath
    PLAY X 1 A_FreezeDeathChunks
    Wait
  Burn:
    FDTH A 5 Bright A_PlaySound("*burndeath")
    FDTH B 4 Bright
    FDTH G 5 Bright
    FDTH H 4 Bright A_PlayerScream
    FDTH I 5 Bright
    FDTH J 4 Bright
    FDTH K 5 Bright
    FDTH L 4 Bright
    FDTH M 5 Bright
    FDTH N 4 Bright
    FDTH O 5 Bright
    FDTH P 4 Bright
    FDTH Q 5 Bright
    FDTH R 4 Bright
    FDTH S 5 Bright A_NoBlocking
    FDTH T 4 Bright
    FDTH U 5 Bright
    FDTH V 4 Bright
    ACLO E 35 A_CheckPlayerDone
    Wait
    ACLO E 8
    Stop
  }
}