Jump to content

Magnetically sealed walls? (projectiles bounce off)


Go to solution Solved by Ramikad,

Recommended Posts

Posted

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.

Posted

I know that a couple of surfaces I've seen in maps, namely maps tend to bounce projectiles off of them when fired upon. Though I'm not sure what brush was used.

MB2 Beta Tester / MB2 FA Assistant Dev

Posted

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
    }
}

Guest Redemption
Posted

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?

Posted

I'm not sure you can use surfaceparms on non-map surfaces. You'll have to try it to see if it works.

So it not work on MD3? o.o i need to check that.

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...