mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-25 21:31:34 +00:00
dd1c25ea9e
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.
209 lines
3.4 KiB
GLSL
209 lines
3.4 KiB
GLSL
// // // // SHADERS FOR OPEN ARENA AMMOBOX POWERUPS
|
|
// // // // jzero --> johnzero@verizon.net
|
|
// 1.machinegun
|
|
models/powerups/ammo/machammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 1 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/machammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/machammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 2.shotgun
|
|
models/powerups/ammo/shotammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 0.5 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/shotammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/shotammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 3.grenade launcher
|
|
models/powerups/ammo/grenammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0 0.56 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/grenammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/grenammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 4.lightning gun
|
|
models/powerups/ammo/lighammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 1 0.69 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/lighammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/lighammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 5.plasma gun
|
|
models/powerups/ammo/plasammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0.8 0 1 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/plasammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/plasammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
//6.rocket launcher
|
|
models/powerups/ammo/rockammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 0 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/rockammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/rockammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
//7. railgun
|
|
models/powerups/ammo/railammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0 1 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/railammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/railammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
//8. BFG
|
|
models/powerups/ammo/bfgammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0 0.4 1 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/bfgammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/bfgammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
//8. Flamethrower
|
|
models/powerups/ammo/flameammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0 0.4 1 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/flameammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/flameammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|