A_CustomSpray

Moderator: GZDoom Developers

Post Reply
User avatar
Major Cooke
Posts: 8209
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

A_CustomSpray

Post by Major Cooke »

Right now, A_BFGspray is seriously limited to basically spawning one simple sprite and damaging the enemy for a changeable amount of damage, and tracers. I've even tried adding +EXTREMEDEATH to the actor that calls A_BFGSpray and the actor that performs as the spray, and it didn't work at a low damaging value.

So would there be a way to have like, say... A_CustomSpray that allows the spray puffs to do more, such as perform A_CustomMissile, A_SpawnItemEx (not even that worked)? Also, another addition to it would be FOV allowing the spray to proceed in a narrower or wider distance than the screen, and maxdistance for how far away it can hit enemies.
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:

Re: A_CustomSpray

Post by NeuralStunner »

It has a few parameters already, a few extra might not hurt. Although, if the tracers were like hitscans, and [wiki=Classes:BFGExtra]BFGExtra[/wiki] was handled as a puff, it would be less of an issue.

If you like, check out this code which I wrote up. It doesn't do damage in quite the same way, but I got it (kinda) close.
Spoiler: Hitscanned BFGBall
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”