Poormetheus Posted December 11, 2016 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. 0 Quote Share this post Link to post
scifista42 Posted December 11, 2016 Instead of A_PlaySound, use the meleesound and misssound parameters of A_CustomPunch. 0 Quote Share this post Link to post
Poormetheus Posted December 11, 2016 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? 0 Quote Share this post Link to post
scifista42 Posted December 12, 2016 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. 0 Quote Share this post Link to post
Poormetheus Posted December 12, 2016 Okay great, thanks again! I'll give this a try and see how it goes. Happy Christmas! 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.