Skip to content

Instantly share code, notes, and snippets.

@kaadmy
Created April 23, 2016 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaadmy/8295c85bcc38091149660521051a47e3 to your computer and use it in GitHub Desktop.
Save kaadmy/8295c85bcc38091149660521051a47e3 to your computer and use it in GitHub Desktop.
// DECORATE; GLDEFS is at the end of this file
Actor MeltRailgunPuff : BulletPuff
{
VSpeed 0
-ALLOWPARTICLES
+ALWAYSPUFF
-RANDOMIZE
+PUFFONACTORS
States
{
Spawn:
// fall through
Melee:
TNT1 ABC 3
Stop
}
}
Actor MeltRailgun : Weapon 7000
...
TNT1 A 0 A_RailAttack(100, 0, 1, "none", "22 22 ee", RGF_SILENT | RGF_NOPIERCING, 0, "MeltRailgunPuff")
...
// GLDEFS below
PointLight RailgunHit1
{
Color 0.0 1.0 0.7
Size 16
}
PointLight RailgunHit2
{
Color 0.0 1.0 0.7
Size 12
}
PointLight RailgunHit3
{
Color 0.0 1.0 0.7
Size 6
}
Object MeltRailgunPuff
{
Frame TNT1A {Light RailgunHit1}
Frame TNT1B {Light RailgunHit2}
Frame TNT1C {Light RailgunHit3}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment