This system extends the official DM Client functionalities.
It provides 2 main features:
- PC/PNC inventory manager
- Object's local variables manager
FEATURES
1) Display/manage PC/PNC inventory (give/take/equip/unequip items).
2) Display PC/PNC total inventory value (even equipped & carried values apart -> check tooltip).
3) Display PC/PNC owned gold.
4) Display PC/PNC encumbrance.
5) Display/Edit item's property within PC/PNC inventory (identified, plot, stolen, droppable, cursed flags).
6) Display item's value within PC/PNC inventory.
7) Display/create/edit/delete local variabibles
INSTALLATION
1) Import the scripts in your module.
a) CLASSIC MODE
Import the "dm_client_extension.erf" in your module
b) DIRECTORY MODE
Unzip the file "dm_client_extension.zip" in your module directory
2) Open your module with the Neverwinter Nights 2 Toolset. Add the following line of code in your "On Client Enter Script":
ExecuteScript("wand_init", oPc);
3) Recompile all your module scripts.
4) Add the UI files to your module.
a) HAK VERSION
Copy the file "dm_client_extension.hak" in your "Documents\Neverwinter Nights 2\hak" folder.
Add the file "dm_client_extension" to the module's list of Hak Paks
Open your module with the Neverwinter Nights 2 Toolset -> View Module Properties -> Properties pane/tab -> Hak Paks
b) OVERRIDE VERSION
Unzip the file "dm_client_extension_UI.zip" in your override folder.
5) Save and close your module
Note
The default file "inventoryscreen.xml" has been slightly modified to allow "drag & drop give" feature.
You actually don't need to override this file if you don't feel safe or if you already have your own version of this file but you won't be able to drag & drop an item from the DM inventory to the PC/PNG inventory.
CONFIGURATION
1) Open the Neverwinter Nights 2 Toolset.
2) Edit the script "wand_inc_conf". All the options (a few options) are explained within the script.
3) Save the script and recompile all your module scripts.
LOCALIZATION
1) Open the Neverwinter Nights 2 Toolset.
2) Edit the script "wand_inc_language" and translate all the strings within quotes.
3) Save the script and recompile all your module scripts.
Note
You don't have to edit any XML file!!!
KNOWN ISSUES
1) Examine action is not 100% reliable as it is a trivial workaround.
2) Creature weapon's equipping action do not work with bite slot
3) Bite slot and left claw slot seems to be swapped (INVENTORY_SLOT_CWEAPON_B = 16 <-> INVENTORY_SLOT_CWEAPON_L = 14). I've taken account of this.
4) Equipping action follows the standard equipping action rules. i.e. You can't equip a weapon in you left hand slot if you don't have a weapon in your right slot.
Please, if you like this mod download and vote it.
It'is also doing it with the test module. I'm opening the human inventory with the DMCE Inventory manager, i click on his chest slot (scale armor), i go in Local Vars Manager : Int Vars, Create New, the Int Input Gui is appearing, and then the game crash. Same happen with a item in the inventory. Editing creature vars is working, but editing vars from the DMCE inventories make the game crash.
Posted by Caos81 at 2009-02-1409:54:03
No, actually local var manager is supposed to be the most reliable and stable part of the whole work. Could you kindly tell me how to reproduce the issue? What's your target when you try to create a new local var? _________________________ DM Client Extension for NwN2- Inventory Variables Manager xSoH - eXtended Sleight of Hand System DragonLance Italia NwN2 Italian Shard NwN2xLauncher
Posted by PNJ at 2009-02-1408:13:57
Caos81, i encoutering server crash when trying to create a new local variables (was a int). Is it normal?
Posted by Caos81 at 2009-02-1405:06:26
You're so kind! Yes, you only need to translate that file/script. Easy and clean for everyone :) As soon as your are done send me the file and I'll upload it here giving all your deserved credits. Thank you again! _________________________ DM Client Extension for NwN2- Inventory Variables Manager xSoH - eXtended Sleight of Hand System DragonLance Italia NwN2 Italian Shard NwN2xLauncher
Posted by puket at on02/10/09
You want only a translation from the wand_inc_language?.This is done right now by me in german language.Is there anything more?Ask you only,because sitting here in my office and cannot test the ui's.Told you the strings in the include are ok so far. Cheers!
Posted by Caos81 at 2009-02-1009:50:57
Thank you so much! By the way I'm looking for a "localization team". So far only english (a bad english) and italian versions are available. I'd like to provide german, french, spanish and whatever language this game has been sold I don't even know translation because the community deserve it. Please if anyone can help me I'll really appreciate it. Localization is really simple and will take only few minutes. _________________________ DM Client Extension for NwN2- Inventory Variables Manager xSoH - eXtended Sleight of Hand System DragonLance Italia NwN2 Italian Shard NwN2xLauncher
Posted by puket at on02/10/09
Thanks for the quick answer, Caos81.My voting here will be a 10. Will tell you why in some short words. 1.Your code is so far clean and without any bugs. 2.You filled a gap,where many modders where looking to after a very long time and nobody found the right way how to do (me included...:)). Thank you very much and good luck for you! Cheers!
Posted by Caos81_bis at 2009-02-1008:51:18
@ puket 1) If you use the hak pack version players still need the hak pack but you can give your DM only the override package (i.e. you don't add the hak to your module) and your players won't even ever know you are using such extension. 2) You only need to add the following 2 lines of code within the "InvPrototypeButton" button tag: OnMouseDrop0=UIObject_Misc_ExtractData("self:","objectid",0,local:100) OnMouseDrop1=UIObject_Misc_ExecuteServerScript("gui_set_last_dragged_item",local :100) Please note that this mod is only required if you want the dragdrop feature (drag and drop an item from DM inventory to PC/PNC inventory). DM can already create items into the PC/PNC inventory therefore you only want this feature for items actually stored into the DM inventory. P.S. This is a fake account. My previous, official one seems to be broken. I'm waiting for help about this issue. P.P.S. Please spread the word about this extension and I'll support it as best as I can.
Posted by puket at on02/10/09
Greetings Caos81! Have 2 questions please. 1.Do players need the hak pack form in a persistent world? 2.What line/code do you have changed in inventoryscreen.xml to make it compatible with my SlimGui inventoryscreen.xml? Cheers!
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