Fix flame thrower model (Linux), flash, ammo, and explosion

Convert TGA to tga in flamethrower.md3 so it works on Linux (case sensitive) when data is not zipped.
Add flame thrower muzzel flash shader to it doesn't have a black background (copied machine gun's flash shader).
Fix flame thrower using BFG ammo model name in code/game/bg_misc.c.
Fix flame thrower ammo shader (filename typo).
Fix flame explosion in code/cgame/cg_weapons.c.
Rename gfx/color/black.tga to gfx/colors/black.tga like explosion (and other) shaders expect.
This commit is contained in:
zturtleman 2019-05-16 23:11:02 +00:00
parent eaad2d0d4d
commit dd1c25ea9e
6 changed files with 13 additions and 2 deletions

View file

@ -202,7 +202,7 @@ models/powerups/ammo/flameammo
models/powerups/ammo/flameammo2
{
{
map models/powerups/ammo/flmeammo2.tga
map models/powerups/ammo/flameammo2.tga
rgbGen identity
}
}

View file

@ -0,0 +1,10 @@
models/weapons2/flamethrower/f_flamethrower
{
cull disable
{
clampmap models/weapons2/flamethrower/f_flamethrower.tga
blendfunc add
rgbGen identity
tcMod rotate 5288
}
}

View file

@ -2029,6 +2029,7 @@ void CG_MissileHitWall( int weapon, int clientNum, vec3_t origin, vec3_t dir, im
sfx = cgs.media.sfx_plasmaexp;
mark = cgs.media.burnMarkShader;
radius = 16;
isSprite = qtrue;
break;
// Q3Rally Code END

View file

@ -620,7 +620,7 @@ gitem_t bg_itemlist[] =
{
"ammo_flame",
"sound/misc/am_pkup.wav",
{ "models/powerups/ammo/bfgam.md3",
{ "models/powerups/ammo/flameam.md3",
NULL, NULL, NULL},
/* icon */ "icons/icona_flame",
/* pickup */ "Flame Ammo",