Etherchest
2.0
2021 jan 3
for Neverwinter Nights 2
VERSION 2 IS INCOMPATIBLE WITH EARLIER VERSIONS. If you have used an earlier
version go retrieve your stuff from it and close the chest empty before using
this version! Then delete your old version before installing this one.
This is a chest capable of interdimensional travel to any module or campaign. It
tracks contained items in a database.
INSTALLATION
------------
Unzip "Etherchest" to your MyDocs /override folder while Nwn2 is NOT running.
USAGE
-----
Load your game. Then from the console, enter
MAKE A SAVE before doing this
`
debugmode 1
rs etherchest
debugmode 0
`
That should create the chest at your feet. Messages should appear in the
chatbox. The chest will be open, it should be empty. Place items that you wish
to transfer to other characters into the chest. Closing the chest ought store
the items in three "etherchest" files in your MyDocs /database folder.
The chest should disappear when it's closed. Note that exiting the game while
the chest is open WILL CLOSE THE CHEST and save its state to the database -- you
probably don't want to do that. Close the chest nicely.
Run the console commands above at any time to conjure the chest with its items.
Note that if the chest is closed empty, the three files in the /database folder
shall be deleted.
Feel free to leverage the interdimensionality of the chest to store 5 sets of
armors and 20 different weapons, for example. This is an exploit, aka cheating.
Have fun - because why not.
TO ADD TO GUI
------------
Add something like this to, for example, "playermenu_popup.xml"
<!-- Etherchest -->
<UIButton name="PM_PLIST_IMAGE" x="19" y="314" width="24" height="24"
OnToolTip='UIObject_Tooltip_DisplayTooltipString("Conjure Etherchest","OBJECT_X","OBJECT_Y","SCREEN_TOOLTIP_2","ALIGN_NONE","ALIGN_NONE","0","0","ALIGN_LEFT")'
OnLeftClick0='UIButton_Input_ScreenClose("SCREEN_PLAYERMENU_POPUP")'
OnLeftClick1='UIObject_Misc_ExecuteServerScript("gui_etherchest")' >
<UIFrame state="up" fill="b_partyselect.tga" />
<UIFrame state="down" fill="b_partyselect.tga" />
<UIFrame state="focused" fill="b_partyselect.tga" />
<UIFrame state="hilited" fill="b_partyselect.tga" />
<UIFrame state="hifocus" fill="b_partyselect.tga" />
<UIFrame state="disabled" fill="b_partyselect.tga" />
</UIButton>
<UIButton name="PLIST_TOGGLE_BUTTON" x="44" y="314" text="Conjure Etherchest" style="PM_TOGGLE_BUTTON"
OnToolTip='UIObject_Tooltip_DisplayTooltipString("Conjure Etherchest","OBJECT_X","OBJECT_Y","SCREEN_TOOLTIP_2","ALIGN_NONE","ALIGN_NONE","0","0","ALIGN_LEFT")'
OnLeftClick0='UIButton_Input_ScreenClose("SCREEN_PLAYERMENU_POPUP")'
OnLeftClick1='UIObject_Misc_ExecuteServerScript("gui_etherchest")' />
Attachment | Size |
---|---|
![]() | 5.21 KB |
![]() | 5.88 KB |
Perfect!
I want to write a better check for duplicate tags (which are disallowed) since at present "sword_a" and "sword_ab" are considered duplicates (though it depends on the order that items are added to the chest). But no worries
version 2.0 no longer relies on tags to store items in the database. That is, items with the same tag ought be ok now
VERSION 2 IS INCOMPATIBLE WITH EARLIER VERSIONS. If you have used an earlier
version go retrieve your stuff from it and close the chest empty before using
this version! Then delete your old version before installing this one.
Is there something like this for NWN 1?
i suspect the scripts would compile in Nwn1 if the visual effects are bypassed
and a suitable replacement is used instead of GetOwnedCharacter()
etc?
This is great. I don't have to look up resrefs to console in missing items. I can load a Trainer such as Vorodan's Hero Creator or All the Adventurure's Needs. Buy what you need, put it in the chest, go back to your save game, and you are in business!
I've also made a few preloaded chests of starting equipment stored as zip files so I don't have to start new characters in a trainer first just to get gear for them.
sweet :)
but why is everyone using the obsolete version? ( cause it's bigger ? )
ps. they both "work" -- but the smaller version 2.0 can handle redundant tags
@GCoyote the two versions are incompatible however, so if you like what you got, i suggest just keep it :)
I think I got the 2.0 version from a link in the forum and that's why it's not showing in the count here. I put mutiple copies of common items in it all the time so it must be the 2.0, right?
yep, pretty sure yep
I wonder if this can be adapted to NWN 1.
the core of it uses the NwN database, which is the same for 1 and 2
but the Etherchest has things like visual effects (that are different) and accounts for Nwn2-only Companions etc.
I imagine that any scripter who's decently proficient in Nwn1 could get it working fairly quickly. That said, there's probably already something similar for Nwn1 ... i think i saw a thread about something similar not too long ago.
https://neverwintervault.org/project/nwn1/hakpak/leomunds-chest