Monday, August 4, 2008

UI -Suffering from unintended clipping

I discovered that in the process of editing my chat windows for fullscreen width that the window was in turn being clipped by the system before reaching my target width, even though there was plenty of space left.

Cause: guisettings.ini
This file can be found under My Documents/Neverwinter Night 2/UI/default/ on Windows. This being the default override folder for in game user interface components(menus, buttons, borders, lists, etc).

Fix:
Remove the corresponding "width-[screen resolution] = x" or "height-[screen resolution] = x" lines from under the appropriate screen section which follows the following structure.
[screen name]
xpos-1024=x
ypos-768=x
width-1024=x
height-768=x
chatfilter=x
xpos-1600=x
ypos-1200=x
width-1600=x
height-1200=x

For example:

[defaultmpchat2]
xpos-1024=501
ypos-768=606
width-1024=314
height-768=123
chatfilter=1200
xpos-1600=782
ypos-1200=834
width-1600=731
height-1200=185
[timingscreen]
xpos-1024=420
ypos-768=500
xpos-1600=708
ypos-1200=801
[playerlist]
xpos-1024=160
ypos-768=165

Note: As you may have noticed, there are xpos- and ypos- lines. These correspond to the dragging features enabled on the UIScene tag found in the gui xml files that the user describes as draggable. They get saved each time upon exiting the module to the new position you moved them to whilst playing a module.


Default screens that you might experience this issue on include:
  • defaultchat
  • defaultmpchat1
  • defaultmpchat2
  • dmamount
As for community created screen additions then you simply need to look under the corresponding section in the guisettings.ini file, or make sure to create one for it.

Hope that can help some of you save some time as it would have done in my case.

Sunday, August 3, 2008

NWN1 Gui Porting to NWN2

Not Complete, still in development

I intend to recreate the look and feel of NWN1's gui whilst updating it to utilise any new features from NWN2.

I am also accepting custom modification requests to apply to the GUI once a base build has been completed.


Progress Report
WindowStatus
Character SheetDone
JournalDone
ExamineDone
Player InventoryDone
StoreDone
Loot/Bag/ChestDone
General StylesheetDone
Loading/SavingDone
Default hotbarTweaked
Party barNot Started
Chat windowsDone
Mode BarNot Started
Player menuNot Started
Loading/Saving menu Done
Character CreationNot Started
Character SelectionNot Started
Resting screensNot Started
World MapNot Started
Death ScreensNot Started
Module SelectionNot Started
Multiplayer MenuNot Started
Party RosterNot Started
Player listNot Started



Installation Instructions

The package files can be found on this page.

Just extract the file contents to My Documents\Neverwinter Nights 2\ui\default\. Then start up NWN2, and to uninstall simply delete those extracted files. Make sure you don't overwrite any other custom gui files

Viconius's style Non-scrolling over-the-head text (NWN1 style) mod will be incorporated at some point. Thanks Viconius!

Hope you like this GUI conversion and Thanks in advance for your feedback.


Thanks to:

Cyricc: for your square map and expanded loot window mods. I hope you don't mind me incorporating it, else please email me.

Forbidden: for the liberation fonts you posted in the vault.