Updated 12/12/11 for Kaedrin's v1.41.4 compatibility.
The purpose of this bunch of scripts is to fix the way your char will sometimes switch off their combat mode (rapid shot etc.) when you're not directly controlling them. It works ONLY in puppet mode so if you play with the AI on you have no reason to download this. By using The Fred's awesome Scriptable Party mod you can assign a specific script for every character, who will then attempt to turn on a mode at the start of every round as instructed in my scripts. The only (known) unfortunate side-effect is that as long as the character has that mode assigned, they will keep turning it on every round even if you switched it off unless you directly control the character in which case the script is not run at all. UPDATE: As of version 1.02 you can toggle modes on and off, see readme for details/issues.
The only combat mode not included is parry because it sucks and I imagine setting it on automatically all the time would do more harm than good.
---Installation---
- Download and install "The Fred's Scriptable Party" - Link - Dump my files into the override folder in either your installation directory or at My Documents/Neverwinter Nights 2/override.
---Usage in Game---
- Open the character screen behavior tab and hit the "change" button right on the top
- If the button isn't there then another mod you're using has a conflicting characterscreen.xml file (like Tony K's AI). You can either remove that file from the other mod, or simply type the following to bring up the window that lets you assign the script:
##debugmode 1
##rs gui_fredai_change
##debugmode 0
-Type in the name of one of the following scripts to assign a combat mode for the char:
default_puppet // Empty script. If simply entering nothing into the field doesn't return things to normal this should do it
force_rs // Rapid Shot
force_pa // Power Attack
force_ipa // Improved Power Attack
force_ce // Combat Expertise
force_ice // Improved Combat Expertise
force_fob // Flurry
force_dc // Defensive Casting
force_rs_and_pa // Rapid Shot when using ranged, Power Attack when using melee
force_rs_and_ipa // You can guess the rest I'm sure
force_rs_and_ce
force_rs_and_ice
force_rs_and_fob
---Compatibility---
If you're using Tony K's AI you'll have to delete the file called "gb_comp_combat.ncs" from his pack. This is the only core script being modified so it's what you should check for in other mods as well. I play tested briefly with this change and everything seemed to go fine. If enemies are doing something weird after you install this then removing Tony K's pack completely is worth a try. The script in question should not have anything major stored in it (the core version basically just instructs creatures to run their AI script again every round) so I doubt there will be any issues, but without knowing what Tony K has modified in it I can't say for sure.
---Thanks To---
- The Fred for making his Scriptable Party mod and helping me with these scripts. His mod is doing most of the work here, my script simply lets it run in puppet mode.
- The helpful community members at the NWN2 forums for answering my stupid questions:
MasterChanger, _Knightmare_, painofdungeoneternal, kevL
-------- Updates in v1.01 ------------
- Flurry of Blows now supported
- Added compatibility for the Risen Hero campaign (v 1.50). Install the campaign first, then replace the Risen_Hero_2DA.hak with my version. This removes the same file that causes a conflict with Tony K's (as Risen Hero has Tony K's built in).
-------- Updates in v1.02 ------------
- Defensive Casting now supported
- New optional feat system that makes it possible to toggle modes on and off.
-------- Updates in v1.03 ------------
-Manyshot toggle now works for rangers
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone