Guest FastCastPlease Posted November 8, 2020 Share Posted November 8, 2020 Would it be feasible to increase casting speed outside of combat much like the how the increased movement speed tweak works? I thought about including Improved Alacrity with the haste buff but looking at the code on Git I really don't know how to go about it. I'm doing a solo IWD run and find myself spending way too long pre-buffing every encounter. Can anyone help? Quote Link to comment
Jarno Mikkola Posted November 8, 2020 Share Posted November 8, 2020 (edited) Yes. You just need to add the effect to the specific spell the tweak uses. And then find if it gets disable like the normal auto haste effect does. Here's how it's added.... to say line number 162. COPY_EXISTING ~a7_wlk1.spl~ ~override~ LPF add_spell_effect INT_VAR opcode = 188 target = 2 timing = 1 parameter2 = 1 END EDIT: Could someone say why the lines 142-143 exist ? Cause the same code is excecuted at lines 145-146 ! And as far as I can tell, you shouldn't do the same thing twice. Edited November 8, 2020 by Jarno Mikkola Quote Link to comment
subtledoctor Posted November 9, 2020 Share Posted November 9, 2020 16 hours ago, Jarno Mikkola said: Could someone say why the lines 142-143 exist ? Cause the same code is excecuted at lines 145-146 It’s a different spl Quote Link to comment
Guest FastCastPlease Posted November 9, 2020 Share Posted November 9, 2020 On 11/8/2020 at 12:50 PM, Jarno Mikkola said: Yes. You just need to add the effect to the specific spell the tweak uses. And then find if it gets disable like the normal auto haste effect does. Here's how it's added.... to say line number 162. COPY_EXISTING ~a7_wlk1.spl~ ~override~ LPF add_spell_effect INT_VAR opcode = 188 target = 2 timing = 1 parameter2 = 1 END Thanks for the help, your code worked with a few small modifications. In case someone comes by this and wants to set it up: open increased_party_movement_speed.tpa in installdir/cdtweaks/lib/ paste Jarno's code (I did it on line 83 because I'm on Enhanced Edition, not sure if necessary) capitalize add_spell_effect in the code (setup-cdtweaks.exe throws an error otherwise) re-run setup-cdtweaks.exe and re-install the speed mod Kiitos avusta! Quote Link to comment
Guest FastCastPlease Posted November 9, 2020 Share Posted November 9, 2020 On 11/8/2020 at 12:50 PM, Jarno Mikkola said: Yes. You just need to add the effect to the specific spell the tweak uses. And then find if it gets disable like the normal auto haste effect does. Here's how it's added.... to say line number 162. COPY_EXISTING ~a7_wlk1.spl~ ~override~ LPF add_spell_effect INT_VAR opcode = 188 target = 2 timing = 1 parameter2 = 1 END Thanks for the help, your code worked with a few small modifications. In case someone comes by this and wants to set it up: open increased_party_movement_speed.tpa in installdir/cdtweaks/lib/ paste Jarno's code (I did it on line 83 because I'm on Enhanced Edition, not sure if necessary) capitalize add_spell_effect in the code (setup-cdtweaks.exe throws an error otherwise) re-run setup-cdtweaks.exe and re-install the speed mod Kiitos avusta! Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.