| 1 |
//Various subtle smoke effects, animated, designed to trail things and come off walls |
| 2 |
leismoke1 |
| 3 |
{ |
| 4 |
{ |
| 5 |
clampmap sprites/le/smoke1.tga |
| 6 |
blendfunc blend |
| 7 |
rgbGen Vertex |
| 8 |
tcMod rotate 22 |
| 9 |
tcMod stretch sin 0.5 0 0 1 |
| 10 |
alphaGen Vertex |
| 11 |
} |
| 12 |
{ |
| 13 |
clampmap sprites/le/smoke2.tga |
| 14 |
blendfunc blend |
| 15 |
rgbGen Vertex |
| 16 |
tcMod rotate -55 |
| 17 |
tcMod stretch sin 0.7 0 0 1 |
| 18 |
alphaGen Vertex |
| 19 |
detail |
| 20 |
} |
| 21 |
} |
| 22 |
|
| 23 |
leismoke2 |
| 24 |
{ |
| 25 |
{ |
| 26 |
clampmap sprites/le/smoke2.tga |
| 27 |
blendfunc blend |
| 28 |
rgbGen Vertex |
| 29 |
tcMod rotate 22 |
| 30 |
tcMod stretch sin 0.7 0 0 1 |
| 31 |
alphaGen Vertex |
| 32 |
} |
| 33 |
{ |
| 34 |
clampmap sprites/le/smoke3.tga |
| 35 |
blendfunc blend |
| 36 |
rgbGen Vertex |
| 37 |
tcMod rotate -55 |
| 38 |
tcMod stretch sin 0.4 0 0 1 |
| 39 |
alphaGen Vertex |
| 40 |
detail |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
leismoke3 |
| 45 |
{ |
| 46 |
{ |
| 47 |
clampmap sprites/le/smoke3.tga |
| 48 |
blendfunc blend |
| 49 |
rgbGen Vertex |
| 50 |
tcMod rotate 22 |
| 51 |
tcMod stretch sin 0.6 0 0 1 |
| 52 |
alphaGen Vertex |
| 53 |
} |
| 54 |
{ |
| 55 |
clampmap sprites/le/smoke4.tga |
| 56 |
blendfunc blend |
| 57 |
rgbGen Vertex |
| 58 |
tcMod rotate -55 |
| 59 |
tcMod stretch sin 0.3 0 0 1 |
| 60 |
alphaGen Vertex |
| 61 |
detail |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
leismoke4 |
| 66 |
{ |
| 67 |
{ |
| 68 |
clampmap sprites/le/smoke4.tga |
| 69 |
blendfunc blend |
| 70 |
rgbGen Vertex |
| 71 |
tcMod rotate 22 |
| 72 |
tcMod stretch sin 0.4 0 0 1 |
| 73 |
alphaGen Vertex |
| 74 |
} |
| 75 |
{ |
| 76 |
clampmap sprites/le/smoke1.tga |
| 77 |
blendfunc blend |
| 78 |
rgbGen Vertex |
| 79 |
tcMod rotate -55 |
| 80 |
tcMod stretch sin 0.7 0 0 1 |
| 81 |
alphaGen Vertex |
| 82 |
detail |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
//Splash effect for bullets entering the water |
| 87 |
leisplash |
| 88 |
{ |
| 89 |
{ |
| 90 |
clampmap sprites/le/splash.tga |
| 91 |
blendfunc gl_src_alpha gl_one |
| 92 |
rgbGen Vertex |
| 93 |
tcMod rotate -95 |
| 94 |
tcMod stretch sin 0.4 0 0 1 |
| 95 |
alphaGen Vertex |
| 96 |
} |
| 97 |
{ |
| 98 |
clampmap sprites/le/splash.tga |
| 99 |
blendfunc gl_src_alpha gl_one |
| 100 |
rgbGen Vertex |
| 101 |
tcMod rotate 79 |
| 102 |
tcMod stretch sin 0.7 0 0 1 |
| 103 |
alphaGen Vertex |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
//Boom sparks from explosions |
| 108 |
leiboom1 |
| 109 |
{ |
| 110 |
{ |
| 111 |
clampmap sprites/le/blast.tga |
| 112 |
blendfunc gl_src_alpha gl_one |
| 113 |
tcMod stretch sin 0.6 0 0 1 |
| 114 |
tcMod rotate -88 |
| 115 |
alphaFunc GE128 |
| 116 |
} |
| 117 |
{ |
| 118 |
clampmap sprites/le/blast.tga |
| 119 |
blendfunc gl_src_alpha gl_one |
| 120 |
tcMod stretch sin 0.8 0 0 1 |
| 121 |
tcMod rotate 122 |
| 122 |
alphaFunc GE128 |
| 123 |
} |
| 124 |
{ |
| 125 |
clampmap sprites/le/glaw.tga |
| 126 |
blendfunc gl_src_alpha gl_one |
| 127 |
rgbGen const ( 0.886275 0.34902 0.321569 ) |
| 128 |
alphaGen Vertex |
| 129 |
} |
| 130 |
} |
| 131 |
|
| 132 |
//Blood particle (from trailing gib or impact of bullet) |
| 133 |
leiblood1 |
| 134 |
{ |
| 135 |
{ |
| 136 |
clampmap sprites/le/blood.tga |
| 137 |
blendfunc blend |
| 138 |
rgbGen const ( 0.372549 0.372549 0.372549 ) |
| 139 |
tcMod rotate 3 |
| 140 |
tcMod stretch sin 0.7 0 0 1 |
| 141 |
alphaGen Vertex |
| 142 |
} |
| 143 |
{ |
| 144 |
clampmap sprites/le/blood.tga |
| 145 |
blendfunc blend |
| 146 |
rgbGen const ( 0.615686 0.141176 0.141176 ) |
| 147 |
tcMod rotate -7 |
| 148 |
tcMod stretch sin 0.4 0 0 1 |
| 149 |
alphaGen Vertex |
| 150 |
detail |
| 151 |
} |
| 152 |
} |
| 153 |
|
| 154 |
//Mark for blood particle |
| 155 |
leiblood2 |
| 156 |
{ |
| 157 |
polygonoffset |
| 158 |
{ |
| 159 |
clampmap sprites/le/blood3.tga |
| 160 |
blendfunc gl_zero gl_one_minus_src_color |
| 161 |
rgbGen identity |
| 162 |
} |
| 163 |
} |
| 164 |
|
| 165 |
//preliminary fireball boom |
| 166 |
leifball |
| 167 |
{ |
| 168 |
{ |
| 169 |
clampmap sprites/le/glaw.tga |
| 170 |
blendfunc add |
| 171 |
rgbGen identity |
| 172 |
} |
| 173 |
} |
| 174 |
|
| 175 |
//plasma trail |
| 176 |
leiptrail |
| 177 |
{ |
| 178 |
{ |
| 179 |
clampmap sprites/le/ptrail.tga |
| 180 |
blendfunc gl_src_alpha gl_one |
| 181 |
rgbGen const ( 0.713726 0.819608 0.913726 ) |
| 182 |
tcMod stretch sin 0.6 0 0 1 |
| 183 |
tcMod rotate -22 |
| 184 |
alphaFunc GE128 |
| 185 |
} |
| 186 |
{ |
| 187 |
clampmap sprites/le/ptrail.tga |
| 188 |
blendfunc gl_src_alpha gl_one |
| 189 |
rgbGen const ( 0.337255 0.4 0.611765 ) |
| 190 |
tcMod stretch sin 0.8 0 0 1 |
| 191 |
tcMod rotate 6 |
| 192 |
} |
| 193 |
} |
| 194 |
|
| 195 |
|
| 196 |
// The crap that comes out of walls |
| 197 |
leispark |
| 198 |
{ |
| 199 |
{ |
| 200 |
clampmap sprites/le/spark2.tga |
| 201 |
blendfunc gl_src_alpha gl_one |
| 202 |
rgbGen identity |
| 203 |
//alphaGen Vertex |
| 204 |
} |
| 205 |
} |
| 206 |
|
| 207 |
// Metal Crap is brighter |
| 208 |
leispark2 |
| 209 |
{ |
| 210 |
{ |
| 211 |
clampmap sprites/le/spark2.tga |
| 212 |
blendfunc gl_src_alpha gl_one |
| 213 |
rgbGen identity |
| 214 |
tcMod stretch sin 0.4 0.3 0 5 |
| 215 |
alphaGen Vertex |
| 216 |
} |
| 217 |
{ |
| 218 |
clampmap sprites/le/spark2.tga |
| 219 |
blendfunc gl_src_alpha gl_one |
| 220 |
rgbGen identity |
| 221 |
tcMod stretch sin 0.7 0.3 0 3 |
| 222 |
alphaGen Vertex |
| 223 |
} |
| 224 |
} |