Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- actor Putter: Weapon
- {
- Weapon.SlotPriority 1
- Weapon.SlotNumber 0
- Weapon.KickBack 10
- +WEAPON.NOAUTOAIM
- +WEAPON.AMMO_OPTIONAL
- +WEAPON.NOALERT
- +WEAPON.DONTBOB
- +WEAPON.NOAUTOFIRE
- States
- {
- Spawn:
- TNT1 A -1
- stop
- Select:
- PUTT A 1 A_Raise
- loop
- Deselect:
- PUTT A 1 A_Lower
- loop
- Ready:
- PUTT A 1 A_WeaponReady
- loop
- Fire:
- PUTT A 0 A_GiveInventory("putterPower", 1)
- PUTT A 1 A_GunFlash
- PUTT A 0 A_JumpIfInventory("putterPower", 200, "StopPutt")
- PUTT A 0 A_Refire
- goto StopPutt
- Flash:
- PBAR A 0 A_JumpIfInventory("putterPower", 75, "Putt75")
- PBAR A 0 A_JumpIfInventory("putterPower", 50, "Putt50")
- PBAR A 0 A_JumpIfInventory("putterPower", 25, "Putt25")
- stop
- Putt75:
- PBAR D 1
- goto Ready
- Putt50:
- PBAR C 1
- goto Ready
- Putt25:
- PBAR B 1
- goto Ready
- StopPutt:
- PBAR E 1
- goto Ready
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement