Advertisement
Qent

Railblaster

Nov 24th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. Actor Railblaster : Doomweapon replaces CERailgun {
  2. SpawnID 164
  3. Radius 20
  4. Height 16
  5. Weapon.Selectionorder 100
  6. Weapon.AmmoType "Cell"
  7. Weapon.AmmoGive 40
  8. Weapon.AmmoUse 10
  9. Weapon.SlotNumber 6
  10. Weapon.SlotPriority 0.9
  11. Inventory.Pickupmessage "You got the cryo-railblaster!"
  12. Obituary "$OB_RAILGUN" // "%o was railed by %k."
  13. Decal "RailScorch"
  14. +WEAPON.NOAUTOAIM
  15. States {
  16. Ready:
  17. RLGG A 1 A_WeaponReady
  18. Loop
  19. Deselect:
  20. RLGG A 1 A_Lower
  21. Loop
  22. Select:
  23. RLGG A 1 A_Raise
  24. Loop
  25. Fire:
  26. RLGG E 0 A_GunFlash
  27. RLGG E 0 A_FireBullets(0, 0, 1, 0, "BlastPuff", 0)
  28. RLGG E 16 A_RailAttack(random(31, 76), 0, 1, none, SteelBlue)
  29. RLGG F 6
  30. RLGG G 6 A_PlayWeaponSound("weapons/RailGunOut")
  31. RLGG HIJ 6
  32. RLGG K 6 A_PlayWeaponSound("weapons/RailGunIn")
  33. RLGG LA 6
  34. RLGG A 0 A_ReFire
  35. goto Ready
  36. Flash:
  37. TNT1 A 2 bright A_Light1
  38. TNT1 A 4 bright A_Light2
  39. TNT1 A 4 bright A_Light1
  40. TNT1 A 0 bright A_Light0
  41. Goto LightDone
  42. Spawn:
  43. RAIL A -1
  44. Stop
  45. }
  46. }
  47.  
  48. ACTOR BlastPuff : BulletPuff {
  49. +NOBLOCKMAP
  50. +NOGRAVITY
  51. +ALLOWPARTICLES
  52. +RANDOMIZE
  53. +PUFFONACTORS
  54. +ALWAYSPUFF
  55. +PUFFGETSOWNER
  56. RenderStyle Translucent
  57. Alpha 0.8
  58. Translation Ice
  59. VSpeed 0
  60. Mass 5
  61. DamageType "Ice"
  62. Obituary "%o was frosted by %k's railblaster."
  63. States {
  64. Spawn:
  65. MISL B 0
  66. MISL B 0 A_PlaySound("weapons/rocklx")
  67. MISL B 8 bright A_Explode(64, 128)
  68. MISL C 6 bright
  69. MISL D 4 bright
  70. stop
  71. }
  72. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement