Jump to content

Home

shader alteration


Szico VII

Recommended Posts

how do i adjust this shader so it looks like the teleport in stargate sg-1 (basically, its going outward from the middle.)

 

textures/darkforces/teleport

{

qer_editorimage textures/darkforces/teleport.tga

surfaceparm nodamage

surfaceparm nomarks

surfaceparm nonsolid

surfaceparm trans

q3map_material Glass

q3map_nolightmap

cull disable

{

map textures/darkforces/teleport

blendFunc GL_ONE GL_ONE

rgbGen wave sin 0.5 0.1 0.01 0.5

tcMod scroll 0.0 5

tcMod turb 0.0 5

}

{

map textures/darkforces/laserdoor2.tga

blendFunc GL_ONE GL_ONE

rgbGen wave sin 0.2 0.1 0.01 0.5

tcMod scroll 0.0 5

tcMod turb 0 0 0 1

}

}

Link to comment
Share on other sites

well in the level, there are 2 routes. the normal one, and the hidden, but much quicker and easier one. in the long route, you get teleported onto a planet called eart and have to find your way back before continuing. i want the teleport which sends you there to looks like the one ibn stargate, but i dont know which shader script does this.

Link to comment
Share on other sites

Look at

 

effects/env/beam.efx

effects/env/beam_bolts.efx

effects/env/beam_lights.efx

effects/mp/spawn.efx

 

Those files are used to show the big green beam. Modifying those will modify how the effect works, you'll probably have to modify the shaders as well...but that'll be mainly for colors and blending.

Link to comment
Share on other sites

Well you can't really make a brush appear like how you intend. And if you transport people without modifying the efx files you'll get the green effect on top of any effect you make.

 

In the end the key is in efx files as they give you the kind of control that would make a Stargate type transport possible.

 

Btw the 3rd one you posted, I don't have any replacement transport effects in it (being my map :p)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...