ts/zpak001.pk3dir/particles/ts_fx_explosion_grenade.cfg

73 lines
1.4 KiB
INI

// Copyright (c) 2000-2019, Vera Visions. All rights reserved.
r_part te_explosion_decal
{
type cdecal
blend premul_subtract
texture "textures/particles/gunshots_tile"
tcoords 0 0 0.125 1 1 8 0.125
rgbf 1 1 1
alpha 1
alphadelta -0.05
scale 128 128
scalefactor 1
stretchfactor 1
die 20 20
orgwrand 6 6 6
}
r_part te_explosion_smoke
{
texture "textures/particles/smoke"
tcoords 0 0 0.125 1 1 8 0.125
count 1
scale 1024
die 3
rgb 50 50 50
spawnmode ball
blend add
gravity -50
veladd -20
spawnorg 0.25
randomvel 2.25 -15
scalefactor 1
}
r_part explosion_grenade
{
texture "textures/particles/explo"
tcoords 0 0 0.125 1 1 8 0.125
count 1
scale 512
scalefactor 1
die 0.5
rgbf 1 1 1
friction 1
//MODDD - commenting this out avoids the "warning: assoc on particle chain "X" overridden" message.
// Why do + r_part's like +explosion_grenade cause that if the forer had an "Assoc" line, or so I can only assume? No idea
// assoc te_explosion_decal
blend add
emit te_explosion_smoke
emitinterval 0.15
rotationstart -180 180
}
r_part +explosion_grenade
{
type normal
blend blendalpha
texture "textures/particles/bits"
tcoords 0 0 0.125 1 1 8 0.125
count 64
rgb 255 255 255
alpha 1
scale 32 32
scalefactor 1
stretchfactor 1
die 3
veladd -1024
randomvel 128 512
gravity 400
rotationstart -180 180
}