Page 1 of 1

A_RadiusThrust (radius, force, affectshooter, neg)

Posted: Sun Jul 02, 2006 2:09 pm
by Setzer
While I was sharing my opinions in the A_Implode thread, I got to thinking about a feature that just might be useful. It's about time I actually contribute something useful to these forums, so I might as well...

I have thought of a simple new DECORATE special: A_RadiusThrust (radius, force, affectshooter, neg). Its functionality is identical to A_Explode except it deals absolutely no damage, and retains only the thrust effect you get when blasting an enemy with a rocket or similar object. Sometimes it may be desirable to have something push enemies away without sending them to their grim death.

The params are mostly self-explanatory. Radius is... well, radius.
Force is how far away to push the enemies. For ease of use, this could possily be equivalent to the force generated by the Damage parameter in A_Explode (e.g. setting the Force parameter to 128 would yield the same result as a Damage setting of 128 in A_Explode, only without the damage).
Affectshooter determines whether the thrust is applied to the player/monster firing the projectile, or just the nearby enemies. This may be desired if the player himself is used as the center of the thrust and it isn't desired to send the player sky-high as well.
Finally, the Neg parameter if set to 1 provides negative thrust similar to the suggested A_Implode, sending monsters careening towards the center of the blast. If this were to be added, a 'tractor beam' weapon would be highly possible, for both players and monsters.

In conclusion... well, I don't posess much more information to say. What are all your thoughts on this?

Posted: Sun Jul 02, 2006 2:38 pm
by Graf Zahl
Why not? Might be useful for a gun that only shoots compressed air. ;) Negative force is not yet handled though.

Posted: Sun Jul 02, 2006 2:48 pm
by Jimmy
That was quick. Awesome! :lol:

Posted: Sun Jul 02, 2006 3:06 pm
by Setzer
Wow, thanks Graf! I never expected such a quick response, so thanks for the surprise. ;)

And I'll get by without the negative force for now. Hopefully it'll get added when the A_Implode situation is settled.

Posted: Mon Jul 03, 2006 1:58 pm
by Anakin S.
Wow! Great! This could be useful for Force Push!

Posted: Tue Aug 22, 2006 12:36 pm
by Cutmanmike
Bump. I take it the neg paramter was canned? It doesn't seem to work.

Posted: Tue Aug 22, 2006 12:49 pm
by Graf Zahl
No, it doesn't.

Posted: Wed Aug 23, 2006 5:59 am
by Cutmanmike
So no way of having a "sucking" effect?

Posted: Wed Aug 23, 2006 2:17 pm
by Siggi
There are plenty of wads which achieve a believable sucking effect, just look at DRE. :wink:

Posted: Wed Aug 23, 2006 3:23 pm
by Cutmanmike
I'd really prefer not to use hacks btw

Posted: Wed Aug 23, 2006 3:26 pm
by TheDarkArchon
Psycho Siggi wrote:There are plenty of wads which achieve a believable sucking effect, just look at DRE. :wink:
Also look at the x-rated directory at /idgames as well :P

Posted: Wed Aug 23, 2006 3:35 pm
by Ryan Cordell
They don't work compared to the real thing! ;) :P

Posted: Fri Sep 01, 2006 3:07 pm
by Anakin S.
You could inherit from the Loremaster's projectile like the Harpoon gun in WRW.