Custom Attack Patterns

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
CrackedTinCan
Posts: 1
Joined: Mon Aug 26, 2024 1:51 am
Graphics Processor: nVidia (Modern GZDoom)

Custom Attack Patterns

Post by CrackedTinCan »

Hello ZDoomers, i am rather new to modding in (Ultimate Doom Builder + GZDoom). I've seen how some terry wads and others have unique attack patterns, like projectiles launching from a spiral, how would i go on about making some of these unique attack patterns? (Example in image.)
Thanks, and i hope you guys can point me in the right direction so i can make more interesting fights in my wads.
Attachments
asdfkkjl.png
asdfkkjl.png (6.01 KiB) Viewed 308 times
yum13241
Posts: 874
Joined: Mon May 10, 2021 8:08 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): EndeavorOS (basically Arch)
Graphics Processor: Intel with Vulkan/Metal Support
Contact:

Re: Custom Attack Patterns

Post by yum13241 »

Spam the same call to A_FireProjectile but change the angle parameter, and the zofs parameter, I believe.

If you have a WAD that does this, try looking at its code and see if you can tell what's going on.
Post Reply

Return to “Scripting”