KVELLER Posted April 12, 2017 (edited) I'm trying to get the Berserk Pack working for another actor, instead of "Fist", but I can't figure out how to do it. Can anyone help me? Please? I'm using DECORATE BTW. 0 Share this post Link to post
Gez Posted April 12, 2017 Berserk, by itself, doesn't do anything. It's just there. It's the code from the Fist weapon, specifically A_Punch, which checks if the player has a berserk item in inventory, and if so, it multiplies damage inflicted by 10. 0 Share this post Link to post
KVELLER Posted April 12, 2017 1 hour ago, Gez said: Berserk, by itself, doesn't do anything. It's just there. It's the code from the Fist weapon, specifically A_Punch, which checks if the player has a berserk item in inventory, and if so, it multiplies damage inflicted by 10. Oh, so that's why I couldn't find anything. Got it. Thanks again! 0 Share this post Link to post
Not Jabba Posted April 12, 2017 (edited) You can't just use the Berserk pack on another weapon, but you can get your new weapon to recognize that you have the Berserk pack and behave accordingly. I recently got some tips on how to do this here. Probably you want to use CountInv, though I ended up using A_JumpIfInventory instead. Also, you should really post questions like this in the Editing section of the forums. Edited April 12, 2017 by Not Jabba : Clarifications 0 Share this post Link to post
KVELLER Posted April 13, 2017 1 hour ago, Not Jabba said: You can't just use the Berserk pack on another weapon, but you can get your new weapon to recognize that you have the Berserk pack and behave accordingly. I recently got some tips on how to do this here. Probably you want to use CountInv, though I ended up using A_JumpIfInventory instead. Also, you should really post questions like this in the Editing section of the forums. Thank you! I'll take a look at it. And yes, I realised that I posted this in the wrong section afterwards. 0 Share this post Link to post