2011-03-12 21:16:14 +00:00
|
|
|
// // // // 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-06 22:52:24 +00:00
|
|
|
//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
|
|
|
|
{
|
|
|
|
{
|
2019-05-16 23:11:02 +00:00
|
|
|
map models/powerups/ammo/flameammo2.tga
|
2018-08-06 22:52:24 +00:00
|
|
|
rgbGen identity
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|