Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Actor PlasmaPistol : Weapon
- {
- Weapon.SlotNumber 1
- Weapon.Ammotype "PPistolAmmo"
- Weapon.AmmoUse 1
- Weapon.AmmoGive 10
- Weapon.kickback 30
- Weapon.SelectionOrder 2300
- +WEAPON.WIMPY_WEAPON
- +WEAPON.AMMO_OPTIONAL
- Inventory.PickupMessage "You got a Plasma Pistol!"
- obituary "%o was melted by %k's Plasma Pistol"
- states
- {
- Spawn:
- PLSP A -1
- loop
- Ready:
- PLPI A 20 A_WeaponReady
- PLPI A 0 A_GiveInventory("PPistolammo", 1)
- loop
- Deselect:
- TNT1 A 0 A_Lower
- TNT1 A 0 A_Lower
- PLPI A 1 A_Lower
- loop
- Select:
- TNT1 A 0 A_Raise
- TNT1 A 0 A_Raise
- PLPI A 1 A_Raise
- loop
- Fire:
- PLPI B 2
- PLPI C 0 A_Quake(1, 2, 0, 32)
- PLPI C 0 A_playsound("plasmapistol/fire")
- PLPI C 1 A_FireCustomMissile("PPistolBall2")
- PLPI A 0 A_JumpIfInventory("PPistolAmmo", 1, "Rapidfire")
- PLPI A 15
- goto Ready
- Rapidfire:
- PLPI B 2
- PLPI C 0 A_Quake(1, 2, 0, 32)
- PLPI C 0 A_playsound("plasmapistol/fire")
- PLPI C 1 A_FireCustomMissile("PPistolBall2")
- PLPI A 0 A_JumpIfInventory("PPistolAmmo", 1, "Rapidfire")
- PLPI A 0 A_GiveInventory("PPistolammo", 1)
- goto Ready
- }
- }
- Actor PPistolBall : Plasmaball
- {
- SeeSound ""
- Radius 8
- scale 0.65
- Damage 3
- Speed 30
- Obituary "$OB_MPPLASMAPISTOL"
- }
- Actor PPistolBall2 : Plasmaball
- {
- SeeSound ""
- Radius 8
- scale 0.65
- +STRIFEDAMAGE
- Damage 4
- Speed 30
- Obituary "$OB_MPPLASMAPISTOL"
- }
- Actor PPistolAmmo : Ammo
- {
- Inventory.Amount 5
- Inventory.MaxAmount 5
- Ammo.BackpackAmount 0
- Ammo.BackpackMaxAmount 5
- +INVENTORY.IGNORESKILL
- states
- {
- Spawn:
- TNT1 A -1
- stop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment