Jump to content

PUNCH


Poormetheus

Recommended Posts

Hi all,

This is a quick call for help! I have a custom FIST actor that I downloaded from a website but it was incomplete and needed some editing.

Anyway, the A_PLAYSOUND is included in the states, so it plays the impact sound effect of a punch even when you just swing at the air!

Is there any way of solving this little annoyance?

Thanks in advance.

Share this post


Link to post

Thanks for your reply Scifista.

Will that work even though I have specified custom SFX for the respective hit and miss sounds, nay the hit sound when I have picked up a berserker power-up?

Share this post


Link to post

If you want different behavior depending on whether the player has berserk or not, use a conditional jump into a different attack state where A_CustomPunch has different parameters, as in the bottom-most example on the A_CustomPunch zdoom wiki page.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...