Introduction

Every significant GUI in Neverwinter Nights 2 consists of a file in .xml format, which contains the code for the visual part of GUI. Additionally, each GUI is generally accompanied by a number of NWScript scripts, which are responsible for the logic of the GUI and follow a specific naming convention.

The XML GUI system is not the most modern approach as of now - this is clear - but it still remains a powerful tool in the capable hands, allowing you to create complex interactive systems. You will not find fancy animations and bling-bling amongst the GUI features, but you will be able to create such things as custom Object Managers, DM or Player Toolbars, Status Bars (character hunger/thirst state, stamina bar, mana bar - easy), Crafting UI's and more.

UI Objects

People who are familiar with files composed in .xml format might notice that NWN2's XML has certain differences from how XML files are traditionally composed.

Common Attributes

TODO

UIScene

TODO

UIPane

TODO

UIText

TODO

UIButton

TODO

UIIcon

TODO

UIGrid

TODO

UIListBox

TODO

UIFrame

TODO



  • No labels