Advertisement
Qent

example

May 13th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. actor Achilles : CustomInventory 5042 {
  2. Game Doom
  3. +COUNTITEM
  4. +INVENTORY.AUTOACTIVATE
  5. +INVENTORY.ALWAYSPICKUP
  6. +INVENTORY.FANCYPICKUPSOUND
  7. Inventory.MaxAmount 0
  8. Inventory.PickupSound "misc/p_pkup"
  9. Inventory.PickupMessage "$GOTACHILLES" // "Achilles Targeting Unit"
  10. States {
  11. Spawn:
  12. INFR A 6 Bright
  13. INFR B 6
  14. Loop
  15. Pickup:
  16. TNT1 A 0 A_GiveInventory("LightAmp30Giver", 1)
  17. TNT1 A 0 A_GiveInventory("Damage150Giver", 1)
  18. stop
  19. }
  20. }
  21.  
  22. actor LightAmp30Giver : PowerupGiver {
  23. +INVENTORY.AUTOACTIVATE
  24. Powerup.Duration -30
  25. Powerup.Type "LightAmp"
  26. }
  27.  
  28. actor Damage150Giver : PowerupGiver {
  29. +INVENTORY.AUTOACTIVATE
  30. Powerup.Type "Damage150"
  31. Powerup.Color 255, 0, 0, 0.1
  32. }
  33.  
  34. actor PowerDamage150 : PowerDamage {
  35. Powerup.Duration -30
  36. damagefactor "normal", 1.5
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement