Advertisement
Guest User

/vr/ plz

a guest
Apr 15th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. ACTOR ChargedEnergy : Inventory
  2. {
  3. Inventory.MaxAmount 1
  4. }
  5.  
  6.  
  7. Actor WandOfEmbers : Weapon replaces Chainsaw
  8. {
  9. Inventory.PickupSound "Misc/W_PkUp"
  10. Inventory.PickupMessage "Wand of Embers"
  11. Obituary "%o was burned by %k"
  12. Weapon.AmmoType "WandOfEmbersAmmo"
  13. Weapon.AmmoGive 20
  14. Weapon.AmmoUse 1
  15. Weapon.SisterWeapon "WandOfEmbers~Powered"
  16. +WEAPON.NOAUTOFIRE
  17. States
  18. {
  19. Spawn:
  20. WEMB A -1
  21. Loop
  22. Select:
  23. WEMB B 1 A_Raise
  24. Loop
  25. Deselect:
  26. WEMB B 1 A_Lower
  27. Loop
  28. Ready:
  29. WEMB A 0 A_JumpIfInventory("ChargedEnergy",1,"ReadyCharged")
  30. ReadyCharged:
  31. WEMB B 1 A_WeaponReady
  32. Uncharged:
  33. WEMB C 1
  34. WEMB D 1
  35. WEMB C 1
  36. WEMB D 1
  37.  
  38. Fire:
  39. WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-5, -3), 0, 0, 0, 0, Random(-2, 2))
  40. WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(5, 3), 0, 0, 0, 0, Random(-2, 2))
  41. WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-3, 3), 0, 0, 0, 0, Random(3, 1))
  42. WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", Random(-3, 3), 0, 0, 0, 0, Random(-3, -1))
  43. WEMB F 0 A_FireCustomMissile("WandOfEmbersBall", 0, 1, 0, 0, 0, 0)
  44. WEMB FG 5 Bright
  45. WEMB D 6
  46. WEMB B 1 A_TakeInventory("ChargedEnergy")
  47. Goto Ready
  48.  
  49. AltHold:
  50. WEBM C 1 Offset(-1,33)
  51. WEBM C 1 Offset(1,33)
  52. WEBM C 1 Offset(-2,34)
  53. WEBM C 1 Offset(2,34)
  54. WEBM C 1 Offset(3,35)
  55. WEBM C 1 Offset(-3,35)
  56. WEBM C 1 Offset(4,36)
  57. WEBM C 1 Offset(-4,36)
  58. WEMB C 1 A_GiveInventory("ChargedEnergy")
  59. }
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement