q3rally/baseq3r/scripts/ammo.shader

241 lines
4.7 KiB
Text
Raw Normal View History

2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
// Shaders for Q3Rally Ammo Boxes - rewritten by P3rlE
// based on the ammo.shader from jzero --> johnzero@verizon.net
// ------------------------------------------------------------
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 1.Machinegun ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
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
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 2.Shotgun ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
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
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 3.Grenadelauncher ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
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
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 4.Lightninggun ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
models/powerups/ammo/lighammo
{
{
map models/powerups/ammo/ammobox.tga
rgbGen lightingDiffuse
}
{
map models/powerups/ammo/ammolights.tga
blendfunc blend
2020-07-04 20:40:00 +00:00
rgbGen const ( 0.50 1 1 )
2011-03-12 21:16:14 +00:00
alphaGen wave sawtooth 0 1 0 1
}
}
models/powerups/ammo/lighammo2
{
{
map models/powerups/ammo/lighammo2.tga
rgbGen identity
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 5.Plasmagun ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
models/powerups/ammo/plasammo
{
{
map models/powerups/ammo/ammobox.tga
rgbGen lightingDiffuse
}
{
map models/powerups/ammo/ammolights.tga
blendfunc blend
2020-07-04 20:40:00 +00:00
rgbGen const ( 0 0 1 )
2011-03-12 21:16:14 +00:00
alphaGen wave sawtooth 0 1 0 1
}
}
models/powerups/ammo/plasammo2
{
{
map models/powerups/ammo/plasammo2.tga
rgbGen identity
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 6.Rocketlauncher ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
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
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 7.Railgun ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
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
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 8.BigFuckingGun ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2011-03-12 21:16:14 +00:00
models/powerups/ammo/bfgammo
{
{
map models/powerups/ammo/ammobox.tga
rgbGen lightingDiffuse
}
{
map models/powerups/ammo/ammolights.tga
blendfunc blend
2020-07-04 20:40:00 +00:00
rgbGen const ( 0 1 0 )
2011-03-12 21:16:14 +00:00
alphaGen wave sawtooth 0 1 0 1
}
}
models/powerups/ammo/bfgammo2
{
{
map models/powerups/ammo/bfgammo2.tga
rgbGen identity
}
}
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
2020-07-07 17:20:07 +00:00
// 9.Flamethrower ammo
2020-07-04 20:40:00 +00:00
// ------------------------------------------------------------
models/powerups/ammo/flameammo
{
{
map models/powerups/ammo/ammobox.tga
rgbGen lightingDiffuse
}
{
map models/powerups/ammo/ammolights.tga
blendfunc blend
2020-07-04 20:40:00 +00:00
rgbGen const ( 1 0.5 0 )
alphaGen wave sawtooth 0 1 0 1
}
}
models/powerups/ammo/flameammo2
{
{
map models/powerups/ammo/flameammo2.tga
rgbGen identity
}
}