// Tesla Rifle -----------------------------------------------------------------

decal DUMP3TeslaScorchTiny
{
	pic CBOWMARK
	shade "00 00 00"
	x-scale 0.2
	y-scale 0.2
	randomflipx
	randomflipy
}

decal DUMP3TeslaScorchSmall
{
	pic CBOWMARK
	shade "00 00 00"
	x-scale 0.35
	y-scale 0.35
	randomflipx
	randomflipy
}

decal DUMP3TeslaScorchLarge
{
	pic CBOWMARK
	shade "00 00 00"
	x-scale 0.65
	y-scale 0.65
	randomflipx
	randomflipy
}


// FrostFire Tome --------------------------------------------------------------

fader DUMP3IceMelt1
{
	DecayStart	1.5
	DecayTime	3.5
}

fader DUMP3IceMelt2
{
	DecayStart	1.4
	DecayTime	3.35
}

fader DUMP3IceMelt3
{
	DecayStart	1.0
	DecayTime	3.0
}

decal DUMP3IceShardLowest1
{
	pic BFGSCRC1
	shade "00 00 56"
	fullbright
	x-scale 0.3
	y-scale 0.3
	animator DUMP3IceMelt3
	randomflipx
	randomflipy
}

decal DUMP3IceShardLowest2
{
	pic BFGSCRC2
	shade "00 00 56"
	fullbright
	x-scale 0.3
	y-scale 0.3
	animator DUMP3IceMelt3
	randomflipx
	randomflipy
}

decalgroup DUMP3IceShardLowest
{
	DUMP3IceShardLowest1 1
	DUMP3IceShardLowest2 1
}

decal DUMP3IceShardLower1
{
	pic BFGLITE1
	shade "1c 50 e2"
	fullbright
	x-scale 0.15
	y-scale 0.15
	animator DUMP3IceMelt2
	lowerdecal DUMP3IceShardLowest
	randomflipx
	randomflipy
}

decal DUMP3IceShardLower2
{
	pic BFGLITE2
	shade "1c 50 e2"
	fullbright
	x-scale 0.15
	y-scale 0.15
	animator DUMP3IceMelt2
	lowerdecal DUMP3IceShardLowest
	randomflipx
	randomflipy
}

decalgroup DUMP3IceShardLower
{
	DUMP3IceShardLower1 1
	DUMP3IceShardLower2 1
}

decal DUMP3IceShard
{
	pic TWIRL
	shade "29 77 e9"
	fullbright
	x-scale 0.1
	y-scale 0.1
	animator DUMP3IceMelt1
	lowerdecal DUMP3IceShardLower
	randomflipx
	randomflipy
}

// Holy Water Pistol -----------------------------------------------------------

fader DUMP3HolyWaterFader
{
	DecayStart	1.5
	DecayTime	5.5
}

stretcher DUMP3HolyWaterStretcher
{
	StretchTime	7
	GoalY		1.0 // This property ought to be renamed FactorY.  It definitely doesn't stop stretching once it reaches the "goal". Maybe a side effect of being combined with a fader/slider?
	//GoalX		-0.00001 // Also this seems to stretch the same amount no matter how small I try to make it.  
}

slider DUMP3HolyWaterSlider
{
	SlideTime	7
	DistY		-40
}

combiner DUMP3HolyWaterCombo
{
	DUMP3HolyWaterFader
	DUMP3HolyWaterStretcher
	DUMP3HolyWaterSlider
}

decal DUMP3HolyWaterSplash // If I had FLATSPRITE I would've done this for floors and ceilings too, probably. An outward grow effect as it fades, with some drops falling off the ceiling.  
{
	pic HWPWA0
	x-scale 0.25
	y-scale 0.25
	fullbright
	animator DUMP3HolyWaterCombo
}



// SRS Chaingun ----------------------------------------------------------------

colorchanger DUMP3LightyBootColor // Based on a preview image from iStockPhoto: http://www.istockphoto.com/vector/grunge-shoe-tracks-gm165797198-15829649?st=_p_grunge%20shoe%20tracks
{
   Color "e4 78 38"
   FadeStart 0.4
   FadeTime 0.8
}

fader DUMP3LightyBootFader
{
   DecayStart 1.2
   DecayTime 1.2
}

combiner DUMP3LightyBootCombo
{
   DUMP3LightyBootColor
   DUMP3LightyBootFader
}

decal DUMP3MightyBoot
{
	pic MIGH4OOT
	shade "00 00 00"
	x-scale 0.1405
	y-scale 0.120
}

decal DUMP3LightyBoot
{
	pic MIGH4OOT
	shade "f0 ac 5c"
	x-scale 0.1405
	y-scale 0.120
	fullbright
	animator DUMP3LightyBootCombo
	lowerdecal DUMP3MightyBoot
}

decal DUMP3MightyBootLeft
{
	pic MIGH4OOT
	shade "00 00 00"
	x-scale 0.1405
	y-scale 0.120
	flipx
}

decal DUMP3LightyBootLeft
{
	pic MIGH4OOT
	shade "f0 ac 5c"
	x-scale 0.1405
	y-scale 0.120
	flipx
	fullbright
	animator DUMP3LightyBootCombo
	lowerdecal DUMP3MightyBootLeft
}


// Rybak -----------------------------------------------------------------------

decal DUMP3RybakChip
{
	pic RYBPA0
	add 1.0
	x-scale 0.45
	y-scale 0.45
	fullbright
	animator GoAway
	lowerdecal BulletChip
}


// Maestro Explosive Shotgun ---------------------------------------------------

decal DUMP3MaestroChip
{
	pic MAEPH0
	add 1.0
	x-scale 0.45
	y-scale 0.45
	fullbright
	animator GoAway
	lowerdecal BulletChip
}


// Mini Rocket Launcher --------------------------------------------------------

generator DUMP3minirocket Scorch


// Ray Beam Cannon -------------------------------------------------------------

/*stretcher DUMP3RBCAppear
{
   GoalX 1.0
   GoalY 1.0
   StretchStart 0.42 // 15 tics // During testing, the timing kept getting thrown off if I brought down the console before the start time was reached, making it appear earlier or later than it should.  Weird.  
   StretchTime 0
}

decal DUMP3RayBeamSplash
{
	pic RAYSPLSH
	shade "00 00 00"
	x-scale 0.0
	y-scale 0.0
	animator DUMP3RBCAppear
}*/

decal DUMP3RayBeamSplash
{
	pic PLASMA1
	shade "00 00 00"
	x-scale 0.8
	y-scale 0.8
}


// Fusion Gun ------------------------------------------------------------------

decal DUMP3FusionScorchSmall
{
	pic TWIRL
	shade "00 00 00"
	x-scale 0.4
	y-scale 0.4
	randomflipx
	randomflipy
}

decal DUMP3FusionScorchLarge
{
	pic TWIRL
	shade "00 00 00"
	x-scale 0.7
	y-scale 0.7
	randomflipx
	randomflipy
}


// Squinkolizator --------------------------------------------------------------

decal DUMP3SquinkLightning1
{
	pic BFGLITE1
	shade "bb 83 f3"
	x-scale 0.5
	y-scale 0.5
	fullbright
	randomflipx
	animator GoAway
	lowerdecal SwordScorch
}

decal DUMP3SquinkLightning2
{
	pic BFGLITE2
	shade "bb 83 f3"
	x-scale 0.5
	y-scale 0.5
	fullbright
	randomflipy
	animator GoAway
	lowerdecal SwordScorch
}

decalgroup DUMP3SquinkLightning
{
	DUMP3SquinkLightning1	1
	DUMP3SquinkLightning2	1
}


// Nova Blaster ----------------------------------------------------------------

decal DUMP3NovaScorch1
{
	pic NOVPA0
	add 1.0
	fullbright
	animator GoAway
	lowerdecal PlasmaScorchLower1
}

decal DUMP3NovaScorch2
{
	pic NOVPB0
	add 1.0
	fullbright
	animator GoAway
	lowerdecal PlasmaScorchLower2
}

decalgroup DUMP3NovaScorch
{
	DUMP3NovaScorch1	1
	DUMP3NovaScorch2	1
}

decal DUMP3NovaLightning1
{
	pic BFGLITE1
	shade "ff ff 00"
	x-scale 0.5
	y-scale 0.5
	fullbright
	randomflipx
	animator GoAway2
	lowerdecal SwordScorch
}

decal DUMP3NovaLightning2
{
	pic BFGLITE2
	shade "ff ff 00"
	x-scale 0.5
	y-scale 0.5
	fullbright
	randomflipy
	animator GoAway2
	lowerdecal SwordScorch
}

decalgroup DUMP3NovaLightning
{
	DUMP3NovaLightning1	1
	DUMP3NovaLightning2	1
}

// Sirus' Buster Cannon --------------------------------------------------------

decal DUMP3ElectroLightning1
{
	pic BFGLITE1
	shade "8f 8f ff"
	x-scale 0.5
	y-scale 0.5
	randomflipx
	randomflipy
	fullbright
	animator GoAway2
	lowerdecal SwordScorch
}

decal DUMP3ElectroLightning2
{
	pic BFGLITE2
	shade "8f 8f ff"
	x-scale 0.5
	y-scale 0.5
	randomflipx
	randomflipy
	fullbright
	animator GoAway2
	lowerdecal SwordScorch
}

decalgroup DUMP3ElectroLightning
{
	DUMP3ElectroLightning1	1
	DUMP3ElectroLightning2	1
}



// RevenantBox -----------------------------------------------------------------

decal DUMP3RevenantCrash1 // Cracks based on a preview image from ShutterStock: https://www.shutterstock.com/pic-75084916/
{
	pic REVPIT1
	shade "00 00 00"
	x-scale 0.45
	y-scale 0.45
	randomflipx
	randomflipy
}

decal DUMP3RevenantCrash2
{
	pic REVPIT1R
	shade "00 00 00"
	x-scale 0.45
	y-scale 0.45
	randomflipx
	randomflipy
}

decalgroup DUMP3RevenantCrash
{
	DUMP3RevenantCrash1	1
	DUMP3RevenantCrash2	1
}

decal DUMP3DoomguyRevenantCrash1
{
	pic REVPIT2
	shade "00 00 00"
	x-scale 0.45
	y-scale 0.45
	randomflipx
	randomflipy
}

decal DUMP3DoomguyRevenantCrash2
{
	pic REVPIT2R
	shade "00 00 00"
	x-scale 0.45
	y-scale 0.45
	randomflipx
	randomflipy
}

decalgroup DUMP3DoomguyRevenantCrash
{
	DUMP3DoomguyRevenantCrash1	1
	DUMP3DoomguyRevenantCrash2	1
}

// Plasma Tracker --------------------------------------------------------------

decal DUMP3PlasmaTrackerScorch1
{
	pic PLASMA1
	shade "00 00 00"
	x-scale 0.65
	y-scale 0.65
	randomflipx
	randomflipy
}

decal DUMP3PlasmaTrackerScorch2
{
	pic PLASMA2
	shade "00 00 00"
	x-scale 0.615
	y-scale 0.615
	randomflipx
	randomflipy
}

decalgroup DUMP3PlasmaTrackerScorch
{
	DUMP3PlasmaTrackerScorch1	1
	DUMP3PlasmaTrackerScorch2	1
}


// HS 011 ----------------------------------------------------------------------

decal DUMP3HS010ScorchLower1
{
	pic PLASMA1
	shade "00 00 00"
	x-scale 0.2
	y-scale 0.2
	randomflipx
	randomflipy
}

decal DUMP3HS010Scorch1
{
	pic H10PA0
	add 1.0
	x-scale 0.4
	y-scale 0.4
	fullbright
	animator GoAway
	lowerdecal DUMP3HS010ScorchLower1
}

decal DUMP3HS010ScorchLower2
{
	pic PLASMA2
	shade "00 00 00"
	x-scale 0.2
	y-scale 0.2
	randomflipx
	randomflipy
}

decal DUMP3HS010Scorch2
{
	pic H10PB0
	add 1.0
	x-scale 0.4
	y-scale 0.4
	fullbright
	animator GoAway
	lowerdecal DUMP3HS010ScorchLower2
}

decalgroup DUMP3HS010Scorch
{
	DUMP3HS010Scorch1	1
	DUMP3HS010Scorch2	1
}


// Dark Pulse Cannon -----------------------------------------------------------

decal DUMP3DarkPulseScorch
{
	pic TWIRL_F // Taken from ZDoom and faded manually
	shade "00 00 00"
	x-scale 0.7
	y-scale 0.7
	randomflipx
	randomflipy
	//translucent 0.3 // welp
}

decal DUMP3DarkPulseLightning1
{
	pic BFGLITE1
	shade "ff 35 35"
	fullbright
	randomflipx
	animator GoAway2
	lowerdecal BFGScorch
}

decal DUMP3DarkPulseLightning2
{
	pic BFGLITE2
	shade "ff 35 35"
	fullbright
	randomflipy
	animator GoAway2
	lowerdecal BFGScorch
}

decalgroup DUMP3DarkPulseLightning
{
	DUMP3DarkPulseLightning1	1
	DUMP3DarkPulseLightning2	1
}


// Exterminatus Duo ------------------------------------------------------------

decal DUMP3DuoLightningSmall1
{
	pic BFGLITE1
	shade "00 ff ff"
	x-scale 0.5
	y-scale 0.5
	fullbright
	randomflipx
	animator GoAway2
	lowerdecal SwordScorch
}

decal DUMP3DuoLightningSmall2
{
	pic BFGLITE2
	shade "00 ff ff"
	x-scale 0.5
	y-scale 0.5
	fullbright
	randomflipy
	animator GoAway2
	lowerdecal SwordScorch
}

decalgroup DUMP3DuoLightningSmall
{
	DUMP3DuoLightningSmall1	1
	DUMP3DuoLightningSmall2	1
}

decal DUMP3DuoLightningLarge1
{
	pic BFGLITE1
	shade "00 ff ff"
	fullbright
	randomflipx
	animator GoAway2
	lowerdecal BFGScorch
}

decal DUMP3DuoLightningLarge2
{
	pic BFGLITE2
	shade "00 ff ff"
	fullbright
	randomflipy
	animator GoAway2
	lowerdecal BFGScorch
}

decalgroup DUMP3DuoLightningLarge
{
	DUMP3DuoLightningLarge1	1
	DUMP3DuoLightningLarge2	1
}


// Laundry Fu ------------------------------------------------------------------

decal DUMP3LaundryBoot1 // Based on a preview image from iStockPhoto: http://www.istockphoto.com/vector/grunge-shoe-tracks-gm165797198-15829649?st=_p_grunge%20shoe%20tracks
{
	pic MIGHBOOT
	shade "00 00 00"
	x-scale 0.1405
	y-scale 0.105
}

decal DUMP3LaundryBoot2
{
	pic MIGH2OOT
	shade "00 00 00"
	x-scale 0.1405
	y-scale 0.105
}

decal DUMP3LaundryBoot3
{
	pic MIGH3OOT
	shade "00 00 00"
	x-scale 0.1405
	y-scale 0.105
}

decalgroup DUMP3LaundryBoot
{
	DUMP3LaundryBoot1	1
	DUMP3LaundryBoot2	1
	DUMP3LaundryBoot3	1
}