home *** CD-ROM | disk | FTP | other *** search
- //=============================
- //
- // 'Sidrial' effects shaders;
- //
- // . triParticle
- // . starParticle
- // . gatCore
- // . gatCore2
- // . line
- // . selectedEntity
- // . energyStationHealerRay
- // . grennerExplosion
- // . blasterExplosion
- // . gatExplosion
- // . blaster_hud
- // . grenner_hud
- // . gat_hud
- // . crosshair_1
- // . crosshair_2
- // . crosshair_3
- // . crosshair_4
- // . sidrial_smokePuff
- // . countdown1
- // . countdown2
- // . countdown3
- // . countdownEnd
- // .
- // .
- // . Icons;
- // .
- // . gat
- // . blaster
- // . grenner
- // . energycells
- // . grenadeclip
- // . healthcanister
- // . healthplant_large
- // . modchip
- // .
- // .
- // . Disintegration shaders;
- // .
- // . grennerClipDisint
- // . ammoItemDisint
- // . ammoEnergyDisint
- // . healthCanisterDisint
- // . modChipDisint
- // . blasterDisint
- // . gatDisint
- // . grennerDisint
- // .
- // .
- // . shieldimpact
- // . shield_hud
- //
- //=============================
-
- triParticle
- {
- sort nearest
- cull none
- // deformVertexes wave 100 sin 0 .5 0 2.4
- {
- clampmap gfx/effects/triparticle.tga
- blendFunc GL_ONE GL_ONE
- rgbGen vertex
- tcMod rotate 180
- }
- }
-
- starParticle
- {
- sort nearest
- cull none
- // deformVertexes wave 100 sin 0 .5 0 2.4
- {
- clampmap gfx/effects/starparticle.tga
- blendFunc GL_ONE GL_ONE
- rgbGen vertex
- tcMod rotate -360
- }
- }
-
- gatCore
- {
- sort nearest
- cull disable
-
- // {
- // map models/weapons2/gat/gatbullet.tga
- // blendfunc blend
- // rgbGen Vertex
- // tcMod turb 0 1 0 1
- // tcMod scale 0.5 0.5
- // tcMod rotate 91
- // }
-
- {
- map models/weapons2/gat/gat_laser.tga
- blendfunc add
- rgbGen Vertex
- tcMod scroll 1 0
- }
- }
-
- gatCore2
- {
- sort nearest
- cull none
- {
- map models/weapons2/gat/gat_laser.tga
- blendFunc GL_ONE GL_ONE
- rgbGen vertex
- tcMod scroll -1 0
- }
- }
-
- line
- {
- sort nearest
- cull none
- {
- map gfx/effects/line.tga
- blendFunc GL_ONE GL_ONE
- rgbGen vertex
- }
- }
-
- selectedEntity
- {
- {
- map gfx/misc/selected_entity.tga
- alphaGen wave sin 0 1 0 2.5
- blendFunc blend
- }
- }
-
- energyStationHealerRay
- {
- sort nearest
- cull none
- {
- animmap 30 models/entities/energystation/chargerEnergy_0.tga models/entities/energystation/chargerEnergy_1.tga models/entities/energystation/chargerEnergy_2.tga models/entities/energystation/chargerEnergy_3.tga models/entities/energystation/chargerEnergy_4.tga models/entities/energystation/chargerEnergy_5.tga models/entities/energystation/chargerEnergy_6.tga models/entities/energystation/chargerEnergy_7.tga
- blendfunc add
- }
- }
-
- grennerExplosion
- {
- cull disable
- {
- animmap 11 models/weaphits/grenner_expl/grenner_expl_1.tga models/weaphits/grenner_expl/grenner_expl_2.tga models/weaphits/grenner_expl/grenner_expl_3.tga models/weaphits/grenner_expl/grenner_expl_4.tga models/weaphits/grenner_expl/grenner_expl_5.tga models/weaphits/grenner_expl/grenner_expl_6.tga models/weaphits/grenner_expl/grenner_expl_7.tga models/weaphits/grenner_expl/grenner_expl_8.tga
- rgbGen wave inversesawtooth 0 1 0 11
- // tcMod scale 0.5 0.5
- blendfunc add
- }
- {
- animmap 11 models/weaphits/grenner_expl/grenner_expl_2.tga models/weaphits/grenner_expl/grenner_expl_3.tga models/weaphits/grenner_expl/grenner_expl_4.tga models/weaphits/grenner_expl/grenner_expl_5.tga models/weaphits/grenner_expl/grenner_expl_6.tga models/weaphits/grenner_expl/grenner_expl_7.tga models/weaphits/grenner_expl/grenner_expl_8.tga gfx/colors/black.tga
- rgbGen wave sawtooth 0 1 0 11
- // tcMod scale 0.5 0.5
- blendfunc add
- }
- }
-
- blasterExplosion
- {
- cull disable
- {
- animmap 11 models/weaphits/blaster_expl/blaster_expl_1.tga models/weaphits/blaster_expl/blaster_expl_2.tga models/weaphits/blaster_expl/blaster_expl_3.tga models/weaphits/blaster_expl/blaster_expl_4.tga models/weaphits/blaster_expl/blaster_expl_5.tga models/weaphits/blaster_expl/blaster_expl_6.tga models/weaphits/blaster_expl/blaster_expl_7.tga models/weaphits/blaster_expl/blaster_expl_8.tga
- rgbGen wave inversesawtooth 0 1 0 11
- // tcMod scale 0.5 0.5
- blendfunc add
- }
- {
- animmap 11 models/weaphits/blaster_expl/blaster_expl_2.tga models/weaphits/blaster_expl/blaster_expl_3.tga models/weaphits/blaster_expl/blaster_expl_4.tga models/weaphits/blaster_expl/blaster_expl_5.tga models/weaphits/blaster_expl/blaster_expl_6.tga models/weaphits/blaster_expl/blaster_expl_7.tga models/weaphits/blaster_expl/blaster_expl_8.tga gfx/colors/black.tga
- rgbGen wave sawtooth 0 1 0 11
- // tcMod scale 0.5 0.5
- blendfunc add
- }
- }
-
- gatExplosion
- {
- cull disable
- {
- animmap 11 models/weaphits/gat_expl/gat_expl_1.tga models/weaphits/gat_expl/gat_expl_2.tga models/weaphits/gat_expl/gat_expl_3.tga models/weaphits/gat_expl/gat_expl_4.tga models/weaphits/gat_expl/gat_expl_5.tga models/weaphits/gat_expl/gat_expl_6.tga models/weaphits/gat_expl/gat_expl_7.tga models/weaphits/gat_expl/gat_expl_8.tga
- rgbGen wave inversesawtooth 0 1 0 11
- blendfunc add
- }
- {
- animmap 11 models/weaphits/gat_expl/gat_expl_2.tga models/weaphits/gat_expl/gat_expl_3.tga models/weaphits/gat_expl/gat_expl_4.tga models/weaphits/gat_expl/gat_expl_5.tga models/weaphits/gat_expl/gat_expl_6.tga models/weaphits/gat_expl/gat_expl_7.tga models/weaphits/gat_expl/gat_expl_8.tga gfx/colors/black.tga
- rgbGen wave sawtooth 0 1 0 11
- blendfunc add
- }
- }
-
- models/weapons2/blaster/blaster_hud
- {
- {
- map models/weapons2/blaster/blaster_hud.tga
- rgbGen entity
- blendfunc blend
- }
- }
-
- models/weapons2/grenner/grenner_hud
- {
- {
- map models/weapons2/grenner/grenner_hud.tga
- rgbGen entity
- blendfunc blend
- }
- }
-
- models/weapons2/gat/gat_hud
- {
- {
- map models/weapons2/gat/gat_hud.tga
- rgbGen entity
- blendfunc blend
- }
- }
-
- ui/sidrial/hud/crosshair_1
- {
- nopicmip
- {
- map ui/sidrial/hud/crosshair_1.tga
- blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- rgbGen vertex
- }
- }
-
- ui/sidrial/hud/crosshair_2
- {
- nopicmip
- {
- map ui/sidrial/hud/crosshair_2.tga
- blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- rgbGen vertex
- }
- }
-
- ui/sidrial/hud/crosshair_3
- {
- nopicmip
- {
- map ui/sidrial/hud/crosshair_3.tga
- blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- rgbGen vertex
- }
- }
-
- ui/sidrial/hud/crosshair_4
- {
- nopicmip
- {
- map ui/sidrial/hud/crosshair_4.tga
- blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- rgbGen vertex
- }
- }
-
- gfx/effects/sidrial_smokePuff
- {
- cull none
- entityMergable // allow all the sprites to be merged together
- {
- map gfx/effects/sidrial_smokePuff.tga
- blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- rgbGen vertex
- alphaGen vertex
- }
- }
-
- gfx/misc/countdown1
- {
- nopicmip
- nomipmaps
- {
- map gfx/misc/countdown1.tga
- blendfunc blend
- alphaFunc GE128
- }
- }
-
- gfx/misc/countdown2
- {
- nopicmip
- nomipmaps
- {
- map gfx/misc/countdown2.tga
- blendfunc blend
- alphaFunc GE128
- }
- }
-
- gfx/misc/countdown3
- {
- nopicmip
- nomipmaps
- {
- map gfx/misc/countdown3.tga
- blendfunc blend
- alphaFunc GE128
- }
- }
-
- gfx/misc/countdownEnd
- {
- nopicmip
- nomipmaps
- {
- map gfx/misc/countdownEnd.tga
- blendfunc blend
- alphaFunc GE128
- }
- }
-
- /////////////////////////////////////////////
- /////////////////// ICONS ///////////////////
- /////////////////////////////////////////////
- icons/weapons/gat
- {
- nopicmip
- {
- map icons/weapons/gat.tga
- alphaFunc GE128
- // blendfunc blend
- rgbgen vertex
- }
- }
-
- icons/weapons/blaster
- {
- nopicmip
- {
- map icons/weapons/blaster.tga
- // blendFunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/weapons/grenner
- {
- nopicmip
- {
- map icons/weapons/grenner.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/weapons/gat_s
- {
- nopicmip
- {
- map icons/weapons/gat_s.tga
- alphaFunc GE128
- // blendfunc blend
- rgbgen vertex
- }
- }
-
- icons/weapons/blaster_s
- {
- nopicmip
- {
- map icons/weapons/blaster_s.tga
- // blendFunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/weapons/grenner_s
- {
- nopicmip
- {
- map icons/weapons/grenner_s.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/ammo/energycells
- {
- nopicmip
- {
- map icons/ammo/energycells.tga
- blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/ammo/grenadeclip
- {
- nopicmip
- {
- map icons/ammo/grenadeclip.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/health/healthcanister
- {
- nopicmip
- {
- map icons/health/healthcanister.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/health/healthplant
- {
- nopicmip
- {
- map icons/health/healthplant.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/health/healthplant_open
- {
- nopicmip
- {
- map icons/health/healthplant_open.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/health/healthplant_large
- {
- nopicmip
- {
- map icons/health/healthplant_large.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/health/healthplant_large_open
- {
- nopicmip
- {
- map icons/health/healthplant_large_open.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/items/modchip
- {
- nopicmip
- {
- map icons/items/modchip.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
- icons/items/datasphere
- {
- nopicmip
- {
- map icons/items/datasphere.tga
- // blendfunc blend
- alphaFunc GE128
- rgbGen vertex
- }
- }
-
-
- models/powerups/ammo/grennerClipDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/powerups/ammo/grennerClip.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- models/powerups/ammo/ammoItemDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/powerups/ammo/ammoItemDisint.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- models/powerups/ammo/ammoEnergyDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/powerups/ammo/ammoEnergy.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- models/powerups/health/healthCanisterDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/powerups/health/healthCanisterDisint.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- models/powerups/holdable/modChipDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/powerups/holdable/modChip.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- models/weapons2/blaster/blasterDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/weapons2/blaster/blasterDisint.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- models/weapons2/gat/gatDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/weapons2/gat/gat.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- models/weapons2/grenner/grennerDisint
- {
- cull none
-
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 -0.0125 0.14
- alphafunc LT128
- }
- {
- map textures/sidrial_specialfx/glowedge.tga
- blendfunc add
- alphagen wave triangle 0.5 1 0.0125 0.14
- alphafunc LT128
- }
-
- {
- map models/weapons2/grenner/grenner.tga
- rgbGen lightingDiffuse
- alphagen wave triangle 0.5 1 0 0.14
- alphafunc LT128
- }
- {
- map $lightmap
- blendFunc filter
- depthFunc equal
- }
- }
-
- textures/sidrial_specialfx/shieldimpact
- {
- deformVertexes wave 100 sin 1.5 0 0 0
- {
- map textures/sidrial_specialfx/shield.jpg
- blendfunc GL_ONE GL_ONE
- tcGen environment
- tcmod rotate 30
- tcmod scroll .1 1
- rgbGen wave inversesawtooth 0 0.2 0 1
- }
- }
-
- textures/sidrial_specialfx/shield_hud
- {
- deformVertexes wave 100 sin 3 0 0 0
- {
- map textures/sidrial_specialfx/shield_hud.jpg
- blendfunc GL_ONE GL_ONE
- tcGen environment
- tcmod rotate 30
- tcmod scroll .1 1
- rgbGen entity
- }
- }