mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2025-02-20 19:12:22 +00:00
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:
parent
eaad2d0d4d
commit
dd1c25ea9e
6 changed files with 13 additions and 2 deletions
Binary file not shown.
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
10
baseq3r/scripts/weapon_flamethrower.shader
Normal file
10
baseq3r/scripts/weapon_flamethrower.shader
Normal 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
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue