A_RadiusThrust (radius, force, affectshooter, neg)

Moderator: GZDoom Developers

User avatar
Setzer
Posts: 124
Joined: Mon Mar 13, 2006 11:12 pm
Location: nowhereville

A_RadiusThrust (radius, force, affectshooter, neg)

Post 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?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49115
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Why not? Might be useful for a gun that only shoots compressed air. ;) Negative force is not yet handled though.
User avatar
Jimmy
 
 
Posts: 4723
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him

Post by Jimmy »

That was quick. Awesome! :lol:
User avatar
Setzer
Posts: 124
Joined: Mon Mar 13, 2006 11:12 pm
Location: nowhereville

Post 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.
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

Wow! Great! This could be useful for Force Push!
User avatar
Cutmanmike
Posts: 11346
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom

Post by Cutmanmike »

Bump. I take it the neg paramter was canned? It doesn't seem to work.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49115
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

No, it doesn't.
User avatar
Cutmanmike
Posts: 11346
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom

Post by Cutmanmike »

So no way of having a "sucking" effect?
User avatar
Siggi
Posts: 3288
Joined: Sun Oct 03, 2004 8:57 am
Preferred Pronouns: They/Them
Location: South Africa

Post by Siggi »

There are plenty of wads which achieve a believable sucking effect, just look at DRE. :wink:
User avatar
Cutmanmike
Posts: 11346
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom

Post by Cutmanmike »

I'd really prefer not to use hacks btw
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post 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
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Post by Ryan Cordell »

They don't work compared to the real thing! ;) :P
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

You could inherit from the Loremaster's projectile like the Harpoon gun in WRW.

Return to “Closed Feature Suggestions [GZDoom]”