Jump to content

Magnetically sealed walls? (projectiles bounce off)


Go to solution Solved by Ramikad,

Recommended Posts

So I'm at the point with Nar Shaddaa where the original level had some magnetically sealed walls for projectiles to bounce off. Is there a specific brush type or shader property for this? I know the bowcaster's secondary bolts are magnetically sealed, but I haven't seen anything for the surfaces themselves.

Link to comment

Thanks @@Ramikad - that was it. Here's an example from doomgiver.shader for anyone else who wants to see.


textures/doomgiver/forcefield
{
	qer_editorimage	textures/doomgiver/energything.tga
	surfaceparm	nomarks
	surfaceparm	nonsolid
	surfaceparm	playerclip
	surfaceparm	shotclip
	surfaceparm	forcefield
	surfaceparm	trans
	q3map_nolightmap
    {
        map textures/doomgiver/energything2
        blendFunc GL_ONE GL_ONE
        rgbGen wave sin 0.65 0.35 0 0.2
        tcMod scroll -1 2
    }
    {
        map textures/doomgiver/energything2
        blendFunc GL_ONE GL_ONE
        tcMod scroll 2 1
    }
}

Link to comment
Guest Redemption

Can this effect be added like this:

 

 

models/players/shadowtrooper/torso_arms
{
qer_editorimage models/players/shadowtrooper/torso_arms
surfaceparm forcefield
{
map models/players/shadowtrooper/torso_arms
blendFunc GL_ONE GL_ZERO
rgbGen lightingDiffuse
}
{
map models/players/shadowtrooper/torso_arms_spec
blendFunc GL_SRC_ALPHA GL_ONE
detail
alphaGen lightingSpecular
}
}

 

 

I've always liked the idea that the cortosis armour made the saber redundant, so you have to use another means to dispatch of the Shadowtroopers :)

 

Or... In the shader can we make it so when you hit the opponent the saber bounces off like when you hit a wall in Academy?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...