Jump to content

Home

shader alteration


Szico VII

Recommended Posts

Posted

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

}

}

Posted

I'd presume it was an efx file that actually determines how the shader is applied. It's the same as the spawn effect.

 

My question back to you is why do you want a Stargate SG-1 transport effect, what you makin? SG = curiosity.

Posted

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.

Posted

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.

Posted

oops. maybe i should've been more clear. i dont want the effect when you teleport to change.

 

the brush which you have to walk into to teleport yourself is what i want the shader for. do you get me now?

Posted

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)

Archived

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

×
×
  • Create New...