Another small but important update for nwncx_patch and nwnx_patch plugins:
v 1.19 download
- fixed 2 new crash issues in the plugin code
- fixed automatic toggling off combat mode when moving via keyboard and when attack action ends
- possessed creatures that aren't familiars or animal companions will be able to use placeables (only levers and such, nothing with inventory)
- support for custom base classes alignment settings - alignment selection is now reading values from 2da, where previously it was hardcoded
It should be much more stable now. Its possible there will be more crashes, but currently its running on a private PW and its running stable for several days. At this moment I think its ready to be considered final version as is.
Anyway, one note to the dynamic alignment selection. It does allow to change alignment of standard vanilla classes, however there are some side effects:
Pre-set alignment. Each vanilla class has a preset alignment which is hardcoded. Thats the default value that will be selected when you open the alignment selection window. Problem is, there is no way to "calculate" this default value by any means. Therefore I didn't change this. Vanilla classes will have still same default values (ie. chaotic neutral for barbar, chaotic good for bard and true neutral for druid) and custom classes will have no default value highlighted. This means that even if you change the vanilla class alignment for your purposes, it still show player chaotic good for bard even if chaotic good is disabled by your change and whats worse player will be able to click OK and go away with chaotic good.
Paladin special. Selecting paladin will skip the alignment selection (since he can choose only 1 option so that option is set automatically). So even if you change paladin alignment selection, it will still set Lawful good and skip it. Its possible to go back and select another value, but again it allows to select wrong alignment in case you want to completely rewrite the class into something else.
I am not exactly interested in changing this. Just to make it dynamic was painful process itself and these issues can be solved via scripting where you can change character alignment after login.
As for using placeables while possessed: the inability to open container placeable by possessed character is default restriction. I am not sure its wise to try ignore it. Is this feature really needed?