mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-27 14:12:25 +00:00
c6c3d3f4e0
Quick hack preliminary d3d11 renderer. I'm not likely to touch this again for quite some time. Sys_Error works properly on android, with an error message shown. Should be less of a stab in the dark if you get errors. Seg faults are still instantly fatal. Not much I can reliably do about those - most of the juicy ones will likely occur within the gl drivers (even if its my fault) and java will still call in to it. Stereoscopic (quad-buffered) rendering is in the gl renderer. You'll likely need a quatro to use it despite it being a gl 1.0 feature. No idea about ati. See r_stereo_method for non-quad-buffered alternatives. Tweaked networking to not overflow so much. Needs testing against other qw clients. Fixed an issue with surface numbers > 32k on limit-breaking maps. Fixed a preparse issue resulting in QW clients dying with the ne_ruins map's progs. Support for the DP-variant of BSP2. The depricated RMQ variant is still supported. QTV proxy now uses ipv6 hybrid sockets where possible. Preliminary pext support. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4105 fc73d0e0-1445-4013-8a0c-d673dee63da5
2548 lines
44 KiB
C
2548 lines
44 KiB
C
/*
|
|
WARNING: THIS FILE IS GENERATED BY 'generatebuiltin.c'.
|
|
YOU SHOULD NOT EDIT THIS FILE BY HAND
|
|
*/
|
|
|
|
#include "r_partset.h"
|
|
|
|
|
|
char *particle_set_spikeset =
|
|
// spikeset, originally by Spike
|
|
// with contributions from TimeServ, purplehaze, Jedilamma
|
|
// and some others I probably forgot to mention
|
|
/////////////////////////////////////////////////
|
|
//rocket trails (derived from purplehaze's, with only minor tweeks)
|
|
|
|
"r_part rocketsmoke\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 8\n"
|
|
"scale 7.5\n"
|
|
"alpha 0.8\n"
|
|
"die 2\n"
|
|
"randomvel 3\n"
|
|
"rgb 10 10 10\n"
|
|
"blend modulate\n"
|
|
"spawnmode spiral\n"
|
|
"scalefactor 1\n"
|
|
"spawnvel 5\n"
|
|
"}\n"
|
|
|
|
"r_part rockettrail\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 4\n"
|
|
"scale 30\n"
|
|
"alpha 0.3\n"
|
|
"die 1.4\n"
|
|
"diesubrand 0.7\n"
|
|
"randomvel 1\n"
|
|
"rgb 255 50 10\n"
|
|
"rgbdelta -230 -45 -9\n"
|
|
"gravity -25\n"
|
|
"scalefactor 1\n"
|
|
"assoc rocketsmoke\n"
|
|
"spawnvel 10\n"
|
|
"}\n"
|
|
|
|
"r_part t_rocket\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 2\n"
|
|
"scale 10\n"
|
|
"alpha 0.6\n"
|
|
"die 0.25\n"
|
|
"rgb 255 192 128\n"
|
|
"rgbdelta -14 -300 -300\n"
|
|
"blend add\n"
|
|
"assoc rockettrail\n"
|
|
"scalefactor 0.8\n"
|
|
"scaledelta -10\n"
|
|
"}\n"
|
|
|
|
"r_part rockettail\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 7\n"
|
|
"scale 10\n"
|
|
"alpha 0.3\n"
|
|
"die 10\n"
|
|
"randomvel 64\n"
|
|
"veladd 512\n"
|
|
"rgb 192 192 192\n"
|
|
"gravity 100\n"
|
|
"cliptype rockettail\n"
|
|
"}\n"
|
|
|
|
"r_part t_altrocket\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 4\n"
|
|
"scale 10\n"
|
|
"alpha 0.3\n"
|
|
"die 0.7\n"
|
|
"randomvel 32\n"
|
|
"veladd 32\n"
|
|
"rgb 255 198 128\n"
|
|
"rgbdelta -64 0 0\n"
|
|
"gravity -100\n"
|
|
"blend add\n"
|
|
"assoc rockettail\n"
|
|
"}\n"
|
|
|
|
// te_railtrail, used with Quake 2 railgun and also used with
|
|
// TeamFortress engineer railgun
|
|
"r_part railtrailinner\n"
|
|
"{\n"
|
|
"step 30\n"
|
|
"scale 5\n"
|
|
"die 1\n"
|
|
"alpha 0.5\n"
|
|
"rgb 255 255 255\n"
|
|
"blend add\n"
|
|
"type beam\n"
|
|
"spawnvel 2 2\n"
|
|
"}\n"
|
|
|
|
"r_part railtrail240\n"
|
|
"{\n"
|
|
"step 15\n"
|
|
"scale 3\n"
|
|
"die 1\n"
|
|
"alpha 0\n"
|
|
"rgb 32 32 255\n"
|
|
"rampmode delta\n"
|
|
"ramp -255 -255 0 -2.5 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 -128 0.65 10\n"
|
|
"blend add\n"
|
|
"type beam\n"
|
|
"spawnmode spiral\n"
|
|
"spawnparam1 256\n"
|
|
"spawnparam2 240\n"
|
|
"spawnvel 12\n"
|
|
"assoc railtrailinner\n"
|
|
"}\n"
|
|
|
|
"r_part railtrail120\n"
|
|
"{\n"
|
|
"step 15\n"
|
|
"scale 3\n"
|
|
"die 1\n"
|
|
"alpha 0\n"
|
|
"rgb 32 32 255\n"
|
|
"rampmode delta\n"
|
|
"ramp -255 -255 0 -2.5 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 -128 0.65 10\n"
|
|
"blend add\n"
|
|
"type beam\n"
|
|
"spawnmode spiral\n"
|
|
"spawnparam1 256\n"
|
|
"spawnparam2 120\n"
|
|
"spawnvel 12\n"
|
|
"assoc railtrail240\n"
|
|
"}\n"
|
|
|
|
"r_part te_railtrail\n"
|
|
"{\n"
|
|
"step 15\n"
|
|
"scale 3\n"
|
|
"die 1\n"
|
|
"alpha 0\n"
|
|
"rgb 32 32 255\n"
|
|
"rampmode delta\n"
|
|
"ramp -255 -255 0 -2.5 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 0 0.65 0\n"
|
|
"ramp 0 0 -128 0.65 10\n"
|
|
"blend add\n"
|
|
"type beam\n"
|
|
"spawnmode spiral\n"
|
|
"spawnparam1 256\n"
|
|
"spawnvel 12\n"
|
|
"assoc railtrail120\n"
|
|
"}\n"
|
|
|
|
"r_part shortfume\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"scale 15\n"
|
|
"scaledelta 20\n"
|
|
"alpha 0.5\n"
|
|
"step 8\n"
|
|
"die 0.3\n"
|
|
"randomvel 12\n"
|
|
"scaledelta 0.81\n"
|
|
"rgb 150 150 150\n"
|
|
"}\n"
|
|
|
|
"r_part t_grenade\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 24\n"
|
|
"scale 16\n"
|
|
"scaledelta 4\n"
|
|
"alpha 0.3\n"
|
|
"die 4\n"
|
|
"randomvel 8\n"
|
|
"veladd 15\n"
|
|
"rgb 140 140 140\n"
|
|
"rgbdelta -55 -55 -55\n"
|
|
"gravity -50\n"
|
|
"scalefactor 0.0\n"
|
|
"assoc shortfume\n"
|
|
"}\n"
|
|
|
|
//cool's blood trails (cos they're cooler)
|
|
"r_part t_gib\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 1 63 63 256 2 64\n"
|
|
"step 32\n"
|
|
"scale 64\n"
|
|
"alpha 0.6\n"
|
|
"die 1\n"
|
|
"randomvel 64\n"
|
|
"veladd 10\n"
|
|
"rotationspeed 90\n"
|
|
"rotationstart 0 360\n"
|
|
"rgb 128 0 0\n"
|
|
"gravity 200\n"
|
|
"scalefactor 0.8\n"
|
|
"scaledelta -10\n"
|
|
"stains 5\n"
|
|
"}\n"
|
|
|
|
"r_part t_zomgib\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 1 63 63 256 2 64\n"
|
|
"step 64\n"
|
|
"scale 64\n"
|
|
"alpha 0.6\n"
|
|
"die 1\n"
|
|
"randomvel 64\n"
|
|
"veladd 10\n"
|
|
"rotationspeed 90\n"
|
|
"rotationstart 0 360\n"
|
|
"rgb 32 0 0\n"
|
|
"gravity 200\n"
|
|
"scalefactor 0.8\n"
|
|
"scaledelta -10\n"
|
|
"stains 5\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"scale 15\n"
|
|
"step 5\n"
|
|
"alpha 0.6\n"
|
|
"rgb 192 192 48\n"
|
|
"die 1\n"
|
|
"veladd 50\n"
|
|
"randomvel 50\n"
|
|
"friction 4\n"
|
|
"scalefactor 0.825\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer2\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"scale 15\n"
|
|
"step 5\n"
|
|
"alpha 0.6\n"
|
|
"die 1\n"
|
|
"rgb 192 96 48\n"
|
|
"veladd 50\n"
|
|
"randomvel 50\n"
|
|
"friction 4\n"
|
|
"scalefactor 0.825\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer3\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"scale 10\n"
|
|
"scaledelta -10\n"
|
|
"step 5\n"
|
|
"alpha 0.9\n"
|
|
"die 0.75\n"
|
|
"rgb 192 96 192\n"
|
|
"veladd 20\n"
|
|
"randomvel 5\n"
|
|
"spawnmode spiral\n"
|
|
"spawnvel 60 0\n"
|
|
"friction 4\n"
|
|
"scalefactor 0.825\n"
|
|
"}\n"
|
|
|
|
//qw blood
|
|
"r_part te_lightningblood\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 97 255 159 256\n"
|
|
"count 3\n"
|
|
"scale 20\n"
|
|
"alpha 0.4\n"
|
|
"die 2\n"
|
|
"randomvel 32\n"
|
|
"veladd 32\n"
|
|
"rgb 192 0 0\n"
|
|
"rgbdelta -128 0 0\n"
|
|
"gravity 100\n"
|
|
"friction 1\n"
|
|
"stains 1\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
//qw blood
|
|
"r_part te_blood\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 97 255 159 256\n"
|
|
"count 10\n"
|
|
"scale 10\n"
|
|
"alpha 0.3\n"
|
|
"die 2\n"
|
|
"randomvel 40\n"
|
|
"rgb 220 0 0\n"
|
|
"rgbdelta -100 0 0\n"
|
|
"gravity 200\n"
|
|
"stains 2\n"
|
|
"scalefactor 0.9\n"
|
|
"rotationstart 0 360\n"
|
|
"}\n"
|
|
|
|
//nq blood
|
|
"r_part pe_73\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 97 255 159 256\n"
|
|
"count 1\n"
|
|
"scale 20\n"
|
|
"alpha 0.3\n"
|
|
"die 2\n"
|
|
"randomvel 40\n"
|
|
"rgb 220 0 0\n"
|
|
"rgbdelta -100 0 0\n"
|
|
"gravity 200\n"
|
|
"stains 2\n"
|
|
"scalefactor 0.9\n"
|
|
"rotationstart 0 360\n"
|
|
"}\n"
|
|
|
|
/////////////////////////////////////////////////
|
|
//rocket explosions
|
|
"r_part ember\n"
|
|
"{\n"
|
|
"count 1\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"rgb 255 128 76\n"
|
|
"alpha 0\n"
|
|
"scale 15\n"
|
|
"scalefactor 1\n"
|
|
"friction 8\n"
|
|
"gravity 50\n"
|
|
"die 1\n"
|
|
"blend add\n"
|
|
"randomvel 5\n"
|
|
"veladd 1\n"
|
|
"rampmode delta\n"
|
|
"ramp 0 0 0 -0.5 0\n"
|
|
"ramp 0 0 0 0.1 0\n"
|
|
"ramp 0 0 0 0.1 0\n"
|
|
"ramp 0 0 0 0.1 0\n"
|
|
"ramp 0 0 0 0.1 0\n"
|
|
"ramp 0 0 0 0.1 0\n"
|
|
"}\n"
|
|
|
|
//the bits that fly off
|
|
"r_part expgib\n"
|
|
"{\n"
|
|
"cliptype expgib\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"alpha 0\n"
|
|
"count 16\n"
|
|
"die 1\n"
|
|
"randomvel 128\n"
|
|
"gravity 50\n"
|
|
"friction 2\n"
|
|
"emit ember\n"
|
|
"emitinterval 0.01\n"
|
|
"spawnmode circle\n"
|
|
"}\n"
|
|
|
|
//the heart of the explosion
|
|
"r_part te_explosion\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"count 1\n"
|
|
"scale 200\n"
|
|
"scalefactor 1\n"
|
|
"die 1\n"
|
|
"rgb 255 128 76\n"
|
|
"rgbdelta 0 -32 -32\n"
|
|
"friction 1\n"
|
|
"blend add\n"
|
|
"assoc expgib\n"
|
|
"}\n"
|
|
|
|
"r_part gunshotsmoke\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 65 31 95 256 8 32\n"
|
|
"count 3\n"
|
|
"scale 25\n"
|
|
"scalefactor 1\n"
|
|
"die 0.8\n"
|
|
"alpha 0.12\n"
|
|
"rgb 32 32 32\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 2\n"
|
|
"spawnvel 20\n"
|
|
"veladd -20\n"
|
|
"}\n"
|
|
|
|
"r_part te_gunshot\n"
|
|
"{\n"
|
|
"type texturedspark\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 65 31 95 256 8 32\n"
|
|
"count 3\n"
|
|
"scale 2\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.5\n"
|
|
"die 0.8\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 1\n"
|
|
"spawnvel 100\n"
|
|
"veladd -80\n"
|
|
"friction 0.3\n"
|
|
"gravity 400\n"
|
|
"assoc gunshotsmoke\n"
|
|
"}\n"
|
|
|
|
"r_part spikecore\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 1\n"
|
|
"scale 1\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta 190\n"
|
|
"die 0.1\n"
|
|
"alpha 0.6\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"assoc gunshotsmoke\n"
|
|
"}\n"
|
|
|
|
"r_part te_spike\n"
|
|
"{\n"
|
|
"type sparkfan\n"
|
|
"count 10\n"
|
|
"scale 1\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.5\n"
|
|
"die 0.2\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 12\n"
|
|
"spawnvel 300\n"
|
|
"assoc spikecore\n"
|
|
"}\n"
|
|
|
|
"r_part te_lavasplash\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 129 1 191 63 256\n"
|
|
"count 654\n"
|
|
"scale 15\n"
|
|
"alpha 0.7\n"
|
|
"die 4\n"
|
|
"randomvel 64\n"
|
|
"rgb 255 128 128\n"
|
|
"gravity 50\n"
|
|
"blend add\n"
|
|
"spawnorg 192 64\n"
|
|
"up 48\n"
|
|
"}\n"
|
|
|
|
//////////////////////////////////////////////////
|
|
//Teleport splash
|
|
|
|
//two rings moving upwards, costs less
|
|
"r_part teleportsplashdown\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 1 255 63 256\n"
|
|
"count 32\n"
|
|
"scale 32\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.3\n"
|
|
"die 1\n"
|
|
"veladd -52\n"
|
|
"rgb 255 255 255\n"
|
|
"friction 1\n"
|
|
"spawnorg 32 0\n"
|
|
"spawnmode uniformcircle\n"
|
|
"}\n"
|
|
"r_part te_teleportsplash\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 1 255 63 256\n"
|
|
"count 32\n"
|
|
"scale 32\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.3\n"
|
|
"die 1\n"
|
|
"veladd 52\n"
|
|
"rgb 255 255 255\n"
|
|
"friction 1\n"
|
|
"spawnorg 32 0\n"
|
|
"spawnmode uniformcircle\n"
|
|
"assoc teleportsplashdown\n"
|
|
"}\n"
|
|
|
|
//flame effect
|
|
"r_part cu_flame\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 129 1 191 63 256\n"
|
|
"count 1024\n"
|
|
"scale 0.4\n"
|
|
"scalerand 6\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.4\n"
|
|
"die 0.8\n"
|
|
"randomvel 4 24\n"
|
|
"veladd -24\n"
|
|
"rgb 255 128 76\n"
|
|
"blend add\n"
|
|
"up -8\n"
|
|
"spawnorg 6 0\n"
|
|
"spawnvel -15 0\n"
|
|
"}\n"
|
|
|
|
//flame effect
|
|
"r_part cu_torch\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 129 1 191 63 256\n"
|
|
"count 256\n"
|
|
"scale 3\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.7\n"
|
|
"die 0.5\n"
|
|
"randomvel 8\n"
|
|
"veladd -32\n"
|
|
"rgb 255 128 76\n"
|
|
"blend add\n"
|
|
"spawnmode circle\n"
|
|
"spawnorg 4 1\n"
|
|
"spawnvel -12 -8\n"
|
|
"}\n"
|
|
|
|
"r_part explodesprite\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"count 180\n"
|
|
"scale 70\n"
|
|
"scaledelta -140\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.2\n"
|
|
"die 0.5\n"
|
|
"randomvel 23\n"
|
|
"veladd -20\n"
|
|
"rgb 255 128 76\n"
|
|
"blend add\n"
|
|
"spawnorg 4 1\n"
|
|
"spawnvel -8 -2\n"
|
|
"up -8\n"
|
|
"}\n"
|
|
|
|
//you'll probably never see this one
|
|
"r_part ef_entityparticles\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 1\n"
|
|
"scale 15\n"
|
|
"alpha 0.2\n"
|
|
"die 0\n"
|
|
"veladd 16\n"
|
|
"rgb 255 128 128\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
// emp effect, based off of purplehaze's idea
|
|
"r_part empshocktrail\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 1 255 63 256\n"
|
|
"step 3.2\n"
|
|
"scale 3\n"
|
|
"alpha 0.7\n"
|
|
"die 0.2\n"
|
|
"rgb 64 0 255\n"
|
|
"blend add\n"
|
|
"scalefactor 1\n"
|
|
"spawnorg 12 0\n"
|
|
"}\n"
|
|
|
|
"r_part empcore\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 1 255 63 256\n"
|
|
"count 90\n"
|
|
"scale 55\n"
|
|
"scaledelta -110\n"
|
|
"die 0.55\n"
|
|
"rgb 168 128 255\n"
|
|
"spawnmode circle\n"
|
|
"spawnorg 12\n"
|
|
"spawnvel -192\n"
|
|
"blend add\n"
|
|
"scalefactor 0.8\n"
|
|
"emit empshocktrail\n"
|
|
"emitinterval -1\n"
|
|
"}\n"
|
|
|
|
|
|
"r_part empflash\n"
|
|
"{\n"
|
|
"die 0.1\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 193 1 255 63 256\n"
|
|
"alpha 1\n"
|
|
"count 1\n"
|
|
"scale 400\n"
|
|
"scaledelta -4000\n"
|
|
"alphadelta 0\n"
|
|
"rgb 192 160 255\n"
|
|
"blend add\n"
|
|
"scalefactor 1\n"
|
|
"assoc empcore\n"
|
|
"}\n"
|
|
|
|
"r_part te_tarexplosion\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 120\n"
|
|
"scale 35\n"
|
|
"die 0.75\n"
|
|
"alpha 0.4\n"
|
|
"rgb 128 0 255\n"
|
|
"rampmode delta\n"
|
|
"ramp -32 0 0 0\n"
|
|
"ramp -32 0 0 0\n"
|
|
"ramp -32 0 0 2\n"
|
|
"friction -0.9\n"
|
|
"blend add\n"
|
|
"spawnmode uniformcircle\n"
|
|
"spawnorg 24 0\n"
|
|
"spawnvel 280 0\n"
|
|
"scalefactor 1\n"
|
|
"emit empshocktrail\n"
|
|
"emitinterval -1\n"
|
|
"assoc empflash\n"
|
|
"}\n"
|
|
|
|
"r_part pe_default\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 1\n"
|
|
"scale 4\n"
|
|
"veladd 15\n"
|
|
"die 0.4\n"
|
|
"alphadelta 0\n"
|
|
"diesubrand 0.4\n"
|
|
"gravity 40\n"
|
|
"spawnorg 8\n"
|
|
"}\n"
|
|
|
|
"r_part pe_defaulttrail\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"step 12\n"
|
|
"die 1\n"
|
|
"scale 10\n"
|
|
"scaledelta -10\n"
|
|
"veladd 15\n"
|
|
"spawnorg 1\n"
|
|
"scalefactor 0.8\n"
|
|
"}\n"
|
|
|
|
"r_part pe_pointfile\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 1\n"
|
|
"scale 50\n"
|
|
"die 30\n"
|
|
"alphadelta 0\n"
|
|
"rgb 255 255 0\n"
|
|
"}\n"
|
|
|
|
"r_effect \"progs/s_explod.spr\" explodesprite 1\n"
|
|
"r_effect \"progs/flame.spr\" explodesprite 1\n"
|
|
|
|
"r_effect \"progs/flame2.mdl\" cu_flame 1\n"
|
|
"r_effect \"progs/flame.mdl\" cu_torch\n"
|
|
"r_trail \"progs/e_spike1.mdl\" te_railtrail\n"
|
|
;
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
|
char *particle_set_faithful =
|
|
// faithful, by TimeServ
|
|
"r_part t_gib\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 2\n"
|
|
"alphadelta 0\n"
|
|
"randomvel 80\n"
|
|
"veladd 100\n"
|
|
"colorindex 67 4\n"
|
|
"gravity 40\n"
|
|
"spawnorg 3\n"
|
|
"stains 1\n"
|
|
"}\n"
|
|
|
|
"r_part t_zomgib\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 6\n"
|
|
"scale 4\n"
|
|
"die 2\n"
|
|
"alphadelta 0\n"
|
|
"randomvel 72\n"
|
|
"veladd 100\n"
|
|
"colorindex 67 4\n"
|
|
"gravity 40\n"
|
|
"spawnorg 3\n"
|
|
"stains 1\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer3\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 0.3\n"
|
|
"alphadelta 0\n"
|
|
"colorindex 152 4\n"
|
|
"spawnorg 8\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 0.5\n"
|
|
"alphadelta 0\n"
|
|
"colorindex 52\n"
|
|
"citracer\n"
|
|
"spawnvel 30 0\n"
|
|
"spawnmode tracer\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer2\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 0.5\n"
|
|
"alphadelta 0\n"
|
|
"colorindex 230\n"
|
|
"citracer\n"
|
|
"spawnvel 30 0\n"
|
|
"spawnmode tracer\n"
|
|
"}\n"
|
|
|
|
"r_part t_rocket\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 1.2\n"
|
|
"diesubrand 0.6\n"
|
|
"rampmode absolute\n"
|
|
"rampindex 109 1.0\n"
|
|
"rampindex 107 0.833\n"
|
|
"rampindex 6 0.667\n"
|
|
"rampindex 5 0.5\n"
|
|
"rampindex 4 0.333\n"
|
|
"rampindex 3 0.167\n"
|
|
"spawnorg 3\n"
|
|
"gravity -40\n"
|
|
"}\n"
|
|
|
|
"r_part t_altrocket\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 1.2\n"
|
|
"diesubrand 0.6\n"
|
|
"rampmode absolute\n"
|
|
"rampindexlist 109 107 6 5 4 3\n"
|
|
"spawnorg 3\n"
|
|
"gravity -40\n"
|
|
"}\n"
|
|
|
|
"r_part t_grenade\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 0.8\n"
|
|
"diesubrand 0.6\n"
|
|
"rampmode absolute\n"
|
|
"rampindex 6 0.667\n"
|
|
"rampindex 5 0.5\n"
|
|
"rampindex 4 0.333\n"
|
|
"rampindex 3 0.167\n"
|
|
"spawnorg 3\n"
|
|
"gravity -40\n"
|
|
"}\n"
|
|
|
|
"r_part pe_size3\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"scale 4\n"
|
|
"veladd 15\n"
|
|
"die 0.4\n"
|
|
"alphadelta 0\n"
|
|
"diesubrand 0.4\n"
|
|
"gravity 40\n"
|
|
"spawnorg 24\n"
|
|
"}\n"
|
|
|
|
"r_part pe_size2\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"scale 4\n"
|
|
"veladd 15\n"
|
|
"die 0.4\n"
|
|
"alphadelta 0\n"
|
|
"diesubrand 0.4\n"
|
|
"gravity 40\n"
|
|
"spawnorg 16\n"
|
|
"}\n"
|
|
|
|
"r_part pe_default\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"scale 4\n"
|
|
"veladd 15\n"
|
|
"die 0.4\n"
|
|
"alphadelta 0\n"
|
|
"diesubrand 0.4\n"
|
|
"gravity 40\n"
|
|
"spawnorg 8\n"
|
|
"}\n"
|
|
|
|
"r_part explode2\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 512\n"
|
|
"scale 4\n"
|
|
"alphadelta 0\n"
|
|
"die 0.5333\n"
|
|
"diesubrand 0.2667\n"
|
|
"rampmode absolute\n"
|
|
"rampindexlist 111 110 109 108 107 106 104 102 \n"
|
|
"randomvel 256\n"
|
|
"gravity 40\n"
|
|
"friction 1\n"
|
|
"spawnorg 16\n"
|
|
"}\n"
|
|
|
|
"r_part te_explosion\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 512\n"
|
|
"scale 4\n"
|
|
"die 0.8\n"
|
|
"diesubrand 0.4\n"
|
|
"randomvel 256\n"
|
|
"rampmode absolute\n"
|
|
"rampindexlist 111 109 107 105 103 101 99 97 \n"
|
|
"gravity 40\n"
|
|
"friction -4\n"
|
|
"spawnorg 16\n"
|
|
"assoc explode2\n"
|
|
"}\n"
|
|
|
|
"r_part blobexp2b\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 256\n"
|
|
"scale 4\n"
|
|
"alphadelta 0\n"
|
|
"die 1.4\n"
|
|
"colorindex 150 6\n"
|
|
"gravity 40\n"
|
|
"friction 4 0\n"
|
|
"spawnorg 16\n"
|
|
"randomvel 256\n"
|
|
"}\n"
|
|
"r_part blobexp1b\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 256\n"
|
|
"scale 4\n"
|
|
"alphadelta 0\n"
|
|
"die 1.4\n"
|
|
"colorindex 66 6\n"
|
|
"gravity 40\n"
|
|
"friction -4 0\n"
|
|
"spawnorg 16\n"
|
|
"randomvel 256\n"
|
|
"assoc blobexp2b\n"
|
|
"}\n"
|
|
|
|
"r_part blobexp2\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 256\n"
|
|
"scale 4\n"
|
|
"alphadelta 0\n"
|
|
"die 1\n"
|
|
"colorindex 150 6\n"
|
|
"gravity 40\n"
|
|
"friction 4 0\n"
|
|
"spawnorg 16\n"
|
|
"randomvel 256\n"
|
|
"assoc blobexp1b\n"
|
|
"}\n"
|
|
"r_part te_tarexplosion\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 256\n"
|
|
"scale 4\n"
|
|
"alphadelta 0\n"
|
|
"die 1\n"
|
|
"colorindex 66 6\n"
|
|
"gravity 40\n"
|
|
"friction -4 0\n"
|
|
"randomvel 256\n"
|
|
"spawnorg 16\n"
|
|
"assoc blobexp2\n"
|
|
"}\n"
|
|
|
|
"r_part te_teleportsplash\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 896\n"
|
|
"scale 4\n"
|
|
"alphadelta 0\n"
|
|
"die 0.34\n"
|
|
"diesubrand 0.14\n"
|
|
"colorindex 7 8\n"
|
|
"gravity 40\n"
|
|
"up 4\n"
|
|
"spawnmode telebox\n"
|
|
"spawnorg 16 28\n"
|
|
"spawnvel 113\n"
|
|
"}\n"
|
|
|
|
"r_part te_lavasplash\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1024\n"
|
|
"scale 4\n"
|
|
"alphadelta 0\n"
|
|
"die 2.62\n"
|
|
"diesubrand 0.62\n"
|
|
"colorindex 224 8\n"
|
|
"gravity 40\n"
|
|
"spawnorg 128 63\n"
|
|
"spawnvel 113\n"
|
|
"spawnmode lavasplash\n"
|
|
"}\n"
|
|
|
|
"r_part pe_defaulttrail\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 3\n"
|
|
"scale 4\n"
|
|
"die 0.6\n"
|
|
"diesubrand 0.6\n"
|
|
"spawnorg 3\n"
|
|
"gravity -40\n"
|
|
"}\n"
|
|
|
|
"r_part pe_pointfile\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"scale 4\n"
|
|
"die 30\n"
|
|
"alphadelta 0\n"
|
|
"rgb 255 255 0\n"
|
|
"}\n"
|
|
|
|
;
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
|
char *particle_set_highfps =
|
|
// highfps, originally submitted by 'ShadowWalker'
|
|
// rehashed by TimeServ
|
|
"r_part t_gib\n"
|
|
"{\n"
|
|
"texture \"particles/bloodtrail\"\n"
|
|
"step 12\n"
|
|
"scale 10\n"
|
|
"die 1\n"
|
|
"randomvel 32\n"
|
|
"veladd 32\n"
|
|
"rgb 64 0 0\n"
|
|
"rgbdelta -128 0 0\n"
|
|
"}\n"
|
|
"r_part t_zomgib\n"
|
|
"{\n"
|
|
"texture \"particles/bloodtrail\"\n"
|
|
"step 16\n"
|
|
"scale 8\n"
|
|
"die 1\n"
|
|
"randomvel 32\n"
|
|
"veladd 32\n"
|
|
"rgb 192 0 0\n"
|
|
"rgbdelta -128 0 0\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer\n"
|
|
"{\n"
|
|
"texture \"particles/tracer\"\n"
|
|
"scale 23\n"
|
|
"step 18\n"
|
|
"rgb 192 192 0\n"
|
|
"die 0.5\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer2\n"
|
|
"{\n"
|
|
"texture \"particles/tracer\"\n"
|
|
"scale 23\n"
|
|
"step 18\n"
|
|
"die 0.5\n"
|
|
"rgb 192 96 0\n"
|
|
"}\n"
|
|
|
|
"r_part t_tracer3\n"
|
|
"{\n"
|
|
"texture \"particles/tracer\"\n"
|
|
"scale 23\n"
|
|
"step 18\n"
|
|
"die 0.5\n"
|
|
"rgb 192 0 192\n"
|
|
"}\n"
|
|
|
|
"r_part te_lightningblood\n"
|
|
"{\n"
|
|
"texture \"particles/bloodtrail\"\n"
|
|
"count 1\n"
|
|
"scale 10\n"
|
|
"die 0.5\n"
|
|
"randomvel 64\n"
|
|
"veladd 128\n"
|
|
"rgb 192 0 0\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
"r_part te_blood\n"
|
|
"{\n"
|
|
"texture \"particles/bloodtrail\"\n"
|
|
"count 1\n"
|
|
"scale 12\n"
|
|
"die 0.5\n"
|
|
"randomvel 32\n"
|
|
"veladd 64\n"
|
|
"spawnvel 0 10\n"
|
|
"rgb 64 0 0\n"
|
|
"}\n"
|
|
|
|
"r_part sparks\n"
|
|
"{\n"
|
|
"texture \"particles/spark\"\n"
|
|
"count 32\n"
|
|
"scale 3\n"
|
|
"alpha 1\n"
|
|
"die 1\n"
|
|
"randomvel 256\n"
|
|
"veladd 128\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"cliptype sparks\n"
|
|
"clipcount 1\n"
|
|
"}\n"
|
|
|
|
"r_part explosioncore\n"
|
|
"{\n"
|
|
"texture \"particles/explosion\"\n"
|
|
"count 1\n"
|
|
"scale 200\n"
|
|
"scalefactor 1\n"
|
|
"die 1.2\n"
|
|
"rgb 255 128 76\n"
|
|
"blend add\n"
|
|
"assoc sparks\n"
|
|
"}\n"
|
|
|
|
"r_part te_explosion\n"
|
|
"{\n"
|
|
"texture \"particles/explosion\"\n"
|
|
"count 8\n"
|
|
"scale 60\n"
|
|
"alpha 0.5\n"
|
|
"die 1\n"
|
|
"rgb 255 128 76\n"
|
|
"blend add\n"
|
|
"assoc explosioncore\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 64\n"
|
|
"}\n"
|
|
|
|
"r_part te_railtrail\n"
|
|
"{\n"
|
|
"step 1000000\n"
|
|
"scale 5\n"
|
|
"die 1.2\n"
|
|
"alpha 0.7\n"
|
|
"rgb 16 16 255\n"
|
|
"blend add\n"
|
|
"type beam\n"
|
|
"averageout\n"
|
|
"}\n"
|
|
|
|
//the blob tempent is used quite a bit with teamfortress emp grenades.
|
|
"r_part te_tarexplosion\n"
|
|
"{\n"
|
|
"texture \"particles/blob\"\n"
|
|
"count 64\n"
|
|
"scale 30\n"
|
|
"scalefactor 1\n"
|
|
"die 1\n"
|
|
"randomvel 32\n"
|
|
"veladd 0\n"
|
|
"rgb 255 0 196\n"
|
|
"spawnorg 8 56\n"
|
|
"spawnvel 48 8\n"
|
|
"}\n"
|
|
|
|
"r_part te_gunshot\n"
|
|
"{\n"
|
|
"texture \"particles/spark\"\n"
|
|
"count 2\n"
|
|
"scale 3\n"
|
|
"alpha 0.7\n"
|
|
"die 0.5\n"
|
|
"randomvel 64\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
"r_part te_lavasplash\n"
|
|
"{\n"
|
|
"texture \"particles/lava\"\n"
|
|
"count 180\n"
|
|
"scale 60\n"
|
|
"alpha 0.5\n"
|
|
"die 1.6\n"
|
|
"rgb 255 128 128\n"
|
|
"spawnorg 178 64\n"
|
|
"up 56\n"
|
|
"scalefactor 1\n"
|
|
"}\n"
|
|
|
|
"r_part te_teleportsplash\n"
|
|
"{\n"
|
|
"texture \"particles/teleport\"\n"
|
|
"count 48\n"
|
|
"scale 30\n"
|
|
"scalefactor 1\n"
|
|
"die 0.5\n"
|
|
"randomvel 32\n"
|
|
"veladd 0\n"
|
|
"rgb 255 255 255\n"
|
|
"spawnorg 4 32\n"
|
|
"spawnvel 25 4\n"
|
|
"}\n"
|
|
|
|
"r_part t_grenade\n"
|
|
"{\n"
|
|
"texture \"particles/smoke\"\n"
|
|
"step 20\n"
|
|
"scale 21\n"
|
|
"die 0.5\n"
|
|
"randvel 16\n"
|
|
"rgb 128 128 128\n"
|
|
"}\n"
|
|
|
|
"r_part t_rocket\n"
|
|
"{\n"
|
|
"texture \"particles/rocket\"\n"
|
|
"step 15\n"
|
|
"scale 30\n"
|
|
"die 0.2\n"
|
|
"rgb 192 48 0\n"
|
|
"blend add\n"
|
|
"assoc t_grenade\n"
|
|
"}\n"
|
|
|
|
"r_part t_altrocket\n"
|
|
"{\n"
|
|
"texture \"particles/rocket\"\n"
|
|
"step 15\n"
|
|
"scale 25\n"
|
|
"randomvel 30\n"
|
|
"veladd 30\n"
|
|
"die 0.5\n"
|
|
"rgb 192 48 0\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
//you'll probably never see this one
|
|
"r_part ef_entityparticles\n"
|
|
"{\n"
|
|
"texture \"j\"\n"
|
|
"count 1\n"
|
|
"scale 10\n"
|
|
"alpha 0.3\n"
|
|
"die 0\n"
|
|
"veladd 16\n"
|
|
"rgb 128 128 0\n"
|
|
"}\n"
|
|
|
|
"r_part pe_default\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"scale 4\n"
|
|
"veladd 15\n"
|
|
"die 0.5\n"
|
|
"spawnorg 8\n"
|
|
"}\n"
|
|
|
|
"r_part pe_defaulttrail\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 15\n"
|
|
"die 0.5\n"
|
|
"scale 8\n"
|
|
"veladd 15\n"
|
|
"spawnorg 1\n"
|
|
"}\n"
|
|
|
|
"r_part pe_pointfile\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"scale 50\n"
|
|
"die 30\n"
|
|
"alphadelta 0\n"
|
|
"rgb 255 255 0\n"
|
|
"}\n"
|
|
|
|
;
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
|
char *particle_set_high =
|
|
///////////////////////////////
|
|
//rocket trail
|
|
|
|
// flame trail
|
|
"r_part tr_rocket\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 1\n"
|
|
"scale 12\n"
|
|
"alpha 0.4\n"
|
|
"die 0.5\n"
|
|
"rgb 255 127 100\n"
|
|
"rgbdelta -14 -300 -300\n"
|
|
"blend add\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta -15\n"
|
|
"}\n"
|
|
|
|
// smoke puffs
|
|
"r_part +tr_rocket\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 5\n"
|
|
"scale 30\n"
|
|
"alpha 0.2\n"
|
|
"die 0.75\n"
|
|
//diesubrand 10.25
|
|
"randomvel 0.2\n"
|
|
"rgb 5 5 5\n"
|
|
//rgbdelta -230 -45 -9
|
|
"gravity -15\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta 20\n"
|
|
"spawnvel 5\n"
|
|
"}\n"
|
|
|
|
|
|
// burst sparks
|
|
"r_part +tr_rocket\n"
|
|
"{\n"
|
|
"type texturedspark\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 65 31 95 256 8 32\n"
|
|
"count 1\n"
|
|
"scale 2\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta -15\n"
|
|
"alpha 0.2\n"
|
|
"die 0.25\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 1\n"
|
|
"spawnvel 50\n"
|
|
"veladd 500\n"
|
|
"friction 0.01\n"
|
|
"gravity 100\n"
|
|
"}\n"
|
|
|
|
///////////////////////////////////////////
|
|
//alternate rocket trail, which is used by a handful of qw players.
|
|
//r_part tr_altrocket
|
|
//{
|
|
//}
|
|
|
|
|
|
///////////////////////////////////////////
|
|
//grenade trail
|
|
|
|
"r_part tr_grenade\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"step 6\n"
|
|
"scale 32\n"
|
|
"scaledelta 12\n"
|
|
"alpha 0.3\n"
|
|
"die 1.25\n"
|
|
"randomvel 2\n"
|
|
"veladd 15\n"
|
|
"rgb 75 75 75\n"
|
|
//rgb 255 50 50
|
|
//rgbdelta -255 -75 -75
|
|
"gravity -25\n"
|
|
"scalefactor 1\n"
|
|
"blend modulate\n"
|
|
"}\n"
|
|
"r_part +tr_grenade\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"scale 1\n"
|
|
"scaledelta 0.25\n"
|
|
"alpha 0.2\n"
|
|
"step 4\n"
|
|
"die 0.8\n"
|
|
"randomvel 0\n"
|
|
"rgb 255 150 150\n"
|
|
"rgbdelta 0 -150 -150\n"
|
|
"type beam\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
//////////////////////////////////
|
|
//shotgun impacts
|
|
"r_part gunshotsmoke\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 65 31 95 256 8 32\n"
|
|
"count 3\n"
|
|
"scale 25\n"
|
|
"scalefactor 1\n"
|
|
"die 0.8\n"
|
|
"alpha 0.12\n"
|
|
"rgb 32 32 32\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 2\n"
|
|
"spawnvel 20\n"
|
|
"veladd -20\n"
|
|
"}\n"
|
|
"r_part te_gunshot\n"
|
|
"{\n"
|
|
"type texturedspark\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 65 31 95 256 8 32\n"
|
|
"count 3\n"
|
|
"scale 2\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.5\n"
|
|
"die 0.8\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 1\n"
|
|
"spawnvel 100\n"
|
|
"veladd -80\n"
|
|
"friction 0.3\n"
|
|
"gravity 400\n"
|
|
"assoc gunshotsmoke\n"
|
|
"}\n"
|
|
|
|
//////////////////////////////////
|
|
//nail impacts
|
|
|
|
"r_part te_spike\n"
|
|
"{\n"
|
|
"type sparkfan\n"
|
|
"count 10\n"
|
|
"scale 1\n"
|
|
"scalefactor 1\n"
|
|
"alpha 0.5\n"
|
|
"die 0.2\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 12\n"
|
|
"spawnvel 300\n"
|
|
"}\n"
|
|
"r_part +te_spike\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 1\n"
|
|
"scale 1\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta 190\n"
|
|
"die 0.1\n"
|
|
"alpha 0.6\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"assoc gunshotsmoke\n"
|
|
"}\n"
|
|
|
|
|
|
////////////////////////////////////////////////
|
|
//explosion
|
|
|
|
//red bit
|
|
"r_part te_explosion\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"count 1\n"
|
|
"scale 500\n"
|
|
"alpha 0.4\n"
|
|
"die 0.2\n"
|
|
"rgb 255 127 100\n"
|
|
"rgbdelta -14 -300 -300\n"
|
|
"blend add\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta -15\n"
|
|
"randomvel 0\n"
|
|
|
|
"lightradius 350\n"
|
|
"lightrgb 0.4 0.2 0.05\n"
|
|
"lighttime 0.5\n"
|
|
"lightradiusfade 350\n"
|
|
"lightrgbfade 2 2 2 \n"
|
|
"}\n"
|
|
//smoke
|
|
"r_part +te_explosion\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 97 97 191 191 256\n"
|
|
"count 7\n"
|
|
"scale 300\n"
|
|
"alpha 0.2\n"
|
|
"die 0.8\n"
|
|
//diesubrand 10.25
|
|
"randomvel 100\n"
|
|
"rgb 5 5 5\n"
|
|
//rgbdelta -230 -45 -9
|
|
"gravity -15\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta 40\n"
|
|
"spawnvel 5\n"
|
|
"}\n"
|
|
// burst sparks
|
|
"r_part +te_explosion\n"
|
|
"{\n"
|
|
"type texturedspark\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 65 31 95 256 8 32\n"
|
|
"count 100\n"
|
|
"scale 5\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta -15\n"
|
|
"alpha 0.2\n"
|
|
"die 0.5\n"
|
|
"rgb 255 128 0\n"
|
|
"blend add\n"
|
|
"spawnmode ball\n"
|
|
"spawnorg 1\n"
|
|
"randomvel 1000\n"
|
|
"friction 0.01\n"
|
|
"gravity 100\n"
|
|
"stretchfactor 5\n"
|
|
"}\n"
|
|
|
|
//hide lights in explosions.
|
|
"r_explosionlight 0\n"
|
|
|
|
//hide the explosion sprite in nq+qw - WARNING: some mods use this sprite as a flame thrower.
|
|
"cl_expsprite 0\n"
|
|
"r_effect \"progs/s_explod.spr\" hidden 1\n"
|
|
|
|
//////////////////////////////////////////
|
|
//r_part te_tarexplosion
|
|
//{
|
|
//}
|
|
|
|
//////////////////////////////////////////
|
|
//r_part te_lavasplash
|
|
//{
|
|
//}
|
|
|
|
//////////////////////////////////////////
|
|
"r_part te_teleport\n"
|
|
"{\n"
|
|
"scale 250\n"
|
|
"count 1\n"
|
|
"alpha 0.3\n"
|
|
"die 0.5\n"
|
|
"scalefactor 1\n"
|
|
"rotationstart 45\n"
|
|
"rotationspeed 0\n"
|
|
|
|
"shader\n"
|
|
"{\n"
|
|
"glslprogram\n"
|
|
"{\n"
|
|
"varying vec2 tcoord;\n"
|
|
"varying vec4 scoord;\n"
|
|
"varying float alph;\n"
|
|
"#ifdef VERTEX_SHADER\n"
|
|
"attribute vec2 v_texcoord;\n"
|
|
"attribute vec4 v_colour;\n"
|
|
|
|
"void main(void)\n"
|
|
"{\n"
|
|
"scoord = ftetransform();\n"
|
|
"tcoord = (v_texcoord.st - 0.5)*2.0;\n"
|
|
"alph = v_colour.a;\n"
|
|
"gl_Position = scoord;\n"
|
|
"}\n"
|
|
"#endif\n"
|
|
"#ifdef FRAGMENT_SHADER\n"
|
|
"uniform sampler2D s_t0;\n"
|
|
"void main(void)\n"
|
|
"{\n"
|
|
"vec2 nst;\n"
|
|
"float f;\n"
|
|
"nst = scoord.xy / scoord.w;\n"
|
|
"nst = (1.0 + nst)/2.0;\n"
|
|
"f = 1 - length(tcoord);\n"
|
|
// f = 1 - tcoord*tcoord;
|
|
"if (f < 0) discard;\n"
|
|
"f *= alph;\n"
|
|
"gl_FragColor = texture2D(s_t0, nst - tcoord*f);\n"
|
|
"}\n"
|
|
"#endif\n"
|
|
"}\n"
|
|
"{\n"
|
|
"map $currentrender\n"
|
|
"blendfunc blend\n"
|
|
"}\n"
|
|
"}\n"
|
|
"}\n"
|
|
|
|
|
|
//////////////////////////////////////////
|
|
//hellknight
|
|
"r_part tr_knightspike\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"scale 15\n"
|
|
"step 1\n"
|
|
"alpha 0.6\n"
|
|
"die 0.2\n"
|
|
"rgb 192 96 48\n"
|
|
"veladd 0\n"
|
|
"randomvel 2\n"
|
|
"friction 4\n"
|
|
"scalefactor 0.825\n"
|
|
"blend add\n"
|
|
"spawnmode spiral\n"
|
|
"spawnvel -50\n"
|
|
"}\n"
|
|
|
|
/////////////////////////////////////////
|
|
//vore missiles
|
|
|
|
"r_part tr_vorespike\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"scale 15\n"
|
|
"step 1\n"
|
|
"alpha 0.6\n"
|
|
"die 0.5\n"
|
|
"rgb 192 96 192\n"
|
|
"veladd 15\n"
|
|
"spawnmode spiral\n"
|
|
"spawnvel 50\n"
|
|
"randomvel 0\n"
|
|
"friction 0\n"
|
|
"scalefactor 1\n"
|
|
"blend add\n"
|
|
|
|
"lightradius 150\n"
|
|
"lightrgb 0.75 0.37 0.75\n"
|
|
"}\n"
|
|
//rygel's pack sucks
|
|
"r_trail \"progs/v_spike.mdl\" tr_vorespike\n"
|
|
|
|
/////////////////////////////////////////
|
|
//scrag missiles. just use the default trail cos we're lazy
|
|
//r_part tr_wizspike
|
|
//{
|
|
//}
|
|
|
|
"r_part te_blood\n"
|
|
"{\n"
|
|
"texture fte_bloodparticle\n"
|
|
"blend subtract\n"
|
|
"count 1\n"
|
|
"scale 32\n"
|
|
"alpha 0\n"
|
|
"die 1\n"
|
|
"randomvel 64\n"
|
|
"veladd 10\n"
|
|
"rotationspeed 90\n"
|
|
"rotationstart 0 360\n"
|
|
"rgb 64 128 128\n"
|
|
"rgbdelta -64 -128 -128\n"
|
|
"gravity 200\n"
|
|
"scalefactor 0.8\n"
|
|
// scaledelta -10
|
|
"}\n"
|
|
|
|
"r_part pe_73\n"
|
|
"{\n"
|
|
"assoc te_blood\n"
|
|
"}\n"
|
|
|
|
"r_part te_lightningblood\n"
|
|
"{\n"
|
|
"texture fte_bloodparticle\n"
|
|
"blend subtract\n"
|
|
"count 1\n"
|
|
"scale 32\n"
|
|
"alpha 0\n"
|
|
"die 1\n"
|
|
"randomvel 64\n"
|
|
"veladd 10\n"
|
|
"rotationspeed 90\n"
|
|
"rotationstart 0 360\n"
|
|
"rgb 0 128 128\n"
|
|
"rgbdelta 0 -128 -128\n"
|
|
"gravity 200\n"
|
|
"scalefactor 0.8\n"
|
|
"}\n"
|
|
|
|
/////////////////////////////////////////
|
|
//zombie body-part blood trails
|
|
"r_part tr_slightblood\n"
|
|
"{\n"
|
|
"texture fte_bloodparticle\n"
|
|
"blend subtract\n"
|
|
// tcoords 1 1 63 63 256 2 64
|
|
"step 16\n"
|
|
"scale 64\n"
|
|
"alpha 0\n"
|
|
"die 1\n"
|
|
"randomvel 32\n"
|
|
"veladd 10\n"
|
|
"rotationspeed 90\n"
|
|
"rotationstart 0 360\n"
|
|
"rgb 64 128 128 \n"
|
|
"rgbdelta -64 -128 -128\n"
|
|
"gravity 200\n"
|
|
"scalefactor 0.8\n"
|
|
"scaledelta -10\n"
|
|
"stains -0.5\n"
|
|
"}\n"
|
|
|
|
//////////////////////////////////////////
|
|
//regular ol' blood trails
|
|
"r_part tr_blood\n"
|
|
"{\n"
|
|
"texture fte_bloodparticle\n"
|
|
"blend subtract\n"
|
|
"step 8\n"
|
|
"scale 64\n"
|
|
"alpha 0\n"
|
|
"die 1\n"
|
|
"randomvel 32\n"
|
|
"veladd 10\n"
|
|
"rotationspeed 90\n"
|
|
"rotationstart 0 360\n"
|
|
"rgb 32 128 128 \n"
|
|
"rgbdelta -32 -128 -128\n"
|
|
"gravity 200\n"
|
|
"scalefactor 0.8\n"
|
|
"scaledelta -10\n"
|
|
"stains -0.5\n"
|
|
"}\n"
|
|
|
|
//////////////////////////////////
|
|
//fallbacks
|
|
|
|
"r_part pe_default\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 1\n"
|
|
"scale 4\n"
|
|
"veladd 15\n"
|
|
"die 0.4\n"
|
|
"alphadelta 0\n"
|
|
"diesubrand 0.4\n"
|
|
"gravity 40\n"
|
|
"spawnorg 8\n"
|
|
"}\n"
|
|
"r_part pe_defaulttrail\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"scale 15\n"
|
|
"step 1\n"
|
|
"alpha 0.6\n"
|
|
"die 0.2\n"
|
|
"rgb 192 96 48\n"
|
|
"veladd 0\n"
|
|
"randomvel 2\n"
|
|
"friction 4\n"
|
|
"scalefactor 0.825\n"
|
|
"spawnmode spiral\n"
|
|
"spawnvel 25\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
//////////////////////////////////
|
|
//map debugging
|
|
"r_part pe_pointfile\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 97 95 191 256\n"
|
|
"count 1\n"
|
|
"scale 50\n"
|
|
"die 30\n"
|
|
"alphadelta 0\n"
|
|
"rgb 255 255 0\n"
|
|
"}\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
|
char *particle_set_minimal =
|
|
// minimal, by TimeServ
|
|
"r_part pe_size3\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"die 1\n"
|
|
"scale 20\n"
|
|
"scaledelta -20\n"
|
|
"veladd 25\n"
|
|
"spawnorg 38\n"
|
|
"spawnvel 38\n"
|
|
"scalefactor 0.8\n"
|
|
"}\n"
|
|
|
|
"r_part pe_size2\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"die 1\n"
|
|
"scale 12\n"
|
|
"scaledelta -12\n"
|
|
"veladd 20\n"
|
|
"spawnorg 16\n"
|
|
"spawnvel 16\n"
|
|
"scalefactor 0.8\n"
|
|
"}\n"
|
|
|
|
"r_part pe_default\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"count 1\n"
|
|
"die 1\n"
|
|
"scale 10\n"
|
|
"scaledelta -10\n"
|
|
"veladd 15\n"
|
|
"spawnorg 10\n"
|
|
"spawnvel 10\n"
|
|
"scalefactor 0.8\n"
|
|
"}\n"
|
|
|
|
"r_part pe_defaulttrail\n"
|
|
"{\n"
|
|
"texture \"particles/quake\"\n"
|
|
"step 10\n"
|
|
"die 1\n"
|
|
"scale 8\n"
|
|
"scaledelta -8\n"
|
|
"veladd 15\n"
|
|
"spawnorg 2\n"
|
|
"spawnvel 2\n"
|
|
"scalefactor 0.8\n"
|
|
"}\n"
|
|
;
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
|
char *particle_set_h2part =
|
|
"r_part t_rocket\n"
|
|
"{\n"
|
|
"texture \"particles/fteparticlefont.tga\"\n"
|
|
"tcoords 1 1 63 63 256 2 64\n"
|
|
"step 32\n"
|
|
"scale 64\n"
|
|
"alpha 0.6\n"
|
|
"die 1\n"
|
|
"randomvel 64\n"
|
|
"veladd 10\n"
|
|
"rotationspeed 90\n"
|
|
"rotationstart 0 360\n"
|
|
"rgb 16 32 16\n"
|
|
"rgbrand 16 64 16\n"
|
|
"gravity 200\n"
|
|
"scalefactor 0.8\n"
|
|
"scaledelta -10\n"
|
|
"stains 2\n"
|
|
"}\n"
|
|
|
|
"r_part ce_white_smoke_05\n"
|
|
"{\n"
|
|
"model models/whtsmk1.spr 0 0 20 0.5\n"
|
|
"}\n"
|
|
"r_part ce_white_smoke_10\n"
|
|
"{\n"
|
|
"model models/whtsmk1.spr 0 0 10 0.5\n"
|
|
"}\n"
|
|
"r_part ce_white_smoke_15\n"
|
|
"{\n"
|
|
"model models/whtsmk1.spr 0 0 6.666 0.5\n"
|
|
"}\n"
|
|
"r_part ce_white_smoke_20\n"
|
|
"{\n"
|
|
"model models/whtsmk1.spr 0 0 5 0.5\n"
|
|
"}\n"
|
|
"r_part ce_white_smoke_50\n"
|
|
"{\n"
|
|
"model models/whtsmk1.spr 0 0 2 0.5\n"
|
|
"}\n"
|
|
|
|
"r_part ce_bluespark\n"
|
|
"{\n"
|
|
"model models/bspark.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_yellowspark\n"
|
|
"{\n"
|
|
"model models/spark.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_sm_circle_exp\n"
|
|
"{\n"
|
|
"model models/fcircle.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_bg_circle_exp\n"
|
|
"{\n"
|
|
"model models/xplod29.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_sm_white_flash\n"
|
|
"{\n"
|
|
"model models/sm_white.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_white_flash\n"
|
|
"{\n"
|
|
"model models/gryspt.spr 0 0 20 0.4\n"
|
|
"}\n"
|
|
"r_part ce_yellowred_flash\n"
|
|
"{\n"
|
|
"model models/yr_flsh.spr 0 0 20 0.4\n"
|
|
"}\n"
|
|
"r_part ce_blue_flash\n"
|
|
"{\n"
|
|
"model models/bluflash.spr 0 0 20 0.4\n"
|
|
"}\n"
|
|
"r_part ce_sm_blue_flash\n"
|
|
"{\n"
|
|
"model models/sm_blue.spr 0 0 20 0.4\n"
|
|
"}\n"
|
|
"r_part ce_red_flash\n"
|
|
"{\n"
|
|
"model models/redspt.spr 0 0 20 0.4\n"
|
|
"}\n"
|
|
"r_part ce_sm_explosion\n"
|
|
"{\n"
|
|
"model models/sm_expld.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_lg_explosion\n"
|
|
"{\n"
|
|
"model models/bg_expld.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_floor_explosion\n"
|
|
"{\n"
|
|
"model models/fl_expld.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_rider_death\n"
|
|
"{\n"
|
|
"}\n"
|
|
"r_part ce_blue_explosion\n"
|
|
"{\n"
|
|
"model models/xpspblue.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_green_smoke_05\n"
|
|
"{\n"
|
|
"model models/grnsmk1.spr 0 0 20 0.5\n"
|
|
"}\n"
|
|
"r_part ce_green_smoke_10\n"
|
|
"{\n"
|
|
"model models/grnsmk1.spr 0 0 10 0.5\n"
|
|
"}\n"
|
|
"r_part ce_green_smoke_15\n"
|
|
"{\n"
|
|
"model models/grnsmk1.spr 0 0 6.666 0.5\n"
|
|
"}\n"
|
|
"r_part ce_green_smoke_20\n"
|
|
"{\n"
|
|
"model models/grnsmk1.spr 0 0 5 0.5\n"
|
|
"}\n"
|
|
// ce_grey_smoke
|
|
"r_part ce_grey_smoke_15\n"
|
|
"{\n"
|
|
"model models/grysmk1.spr 0 0 6.666 0.5\n"
|
|
"}\n"
|
|
"r_part ce_red_smoke\n"
|
|
"{\n"
|
|
"model models/redsmk1.spr 0 0 6.666 0.5\n"
|
|
"}\n"
|
|
"r_part ce_slow_white_smoke\n"
|
|
"{\n"
|
|
"model models/whtsmk1.spr 0 0 20 0.5\n"
|
|
"}\n"
|
|
"r_part ce_redspark\n"
|
|
"{\n"
|
|
"model models/rspark.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_greenspark\n"
|
|
"{\n"
|
|
"model models/gspark.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_telesmk1\n"
|
|
"{\n"
|
|
"model models/telesmk1.spr 0 0 15 1\n"
|
|
"}\n"
|
|
"r_part ce_telesmk2\n"
|
|
"{\n"
|
|
"model models/telesmk2.spr 0 0 15 1\n"
|
|
"}\n"
|
|
"r_part ce_icehit\n"
|
|
"{\n"
|
|
"model models/icehit.spr 0 0 20 0.5\n"
|
|
"}\n"
|
|
"r_part ce_medusa_hit\n"
|
|
"{\n"
|
|
"model models/medhit.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_mezzo_reflect\n"
|
|
"{\n"
|
|
"model models/mezzoref.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_floor_explosion2\n"
|
|
"{\n"
|
|
"model models/flrexpl2.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_xbow_explosion\n"
|
|
"{\n"
|
|
"model models/xbowexpl.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_new_explosion\n"
|
|
"{\n"
|
|
"model models/gen_expl.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_magic_missile_explosion\n"
|
|
"{\n"
|
|
"model models/mm_expld.spr 0 0 20 1\n"
|
|
"}\n"
|
|
// ce_ghost
|
|
"r_part ce_bone_explosion\n"
|
|
"{\n"
|
|
"model models/bonexpld.spr 0 0 20 1\n"
|
|
"}\n"
|
|
// ce_redcloud
|
|
"r_part ce_teleporterpuffs\n"
|
|
"{\n"
|
|
// model models/telesmk2.spr 0 0 20 1
|
|
"}\n"
|
|
// ce_teleporterbody
|
|
// ce_boneshard
|
|
// ce_boneshrapnel
|
|
"r_part ce_flamestream\n"
|
|
"{\n"
|
|
"model models/flamestr.spr 0 0 20 1\n"
|
|
"}\n"
|
|
// ce_snow,
|
|
// ce_gravitywell
|
|
"r_part ce_bldrn_expl\n"
|
|
"{\n"
|
|
"model models/xplsn_1.spr 0 0 20 1\n"
|
|
"}\n"
|
|
// ce_acid_muzzfl
|
|
"r_part ce_acid_hit\n"
|
|
"{\n"
|
|
"model models/axplsn_2.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_firewall_small\n"
|
|
"{\n"
|
|
"model models/firewal1.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_firewall_medium\n"
|
|
"{\n"
|
|
"model models/firewal5.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_firewall_large\n"
|
|
"{\n"
|
|
"model models/firewal4.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_lball_expl\n"
|
|
"{\n"
|
|
"model models/Bluexp3.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_acid_splat\n"
|
|
"{\n"
|
|
"model models/axplsn_1.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_acid_expl\n"
|
|
"{\n"
|
|
"model models/axplsn_5.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_fboom\n"
|
|
"{\n"
|
|
"model models/fboom.spr 0 0 20 1\n"
|
|
"}\n"
|
|
// ce_chunk
|
|
"r_part ce_bomb\n"
|
|
"{\n"
|
|
"model models/pow.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_brn_bounce\n"
|
|
"{\n"
|
|
"model models/spark.spr 0 0 20 1\n"
|
|
"}\n"
|
|
"r_part ce_lshock\n"
|
|
"{\n"
|
|
"model models/vorpshok.mdl 0 0 20 1\n"
|
|
"}\n"
|
|
// ce_flamewall
|
|
// ce_flamewall2
|
|
"r_part ce_floor_explosion3\n"
|
|
"{\n"
|
|
"model models/biggy.spr 0 0 20 1\n"
|
|
"}\n"
|
|
|
|
"r_part ce_boneshard\n"
|
|
"{\n"
|
|
"model models/boneshot.mdl 0 1 1 1\n"
|
|
"rotationspeed 425\n"
|
|
"veladd 2\n"
|
|
"}\n"
|
|
"r_part ce_boneshrapnel\n"
|
|
"{\n"
|
|
"model models/boneshrd.mdl 0 1 1 1\n"
|
|
"rotationspeed 425\n"
|
|
"veladd 2\n"
|
|
"}\n"
|
|
|
|
"r_part ce_chunk_greystone\n"
|
|
"{\n"
|
|
"model models/schunk1.mdl 0 1 0.25 1\n"
|
|
"model models/schunk2.mdl 0 1 0.25 1\n"
|
|
"model models/schunk3.mdl 0 1 0.25 1\n"
|
|
"model models/schunk4.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_wood\n"
|
|
"{\n"
|
|
"model models/splnter1.mdl 0 1 0.25 1\n"
|
|
"model models/splnter2.mdl 0 1 0.25 1\n"
|
|
"model models/splnter3.mdl 0 1 0.25 1\n"
|
|
"model models/splnter4.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_metal\n"
|
|
"{\n"
|
|
"model models/metlchk1.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk2.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk3.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk4.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_flesh\n"
|
|
"{\n"
|
|
"model models/flesh1.mdl 0 1 0.25 1\n"
|
|
"model models/flesh2.mdl 0 1 0.25 1\n"
|
|
"model models/flesh3.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
//r_part ce_chunk_fire
|
|
//{
|
|
//}
|
|
"r_part ce_chunk_clay\n"
|
|
"{\n"
|
|
"model models/clshard1.mdl 0 1 0.25 1\n"
|
|
"model models/clshard2.mdl 0 1 0.25 1\n"
|
|
"model models/clshard3.mdl 0 1 0.25 1\n"
|
|
"model models/clshard4.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_leaves\n"
|
|
"{\n"
|
|
"model models/leafchk1.mdl 0 1 0.25 1\n"
|
|
"model models/leafchk2.mdl 0 1 0.25 1\n"
|
|
"model models/leafchk3.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_hay\n"
|
|
"{\n"
|
|
"model models/hay1.mdl 0 1 0.25 1\n"
|
|
"model models/hay2.mdl 0 1 0.25 1\n"
|
|
"model models/hay3.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_brownstone\n"
|
|
"{\n"
|
|
"model models/schunk1.mdl 1 1 0.25 1\n"
|
|
"model models/schunk2.mdl 1 1 0.25 1\n"
|
|
"model models/schunk3.mdl 1 1 0.25 1\n"
|
|
"model models/schunk4.mdl 1 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_cloth\n"
|
|
"{\n"
|
|
"model models/clthchk1.mdl 0 1 0.25 1\n"
|
|
"model models/clthchk2.mdl 0 1 0.25 1\n"
|
|
"model models/clthchk3.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_wood_leaf\n"
|
|
"{\n"
|
|
"model models/splnter1.mdl 0 1 0.25 1\n"
|
|
"model models/splnter2.mdl 0 1 0.25 1\n"
|
|
"model models/splnter3.mdl 0 1 0.25 1\n"
|
|
"model models/splnter4.mdl 0 1 0.25 1\n"
|
|
"model models/leafchk1.mdl 0 1 0.25 1\n"
|
|
"model models/leafchk2.mdl 0 1 0.25 1\n"
|
|
"model models/leafchk3.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
|
|
"}\n"
|
|
"r_part ce_chunk_wood_metal\n"
|
|
"{\n"
|
|
"model models/splnter1.mdl 0 1 0.25 1\n"
|
|
"model models/splnter2.mdl 0 1 0.25 1\n"
|
|
"model models/splnter3.mdl 0 1 0.25 1\n"
|
|
"model models/splnter4.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk1.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk2.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk3.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk4.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_wood_stone\n"
|
|
"{\n"
|
|
"model models/splnter1.mdl 0 1 0.25 1\n"
|
|
"model models/splnter2.mdl 0 1 0.25 1\n"
|
|
"model models/splnter3.mdl 0 1 0.25 1\n"
|
|
"model models/splnter4.mdl 0 1 0.25 1\n"
|
|
"model models/schunk1.mdl 0 1 0.25 1\n"
|
|
"model models/schunk2.mdl 0 1 0.25 1\n"
|
|
"model models/schunk3.mdl 0 1 0.25 1\n"
|
|
"model models/schunk4.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_metal_stone\n"
|
|
"{\n"
|
|
"model models/metlchk1.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk2.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk3.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk4.mdl 0 1 0.25 1\n"
|
|
"model models/schunk1.mdl 0 1 0.25 1\n"
|
|
"model models/schunk2.mdl 0 1 0.25 1\n"
|
|
"model models/schunk3.mdl 0 1 0.25 1\n"
|
|
"model models/schunk4.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_metal_cloth\n"
|
|
"{\n"
|
|
"model models/metlchk1.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk2.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk3.mdl 0 1 0.25 1\n"
|
|
"model models/metlchk4.mdl 0 1 0.25 1\n"
|
|
"model models/clthchk1.mdl 0 1 0.25 1\n"
|
|
"model models/clthchk2.mdl 0 1 0.25 1\n"
|
|
"model models/clthchk3.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_webs\n"
|
|
"{\n"
|
|
"model models/shard1.mdl 3 1 0.25 0.5\n"
|
|
"model models/shard2.mdl 3 1 0.25 0.5\n"
|
|
"model models/shard3.mdl 3 1 0.25 0.5\n"
|
|
"model models/shard4.mdl 3 1 0.25 0.5\n"
|
|
"model models/shard5.mdl 3 1 0.25 0.5\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 500\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_glass\n"
|
|
"{\n"
|
|
"model models/shard1.mdl 0 1 0.25 1\n"
|
|
"model models/shard2.mdl 0 1 0.25 1\n"
|
|
"model models/shard3.mdl 0 1 0.25 1\n"
|
|
"model models/shard4.mdl 0 1 0.25 1\n"
|
|
"model models/shard5.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_ice\n"
|
|
"{\n"
|
|
"model models/shard.mdl 0 1 0.25 0.5\n"
|
|
"model models/shard.mdl 1 1 0.25 0.5\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"}\n"
|
|
"r_part ce_chunk_clearglass\n"
|
|
"{\n"
|
|
"model models/shard1.mdl 1 1 0.25 0.5\n"
|
|
"model models/shard2.mdl 1 1 0.25 0.5\n"
|
|
"model models/shard3.mdl 1 1 0.25 0.5\n"
|
|
"model models/shard4.mdl 1 1 0.25 0.5\n"
|
|
"model models/shard5.mdl 1 1 0.25 0.5\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_redglass\n"
|
|
"{\n"
|
|
"model models/shard1.mdl 2 1 0.25 1\n"
|
|
"model models/shard2.mdl 2 1 0.25 1\n"
|
|
"model models/shard3.mdl 2 1 0.25 1\n"
|
|
"model models/shard4.mdl 2 1 0.25 1\n"
|
|
"model models/shard5.mdl 2 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_acid\n"
|
|
"{\n"
|
|
"model models/sucwp2p.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_meteor\n"
|
|
"{\n"
|
|
"model models/tempmetr.mdl 0 1 0.25 1\n"
|
|
"randomvel 360\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_greenflesh\n"
|
|
"{\n"
|
|
"model models/sflesh1.mdl 0 1 0.25 1\n"
|
|
"model models/sflesh2.mdl 0 1 0.25 1\n"
|
|
"model models/sflesh3.mdl 0 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
"r_part ce_chunk_bone\n"
|
|
"{\n"
|
|
"model models/clshard1.mdl 1 1 0.25 1\n"
|
|
"model models/clshard2.mdl 1 1 0.25 1\n"
|
|
"model models/clshard3.mdl 1 1 0.25 1\n"
|
|
"model models/clshard4.mdl 1 1 0.25 1\n"
|
|
"randomvel 210 70 280\n"
|
|
"spawnorg 0\n"
|
|
"gravity 800\n"
|
|
"rotationspeed 425\n"
|
|
"}\n"
|
|
|
|
;
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
|
char *particle_set_tsshaft =
|
|
// TE_LIGHTNING2 replacement, (c) 2005 TimeServ
|
|
// If you steal this GPLed code you will be violating several international laws
|
|
// as well as several laws of physics.
|
|
"r_part tlightningflash\n"
|
|
"{\n"
|
|
"spawntime 0.1\n"
|
|
"spawnchance 0.1\n"
|
|
"die 0.25\n"
|
|
"type beam\n"
|
|
"alpha 1\n"
|
|
"step 80\n"
|
|
"scale 14\n"
|
|
"scaledelta -52\n"
|
|
"rgb 255 255 255\n"
|
|
"spawnmode distball\n"
|
|
"spawnorg 16\n"
|
|
"spawnparam1 0.5\n"
|
|
"averageout\n"
|
|
"nospreadfirst\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
"r_part tlightningglow\n"
|
|
"{\n"
|
|
"step 50\n"
|
|
"scale 35\n"
|
|
"scalefactor 1\n"
|
|
"alpha 1\n"
|
|
"die 0\n"
|
|
"rgb 1 1 8\n"
|
|
"blend add\n"
|
|
"assoc tlightningflash\n"
|
|
"}\n"
|
|
|
|
"r_part tlightningfade\n"
|
|
"{\n"
|
|
"spawntime 0.05\n"
|
|
"die 0.2\n"
|
|
"type beam\n"
|
|
"alpha 2\n"
|
|
"step 96\n"
|
|
"scale 1.5\n"
|
|
"rgb 16 16 64\n"
|
|
"spawnmode distball\n"
|
|
"spawnorg 9\n"
|
|
"spawnparam1 0.9\n"
|
|
"blend add\n"
|
|
"averageout\n"
|
|
"nospreadfirst\n"
|
|
"assoc tlightningglow\n"
|
|
"}\n"
|
|
|
|
"r_part te_lightning2\n"
|
|
"{\n"
|
|
"die 0\n"
|
|
"type beam\n"
|
|
"alpha 2\n"
|
|
"step 96\n"
|
|
"scale 4\n"
|
|
"rgb 196 196 255\n"
|
|
"spawnmode distball\n"
|
|
"spawnorg 9\n"
|
|
"spawnparam1 0.9\n"
|
|
"blend add\n"
|
|
"averageout\n"
|
|
"nospreadfirst\n"
|
|
"assoc tlightningfade\n"
|
|
"}\n"
|
|
|
|
"r_part lbolttrail\n"
|
|
"{\n"
|
|
"die 0.5\n"
|
|
"type beam\n"
|
|
"alpha 2\n"
|
|
"step 32\n"
|
|
"scale 1\n"
|
|
"rgb 196 196 255\n"
|
|
"rgbdelta -512 -512 -128\n"
|
|
"spawnmode distball\n"
|
|
"spawnorg 5\n"
|
|
"spawnvel 4\n"
|
|
"spawnparam1 0.5\n"
|
|
"blend add\n"
|
|
"}\n"
|
|
|
|
"r_part lbolt\n"
|
|
"{\n"
|
|
"die 0.5\n"
|
|
"count 1\n"
|
|
"spawnmode circle\n"
|
|
"spawnvel 2000\n"
|
|
"spawnorg 1\n"
|
|
"emit lbolttrail\n"
|
|
"emitinterval -1\n"
|
|
"}\n"
|
|
|
|
"r_part lemit\n"
|
|
"{\n"
|
|
"die 0.1\n"
|
|
"count 1\n"
|
|
"spawnchance 1\n"
|
|
"emit lbolt\n"
|
|
"emitinterval 100\n"
|
|
"spawnchance 0.1\n"
|
|
"cliptype lemit\n"
|
|
"clipcount 1\n"
|
|
"clipbounce 0\n"
|
|
"}\n"
|
|
|
|
"r_part lflash\n"
|
|
"{\n"
|
|
"die 0.1\n"
|
|
"texture \"particles/lflash\"\n"
|
|
"count 1\n"
|
|
"alpha 1\n"
|
|
"scale 100\n"
|
|
"scalefactor 1\n"
|
|
"scaledelta -500\n"
|
|
"rgb 255 255 255\n"
|
|
"blend add\n"
|
|
"assoc lemit\n"
|
|
"}\n"
|
|
|
|
"r_part te_lightning2_end\n"
|
|
"{\n"
|
|
"die 0.3\n"
|
|
"alpha 1\n"
|
|
"count 8\n"
|
|
"scale 2\n"
|
|
"rgb 128 128 255\n"
|
|
"rgbrand 63 63 0\n"
|
|
"rgbrandsync 1\n"
|
|
"spawnvel 100\n"
|
|
"spawnorg 5\n"
|
|
"blend add\n"
|
|
"assoc lflash\n"
|
|
"}\n"
|
|
;
|