Classes:ClericPlayer

From ZDoom Wiki
Jump to navigation Jump to 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.
Parias
Actor type Player Game MiniHexenLogoIcon.png
DoomEd Number None Class Name ClericPlayer


ActorPlayerPawn ClericPlayer

The Cleric is one of the three character classes available for play in Hexen. He's the middle-ground between the Fighter's emphasis on melee and the Mage's emphasis on distance; and often thought of as the strongest character. His weapons are:

  • Mace of contrition: The starting weapon for the Cleric. This melee weapon requires repeated beatings to bring down most monsters.
  • Serpent staff: This magic weapon uses blue mana to spit out twin spiraling spheres of venom and deals significantly more damage than the mace. Using the Serpent Staff feeds on your enemies' blood, converting it to health for you. This weapon behaves slightly differently depending on rather it's used against players or monsters. Monsters instantly takes full damage from the missiles, while players take a lower amount of initial damage and then are poisoned, taking continous damage over time, eventually adding up to the same damage as a monster would take.
  • Firestorm: This spell uses green mana to hurl a ultra-fast projectile that, on contact, summons a gout of flame to consume your enemies from below. Depending on the monsters health, this spells has a added effect. Monsters with low (30?) health or remaining health will simply take the damage from the initial missile. Monsters with more than that will cause a ring of circling flames to erupt from around him. Anything that comes in contact with these flames cause them to explode, dealing normal and splash damage. Bigger monsters tend to take more damage from this weapon, since they hit most, if not all, the circling flames. Unlike the other ranged weapons, the Firestorm has a limited range.
  • Wraithverge: This holy relic uses both mana types to summon a swarm of hungry spirits that ravage groups of enemies. Having the ability to rip through monsters as well as travel through walls, these spirits can kill otherwise unreachable monsters. Unlike other weapons, the Wraithverge can kill enemies even if they're invulnerable. Before using Wraithverge in combat, the Cleric 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 Cleric 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 Cleric picking up a Fighter 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.

When under the effect of an Icon of the Defender, a Cleric will phase in and out of sight. He uses the fléchettes to release poison clouds that are extremely effective when strategically placed, and the easiest way to get rid of enemies with invulnerability powers like the Centaurs and Heresiarchs. When he uses a Mystic Ambit Incant, his nearby allies regain health.

Character Summary

In a world named Chronos, Parias the Cleric is the only remaining free member of his order, the Church. All others have been turned into mind-controled slave under the command of the Church's treacherous leader, Traductus, who is himself a thrall to the Serpent Rider Korax. Just like his similarly-fated friends Baratus the Fighter and Daedolon the Mage, Parias 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, Parias appears as a typical fantasy crusader: with an armor, a cloak, and a horned helmet. He's pictured wielding the mace of contrition.

DECORATE definition

ACTOR ClericPlayer : PlayerPawn
{
  Health 100
  ReactionTime 0
  PainChance 255
  Radius 16
  Height 64
  Speed 1
  +NOSKIN
  +NODAMAGETHRUST
  +NOTHRUSTWHENINVUL
  PainSound "PlayerClericPain"
  RadiusDamageFactor 0.25
  Player.JumpZ 9
  Player.Viewheight 48
  Player.SpawnClass "Cleric"
  Player.DisplayName "Cleric"
  Player.SoundClass "cleric"
  Player.ScoreIcon "CLERFACE"
  Player.InvulnerabilityMode "Ghost"
  Player.HealRadiusType "Health"
  Player.HexenArmor 10, 10, 25, 5, 20
  Player.StartItem "CWeapMace"
  Player.Portrait "P_CWALK1"
  Player.WeaponSlot 1, CWeapMace
  Player.WeaponSlot 2, CWeapStaff
  Player.WeaponSlot 3, CWeapFlame
  Player.WeaponSlot 4, CWeapWraithverge
  Player.FlechetteType "ArtiPoisonBag1"

  Player.ColorRange 146, 163
  Player.ColorSet     0, "Blue",          146, 163,    161
  Player.ColorSetFile 1, "Red",           "TRANTBL7",  0xB3
  Player.ColorSetFile 2, "Gold",          "TRANTBL8",  0x8C
  Player.ColorSetFile 3, "Dull Green",    "TRANTBL9",  0x41
  Player.ColorSetFile 4, "Green",         "TRANTBLA",  0xC9
  Player.ColorSetFile 5, "Gray",          "TRANTBLB",  0x30
  Player.ColorSetFile 6, "Brown",         "TRANTBLC",  0x72
  Player.ColorSetFile 7, "Purple",        "TRANTBLD",  0xEE

  States
  {
  Spawn:
    CLER A -1
    Stop
  See:
    CLER ABCD 4
    Loop
  Pain:
    CLER H 4
    CLER H 4 A_Pain
    Goto Spawn
  Missile:
  Melee:
    CLER EFG 6
    Goto Spawn
  Death:
    CLER I 6
    CLER J 6 A_PlayerScream
    CLER KL 6
    CLER M 6 A_NoBlocking
    CLER NOP 6
    CLER Q -1
    Stop     
  XDeath:
    CLER R 5 A_PlayerScream
    CLER S 5
    CLER T 5 A_NoBlocking
    CLER UVWXYZ 5
    CLER [ -1
    Stop
  Ice:
    CLER "\" 5 A_FreezeDeath
    CLER "\" 1 A_FreezeDeathChunks
    Wait
  Burn:
    FDTH C 5 Bright A_PlaySound("*burndeath")
    FDTH D 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
  }
}