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.
[Decorate] Custom Spread for A_CustomPunch
Moderator: GZDoom Developers
- 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:
- 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
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
Re: [Decorate] Custom Spread for A_CustomPunch
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.
- 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
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.
Re: [Decorate] Custom Spread for A_CustomPunch
Custom spread, eh? That would be great for a chainsaw altfire which would slice from side to side, or up and down.