mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 13:01:03 +00:00
107 lines
2.3 KiB
Text
107 lines
2.3 KiB
Text
// The mage -----------------------------------------------------------------
|
|
|
|
class MagePlayer : PlayerPawn
|
|
{
|
|
Default
|
|
{
|
|
Health 100;
|
|
ReactionTime 0;
|
|
PainChance 255;
|
|
Radius 16;
|
|
Height 64;
|
|
Speed 1;
|
|
+NOSKIN
|
|
+NODAMAGETHRUST
|
|
+PLAYERPAWN.NOTHRUSTWHENINVUL
|
|
PainSound "PlayerMagePain";
|
|
RadiusDamageFactor 0.25;
|
|
Player.JumpZ 9;
|
|
Player.Viewheight 48;
|
|
Player.SpawnClass "Mage";
|
|
Player.DisplayName "Mage";
|
|
Player.SoundClass "mage";
|
|
Player.ScoreIcon "MAGEFACE";
|
|
Player.InvulnerabilityMode "Reflective";
|
|
Player.HealRadiusType "Mana";
|
|
Player.Hexenarmor 5, 5, 15, 10, 25;
|
|
Player.StartItem "MWeapWand";
|
|
Player.ForwardMove 0.88, 0.92;
|
|
Player.SideMove 0.875, 0.925;
|
|
Player.Portrait "P_MWALK1";
|
|
Player.WeaponSlot 1, "MWeapWand";
|
|
Player.WeaponSlot 2, "MWeapFrost";
|
|
Player.WeaponSlot 3, "MWeapLightning";
|
|
Player.WeaponSlot 4, "MWeapBloodscourge";
|
|
Player.FlechetteType "ArtiPoisonBag2";
|
|
|
|
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:
|
|
MAGE A -1;
|
|
Stop;
|
|
See:
|
|
MAGE ABCD 4;
|
|
Loop;
|
|
Missile:
|
|
Melee:
|
|
MAGE EF 8;
|
|
Goto Spawn;
|
|
Pain:
|
|
MAGE G 4;
|
|
MAGE G 4 A_Pain;
|
|
Goto Spawn;
|
|
Death:
|
|
MAGE H 6;
|
|
MAGE I 6 A_PlayerScream;
|
|
MAGE JK 6;
|
|
MAGE L 6 A_NoBlocking;
|
|
MAGE M 6;
|
|
MAGE N -1;
|
|
Stop;
|
|
XDeath:
|
|
MAGE O 5 A_PlayerScream;
|
|
MAGE P 5;
|
|
MAGE R 5 A_NoBlocking;
|
|
MAGE STUVW 5;
|
|
MAGE X -1;
|
|
Stop;
|
|
Ice:
|
|
MAGE Y 5 A_FreezeDeath;
|
|
MAGE Y 1 A_FreezeDeathChunks;
|
|
Wait;
|
|
Burn:
|
|
FDTH E 5 BRIGHT A_PlaySound("*burndeath");
|
|
FDTH F 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;
|
|
}
|
|
}
|