Spleeny Posted January 10, 2023 Hello, Is there a way to make weapon switch faster without editing weapons? like a wad working for any weapon? Thanks for your time. 0 Quote Share this post Link to post
Kan3 Posted January 10, 2023 I don't think so, cause what's making the switching slow is the A_Raise function inside of each weapon's Select state. 0 Quote Share this post Link to post
ramon.dexter Posted January 12, 2023 No, you cannot make if faster in already made weapons. But it is possible in newly created weapons. Forget dehacked, minimal requirement is decorate. When you set up deselect and select states in the following manner: Deselect: ASTF J 0 A_Lower(); ASTF J 1 A_Lower(); Loop; Select: ASTF J 1 A_Raise(); ASTF J 0 A_Raise(); Loop; It will select and deselect much faster. But keep in mind the order of durations. It's 0 1 for deselect and 1 0 for select. If you change it, it will not work. 1 Quote Share this post Link to post
Ralphis Posted January 12, 2023 43 minutes ago, ramon.dexter said: Forget dehacked, minimal requirement is decorate. I don't believe this is accurate. I'm pretty sure you can change the A_Raise state to switch in one frame via dehacked for near-instant weapon switching. 3 Quote Share this post Link to post
banjiepixel Posted January 15, 2023 On 1/12/2023 at 6:03 PM, ramon.dexter said: But keep in mind the order of durations. It's 0 1 for deselect and 1 0 for select. If you change it, it will not work. Why 1 0 for select? I have been using 0 1 for both deselect and select without any problem. And those are looping states so it's just cleaner to use same order for both. Also dehacked totally can do faster weapon switching: fastswitch-deh.zip 2 Quote Share this post Link to post
Doomkid Posted January 15, 2023 In DeHackEd, if you set your “WeaponRaise” frames to call a second “WeaponRaise” frame with a duration of 0, it will double the speed of the weapon raising. You can use the Commander Keen or WolfSS enemies for these extra frames. The frames must already have an “action” set in vanilla Doom, however in Boom, MBF etc you can add actions to frames that don’t have them, making this even easier. Tango also has an older thread explaining how to do this in DeHackEd in a less “frame wasting” way, too! 4 Quote Share this post Link to post
Spleeny Posted January 23, 2023 I managed to get want I want using banjiepixel dehacked file for standard weapons and A_Raise state trick for new ones. Thank you guys! 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.