None-autofiring weapon

Sat Sep 18, 2021 8:40 pm

I have come full circle and am working on doom mods again and I am trying to make a melee weapon where you can't just hold down the fire button and keep swinging. How would I go about doing that? Like, you need to press the fire button each time you want to swing.

Re: None-autofiring weapon

Sun Sep 19, 2021 2:47 am

Simply add the WEAPON.NOAUTOFIRE flag to your weapon.

Re: None-autofiring weapon

Sun Sep 19, 2021 10:53 am

Aaannnd damn. It doesn't work on Zandronum...

Is there another way?

Re: None-autofiring weapon

Sun Sep 19, 2021 10:57 am

Remove A_ReFire from your fire state sequence?

Re: None-autofiring weapon

Sun Sep 19, 2021 11:00 am

Wow I am dumb.

So uh, "NoAutoFire" is a property flag, not a "Weapon." definition. XD

Thank you guys! :3