mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +00:00
a7e40b56f6
have those escapes stripped before printing so that they do not merge with subsequent text. - Moved default weapon slot assignments into the player classes. Weapon.SlotNumber is now used solely for mods that want to add new weapons without completely redoing the player's arsenal. Restored some config-based weapon slot customization, though slots are no longer automatically saved to the config and section names have changed slightly. However, unlike before, config slots are now the definitive word on slot assignments and cannot be overridden by any other files loaded. - Fixed: Several weapons were missing a game filter from their definitions. - Removed storage of weapon slots in the config so that weapon slots can be setup in the weapons themselves. Slots are still configurable, since they need to be for KEYCONF to work; any changes simply won't be saved when you quit. - Removed limit on weapon slot sizes. SVN r1428 (trunk)
90 lines
1.7 KiB
Text
90 lines
1.7 KiB
Text
// The cleric ---------------------------------------------------------------
|
|
|
|
ACTOR ClericPlayer : PlayerPawn
|
|
{
|
|
Health 100
|
|
ReactionTime 0
|
|
PainChance 255
|
|
Radius 16
|
|
Height 64
|
|
Speed 1
|
|
+NOSKIN
|
|
PainSound "PlayerClericPain"
|
|
RadiusDamageFactor 0.25
|
|
Player.JumpZ 9.75
|
|
Player.Viewheight 48
|
|
Player.ColorRange 146, 163
|
|
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.WeaponSlot 1, CWeapMace
|
|
Player.WeaponSlot 2, CWeapStaff
|
|
Player.WeaponSlot 3, CWeapFlame
|
|
Player.WeaponSlot 4, CWeapWraithverge
|
|
|
|
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
|
|
}
|
|
}
|
|
|