diff --git a/platform/data.pk3dir/particles/default.cfg b/platform/data.pk3dir/particles/default.cfg deleted file mode 100755 index 6cd9752f..00000000 --- a/platform/data.pk3dir/particles/default.cfg +++ /dev/null @@ -1,231 +0,0 @@ -r_part beam_tripmine -{ - texture "particles/fteparticlefont.tga" - tcoords 97 97 191 191 256 - scale 1 - scaledelta 0.5 - alpha 0.4 - step 4 - randomvel 0 - rgb 0 255 200 - rgbdelta 0 -150 -150 - type beam - blend add -} - -r_part te_beam -{ - texture "particles/fteparticlefont.tga" - tcoords 97 97 191 191 256 - scale 1 - scaledelta 0.5 - alpha 1 - step 4 - randomvel 0 - rgb 255 150 0 - rgbdelta 0 -150 -150 - type beam - blend add -} - -r_part part_spark -{ - type texturedspark - texture ball - tcoords 1 65 31 95 256 8 32 - scale 1 - count 8 - scalefactor 1 - alpha 0.5 - die 0.8 - rgb 255 115 0 - blend add - spawnmode ball - spawnorg 1 - spawnvel 100 - veladd 100 - friction 0.5 - gravity 800 -} - -r_part part_pieces_black -{ - type ball - texture ball - tcoords 1 65 31 95 256 8 32 - scale 4 - count 18 - scalefactor 1 - alpha 1 - die 0.8 - rgb 25 25 25 - spawnmode ball - spawnorg 1 - spawnvel 100 - veladd 100 - friction 0.3 - gravity 800 -} - -r_part part_smoke_brown -{ - texture ball - tcoords 1 65 31 95 256 8 32 - count 3 - scale 25 - scalefactor 1 - die 1 - alpha 0.5 - rgb 155 90 0 - blend add - spawnmode ball - spawnorg 2 - spawnvel 20 - veladd 20 -} - -r_part part_smoke_grey -{ - texture ball - tcoords 1 65 31 95 256 8 32 - count 3 - scale 25 - scalefactor 1 - die 1 - alpha 0.5 - rgb 25 25 25 - blend add - spawnmode ball - spawnorg 2 - spawnvel 20 - veladd 20 -} - -r_part part_blood -{ - type texturedspark - texture ball - tcoords 1 65 31 95 256 8 32 - scale 1 - count 12 - scalefactor 1 - alpha 0.2 - die 0.8 - rgb 200 0 0 - spawnmode ball - spawnorg 1 - spawnvel 100 - veladd -100 - friction 0.3 - gravity 800 -} - -r_part decal_shot -{ - type decal - blend premul_subtract - texture "particles/decal_shot" - tcoords 0 0 0.125 1 1 8 0.125 - rgbf 1 1 1 - alpha 1 - alphadelta -0.05 - scale 8 8 - scalefactor 1 - stretchfactor 1 - die 20 20 - orgwrand 6 6 6 - randomvel 0 0 0 - rotationstart -180 180 -} - -r_part decal_glass -{ - type decal - blend add - texture "particles/decal_glass" - tcoords 0 0 0.125 1 1 8 0.125 - rgbf 1 1 1 - alpha 1 - alphadelta -0.05 - scale 24 24 - scalefactor 1 - stretchfactor 1 - die 20 20 - orgwrand 6 6 6 - randomvel 0 0 0 - rotationstart -180 180 -} - -///////////////////////////////////////////////// -//rocket explosions -r_part ember -{ - count 1 - texture "particles/fteparticlefont.tga" - tcoords 97 97 191 191 256 - rgb 255 128 76 - alpha 0 - scale 15 - scalefactor 1 - friction 8 - gravity 50 - die 1 - blend add - randomvel 5 - veladd 1 - rampmode delta - ramp 0 0 0 -0.5 0 - ramp 0 0 0 0.1 0 - ramp 0 0 0 0.1 0 - ramp 0 0 0 0.1 0 - ramp 0 0 0 0.1 0 - ramp 0 0 0 0.1 0 -} - -//the bits that fly off -r_part expgib -{ - cliptype expgib - texture "particles/fteparticlefont.tga" - tcoords 97 97 191 191 256 - alpha 0 - count 16 - die 1 - randomvel 128 - gravity 50 - friction 2 - emit ember - emitinterval 0.01 - spawnmode circle -} - -//the heart of the explosion -r_part te_explosion -{ - texture "particles/fteparticlefont.tga" - tcoords 97 97 191 191 256 - count 1 - scale 200 - scalefactor 1 - die 1 - rgb 255 128 76 - rgbdelta 0 -32 -32 - friction 1 - blend add - assoc expgib -} - -r_part smokegren -{ - texture ball - count 1 - scale 512 - scalefactor 1 - die 3 - alpha 0.7 - rgb 128 128 128 - spawnmode ball - gravity -25 - veladd -20 - randomvel 64 -64 -} diff --git a/platform/data.pk3dir/particles/fx.cfg b/platform/data.pk3dir/particles/fx.cfg deleted file mode 100644 index cb73615f..00000000 --- a/platform/data.pk3dir/particles/fx.cfg +++ /dev/null @@ -1,48 +0,0 @@ -r_part view_spark -{ - type texturedspark - texture ball - scale 1 - count 4 - scalefactor 1 - alpha 0.5 - die 0.8 - rgb 255 180 0 - blend add - spawnmode ball - spawnvel 15 - veladd 150 - gravity 800 -} - -r_part gunsmoke -{ - texture ball - count 1 - scale 16 - die 1 - rgb 25 25 25 - spawnmode ball - blend add - gravity -50 - veladd -20 - spawnorg 0.25 - randomvel 2.25 -15 - scalefactor 1 -} - -r_part gunsmoke2 -{ - texture ball - count 1 - scale 64 - die 5 3 - rgb 255 255 255 - alpha 0.1 - blend add - spawnmode ball - gravity -20 - viewspace 0.9 - spawnorg 0.1 - randomvel -1 -15 -} diff --git a/src/client/cstrike/init.c b/src/client/cstrike/init.c index 86c29985..6ef29129 100644 --- a/src/client/cstrike/init.c +++ b/src/client/cstrike/init.c @@ -148,5 +148,4 @@ Game_RendererRestarted(string rstr) precache_model("sprites/top.spr"); precache_model("sprites/top_left.spr"); precache_model("sprites/top_right.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); } diff --git a/src/client/gearbox/init.c b/src/client/gearbox/init.c index 65c4c186..e93bb549 100644 --- a/src/client/gearbox/init.c +++ b/src/client/gearbox/init.c @@ -60,5 +60,5 @@ Game_RendererRestarted(string rstr) precache_model("sprites/ofch2.spr"); precache_model("sprites/320hudof01.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); + BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam"); } diff --git a/src/client/hunger/init.c b/src/client/hunger/init.c index ae3c046a..2c29b0c6 100644 --- a/src/client/hunger/init.c +++ b/src/client/hunger/init.c @@ -58,5 +58,5 @@ Game_RendererRestarted(string rstr) precache_model("sprites/tfchud06.spr"); precache_model("sprites/tfc_dmsg.spr"); precache_model("sprites/nmxhair2.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); + BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam"); } diff --git a/src/client/poke646/init.c b/src/client/poke646/init.c index 7d1d7dfc..93ca42e3 100644 --- a/src/client/poke646/init.c +++ b/src/client/poke646/init.c @@ -54,5 +54,5 @@ Game_RendererRestarted(string rstr) precache_model("sprites/hud640_02.spr"); precache_model("sprites/hud640_04.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); + BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam"); } diff --git a/src/client/rewolf/init.c b/src/client/rewolf/init.c index b72c59dc..7121cc82 100644 --- a/src/client/rewolf/init.c +++ b/src/client/rewolf/init.c @@ -45,5 +45,5 @@ void Game_RendererRestarted(string rstr) precache_model("sprites/640hud5.spr"); precache_model("sprites/640hud6.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); + BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam"); } diff --git a/src/client/scihunt/init.c b/src/client/scihunt/init.c index 5ee71a75..1a1d0577 100644 --- a/src/client/scihunt/init.c +++ b/src/client/scihunt/init.c @@ -51,5 +51,5 @@ void Game_RendererRestarted(string rstr) precache_model("sprites/hammer.spr"); precache_model("sprites/w_cannon.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); + BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam"); } diff --git a/src/client/tfc/init.c b/src/client/tfc/init.c index 5f3ed36a..f9b09d44 100644 --- a/src/client/tfc/init.c +++ b/src/client/tfc/init.c @@ -65,5 +65,5 @@ Game_RendererRestarted(string rstr) precache_model("sprites/hammer.spr"); precache_model("sprites/w_cannon.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); + BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam"); } diff --git a/src/client/valve/init.c b/src/client/valve/init.c index 4948b846..5fcc3a6d 100644 --- a/src/client/valve/init.c +++ b/src/client/valve/init.c @@ -47,5 +47,5 @@ Game_RendererRestarted(string rstr) precache_model("sprites/640hud4.spr"); precache_model("sprites/640hud5.spr"); precache_model("sprites/640hud6.spr"); - BEAM_TRIPMINE = particleeffectnum("beam_tripmine"); + BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam"); } diff --git a/src/shared/cstrike/fx_impact.c b/src/shared/cstrike/fx_impact.c index 8a6b92c1..6f879b4a 100644 --- a/src/shared/cstrike/fx_impact.c +++ b/src/shared/cstrike/fx_impact.c @@ -15,11 +15,10 @@ */ #ifdef CLIENT -var float DECAL_SHOT; -var float DECAL_GLASS; -var float PARTICLE_PIECES_BLACK; -var float PARTICLE_SMOKE_BROWN; -var float PARTICLE_SMOKE_GREY; +var int FX_IMPACT_BLACKBITS; +var int FX_IMPACT_SMOKE_BROWN; +var int FX_IMPACT_SMOKE_GREY; +var int FX_IMPACT_SPARK; void FX_Impact_Init(void) @@ -35,11 +34,10 @@ FX_Impact_Init(void) precache_sound("weapons/ric4.wav"); precache_sound("weapons/ric5.wav"); - DECAL_SHOT = particleeffectnum("decal_shot"); - DECAL_GLASS = particleeffectnum("decal_glass"); - PARTICLE_PIECES_BLACK = particleeffectnum("part_pieces_black"); - PARTICLE_SMOKE_GREY = particleeffectnum("part_smoke_grey"); - PARTICLE_SMOKE_BROWN = particleeffectnum("part_smoke_brown"); + FX_IMPACT_BLACKBITS = particleeffectnum("fx_impact.blackbits"); + FX_IMPACT_SMOKE_GREY = particleeffectnum("fx_impact.smoke_grey"); + FX_IMPACT_SMOKE_BROWN = particleeffectnum("fx_impact.smoke_brown"); + FX_IMPACT_SPARK = particleeffectnum("fx_impact.spark"); } #endif @@ -79,26 +77,26 @@ FX_Impact(int iType, vector vecPos, vector vNormal) case IMPACT_EXPLOSION: break; case IMPACT_GLASS: - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); break; case IMPACT_WOOD: - FX_Spark(vecPos, vNormal); - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); - pointparticles(PARTICLE_SMOKE_BROWN, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SPARK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SMOKE_BROWN, vecPos, vNormal, 1); break; case IMPACT_METAL: - FX_Spark(vecPos, vNormal); - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SPARK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); break; case IMPACT_FLESH: FX_Blood(vecPos, vNormal); break; case IMPACT_DEFAULT: - FX_Spark(vecPos, vNormal); - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); - pointparticles(PARTICLE_SMOKE_GREY, vecPos, vNormal, 1); - break; default: + pointparticles(FX_IMPACT_SPARK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SMOKE_GREY, vecPos, vNormal, 1); + break; } switch (iType) { diff --git a/src/shared/cstrike/w_c4bomb.c b/src/shared/cstrike/w_c4bomb.c index 9d67782b..bb3538df 100644 --- a/src/shared/cstrike/w_c4bomb.c +++ b/src/shared/cstrike/w_c4bomb.c @@ -149,10 +149,12 @@ w_c4bomb_precache(void) precache_sound("weapons/c4_beep4.wav"); precache_sound("weapons/c4_beep5.wav"); precache_sound("weapons/c4_explode1.wav"); -#endif - precache_model("models/v_c4.mdl"); precache_model("models/w_c4.mdl"); precache_model("models/p_c4.mdl"); + precache_model("sprites/ledglow.spr"); +#else + precache_model("models/v_c4.mdl"); +#endif } void diff --git a/src/shared/sound.c b/src/shared/sound.c index 18c08505..230efcb4 100644 --- a/src/shared/sound.c +++ b/src/shared/sound.c @@ -14,6 +14,9 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +.float maxspeed; +.float flags; + var hashtable g_hashsounds; enumflags @@ -303,7 +306,7 @@ Sound_Play(entity target, int chan, string shader) float volume; float radius; float pitch; - int flags; + int flag; int sample; sample = (int)hash_get(g_hashsounds, shader); @@ -323,13 +326,13 @@ Sound_Play(entity target, int chan, string shader) /* flags */ if (g_sounds[sample].flags & SNDFL_NOREVERB) { - flags |= SOUNDFLAG_NOREVERB; + flag |= SOUNDFLAG_NOREVERB; } if (g_sounds[sample].flags & SNDFL_GLOBAL) { radius = ATTN_NONE; } if (g_sounds[sample].flags & SNDFL_LOOPING) { - flags |= SOUNDFLAG_FORCELOOP; + flag |= SOUNDFLAG_FORCELOOP; } if (g_sounds[sample].flags & SNDFL_NODUPS) { if (g_sounds[sample].playc >= g_sounds[sample].sample_count) { @@ -338,13 +341,18 @@ Sound_Play(entity target, int chan, string shader) r = g_sounds[sample].playc++; } if (g_sounds[sample].flags & SNDFL_FOLLOW) { - flags |= SOUNDFLAG_FOLLOW; + flag |= SOUNDFLAG_FOLLOW; } if (g_sounds[sample].flags & SNDFL_STEP) { float s = vlen(target.velocity); - if (s < 120) { + float m = target.maxspeed; + + if (target.flags & FL_CROUCHING) + m *= 2.0f; + + if (s <= (m * 0.5f)) { return; - } else if (s < 270) { + } else if (s < (m * 0.8f)) { volume = 0.35f; } else { volume = 0.75; @@ -352,11 +360,11 @@ Sound_Play(entity target, int chan, string shader) } #ifdef CLIENT if (g_sounds[sample].flags & SNDFL_OMNI) { - flags |= SOUNDFLAG_NOSPACIALISE; + flag |= SOUNDFLAG_NOSPACIALISE; } #else if (g_sounds[sample].flags & SNDFL_PRIVATE) { - flags |= SOUNDFLAG_UNICAST; + flag |= SOUNDFLAG_UNICAST; msg_entity = target; } #endif @@ -372,7 +380,7 @@ Sound_Play(entity target, int chan, string shader) volume, radius, pitch, - flags, + flag, g_sounds[sample].offset ); } diff --git a/src/shared/valve/fx_explosion.c b/src/shared/valve/fx_explosion.c index 07ff38ec..51b26285 100755 --- a/src/shared/valve/fx_explosion.c +++ b/src/shared/valve/fx_explosion.c @@ -15,6 +15,8 @@ */ #ifdef CLIENT +var int FX_EXPLOSION_MAIN; + void FX_Explosion_Init(void) { @@ -22,6 +24,7 @@ FX_Explosion_Init(void) precache_sound("weapons/explode4.wav"); precache_sound("weapons/explode5.wav"); precache_model("sprites/fexplo.spr"); + FX_EXPLOSION_MAIN = particleeffectnum("fx_explosion.main"); } #endif @@ -52,7 +55,7 @@ FX_Explosion(vector vecPos) eExplosion.framerate = 20; eExplosion.nextthink = time + 0.05f; - te_explosion(vecPos); + pointparticles(FX_EXPLOSION_MAIN, vecPos, [0,0,0], 1); #endif } diff --git a/src/shared/valve/fx_impact.c b/src/shared/valve/fx_impact.c index 8093048c..4a53ba42 100644 --- a/src/shared/valve/fx_impact.c +++ b/src/shared/valve/fx_impact.c @@ -15,11 +15,10 @@ */ #ifdef CLIENT -var float DECAL_SHOT; -var float DECAL_GLASS; -var float PARTICLE_PIECES_BLACK; -var float PARTICLE_SMOKE_BROWN; -var float PARTICLE_SMOKE_GREY; +var int FX_IMPACT_BLACKBITS; +var int FX_IMPACT_SMOKE_BROWN; +var int FX_IMPACT_SMOKE_GREY; +var int FX_IMPACT_SPARK; void FX_Impact_Init(void) @@ -30,11 +29,10 @@ FX_Impact_Init(void) precache_sound("weapons/ric4.wav"); precache_sound("weapons/ric5.wav"); - DECAL_SHOT = particleeffectnum("decal_shot"); - DECAL_GLASS = particleeffectnum("decal_glass"); - PARTICLE_PIECES_BLACK = particleeffectnum("part_pieces_black"); - PARTICLE_SMOKE_GREY = particleeffectnum("part_smoke_grey"); - PARTICLE_SMOKE_BROWN = particleeffectnum("part_smoke_brown"); + FX_IMPACT_BLACKBITS = particleeffectnum("fx_impact.blackbits"); + FX_IMPACT_SMOKE_GREY = particleeffectnum("fx_impact.smoke_grey"); + FX_IMPACT_SMOKE_BROWN = particleeffectnum("fx_impact.smoke_brown"); + FX_IMPACT_SPARK = particleeffectnum("fx_impact.spark"); } #endif @@ -71,26 +69,26 @@ FX_Impact(int iType, vector vecPos, vector vNormal) case IMPACT_EXPLOSION: break; case IMPACT_GLASS: - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); break; case IMPACT_WOOD: - FX_Spark(vecPos, vNormal); - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); - pointparticles(PARTICLE_SMOKE_BROWN, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SPARK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SMOKE_BROWN, vecPos, vNormal, 1); break; case IMPACT_METAL: - FX_Spark(vecPos, vNormal); - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SPARK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); break; case IMPACT_FLESH: FX_Blood(vecPos, vNormal); break; case IMPACT_DEFAULT: - FX_Spark(vecPos, vNormal); - pointparticles(PARTICLE_PIECES_BLACK, vecPos, vNormal, 1); - pointparticles(PARTICLE_SMOKE_GREY, vecPos, vNormal, 1); - break; default: + pointparticles(FX_IMPACT_SPARK, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_BLACKBITS, vecPos, vNormal, 1); + pointparticles(FX_IMPACT_SMOKE_GREY, vecPos, vNormal, 1); + break; } switch (iType) { diff --git a/valve/data.pk3dir/particles/fx_explosion.cfg b/valve/data.pk3dir/particles/fx_explosion.cfg new file mode 100644 index 00000000..376ab32f --- /dev/null +++ b/valve/data.pk3dir/particles/fx_explosion.cfg @@ -0,0 +1,54 @@ +r_part ember +{ + count 1 + texture "particles/fteparticlefont.tga" + tcoords 97 97 191 191 256 + rgb 255 128 76 + alpha 0 + scale 15 + scalefactor 1 + friction 8 + gravity 50 + die 1 + blend add + randomvel 5 + veladd 1 + rampmode delta + ramp 0 0 0 -0.5 0 + ramp 0 0 0 0.1 0 + ramp 0 0 0 0.1 0 + ramp 0 0 0 0.1 0 + ramp 0 0 0 0.1 0 + ramp 0 0 0 0.1 0 +} + +r_part expgib +{ + cliptype expgib + texture "particles/fteparticlefont.tga" + tcoords 97 97 191 191 256 + alpha 0 + count 16 + die 1 + randomvel 128 + gravity 50 + friction 2 + emit ember + emitinterval 0.01 + spawnmode circle +} + +r_part main +{ + texture "particles/fteparticlefont.tga" + tcoords 97 97 191 191 256 + count 1 + scale 200 + scalefactor 1 + die 1 + rgb 255 128 76 + rgbdelta 0 -32 -32 + friction 1 + blend add + assoc expgib +} diff --git a/valve/data.pk3dir/particles/fx_impact.cfg b/valve/data.pk3dir/particles/fx_impact.cfg new file mode 100644 index 00000000..132c8b58 --- /dev/null +++ b/valve/data.pk3dir/particles/fx_impact.cfg @@ -0,0 +1,72 @@ +r_part spark +{ + type texturedspark + texture ball + tcoords 1 65 31 95 256 8 32 + scale 1 + count 8 + scalefactor 1 + alpha 0.5 + die 0.8 + rgb 255 115 0 + blend add + spawnmode ball + spawnorg 1 + spawnvel 100 + veladd 100 + friction 0.5 + gravity 800 +} + +r_part blackbits +{ + type ball + texture ball + tcoords 1 65 31 95 256 8 32 + scale 4 + count 18 + scalefactor 1 + alpha 1 + die 0.8 + rgb 25 25 25 + spawnmode ball + spawnorg 1 + spawnvel 100 + veladd 100 + friction 0.3 + gravity 800 +} + +r_part smoke_brown +{ + texture ball + tcoords 1 65 31 95 256 8 32 + count 3 + scale 25 + scalefactor 1 + die 1 + alpha 0.5 + rgb 155 90 0 + blend add + spawnmode ball + spawnorg 2 + spawnvel 20 + veladd 20 +} + +r_part smoke_grey +{ + texture ball + tcoords 1 65 31 95 256 8 32 + count 3 + scale 25 + scalefactor 1 + die 1 + alpha 0.5 + rgb 25 25 25 + blend add + spawnmode ball + spawnorg 2 + spawnvel 20 + veladd 20 +} diff --git a/valve/data.pk3dir/particles/fx_spark.cfg b/valve/data.pk3dir/particles/fx_spark.cfg new file mode 100644 index 00000000..62ee1a61 --- /dev/null +++ b/valve/data.pk3dir/particles/fx_spark.cfg @@ -0,0 +1,19 @@ +r_part effect +{ + type texturedspark + texture ball + tcoords 1 65 31 95 256 8 32 + scale 1 + count 8 + scalefactor 1 + alpha 0.5 + die 0.8 + rgb 255 115 0 + blend add + spawnmode ball + spawnorg 1 + spawnvel 100 + veladd 100 + friction 0.5 + gravity 800 +} diff --git a/valve/data.pk3dir/particles/weapon_tripmine.cfg b/valve/data.pk3dir/particles/weapon_tripmine.cfg new file mode 100644 index 00000000..d2dfc0de --- /dev/null +++ b/valve/data.pk3dir/particles/weapon_tripmine.cfg @@ -0,0 +1,14 @@ +r_part beam +{ + texture "particles/fteparticlefont.tga" + tcoords 97 97 191 191 256 + scale 1 + scaledelta 0.5 + alpha 0.4 + step 4 + randomvel 0 + rgb 0 255 200 + rgbdelta 0 -150 -150 + type beam + blend add +}