
//==============================================================================
//				BRIGHTMAPS
//==============================================================================

brightmap sprite TCHGA0
{
   map brightmaps/TCHGA0
}

brightmap sprite TPLAA0
{
   map brightmaps/TPLAA0
}
brightmap sprite TPLAB0
{
   map brightmaps/TPLAB0
}
brightmap sprite TPLAG0
{
   map brightmaps/TPLAG0
}
brightmap sprite TPLAZ0
{
	map brightmaps/TPLAZ0
}


brightmap sprite TSA1A0
{
   map brightmaps/TSA1A0
}
brightmap sprite TSA1B0
{
   map brightmaps/TSA1B0
}
brightmap sprite TSA2A0
{
   map brightmaps/TSA2A0
}
brightmap sprite TSA2B0
{
   map brightmaps/TSA2B0
}
brightmap sprite TSA3A0
{
   map brightmaps/TSA3A0
}
brightmap sprite TSA3B0
{
   map brightmaps/TSA3B0
}

brightmap sprite TMASA0
{
   map brightmaps/TMASA0
}
brightmap sprite TMASB0
{
   map brightmaps/TMASB0
}

brightmap sprite TBFGA0
{
   map brightmaps/TBFGA0
}
brightmap sprite TBFGB0
{
   map brightmaps/TBFGB0
}
brightmap sprite TBFGC0
{
   map brightmaps/TBFGC0
}
brightmap sprite TBFGD0
{
   map brightmaps/TBFGD0
}
brightmap sprite TBFGE0
{
   map brightmaps/TBFGE0
}
brightmap sprite TBFGF0
{
   map brightmaps/TBFGF0
}
brightmap sprite TBFGG0
{
   map brightmaps/TBFGG0
}
brightmap sprite TBFGM0
{
   map brightmaps/TBFGM0
}
brightmap sprite TBFGN0
{
   map brightmaps/TBFGN0
}
brightmap sprite TBFGZ0
{
	map brightmaps/TBFGZ0
}

brightmap sprite DCELA0
{
	map brightmaps/DCELA0
}
brightmap sprite DCELB0
{
	map brightmaps/DCELB0
}

brightmap sprite DBFGZ0
{
	map brightmaps/DBFGZ0
}

brightmap sprite DPLAZ0
{
	map brightmaps/DPLAZ0
}

//==============================================================================
//				DYNAMIC LIGHTS
//==============================================================================

flickerlight FDBulletPuffLight
{
    color 0.5 0.5 0.0
    size 3
    secondarySize 4
    chance 0.8
}

object FDBulletPuff
{
    frame OGLOA { light FDBulletPuffLight }
}

object FDGibBulletPuff
{
    frame OGLOA { light FDBulletPuffLight }
}

object FDPainlessBulletPuff
{
    frame OGLOA { light FDBulletPuffLight }
}

object FDChainsawPuff
{
    frame OGLOA { light FDBulletPuffLight }
}

//------------------------------------------------------------------------------

object FDPlutGrenade
{
    frame GREXA { light FDRocket   }
	
    frame MEXPA { light FDExplosion1 }
    frame MEXPB { light FDExplosion2 }
    frame MEXPC { light FDExplosion3 }
    frame MEXPD { light FDExplosion4 }
    frame MEXPE { light FDExplosion5 }
    frame MEXPF { light FDExplosion6 }
	
    frame GLXPA { light FDGroundExplosion1 }
    frame GLXPB { light FDGroundExplosion2 }
    frame GLXPC { light FDGroundExplosion3 }
    frame GLXPD { light FDGroundExplosion4 }
    frame GLXPE { light FDGroundExplosion5 }
    frame GLXPF { light FDGroundExplosion6 }
    frame GLXPG { light FDGroundExplosion7 }
    frame GLXPH { light FDGroundExplosion8 }
    frame GLXPI { light FDGroundExplosion9 }
    frame GLXPJ { light FDGroundExplosion10 }
}

object FDTNTMissile
{
    frame MISLA { light FDRocketPulse   }
	
    frame MEXPA { light FDExplosion1 }
    frame MEXPB { light FDExplosion2 }
    frame MEXPC { light FDExplosion3 }
    frame MEXPD { light FDExplosion4 }
    frame MEXPE { light FDExplosion5 }
    frame MEXPF { light FDExplosion6 }
}

object FDDoom2RocketProjectile
{
    frame MISLA { light FDRocketPulse   }
	
    frame MEXPA { light FDExplosion1 }
    frame MEXPB { light FDExplosion2 }
    frame MEXPC { light FDExplosion3 }
    frame MEXPD { light FDExplosion4 }
    frame MEXPE { light FDExplosion5 }
    frame MEXPF { light FDExplosion6 }
}

flickerlight FDRocket
{
    color 1.0 0.7 0.0
    size 24
    secondarySize 36
    chance 0.2
}

pulselight FDRocketPulse
{
    color 1.0 0.7 0.0
    size 20
    secondarySize 40
	interval 0.3
}

flickerlight FDExplosion1
{
    color 1.0 0.6 0.0
    size 48
    secondarySize 64
    chance 0.3
}

flickerlight FDExplosion2
{
    color 0.9 0.6 0.0
    size 64
    secondarySize 72
    chance 0.3
}

flickerlight FDExplosion3
{
    color 0.7 0.3 0.0
    size 80
    secondarySize 88
    chance 0.3
}

flickerlight FDExplosion4
{
    color 0.5 0.1 0.0
    size 88
    secondarySize 96
    chance 0.3
}

flickerlight FDExplosion5
{
    color 0.3 0.0 0.0
    size 96
    secondarySize 104
    chance 0.3
}

flickerlight FDExplosion6
{
    color 0.2 0.0 0.0
    size 104
    secondarySize 112
    chance 0.3
}

flickerlight FDGroundExplosion1
{
    color 1.0 0.2 0.0
    size 24
    secondarySize 32
    chance 0.5
}

flickerlight FDGroundExplosion2
{
    color 1.0 0.7 0.0
    size 32
    secondarySize 48
    chance 0.5
}

flickerlight FDGroundExplosion3
{
    color 1.0 0.6 0.0
    size 72
	offset 0 20 0
    secondarySize 80
    chance 0.5
}

flickerlight FDGroundExplosion4
{
    color 0.9 0.3 0.0
    size 72
	offset 0 40 0
    secondarySize 80
    chance 0.5
}

flickerlight FDGroundExplosion5
{
    color 0.9 0.3 0.0
    size 72
	offset 0 60 0
    secondarySize 80
    chance 0.5
}

flickerlight FDGroundExplosion6
{
    color 0.9 0.3 0.0
    size 72
	offset 0 80 0
    secondarySize 80
    chance 0.5
}

flickerlight FDGroundExplosion7
{
    color 0.7 0.1 0.0
    size 66
	offset 0 82 0
    secondarySize 70
    chance 0.5
}

flickerlight FDGroundExplosion8
{
    color 0.4 0.0 0.0
    size 60
	offset 0 84 0
    secondarySize 66
    chance 0.5
}

flickerlight FDGroundExplosion9
{
    color 0.3 0.0 0.0
    size 54
	offset 0 86 0
    secondarySize 60
    chance 0.5
}

flickerlight FDGroundExplosion10
{
    color 0.1 0.0 0.0
    size 48
	offset 0 88 0
    secondarySize 54
    chance 0.5
}

//------------------------------------------------------------------------------

flickerlight FDPlutBFGCore
{
    color 0.0 1.0 0.0
    size 100
    secondarySize 128
    chance 0.5
}

object FDPlutBFGCore
{
    frame PBFCA { light FDPlutBFGCore }
    frame PBFCC { light FDPlutBFGCore }
    frame PBFCD { light FDPlutBFGCore }
}

flickerlight FDPlutBFGExplosion1
{
    color 0.2 1.0 0.2
    size 180
    secondarySize 188
    chance 0.3
}

flickerlight FDPlutBFGExplosion2
{
    color 0.3 1.0 0.3
    size 204
    secondarySize 212
    chance 0.3
}

flickerlight FDPlutBFGExplosion3
{
    color 0.5 1.0 0.5
    size 220
    secondarySize 228
    chance 0.3
}

flickerlight FDPlutBFGExplosion4
{
    color 0.2 0.7 0.2
    size 156
    secondarySize 164
    chance 0.3
}

flickerlight FDPlutBFGExplosion5
{
    color 0.1 0.3 0.1
    size 148
    secondarySize 156
    chance 0.3
}

object FDPlutBFGRay
{
    frame QACCA { light FDPlutBFGExplosion1 }
    frame QACCB { light FDPlutBFGExplosion2 }
    frame QACCC { light FDPlutBFGExplosion3 }
    frame QACCD { light FDPlutBFGExplosion4 }
    frame QACCE { light FDPlutBFGExplosion5 }
}

object FDPlutBFGRayDelay
{
    frame QACCA { light FDPlutBFGExplosion1 }
    frame QACCB { light FDPlutBFGExplosion2 }
    frame QACCC { light FDPlutBFGExplosion3 }
    frame QACCD { light FDPlutBFGExplosion4 }
    frame QACCE { light FDPlutBFGExplosion5 }
}

object FDPlutBFGPuff
{
    frame BFXPA { light FDGreenExplosion1 }
    frame BFXPB { light FDGreenExplosion2 }
    frame BFXPC { light FDGreenExplosion3 }
    frame BFXPD { light FDGreenExplosion4 }
    frame BFXPE { light FDGreenExplosion5 }
    frame BFXPF { light FDGreenExplosion6 }
}

object FDTNTBFGRay
{
    frame BFE2A { light FDGreenExplosion1 }
    frame BFE2B { light FDGreenExplosion3 }
    frame BFE2C { light FDGreenExplosion5 }
    frame BFE2D { light FDGreenExplosion6 }
}

flickerlight FDGreenExplosion1
{
    color 0.2 0.9 0.2
    size 48
    secondarySize 64
    chance 0.3
}

flickerlight FDGreenExplosion2
{
    color 0.3 1.0 0.3
    size 64
    secondarySize 72
    chance 0.3
}

flickerlight FDGreenExplosion3
{
    color 0.4 1.0 0.4
    size 80
    secondarySize 88
    chance 0.3
}

flickerlight FDGreenExplosion4
{
    color 0.2 0.8 0.2
    size 88
    secondarySize 96
    chance 0.3
}

flickerlight FDGreenExplosion5
{
    color 0.1 0.5 0.1
    size 96
    secondarySize 104
    chance 0.3
}

flickerlight FDGreenExplosion6
{
    color 0.0 0.3 0.0
    size 104
    secondarySize 112
    chance 0.3
}

//------------------------------------------------------------------------------

object FDDoom2BFGBall
{
    frame BFS1A { light FDBFGBall }
    frame BFS1B { light FDBFGBall }

    frame BFE1A { light FDGreenExplosion1 }
    frame BFE1B { light FDGreenExplosion2 }
    frame BFE1C { light FDGreenExplosion3 }
    frame BFE1D { light FDGreenExplosion4 }
    frame BFE1E { light FDGreenExplosion5 }
    frame BFE1F { light FDGreenExplosion6 }
}

pulselight FDBFGBall
{
    color 0.0 1.0 0.0
    size 60
    secondarySize 80
    interval 0.1
}

//------------------------------------------------------------------------------

object FDDoom2PlasmaBall
{
    frame PLSSA { light FDPlasmaBall1 }
    frame PLSSB { light FDPlasmaBall2 }

    frame PLSEA { light FDPlasmaImpact1   }
    frame PLSEB { light FDPlasmaImpact2   }
    frame PLSEC { light FDPlasmaImpact3   }
    frame PLSED { light FDPlasmaImpact4   }
    frame PLSEE { light FDPlasmaImpact5   }
}

pointlight FDPlasmaBall1
{
    color 0.0 0.1 1.0
    size 48
}

pointlight FDPlasmaBall2
{
    color 0.2 0.3 1.0
    size 56
}

flickerlight FDPlasmaImpact1
{
    color 0.2 0.2 1.0
    size 64
    secondarySize 72
    chance 0.4
}

flickerlight FDPlasmaImpact2
{
    color 0.2 0.2 0.9
    size 80
    secondarySize 88
    chance 0.4
}

flickerlight FDPlasmaImpact3
{
    color 0.2 0.2 0.8
    size 76
    secondarySize 84
    chance 0.4
}

flickerlight FDPlasmaImpact4
{
    color 0.1 0.1 0.5
    size 64
    secondarySize 72
    chance 0.4
}

flickerlight FDPlasmaImpact5
{
    color 0.0 0.0 0.2
    size 8
    secondarySize 16
    chance 0.4
}

//------------------------------------------------------------------------------

flickerlight FDMaserImpact
{
    color 1.0 0.0 0.0
    size 10
    secondarySize 25
    chance 0.5
}

object FDTNTMaserBeam
{
    frame MASEA { light FDMaserImpact }
    frame MASEB { light FDMaserImpact }
    frame MASEC { light FDMaserImpact }
    frame MASED { light FDMaserImpact }
}

object FDTNTMaserBeam2
{
    frame MASEA { light FDMaserImpact }
    frame MASEB { light FDMaserImpact }
    frame MASEC { light FDMaserImpact }
    frame MASED { light FDMaserImpact }
}

object FDTNTFancyMaserBeam
{
    frame MASEA { light FDMaserImpact }
    frame MASEB { light FDMaserImpact }
    frame MASEC { light FDMaserImpact }
    frame MASED { light FDMaserImpact }
}

object FDTNTFancyMaserBeam2
{
    frame MASEA { light FDMaserImpact }
    frame MASEB { light FDMaserImpact }
    frame MASEC { light FDMaserImpact }
    frame MASED { light FDMaserImpact }
}

//------------------------------------------------------------------------------

pulselight FDHaldermanDefence
{
    color 1.0 0.0 1.0
    size 40
    secondarySize 50
    interval 0.1
}

pulselight FDHaldermanHazard
{
    color 0.0 1.0 0.0
    size 40
    secondarySize 50
    interval 0.1
}

pulselight FDHaldermanVision
{
    color 1.0 0.9 0.0
    size 80
    secondarySize 90
    interval 0.1
}
