Code: Select all
ACTOR Rakim1 : PlayerPawn
{
Speed 1
Health 100
Radius 16
Height 56
Mass 100
PainChance 255
Player.Face "HRT"
Player.DisplayName "Rakim Xavier"
Player.CrouchSprite "RAKC"
Player.StartItem "RakFist"
Player.WeaponSlot 1, RakFist, EnergySaw
Player.WeaponSlot 2, Handgun
Player.WeaponSlot 3, Trenchgun, DoubleBarreledShotgun, AutoShotgun
Player.WeaponSlot 4, SMG
Player.WeaponSlot 5, PodRocketLauncher, MonsterHead
Player.WeaponSlot 6, PulseRifle
Player.WeaponSlot 7, XEAR
Player.WeaponSlot 8, AtlasCannon
Player.WeaponSlot 9, GodLobe
Player.ColorRange 85, 100
States
{
Spawn:
PLAY A -1
Loop
See:
PLAY ABCD 4
Loop
Missile:
PLAY E 12
Goto Spawn
Melee:
PLAY F 6 BRIGHT
Goto Missile
Pain:
PLAY G 4
PLAY G 4 A_Pain
Goto Spawn
Death:
PLAY H 10
PLAY I 10 A_PlayerScream
PLAY J 10 A_NoBlocking
PLAY KLM 10
PLAY N -1
Stop
XDeath:
PLAY Q 5 A_PlayerScream
PLAY R 0 A_NoBlocking
PLAY R 5 A_SkullPop
PLAY STUVWX 5
PLAY Y -1
Stop
}
}
actor AutoShotgun : Weapon 300
{
Weapon.SelectionOrder 700
Weapon.AmmoUse 1
Weapon.SlotNumber 3
Weapon.AmmoGive 20
Weapon.AmmoType "ShotgunShell"
Inventory.PickupMessage "'Mess Maker' automatic shotgun"
Obituary "k% is a dick who spawns storymode-only weapons."
States
{
Ready:
NOOB A 1 A_WeaponReady
Loop
Deselect:
NOOB A 1 A_Lower
Loop
Select:
NOOB A 1 A_Raise
Loop
Fire:
NOOB A 4 A_FireShotgun
NOOB A 0 A_ReFire
Goto Ready
Flash:
NOOB B 5 Bright A_Light1
Goto LightDone
NOOB C 5 Bright A_Light1
Goto LightDone
Spawn:
NUBW A -1
Stop
}
}

