Page 1 of 1
Deflective Surfaces
Posted: Wed Jul 04, 2007 11:21 pm
by Fleabag77
I noticed that the walls of the scarab deflect bullets. How can I apply this effect to other surfaces?
Posted: Thu Jul 05, 2007 5:01 am
by turk645

i figured this out once but i cant remember. It had something to do with numbers, possable enum, that would determain the surface type of an object. I think the string is that you see saying the surface type might be more for reference than purpose. Since i dont remember how to change the indevidual surface type you could just effect the projectile's collision output on its said materials. You just have to mess with the enum, i warn you though that the name they say are different than what actually happens due to a simple order mix up in the plugin.

sorry if you dont get any of that.
Posted: Thu Jul 05, 2007 6:42 am
by blackdiamond
i think i know where this might be. i believe its in the foot tag for the weapon your using, then swap all the effects to the right one in the foot tag, I THINK, but if not that, i believe its a value in the html of things of the vehi, bloc, scen, etc.
Posted: Thu Jul 05, 2007 9:27 am
by Fleabag77
turk645 wrote:
i figured this out once but i cant remember. It had something to do with numbers, possable enum, that would determain the surface type of an object. I think the string is that you see saying the surface type might be more for reference than purpose. Since i dont remember how to change the indevidual surface type you could just effect the projectile's collision output on its said materials. You just have to mess with the enum, i warn you though that the name they say are different than what actually happens due to a simple order mix up in the plugin.
I think I understood that. Basically, I need to adjust the projectile's effect on the surface I want to be deflective. The same principle as plasma grenades sticking to certain surfaces (obviously not the same technique)?
Posted: Thu Jul 05, 2007 9:32 am
by Tural
Posted: Thu Jul 05, 2007 9:41 am
by blackdiamond
Posted: Thu Jul 05, 2007 9:45 am
by Fleabag77
And still no medal below his name, what's up with that?
Anyway, I tried messing with the beam rifle's proj, and it refuses to deflect more than once. It hits the first wall, deflects, hits the second, and then dissapears.

Posted: Thu Jul 05, 2007 9:47 am
by blackdiamond
ask mr. murder, from his nightwinder mod, he did do that
Posted: Thu Jul 05, 2007 10:06 am
by Fleabag77
Yeah, it turns out the plugin was labeled wrong. 4 is indeed reflect.
Now I just need to slow the projectile down a bit. Thanks for your help, everyone.
Posted: Thu Jul 05, 2007 4:00 pm
by turk645
you might need to increase the "health" of the projectile in order for it to bounce farther. A projectile will only go as far as you specify so you have to up the value in order for it to last longer. On a side note its not a smart idea to test this inside a coag base, the bullets went every where.
Posted: Thu Jul 05, 2007 9:39 pm
by Fleabag77
Yeah, I increased the life of the projectiles. Strangely enough, I was doing this on Coag.
Posted: Thu Jul 19, 2007 11:32 am
by MrMurder
at the bottom of the proj tag are two floats you need to change parallel friction and perpendicular friction set them at 0 then change the explosion to when at rest.
then it bounces like mad and sticks a target to detonate.