[Decorate] Custom Spread for A_CustomPunch

Moderator: GZDoom Developers

Post Reply
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

[Decorate] Custom Spread for A_CustomPunch

Post by NeuralStunner »

The ever-handy horizontal and vertical spread parameters, as in [wiki]A_FireBullets[/wiki]. And CPF_EXPLICITANGLE for the flags field, as well.

This would closely emulate A_FireBullets in many respects, other than the behavior of orienting your view toward the target, and of course the life steal ability.
User avatar
Lord Misfit
Posts: 227
Joined: Wed Dec 27, 2006 8:13 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Location: Canton, OH
Contact:

Re: [Decorate] Custom Spread for A_CustomPunch

Post by Lord Misfit »

Hm, I wonder if it's possible for a feature in connection to this that would allow you to hit multiple enemies in the cone/spread of the melee attack? I have a melee attack weapon in a mod of mine that is essentially a long staff/sceptre that should rightfully be able to hit a "row" of the closest enemies within a cone/spread, even if you make it that each enemy in the cone along a path [from left-to-right/right-to-left] takes less damage than the previously hit enemy. Just a thought though. o.o
User avatar
SFJake
Posts: 531
Joined: Sat Nov 03, 2007 11:28 am

Re: [Decorate] Custom Spread for A_CustomPunch

Post by SFJake »

If my request was done and you could configure the cones precisely, you could kind of do that, making each "tic" hit at a different angle. You'd need a way to turn off the "turn to face enemy" thing too.
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

Re: [Decorate] Custom Spread for A_CustomPunch

Post by Ryan Cordell »

Spread_XY and Spread_Z are now coded in, along with CPF_EXPLICITANGLE, and hopefully, in the future, CPF_EXACTANGLE if you want to position a puff somewhere precisely.
User avatar
H3llraich
Posts: 39
Joined: Thu Feb 03, 2011 2:53 am
Location: Dead in STR35

Re: [Decorate] Custom Spread for A_CustomPunch

Post by H3llraich »

Custom spread, eh? That would be great for a chainsaw altfire which would slice from side to side, or up and down.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”