// item respawn effect
// flare particle and light
// used in qcsrc/server/bots.qc:		//te_wizspike(start)
// used in qcsrc/server/bots.qc:				te_wizspike(org)
// used in qcsrc/server/bots.qc:	//te_wizspike(e.origin)
// used in qcsrc/server/bots.qc:		//te_wizspike(e.nearestwaypoint.wpnearestpoint)
effect TE_WIZSPIKE
countabsolute 1
type static
color 0x63F2EA 0x63f2EA
size 20 20
alpha 128 128 128
lightradius 200
lightradiusfade 200
lightcolor 0.4 0.9 0.9
// cloud of particles which expand rapidly and then slow to form a ball
effect TE_WIZSPIKE
count 100
type static
color 0x63F2EA 0x63f2EA
size 2 2
alpha 64 64 64
airfriction 2
liquidfriction 2
originjitter 16 16 16
velocityjitter 32 32 32

// laser impact
// decal
// used in qcsrc/server/bots.qc:		//te_knightspike(end)
// used in qcsrc/server/bots.qc:			te_knightspike(start)
// used in qcsrc/server/bots.qc:						te_knightspike(org)
// used in qcsrc/server/bots.qc:		te_knightspike(org)
effect TE_KNIGHTSPIKE
countabsolute 1
type decal
tex 47 47
size 24 24
alpha 256 256 0
originjitter 16 16 16
lightradius 200
lightradiusfade 1000
lightcolor 4 0.2 0.2
// flare effect
effect TE_KNIGHTSPIKE
countabsolute 1
type static
tex 39 39
color 0xFF2010 0xFF2010
alpha 256 256 1024
size 24 24
// sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
effect TE_KNIGHTSPIKE
count 256
type spark
color 0x800000 0xFF8020
alpha 256 256 1024
size 4 4
//bounce 1.5
airfriction 6
liquidfriction 6
//originjitter 32 32 32
velocityjitter 256 256 256

// machinegun bullet impact
// bullet impact decal
// used nowhere in code
effect TE_SPIKE
countabsolute 1
type decal
tex 56 59
size 5 5
alpha 256 256 0
originjitter 6 6 6
// dust/smoke drifting away from the impact
effect TE_SPIKE
count 8
type smoke
tex 0 8
color 0x101010 0x101010
size 3 3
sizeincrease 3
alpha 255 255 256
originjitter 0 0 0
velocityjitter 8 8 8
// dust/smoke staying at the impact
effect TE_SPIKE
count 1
type smoke
tex 0 8
color 0x505050 0x505050
size 4 4
sizeincrease 4
alpha 255 255 128
originjitter 0 0 0
velocityjitter 0 0 0
// bouncing sparks
effect TE_SPIKE
count 20
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 0 256 256
gravity 1
bounce 1.5
velocityoffset 0 0 80
velocityjitter 64 64 64

// electro combo explosion
// decal
// used nowhere in code
effect TE_SPIKEQUAD
countabsolute 1
type decal
tex 59 59
size 64 64
alpha 256 256 0
originjitter 34 34 34
lightradius 400
lightradiusfade 200
lightcolor 2 2.5 3
// flare effect
effect TE_SPIKEQUAD
countabsolute 1
type static
tex 38 38
color 0x80C0FF 0x80C0FF
size 48 48
alpha 256 256 128
// large sparks
effect TE_SPIKEQUAD
count 20
type static
color 0x2030FF 0x80C0FF
size 32 32
alpha 256 256 256
//gravity 1
bounce 1.5
airfriction 4
liquidfriction 16
//velocityoffset 0 0 120
velocityjitter 512 512 512

// quake effect
// decal
// used nowhere in code
effect TE_SUPERSPIKE
countabsolute 1
type decal
tex 56 59
size 3 3
alpha 256 256 0
originjitter 6 6 6
// dust/smoke drifting away from the impact
effect TE_SUPERSPIKE
count 8
type smoke
tex 0 8
color 0x101010 0x101010
size 3 3
sizeincrease 3
alpha 255 255 256
originjitter 0 0 0
velocityjitter 8 8 8
// dust/smoke staying at the impact
effect TE_SUPERSPIKE
count 1
type smoke
tex 0 8
color 0x505050 0x505050
size 4 4
sizeincrease 4
alpha 255 255 128
originjitter 0 0 0
velocityjitter 0 0 0
// sparks that disappear on impact
effect TE_SUPERSPIKE
count 30
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 0 256 768
gravity 1
bounce -1
velocityoffset 0 0 80
velocityjitter 64 64 64

// quake effect
// decal
// used nowhere in code
effect TE_SUPERSPIKEQUAD
countabsolute 1
type decal
tex 56 59
size 3 3
alpha 256 256 0
originjitter 6 6 6
lightradius 100
lightradiusfade 500
lightcolor 0.15 0.15 1.5
// dust/smoke drifting away from the impact
effect TE_SUPERSPIKEQUAD
count 8
type smoke
tex 0 8
color 0x101010 0x101010
size 3 3
sizeincrease 3
alpha 255 255 256
originjitter 0 0 0
velocityjitter 8 8 8
// dust/smoke staying at the impact
effect TE_SUPERSPIKEQUAD
count 1
type smoke
tex 0 8
color 0x505050 0x505050
size 4 4
sizeincrease 4
alpha 255 255 128
originjitter 0 0 0
velocityjitter 0 0 0
// sparks that disappear on impact
effect TE_SUPERSPIKEQUAD
count 30
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 0 256 768
gravity 1
bounce -1
velocityoffset 0 0 80
velocityjitter 64 64 64

// shotgun pellet impact
// decal
// used in qcsrc/server/bots.qc:			//te_gunshot(org)
// used in qcsrc/server/bots.qc:					te_gunshot(org)
// used in qcsrc/server/bots.qc:					te_gunshot(org)
// used in qcsrc/server/bots.qc:						te_gunshot(org)
// used in qcsrc/server/bots.qc:		//te_gunshot(end)
effect TE_GUNSHOT
countabsolute 1
type decal
tex 56 59
size 3 3
alpha 256 256 0
originjitter 6 6 6
// dust/smoke drifting away from the impact
effect TE_GUNSHOT
count 4
type smoke
tex 0 8
color 0x101010 0x101010
size 3 3
sizeincrease 3
alpha 128 128 64
originjitter 0 0 0
velocityjitter 8 8 8
// dust/smoke staying at the impact
effect TE_GUNSHOT
count 1
type smoke
tex 0 8
color 0x505050 0x505050
size 4 4
sizeincrease 4
alpha 128 128 64
originjitter 0 0 0
velocityjitter 0 0 0
// bouncing sparks
effect TE_GUNSHOT
count 10
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 0 64 64
gravity 1
bounce 1.5
velocityoffset 0 0 80
velocityjitter 64 64 64

// crylink impact effect
// decal
// used nowhere in code
effect TE_GUNSHOTQUAD
countabsolute 1
type decal
tex 47 47
size 8 8
alpha 256 256 0
originjitter 12 12 12
//lightradius 100
//lightradiusfade 300
//lightcolor 0.5 0.5 0.5
// purple flare effect
effect TE_GUNSHOTQUAD
countabsolute 1
type static
tex 39 39
color 0x504060 0x504060
size 8 8
alpha 256 256 512
// purple sparks
effect TE_GUNSHOTQUAD
count 12
type spark
color 0xA040C0 0xFFFFFF
size 1 1
alpha 128 128 384
gravity 1
bounce 1.5
velocityoffset 0 0 80
velocityjitter 128 128 128

// mortar/hagar explosion (smaller than rocket)
// decal
// used nowhere in code
effect TE_EXPLOSION
countabsolute 1
type decal
tex 8 16
size 48 48
alpha 256 256 0
originjitter 40 40 40
lightradius 350
lightradiusfade 700
lightcolor 4 2 0.5
// flare effect
effect TE_EXPLOSION
countabsolute 1
type static
tex 35 37
color 0x404040 0x404040
size 48 48
alpha 192 192 64
// fire effect which expands then slows
effect TE_EXPLOSION
notunderwater
count 128
type static
tex 48 55
color 0x902010 0xFFD080
size 16 16
alpha 128 128 256
bounce 1.5
airfriction 4
liquidfriction 4
originjitter 8 8 8
velocityjitter 256 256 256
// underwater bubbles
effect TE_EXPLOSION
underwater
count 32
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.25
originjitter 16 16 16
velocityjitter 96 96 96
// bouncing sparks
effect TE_EXPLOSION
notunderwater
count 32
type spark
color 0x903010 0xFFD030
size 2 2
alpha 256 256 384
gravity 1
airfriction 0.2
bounce 1.5
liquidfriction 0.8
velocityoffset 0 0 80
velocityjitter 256 256 256

// quake effect
// decal
// used nowhere in code
effect TE_EXPLOSIONQUAD
countabsolute 1
type decal
tex 8 16
size 48 48
alpha 256 256 0
originjitter 40 40 40
lightradius 350
lightradiusfade 700
lightcolor 4 2 8
// smoke cloud
effect TE_EXPLOSIONQUAD
notunderwater
count 32
type smoke
color 0x202020 0x404040
tex 0 8
size 12 12
alpha 32 32 64
velocityjitter 48 48 48
// underwater bubbles
effect TE_EXPLOSIONQUAD
underwater
count 32
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.25
originjitter 16 16 16
velocityjitter 96 96 96
// sparks which go through walls
effect TE_EXPLOSIONQUAD
notunderwater
count 128
type spark
color 0x903010 0xFFD030
size 1 1
alpha 0 256 512
gravity 1
airfriction 0.2
liquidfriction 0.8
velocityoffset 0 0 80
velocityjitter 256 256 256

// quake effect
// decal
// used in qcsrc/server/keyhunt.qc:	te_tarexplosion(lostkey.origin)
effect TE_TAREXPLOSION
countabsolute 1
type decal
tex 8 16
size 48 48
alpha 256 256 0
originjitter 40 40 40
lightradius 600
lightradiusfade 1200
lightcolor 1.6 0.8 2
// smoke cloud
effect TE_TAREXPLOSION
notunderwater
count 32
type smoke
color 0x202020 0x404040
tex 0 8
size 12 12
alpha 32 32 64
velocityjitter 48 48 48
// underwater bubbles
effect TE_TAREXPLOSION
underwater
count 32
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.25
originjitter 16 16 16
velocityjitter 96 96 96
// sparks which go through walls
effect TE_TAREXPLOSION
notunderwater
count 128
type spark
color 0x903010 0xFFD030
size 1 1
alpha 0 256 512
gravity 1
airfriction 0.2
liquidfriction 0.8
velocityoffset 0 0 80
velocityjitter 256 256 256

// bloody impact effect indicating damage
// used nowhere in code
effect TE_BLOOD
count 0.333
type blood
tex 24 32
size 8 8
alpha 256 256 64
bounce -1
airfriction 1
liquidfriction 4
velocityjitter 64 64 64
velocitymultiplier 1

// sparks (quake effect)
// used in qcsrc/server/antilag.qc:		te_spark(antilag_takebackorigin(e, time - e.antilag_debug), '0 0 0', 32)
// used in qcsrc/server/g_triggers.qc:	self.mdl = "TE_SPARK"
effect TE_SPARK
count 1
type spark
tex 40 40
color 0x8f4333 0xfff31b
size 0.4 0.6
alpha 64 256 768
gravity 1
bounce -1
velocityoffset 0 0 80
velocityjitter 64 64 64
velocitymultiplier 1

// nex impact
// decal
// used in qcsrc/server/bots.qc:		te_plasmaburn(org)
effect TE_PLASMABURN
countabsolute 1
type decal
tex 47 47
size 24 24
alpha 256 256 0
originjitter 16 16 16
lightradius 200
lightradiusfade 400
lightcolor 1 1 1
// flare effect
effect TE_PLASMABURN
countabsolute 1
type static
tex 37 37
color 0x80C0FF 0x80C0FF
size 8 8
alpha 256 256 512
// small sparks which form a sphere as they slow down
effect TE_PLASMABURN
count 256
type spark
color 0x2030FF 0x80C0FF
size 1 2
alpha 256 256 1024
bounce 2
airfriction 8
liquidfriction 8
velocityjitter 128 128 128

// quake effect
// used in qcsrc/server/bots.qc:	//te_smallflash((e.absmin + e.absmax) * 0.5)
// used in qcsrc/server/bots.qc:		//te_smallflash((e.absmin + e.absmax) * 0.5)
effect TE_SMALLFLASH
lightradius 200
lightradiusfade 1000
lightcolor 2 2 2

// quake effect
// used nowhere in code
effect TE_FLAMEJET
count 1
type smoke
color 0x6f0f00 0xe3974f
size 4 4
alpha 64 128 384
gravity -1
bounce 1.1
airfriction 1
liquidfriction 4
velocityjitter 128 128 128
velocitymultiplier 1

// quake effect
// used nowhere in code
effect TE_LAVASPLASH
count 64
type alphastatic
color 0x6f0f00 0xe3974f
size 12 12
alpha 256 256 256
gravity 0.05
originoffset 0 0 32
originjitter 128 128 32
velocityoffset 0 0 256
velocityjitter 128 128 0

// player teleport effect
// used nowhere in code
effect TE_TELEPORT
count 112
type static
color 0xA0A0A0 0xFFFFFF
size 10 10
alpha 64 128 256
airfriction 1
liquidfriction 4
originoffset 0 0 28
originjitter 16 16 28
velocityjitter 0 0 256

// nex beam
// used in qcsrc/server/w_minstanex.qc:	trailparticles(world, particleeffectnum("TE_TEI_G3"), w_shotorg, trace_endpos)
effect TE_TEI_G3
countabsolute 1
type beam
tex 60 60
color 0xFFFFFF 0xFFFFFF
size 4 4
alpha 128 128 256
// experimental
effect TE_TEI_G3
trailspacing 2
type static
color 0x202020 0x404040
size 1 1
alpha 256 256 512
airfriction -4
//liquidfriction -4
velocityjitter 8 8 8
type smoke

// smoke effect
// used nowhere in code
effect TE_TEI_SMOKE
count 0.333
type smoke
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 256 256 512
originjitter 1.5 1.5 1.5
velocityjitter 6 6 6
velocitymultiplier 1

// rocket explosion (bigger than mortar and hagar)
// decal
// used nowhere in code
effect TE_TEI_BIGEXPLOSION
countabsolute 1
type decal
tex 8 16
size 72 72
alpha 256 256 0
originjitter 40 40 40
lightradius 500
lightradiusfade 500
lightcolor 4 2 0.5
// flare effect
effect TE_TEI_BIGEXPLOSION
countabsolute 1
type static
tex 35 37
color 0x404040 0x404040
size 72 72
alpha 192 192 64
// fire effect
effect TE_TEI_BIGEXPLOSION
notunderwater
count 256
type static
tex 48 55
color 0x902010 0xFFD080
size 16 16
alpha 128 128 256
bounce 1.5
airfriction 4
liquidfriction 4
originjitter 8 8 8
velocityjitter 512 512 512
// underwater bubbles
effect TE_TEI_BIGEXPLOSION
underwater
count 64
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.25
originjitter 16 16 16
velocityjitter 144 144 144
// bouncing sparks
effect TE_TEI_BIGEXPLOSION
notunderwater
count 128
type spark
color 0x903010 0xFFD030
size 2 2
alpha 256 256 384
gravity 1
airfriction 0.2
bounce 1.5
liquidfriction 0.8
velocityoffset 0 0 80
velocityjitter 384 384 384

// electro explosion
// decal
// used nowhere in code
effect TE_TEI_PLASMAHIT
countabsolute 1
type decal
tex 59 59
size 32 32
alpha 256 256 0
originjitter 20 20 20
lightradius 200
lightradiusfade 600
lightcolor 2.4 4.8 8
// flare effect
effect TE_TEI_PLASMAHIT
countabsolute 1
type static
tex 38 38
color 0x80C0FF 0x80C0FF
size 32 32
alpha 256 256 512
// cloud of bouncing sparks
effect TE_TEI_PLASMAHIT
count 1
type spark
color 0x2030FF 0x80C0FF
size 2 4
alpha 256 256 1024
//gravity 1
bounce 1.5
//velocityoffset 0 0 120
velocityjitter 512 512 512









//////////////////////////////////////////////////
// New effects in 2.4
//////////////////////////////////////////////////



// bloody impact effect indicating damage
// used in qcsrc/server/cl_player.qc:		pointparticles(particleeffectnum("blood"), hitloc, force, bound(0, damage, 200))
// used in qcsrc/server/cl_player.qc:		pointparticles(particleeffectnum("blood"), hitloc, force, bound(0, damage, 200))
// used in qcsrc/server/g_violence.qc:		pointparticles(particleeffectnum("blood"), self.origin + '0 0 1', '0 0 30', 10)
effect blood
count 0.333
type blood
tex 24 32
size 8 8
alpha 256 256 64
bounce -1
airfriction 1
liquidfriction 4
velocityjitter 64 64 64
velocitymultiplier 1



// player teleport effect
// used in qcsrc/server/t_teleporters.qc:	pointparticles(particleeffectnum("teleport"), player.origin, '0 0 0', 1)
// used in qcsrc/server/t_teleporters.qc:	pointparticles(particleeffectnum("teleport"), to + v_forward * 32, '0 0 0', 1)
effect teleport
count 112
type static
color 0xA0A0A0 0xFFFFFF
size 10 10
alpha 64 128 256
airfriction 1
liquidfriction 4
originoffset 0 0 28
originjitter 16 16 28
velocityjitter 0 0 256



// normal super gory blood trail (used by gibs)
// used nowhere in code
effect TR_BLOOD
trailspacing 16
type blood
color 0xFFFFFF 0xFFFFFF
tex 24 32
size 8 8
alpha 384 384 192
bounce -1
airfriction 1
liquidfriction 4
velocityjitter 64 64 64
velocitymultiplier 0.5



// thinner blood trail (used by quake zombies)
// used nowhere in code
effect TR_SLIGHTBLOOD
trailspacing 32
type blood
color 0xFFFFFF 0xFFFFFF
tex 24 32
size 8 8
alpha 384 384 192
bounce -1
airfriction 1
liquidfriction 4
velocityjitter 64 64 64
velocitymultiplier 0.5



// func_stardust effect, used in some maps to indicate teleporters
// used in qcsrc/server/assault.qc:		//self.effects = EF_STARDUST
// used in qcsrc/server/g_triggers.qc:	self.effects = EF_STARDUST
// used in qcsrc/server/portals.qc:	portal.effects = EF_STARDUST | EF_BLUE
effect EF_STARDUST
count 75
type static
color 0xfff368 0xfff368
size 1.0 2.0
alpha 64 128 128
gravity -0.1
airfriction 0.2
liquidfriction 0.8
originjitter 16 16 64
velocityjitter 32 32 0
//lightradius 200
//lighttime 0
//lightcolor 0.4 0.9 0.9


// flare particle and light
// used in qcsrc/server/t_items.qc:	//pointparticles(particleeffectnum("item_respawn"), self.origin + self.mins_z * '0 0 1' + '0 0 48', '0 0 0', 1)
// used in qcsrc/server/t_items.qc:	pointparticles(particleeffectnum("item_respawn"), self.origin + 0.5 * (self.mins + self.maxs), '0 0 0', 1)
effect item_respawn
countabsolute 1
type static
color 0x63F2EA 0x63f2EA
size 32 32
alpha 128 128 128
// cloud of particles which expand rapidly and then slow to form a ball
effect item_respawn
count 64
type spark
tex 41 41
color 0x63F2EA 0x63f2EA
size 2 2
alpha 256 256 1280
//originjitter 24 24 24
velocityjitter 256 256 256



// used in qcsrc/server/t_jumppads.qc:			pointparticles(particleeffectnum("jumppad_activate"), other.origin, other.velocity, 1)
effect jumppad_activate
lightradius 200
lightradiusfade 2000
lightcolor 2 2 2



// used in qcsrc/server/w_laser.qc:	pointparticles(particleeffectnum("laser_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
effect laser_muzzleflash
count 1
type smoke
color 0xFFFFFF 0xFFFFFF
tex 0 8
size 5 5
alpha 64 64 128
airfriction 12
originjitter 1.5 1.5 1.5
velocityjitter 6 6 6
velocitymultiplier 0.01
lightradius 200
lightradiusfade 2000
lightcolor 3 0.1 0.1



// decal
// used in qcsrc/server/w_laser.qc:	pointparticles(particleeffectnum("laser_impact"), org2, normal * 1000, 1)
effect laser_impact
countabsolute 1
type decal
tex 47 47
size 24 24
alpha 256 256 0
originjitter 16 16 16
lightradius 200
lightradiusfade 500
lightcolor 8 0.4 0.4
// flare effect
effect laser_impact
countabsolute 1
type static
tex 39 39
color 0xFF2010 0xFF2010
alpha 256 256 1024
size 24 24
// sparks that rapidly expand and rapidly slow down to form an interesting spherical effect
effect laser_impact
count 256
type spark
color 0x800000 0xFF8020
alpha 256 256 1024
size 4 4
//bounce 1.5
airfriction 6
liquidfriction 6
//originjitter 32 32 32
velocityjitter 256 256 256
effect laser_impact
count 8
type smoke
tex 48 55
color 0x800000 0xFF8020
size 12 12
alpha 128 256 256
originjitter 1 1 1
velocitymultiplier 0.01
velocityjitter 16 16 16
sizeincrease 6



// used in qcsrc/server/w_shotgun.qc:	pointparticles(particleeffectnum("shotgun_muzzleflash"), w_shotorg, w_shotdir * 1000, cvar("g_balance_shotgun_primary_ammo"))
// used in qcsrc/server/w_shotgun.qc:	pointparticles(particleeffectnum("shotgun_muzzleflash"), w_shotorg, w_shotdir * 1000, cvar("g_balance_shotgun_secondary_ammo"))
effect shotgun_muzzleflash
count 3
type smoke
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 256 256 512
originjitter 1.5 1.5 1.5
velocityjitter 6 6 6
velocitymultiplier 0.01
lightradius 200
lightradiusfade 2000
lightcolor 2 1.5 0.2
sizeincrease 12
velocitymultiplier 0.05
effect shotgun_muzzleflash
count 10
type spark
tex 40 40
color 0xFFFDD9 0xff5a00
size 2 2
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 444 444 444
velocitymultiplier 1.7
gravity 0.3
airfriction 5



// shotgun pellet impact
// decal
// used in qcsrc/server/w_common.qc:				pointparticles(particleeffectnum("shotgun_impact"), trace_endpos, trace_plane_normal * 1000, 1)
effect shotgun_impact
countabsolute 1
type decal
tex 56 59
size 3 3
alpha 256 256 0
originjitter 6 6 6
//lightradius 30
//lightradiusfade 90
//lightcolor 1 1 1
// dust/smoke drifting away from the impact
effect shotgun_impact
count 5
type smoke
tex 0 8
color 0xFFFFFF 0xA37443
size 7 7
alpha 0 64 32
originjitter 1 1 1
airfriction 7
liquidfriction 16
velocityjitter 100 100 100
sizeincrease 12
velocitymultiplier 0.25
// dust/smoke staying at the impact
effect shotgun_impact
count 1
type smoke
tex 0 8
color 0xFFFFFF 0xFFFFFF
size 17 17
alpha 64 64 32
sizeincrease 4
// sparks
effect shotgun_impact
notunderwater
count 20
type spark
tex 40 40
color 0xFDFFD9 0xFDFFD9
size 0.6 0.6
alpha 256 256 768
gravity 1
bounce 1
airfriction 5
originjitter 1 1 1
velocityjitter 400 400 400
velocitymultiplier 0.1



// used in qcsrc/server/w_uzi.qc:	pointparticles(particleeffectnum("uzi_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
effect uzi_muzzleflash
count 2
type static
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 256 256 512
originjitter 1.5 1.5 1.5
velocityjitter 1 1 1
velocitymultiplier 0.03
lightradius 200
lightradiusfade 2000
lightcolor 2 1.5 0.2
gravity -0.1
effect uzi_muzzleflash
count 20
type spark
tex 40 40
color 0xFFFDD9 0xFFFDD9
size 2 2
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 300 300 300
velocitymultiplier 0.5
airfriction 12


// decal
// used in qcsrc/server/cl_client.qc:	//pointparticles(particleeffectnum("machinegun_impact"), self.origin + self.view_ofs + '0 0 7', '0 0 0', 1)
// used in qcsrc/server/w_common.qc:				pointparticles(particleeffectnum("machinegun_impact"), trace_endpos, trace_plane_normal * 1000, 1)
effect machinegun_impact
countabsolute 1
type decal
tex 56 59
size 5 5
alpha 256 256 0
originjitter 6 6 6
lightradius 80
lightradiusfade 800
lightcolor 6 3.6 0.6
// dust/smoke drifting away from the impact
effect machinegun_impact
count 5
type smoke
tex 0 8
color 0xFFFFFF 0xA37443
size 7 7
alpha 0 64 32
originjitter 1 1 1
airfriction 7
liquidfriction 16
velocityjitter 100 100 100
sizeincrease 12
velocitymultiplier 0.25
// dust/smoke staying at the impact
effect machinegun_impact
count 1
type smoke
tex 0 8
color 0xFFFFFF 0xFFFFFF
size 17 17
alpha 64 64 32
sizeincrease 4
// sparks
effect machinegun_impact
notunderwater
count 20
type spark
tex 40 40
color 0xFDFFD9 0xFDFFD9
size 0.3 0.3
alpha 256 256 768
gravity 1
bounce 1
airfriction 5
originjitter 1 1 1
velocityjitter 400 400 400
velocitymultiplier 0.1



// used in qcsrc/server/w_grenadelauncher.qc:	pointparticles(particleeffectnum("grenadelauncher_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
// used in qcsrc/server/w_grenadelauncher.qc:	pointparticles(particleeffectnum("grenadelauncher_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
// used in qcsrc/server/w_porto.qc:	//pointparticles(particleeffectnum("grenadelauncher_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
effect grenadelauncher_muzzleflash
count 3
type smoke
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 256 256 512
originjitter 1.5 1.5 1.5
airfriction 12
velocityjitter 20 20 20
velocitymultiplier 0.03
lightradius 200
lightradiusfade 2000
lightcolor 2 1.5 0.2
effect grenadelauncher_muzzleflash
count 30
type spark
tex 40 40
color 0xFFFDD9 0xFFFDD9
size 3 3
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 300 300 300
velocitymultiplier 0.5
airfriction 12



// hagar trail
// smoke
// used in qcsrc/server/w_hagar.qc:	missile.modelflags = MF_GRENADE
// used in qcsrc/server/w_hagar.qc:	missile.modelflags = MF_GRENADE
// used in qcsrc/server/w_porto.qc:	gren.modelflags = MF_GRENADE
effect TR_GRENADE
trailspacing 6
type alphastatic
color 0x303030 0x000000
tex 0 8
size 1 2
bounce 1
sizeincrease 2
alpha 100 200 280
originjitter 1 1 1
velocityjitter 1 1 1
velocitymultiplier -0.02
//gravity -0.11
// fire
effect TR_GRENADE
notunderwater
trailspacing 2
type static
color 0xffdf72 0x811200
tex 48 55
size 1 2
sizeincrease -15
alpha 100 144 988
airfriction 8
velocityjitter 32 32 32
velocitymultiplier -1.0
// bubbles
effect TR_GRENADE
underwater
trailspacing 8
type bubble
tex 62 62
color 0x404040 0x808080
size 1 1
alpha 256 256 256
gravity -0.125
bounce 1.5
liquidfriction 4
velocityjitter 16 16 16



// mortar trail
// smoke
// used in qcsrc/server/w_grenadelauncher.qc:	gren.modelflags = MF_TRACER2
// used in qcsrc/server/w_grenadelauncher.qc:	gren.modelflags = MF_TRACER2
// used in qcsrc/server/w_hook.qc:	gren.modelflags = MF_TRACER2
effect TR_KNIGHTSPIKE // used for MF_TRACER2
notunderwater
trailspacing 5
type alphastatic
color 0x303030 0x000000
tex 0 8
size 3 3
bounce 1
sizeincrease 11
alpha 100 200 400
originjitter 2 2 2
velocityjitter 3 3 3
velocitymultiplier -0.02
gravity -0.11
//marker
effect TR_KNIGHTSPIKE // used for MF_TRACER2
type alphastatic
color 0xFF0000 0xFF0000
tex 62 62
size 1 1 
sizeincrease -0.1
trailspacing 1
alpha 256 256 720
// bubbles
effect TR_KNIGHTSPIKE // used for MF_TRACER2
underwater
trailspacing 16
type bubble
tex 62 62
color 0x404040 0x808080
size 1 1
alpha 256 256 256
gravity -0.125
bounce 1.5
liquidfriction 4
velocityjitter 16 16 16



// decal
// used in qcsrc/server/w_grenadelauncher.qc:	pointparticles(particleeffectnum("grenade_explode"), org2, '0 0 0', 1)
// used in qcsrc/server/w_grenadelauncher.qc:	pointparticles(particleeffectnum("grenade_explode"), org2, '0 0 0', 1)
effect grenade_explode
countabsolute 1
type decal
tex 8 16
size 48 48
alpha 256 256 0
originjitter 40 40 40
lightradius 250
lightradiusfade 400
lightcolor 8 4 1
// fire effect which expands then slows
effect grenade_explode
notunderwater
count 80
type static
tex 48 55
color 0xe03f00 0x5e0000
size 16 26
sizeincrease 20
alpha 128 228 356
bounce 4.5
airfriction 8
liquidfriction 8
originjitter 8 8 8
velocityjitter 256 256 256
// fire effect which make brigt dot inside
effect grenade_explode
notunderwater
count 30
type static
tex 48 55
color 0xe03f00 0xffdf92
size 6 16
sizeincrease 40
alpha 228 328 756
bounce 1
airfriction 8
liquidfriction 8
originjitter 8 8 8
velocityjitter 256 256 256
// smoke
effect grenade_explode
type alphastatic
notunderwater
tex 0 8
count 20
size 20 40
sizeincrease 34
alpha 500 600 556
velocityjitter 256 256 256
airfriction 5
color 0x000000 0x111111
bounce 6
// underwater bubbles
effect grenade_explode
underwater
count 32
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.25
originjitter 16 16 16
velocityjitter 96 96 96
// bouncing sparks
effect grenade_explode
notunderwater
count 16
type spark
color 0x903010 0xFFD030
size 2 2
tex 40 40
alpha 256 256 384
gravity 1
airfriction 0.2
bounce 1.5
liquidfriction 0.8
velocityoffset 0 0 80
velocityjitter 256 256 256



// used in qcsrc/server/w_electro.qc:	pointparticles(particleeffectnum("electro_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
// used in qcsrc/server/w_electro.qc:	pointparticles(particleeffectnum("electro_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
effect electro_muzzleflash
count 1
type smoke
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 256 256 512
originjitter 1.5 1.5 1.5
velocityjitter 6 6 6
velocitymultiplier 0.01
lightradius 200
lightradiusfade 2000
lightcolor 2 1.5 0.2
effect electro_muzzleflash
count 30
type spark
tex 31 31
color 0xD9FDFF 0xD9FDFF
size 3 3
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 300 300 300
velocitymultiplier 0.5
airfriction 12



// electro trail
// glowing vapor trail
// used nowhere in code
effect TR_NEXUIZPLASMA
trailspacing 2
type static
color 0x283880 0x283880
size 3 3
tex 62 62
alpha 256 256 968
//velocityjitter 16 16 16
lightradius 90
lighttime 0
lightcolor 1.5 3 6
velocitymultiplier -0.1
// bright sparks
effect TR_NEXUIZPLASMA
trailspacing 6
count 3
type snow
tex 42 42
color 0x629dff 0x0018ff
size 2 4
sizeincrease -20
alpha 444 512 1866
bounce 1
velocityoffset 0 0 15
airfriction 12
originjitter 1 1 1
velocityjitter 50 50 50



// decal
// used in qcsrc/server/w_electro.qc:		pointparticles(particleeffectnum("electro_impact"), org2, '0 0 0', 1)
effect electro_impact
countabsolute 1
type decal
tex 59 59
size 32 32
alpha 256 256 0
originjitter 20 20 20
lightradius 250
lightradiusfade 250
lightcolor 3.125 4.375 10
// flare effect
effect electro_impact
countabsolute 1
type static
tex 38 38
color 0x80C0FF 0x80C0FF
size 12 32
alpha 256 256 512
// cloud of bouncing sparks
effect electro_impact
count 60
type smoke
tex 42 42
color 0x629dff 0x0018ff
size 36 36
sizeincrease -50
alpha 256 256 1024
bounce 2
gravity -0.3
airfriction 6
originjitter 1 1 1
velocityjitter 512 512 512
// inner cloud of smoke
effect electro_impact
count 60
type smoke
color 0x629dff 0x0018ff
tex 0 8
size 20 24
sizeincrease 50
alpha 200 256 512
airfriction 30
originjitter 20 20 20
velocityjitter 320 320 320

// decal
// used in qcsrc/server/w_electro.qc:		pointparticles(particleeffectnum("electro_ballexplode"), org2, '0 0 0', 1)
effect electro_ballexplode
countabsolute 1
type decal
tex 59 59
size 32 32
alpha 256 256 0
originjitter 20 20 20
lightradius 250
lightradiusfade 250
lightcolor 3.125 4.375 10
// flare effect
effect electro_ballexplode
countabsolute 1
type static
tex 38 38
color 0x80C0FF 0x80C0FF
size 32 32
alpha 256 256 512
// cloud of bouncing sparks
effect electro_ballexplode
count 128
type spark
tex 41 41
color 0xFDFFD9 0xFDFFD9
size 16 16
alpha 256 256 1024
bounce 2
//airfriction 2
originjitter 1 1 1
velocityjitter 512 512 512
// inner cloud of smoke
effect electro_ballexplode
count 16
type smoke
color 0x202020 0x404040
tex 0 8
size 24 24
alpha 256 256 512
originjitter 20 20 20
velocityjitter 32 32 32



// decal
// used in qcsrc/server/w_electro.qc:	pointparticles(particleeffectnum("electro_combo"), org2, '0 0 0', 1)
effect electro_combo
countabsolute 1
type decal
tex 59 59
size 64 64
alpha 256 256 0
originjitter 34 34 34
lightradius 400
lightradiusfade 300
lightcolor 4 5 6
// flare effect
effect electro_combo
countabsolute 1
type static
tex 38 38
color 0x80C0FF 0x80C0FF
size 48 48
alpha 128 128 64
// large sparks
effect electro_combo
count 20
type static
color 0x2030FF 0x80C0FF
size 32 32
alpha 256 256 256
bounce 2
airfriction 6
liquidfriction 16
//velocityoffset 0 0 120
velocityjitter 512 512 512
effect electro_combo
count 64
type spark
tex 41 41
color 0xFDFFD9 0xFDFFD9
size 16 16
alpha 444 512 866
bounce 2
//airfriction 2
originjitter 1 1 1
velocityjitter 512 512 512
// inner cloud of smoke
effect electro_combo
count 0.25
type smoke
color 0x202020 0x404040
tex 0 8
size 24 24
alpha 256 256 256
originjitter 20 20 20
velocityjitter 32 32 32



// used in qcsrc/server/w_crylink.qc:	pointparticles(particleeffectnum("crylink_muzzleflash"), w_shotorg, w_shotdir * 1000, shots)
// used in qcsrc/server/w_crylink.qc:	pointparticles(particleeffectnum("crylink_muzzleflash"), w_shotorg, w_shotdir * 1000, shots)
effect crylink_muzzleflash
count 1
type smoke
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 128 128 256
originjitter 1.5 1.5 1.5
velocityjitter 6 6 6
velocitymultiplier 0.01
lightradius 200
lightradiusfade 2000
lightcolor 2 1.5 0.2
effect crylink_muzzleflash
count 10
type spark
tex 40 40
color 0xA080C0 0xA080C0
size 3 3
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 200 200 200
velocitymultiplier 0.3
airfriction 12



// crylink impact effect
// decal
// used in qcsrc/server/w_crylink.qc:	pointparticles(particleeffectnum("crylink_impact"), self.origin, '0 0 0', 1)
effect crylink_impact
countabsolute 1
type decal
tex 47 47
size 8 8
alpha 256 256 0
originjitter 12 12 12
//lightradius 60
//lightradiusfade 300
//lightcolor 3.2 0.4 4
// purple flare effect
effect crylink_impact
countabsolute 1
type static
tex 39 39
color 0x504060 0x504060
size 8 8
alpha 256 256 512
// purple sparks
effect crylink_impact
count 20
type spark
tex 41 41
color 0xA040C0 0xA040C0
bounce 2
size 4 4
alpha 256 256 1024
velocityjitter 256 256 256
// purple splash
effect crylink_impact
count 3
type static
color 0xE070FF 0xE070FF
size 8 8
alpha 256 256 512
velocityjitter 8 8 8
// purple splash
effect crylink_impact
count 3
type static
color 0xE070FF 0xE070FF
size 8 8
alpha 256 256 1024
velocityjitter 32 32 32



// used in qcsrc/server/w_minstanex.qc:	pointparticles(particleeffectnum("nex_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
// used in qcsrc/server/w_nex.qc:	pointparticles(particleeffectnum("nex_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
effect nex_muzzleflash
count 10
type smoke
color 0x202020 0x404040
tex 0 8
size 16 16
alpha 128 128 192
originjitter 4 4 4
velocityjitter 24 24 24
velocitymultiplier 0.02
lightradius 200
lightradiusfade 200
lightcolor 2 2.5 3
effect nex_muzzleflash
count 150
type spark
tex 41 41
color 0xD9FDFF 0xD9FDFF
size 3 3
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 600 600 600
velocitymultiplier 0.5
airfriction 9



//// nex beam
//effect nex_beam
//countabsolute 1
//type beam
//tex 60 60
//color 0xFFFFFF 0xFFFFFF
//size 6 6
//alpha 128 128 192
// nex beam: ring smoke
// used in qcsrc/server/w_nex.qc:	trailparticles(world, particleeffectnum("nex_beam"), w_shotorg, trace_endpos)
effect nex_beam
trailspacing 32
color 0x1680A0 0x1680A0
size 4 4
tex 32 32
alpha 64 128 64
airfriction 5
sizeincrease 2
type static
// nex beam: drifting smoke
effect nex_beam
trailspacing 6
color 0x5080A0 0x5080A0
size 1 1
tex 0 8
alpha 32 64 32
airfriction 9
sizeincrease 8
velocityjitter 64 64 64
type static
// nex beam: bright core
effect nex_beam
trailspacing 6
color 0x80CDFF 0x80CDFF
size 4 4
//tex 48 55
alpha 256 256 1280
type static
//sparks
effect nex_beam
trailspacing 8
color 0x1680A0 0x1680A0
size 1 1
tex 63 63
alpha 64 128 80
airfriction 5
gravity -0.01
type snow

// nex impact
// decal
// used in qcsrc/server/w_minstanex.qc:		pointparticles(particleeffectnum("nex_impact"), trace_endpos - w_shotdir * 6, '0 0 0', 1)
// used in qcsrc/server/w_nex.qc:		pointparticles(particleeffectnum("nex_impact"), trace_endpos - w_shotdir * 6, '0 0 0', 1)
effect nex_impact
countabsolute 1
type decal
tex 47 47
size 24 24
alpha 256 256 0
originjitter 16 16 16
lightradius 200
lightradiusfade 250
lightcolor 4 6 8
// shockwave
effect nex_impact
countabsolute 1
type static
tex 34 34
size 16 16
alpha 100 100 300
sizeincrease 200


// flare effect
effect nex_impact
countabsolute 1
type static
tex 37 37
color 0x80C0FF 0x80C0FF
size 8 8
alpha 256 256 256
// small sparks which form a sphere as they slow down
//effect nex_impact
//count 256
//type spark
//color 0x2030FF 0x80C0FF
//size 1 2
//alpha 256 256 512
//bounce 2
//airfriction 8
//liquidfriction 8
//velocityjitter 384 384 384
// small sparks which glow brightly but live briefly
effect nex_impact
count 128
type spark
tex 41 41
color 0xD9FDFF 0xD9FDFF
size 4 4
alpha 0 128 512
bounce 2
velocityjitter 600 600 600
velocitymultiplier 0.5
airfriction 9



// used in qcsrc/server/w_hagar.qc:	pointparticles(particleeffectnum("hagar_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
// used in qcsrc/server/w_hagar.qc:	pointparticles(particleeffectnum("hagar_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
effect hagar_muzzleflash
count 4
type smoke
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 256 256 512
originjitter 1.5 1.5 1.5
velocityjitter 6 6 6
velocitymultiplier 0.01
lightradius 200
lightradiusfade 2000
lightcolor 2 1.5 0.2
effect hagar_muzzleflash
count 30
type spark
tex 40 40
color 0xFFFDD9 0xFFFDD9
size 3 3
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 300 300 300
velocitymultiplier 0.5
airfriction 12



// used in qcsrc/server/w_hagar.qc:		pointparticles(particleeffectnum("hagar_bounce"), self.origin, self.velocity, 1)
effect hagar_bounce
count 4
type smoke
color 0x202020 0x404040
tex 0 8
size 5 5
alpha 256 256 256
originjitter 1.5 1.5 1.5
velocityjitter 6 6 6
velocitymultiplier 0.01
lightradius 60
lightradiusfade 300
lightcolor 2 1.5 0.2
effect hagar_bounce
count 30
type spark
tex 40 40
color 0xFFFDD9 0xFFFDD9
size 3 3
alpha 0 256 256
gravity 1
bounce 1.5
originjitter 1 1 1
velocityjitter 600 600 600
velocitymultiplier 0.5
airfriction 12



// decal
// used in qcsrc/server/w_hagar.qc:	pointparticles(particleeffectnum("hagar_explode"), org2, '0 0 0', 1)
// used in qcsrc/server/w_hagar.qc:	pointparticles(particleeffectnum("hagar_explode"), org2, '0 0 0', 1)
effect hagar_explode
countabsolute 1
type decal
tex 8 16
size 28 38
alpha 256 256 0
originjitter 40 40 40
lightradius 250
lightradiusfade 400
lightcolor 8 4 1
// fire effect which make bright dot inside
effect hagar_explode
notunderwater
count 12
type smoke
tex 48 55
color 0xffe955 0xff5a00
size 16 26
sizeincrease 5
alpha 128 256 456
bounce 1.5
airfriction 8
liquidfriction 8
originjitter 8 8 8
velocityjitter 156 156 156
// fire effect which expands then slows
effect hagar_explode
notunderwater
count 24
type static
tex 48 55
color 0x8f0d00 0xff5a00
size 20 26
sizeincrease 15
alpha 128 256 456
bounce 1.5
airfriction 12
liquidfriction 8
originjitter 8 8 8
velocityjitter 256 256 256

// smoke
effect hagar_explode
type alphastatic
notunderwater
tex 0 8
count 20
size 20 40
sizeincrease 20
alpha 500 600 556
velocityjitter 244 244 244
airfriction 5
color 0x000000 0x111111
bounce 2

// underwater bubbles
effect hagar_explode
underwater
count 32
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.25
originjitter 16 16 16
velocityjitter 96 96 96
// bouncing sparks
effect hagar_explode
notunderwater
count 16
type spark
color 0x903010 0xFFD030
size 2 2
tex 40 40
alpha 256 256 384
gravity 1
airfriction 0.2
bounce 1.5
liquidfriction 0.8
velocityoffset 0 0 80
velocityjitter 256 256 256



// used in qcsrc/server/w_rocketlauncher.qc:	pointparticles(particleeffectnum("rocketlauncher_muzzleflash"), w_shotorg, w_shotdir * 1000, 1)
effect rocketlauncher_muzzleflash
count 20
type smoke
color 0x202020 0x404040
tex 0 8
size 1 1
sizeincrease 20
alpha 256 256 256
airfriction 2
originjitter 1.5 1.5 1.5
velocityjitter 40 40 40
velocitymultiplier -0.13
//lightradius 200
//lightradiusfade 2000
//lightcolor 2 1.5 0.2
effect rocketlauncher_muzzleflash
count 30
type spark
tex 40 40
color 0xFFFDD9 0xFFFDD9
size 3 3
alpha 0 128 1024
originjitter 1 1 1
velocityjitter 300 300 300
velocitymultiplier 0.5
airfriction 12



// rocket trail
// smoke
// used nowhere in code
effect TR_ROCKET
trailspacing 5
type alphastatic
color 0x303030 0x000000
tex 0 8
size 1 4
bounce 1
sizeincrease 11
alpha 200 300 200
lightradius 150
lighttime 0
lightcolor 6 3 1
originjitter 2 2 2
velocityjitter 3 3 3
velocitymultiplier -0.02
//gravity -0.11
// fire
effect TR_ROCKET
notunderwater
trailspacing 2
type static
color 0xffdf72 0x811200
tex 48 55
size 7 7
sizeincrease -30
alpha 100 144 588
airfriction 8
velocityjitter 32 32 32
velocitymultiplier -1.5
// bubbles
effect TR_ROCKET
underwater
trailspacing 8
type bubble
tex 62 62
color 0x404040 0x808080
size 1 1
alpha 256 256 256
gravity -0.125
bounce 1.5
liquidfriction 4
velocityjitter 16 16 16
// sparks
effect TR_ROCKET
trailspacing 10
type spark
tex 40 40
color 0xFFFDD9 0xFFFDD9
size 1 1
alpha 444 512 1866
//gravity 1
bounce 1
//velocityoffset 0 0 15
airfriction 5
originjitter 1 1 1
velocityjitter 100 100 100
velocitymultiplier -0.31

// rocket explosion (bigger than mortar and hagar)
// decal
// used in qcsrc/server/cl_player.qc:				pointparticles(particleeffectnum("rocket_explode"), self.origin, '0 0 0', 1)
// used in qcsrc/server/portals.qc:		pointparticles(particleeffectnum("rocket_explode"), portal.origin + v_forward * 16, v_forward * 1024, 4)
// used in qcsrc/server/w_rocketlauncher.qc:	pointparticles(particleeffectnum("rocket_explode"), org2, '0 0 0', 1)
effect rocket_explode
countabsolute 1
type decal
tex 8 16
size 72 72
alpha 256 256 0
originjitter 40 40 40
lightradius 400
lightradiusfade 750
lightcolor 8 4 1
// fire effect
effect rocket_explode
notunderwater
count 64
type static
tex 48 55
color 0x8f0d00 0xff5a00
size 33 44
sizeincrease 45
alpha 200 256 512
bounce 1.5
airfriction 8
liquidfriction 8
originjitter 8 8 8
velocityjitter 512 512 512
// fire effect 2
effect rocket_explode
notunderwater
count 28
type smoke
tex 48 55
color 0xea691b 0xeed05a
size 33 44
sizeincrease 55
alpha 200 256 612
bounce 2.5
airfriction 19
liquidfriction 19
originjitter 8 8 8
velocityjitter 912 912 912
// smoke
effect rocket_explode
type alphastatic
notunderwater
tex 0 8
count 64
size 20 40
sizeincrease 44
alpha 400 500 456
velocityjitter 444 444 444
airfriction 5
color 0x000000 0x111111
bounce 2
// underwater bubbles
effect rocket_explode
underwater
count 64
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.25
originjitter 16 16 16
velocityjitter 144 144 144
// bouncing sparks
effect rocket_explode
notunderwater
count 64
type spark
tex 40 40
color 0xffa800 0xffedaf
size 1 1
sizeincrease 2
alpha 44 256 384
gravity 1
airfriction -1
bounce 1.5
liquidfriction 0.8
velocityoffset 0 0 80
originjitter 16 16 16
velocityjitter 224 224 324



// used in qcsrc/server/g_hook.qc:	pointparticles(particleeffectnum("grapple_muzzleflash"), org, '0 0 0', 1)
effect grapple_muzzleflash
lightradius 160
lightradiusfade 800
lightcolor 1 0 0



// used in qcsrc/server/g_hook.qc:	pointparticles(particleeffectnum("grapple_impact"), self.origin, '0 0 0', 1)
effect grapple_impact
lightradius 160
lightradiusfade 800
lightcolor 1 0 0



// used nowhere in code
effect nex242_misc_laser_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0xff0000 0xff0000
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100



// used nowhere in code
effect nex242_misc_laser_beam_fast
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 640
color 0xff0000 0xff0000
sizeincrease 0.1

// used nowhere in code
effect nex242_misc_laser_beam_fast_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// additional laser colors (mike)
// used nowhere in code
effect nex242_misc_laser_green_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0x00ff00 0x00ff00
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_green_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// used nowhere in code
effect nex242_misc_laser_blue_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0x0000ff 0x0000ff
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_blue_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// used nowhere in code
effect nex242_misc_laser_yellow_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0xffff00 0xffff00
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_yellow_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// used nowhere in code
effect nex242_misc_laser_cyan_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0x00ffff 0x00ffff
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_cyan_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// used nowhere in code
effect nex242_misc_laser_magenta_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0xff00ff 0xff00ff
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_magenta_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// used nowhere in code
effect nex242_misc_laser_white_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0xffffff 0xffffff
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_white_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// used nowhere in code
effect nex242_misc_laser_black_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0x000000 0x000000
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_black_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100

// used nowhere in code
effect nex242_misc_laser_orange_beam
countabsolute 1
type beam
tex 60 60
size 1 1
alpha 256 256 64
color 0xff6600 0xff6600
sizeincrease 1

// used nowhere in code
effect nex242_misc_laser_orange_beam_end
count 1
type spark
color 0x8f4333 0xfff31b
size 0.4 0.4
alpha 128 256 768
gravity 1
bounce -1
velocityjitter 64 64 64
velocitymultiplier 100




// bigger crylink impact effect
// decal
// used in qcsrc/server/w_crylink.qc:	pointparticles(particleeffectnum("crylink_impactbig"), self.origin, '0 0 0', 1)
effect crylink_impactbig
countabsolute 1
type decal
tex 47 47
size 24 24
alpha 256 256 0
originjitter 12 12 12
//lightradius 200
//lightradiusfade 800
//lightcolor 3.2 0.4 4
// purple flare effect
effect crylink_impactbig
countabsolute 1
type static
tex 39 39
color 0x504060 0x504060
size 24 24
alpha 256 256 512
// purple sparks
effect crylink_impactbig
count 80
type spark
tex 41 41
color 0xA040C0 0xA040C0
bounce 2
size 6 6
alpha 256 256 1024
velocityjitter 512 512 512
// purple splash
effect crylink_impactbig
count 3
type static
color 0xE070FF 0xE070FF
size 16 16
alpha 256 256 512
velocityjitter 32 32 32
// purple splash
effect crylink_impactbig
count 6
type static
color 0xE070FF 0xE070FF
size 16 16
alpha 256 256 1024
velocityjitter 256 256 256

// Zero-violence effects

// impact effect indicating damage
// used in qcsrc/server/cl_player.qc:		pointparticles(particleeffectnum("damage_hit"), hitloc, force, bound(0, damage, 200))
effect damage_hit
count 1
type static
color 0x20FF30 0x80FFC0
size 1 1
alpha 256 256 256
gravity -0.4
bounce 1.5
airfriction 8
liquidfriction 16
//velocityoffset 0 0 120
velocityjitter 16 16 16

// effect for removing player model
// "teleport"
// used in qcsrc/server/cl_player.qc:			pointparticles(particleeffectnum("damage_dissolve"), self.origin, force, 1)
effect damage_dissolve
count 96
type static
color 0x66FF66 0xFFFFFF
size 10 10
alpha 64 128 128
airfriction 1
liquidfriction 4
originoffset 0 0 28
originjitter 16 16 28
velocityjitter 0 0 256
// flare
effect damage_dissolve
countabsolute 1
type static
tex 38 38
color 0x00FF00 0x99FF99
size 32 32
alpha 256 256 196
// large sparks
effect damage_dissolve
count 20
type static
color 0x00FF00 0x99FF99
size 16 16
alpha 256 256 256
//gravity 1
bounce 1.5
airfriction 4
liquidfriction 16
//velocityoffset 0 0 120
velocityjitter 512 512 512

// decal
// used in qcsrc/server/g_triggers.qc:			self.cnt = particleeffectnum("laser_deadly")
effect laser_deadly
countabsolute 1
type decal
tex 56 59
size 5 5
alpha 256 256 0
originjitter 6 6 6
// dust/smoke drifting away from the impact
effect laser_deadly
count 0.05 // 50 per second
type smoke
tex 48 55
color 0xFFFFFF 0xFFFFFF
size 3 3
alpha 0 64 64
originjitter 1 1 1
airfriction 7
liquidfriction 16
velocityjitter 15 15 15
sizeincrease 2
velocitymultiplier 20
// sparks
effect laser_deadly
notunderwater
count 0.05 // 50 per second
type spark
tex 40 40
color 0xFDFFD9 0xFDFFD9
size 0.6 0.6
alpha 256 256 768
gravity 1
bounce 1
airfriction 5
originjitter 1 1 1
velocityjitter 100 100 100
velocitymultiplier 100


//torch
//fire
// used nowhere in code
effect torch_small
//notunderwater
count 16
type smoke
tex 48 55
size 1 11
alpha 200 256 512
gravity -0.5
color 0x8f0d00 0xff5a00
//bounce 1
sizeincrease -1
originjitter 5 5 5
velocityjitter 1 1 50
// smoke
effect torch_small
type alphastatic
count 8
tex 0 8
size 5 10
sizeincrease 5
alpha 200 256 200
color 0x000000 0x111111
gravity -0.3
originjitter 3 3 3
velocityjitter 11 11 50
//bounce 1

//fountain01
// used nowhere in code
effect fountain01
count 32
tex 0 8
size 10 15
alpha 0 100 100
gravity 0.6
bounce 1
sizeincrease 20
type snow
bounce 1
originjitter 5 5 5
velocityjitter 81 81 150
color 0x7cbaff 0xcfd1ff
velocitymultiplier 2



// decal
// used in qcsrc/server/w_hook.qc:	pointparticles(particleeffectnum("hookbomb_explode"), org2, '0 0 0', 1)
effect hookbomb_explode
countabsolute 1
type decal
tex 8 16
size 96 96
alpha 256 256 0
originjitter 40 40 40
lightradius 1600
lightradiusfade 800
lightcolor 1 4 8
// fire effect which make brigt dot inside
effect hookbomb_explode
notunderwater
count 100
type static
tex 48 55
color 0x003fe0 0x92dfff
size 12 32
sizeincrease 80
alpha 512 328 756
bounce 1
airfriction 8
liquidfriction 8
originjitter 8 8 8
velocityjitter 1024 1024 1024
// smoke
effect hookbomb_explode
type alphastatic
notunderwater
tex 0 8
count 160
size 80 160
sizeincrease 300
alpha 500 600 556
velocityoffset 0 0 0
velocityjitter 256 256 256
airfriction 0
color 0x000000 0x111111
bounce 6
// underwater bubbles
effect hookbomb_explode
underwater
count 60
type bubble
tex 62 62
color 0x404040 0x808080
size 3 3
alpha 128 256 64
gravity -0.125
bounce 1.5
liquidfriction 0.0625
originjitter 16 16 16
velocityjitter 192 192 192


// smoke
effect EF_MGTURRETTRAIL
notunderwater
trailspacing 2
type smoke
color 0xd0d0a0 0xfffff0
tex 0 8
size 6 2
alpha 16 32 16
// bubbles
effect EF_MGTURRETTRAIL
underwater
trailspacing 16
type bubble
tex 62 62
color 0x404040 0x808080
size 1 1
alpha 256 256 256
gravity -0.125
bounce 1.5
liquidfriction 4
velocityjitter 16 16 16

