Advertisement
Qent

Improved Invisibility

Dec 27th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. actor ImprovedInvisibilitySphere : CustomInventory replaces InvisibilitySphere {
  2. Game Doom
  3. Game Heretic
  4. Game Hexen
  5. SpawnID 174
  6. +COUNTITEM
  7. +VISIBILITYPULSE
  8. +INVENTORY.AUTOACTIVATE
  9. +INVENTORY.ALWAYSPICKUP
  10. Inventory.MaxAmount 0
  11. //Powerup.Type "Invisibility30"
  12. RenderStyle Translucent
  13. Inventory.PickupMessage "Improved Invisibility"
  14. Inventory.PickupAnnouncerEntry "invisibility"
  15. States {
  16. Spawn:
  17. SINV ABCD 6 Bright
  18. Loop
  19. Pickup:
  20. TNT1 A 0 A_GiveInventory("Invisibility30Giver", 1)
  21. TNT1 A 0 A_GiveInventory("Protection67Giver", 1)
  22. stop
  23. }
  24. }
  25.  
  26. actor Invisibility30Giver : PowerupGiver {
  27. +INVENTORY.AUTOACTIVATE
  28. Powerup.Type "Invisibility30"
  29. }
  30.  
  31. actor Protection67Giver : PowerupGiver {
  32. +INVENTORY.AUTOACTIVATE
  33. Powerup.Type "Protection67"
  34. }
  35.  
  36. actor PowerInvisibility30 : PowerInvisibility {
  37. Powerup.Duration -30
  38. }
  39.  
  40. actor PowerProtection67 : PowerProtection {
  41. Powerup.Duration -30
  42. damagefactor "normal", 0.67
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement