How would i be able to add a dolphin dive+prone that's akin to helldivers?

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
Lordshitass
Posts: 2
Joined: Fri May 09, 2025 8:03 pm

How would i be able to add a dolphin dive+prone that's akin to helldivers?

Post by Lordshitass »

I want to make it so that if the player holds ctrl(or whatever button crouch is) after 1.5 seconds they go prone and also if they double tap the jump button while moving in any given direction it automatically lunges the player forward and enters the prone state while midair. On top of that would it be possible to make it so if the player is hit by splash damage depending on how much it hurts they get sent in the opposite direction of the explosion in said prone state?

https://i.imgur.com/CPwP9Ja.pngDiagram
Post Reply

Return to “Scripting”