A collection of the tools and global includes I've created over the years. Included in this package are 3 very useful GUI scripts; a few functions that format strings; an include with hex-to-int and int-to-hex conversions, and a script you can use to make a standard script template like oNWN.
____________
GUI Library
������������
These were intended for debugging, but I've found they works well in conversation nodes as well as UI XML definitions. - guiss ("GUI Show Screen"): Use this script to open, close, or toggle a UI Screen.
- guiso ("GUI Set Object Hidden"): Use this script to show, hide, or toggle a UIObject's hidden state.
- guish ("GUI Swap Hidden States"): Use this script to swap the hidden states of two UI Objects in a single UI screen.
(the comments in each contain pretty detailed usage info.)
_________________________
String Formating Library
�������������������������
A collection of functions for formating and manipulating strings. (There's only 3 atm)
- FormatString()
- FormatIntToString()
- IntToBitString()
(prototypes in the code below)
____________________________
Math and Conversion Library
����������������������������
Only three functions in this one as well (for the meantime).
- IntPow()
- HexToInt()
- IntToHex()
(prototypes in the code below)
________________
Script Template
����������������
This script contains all my comment templates: a file header sectioned for a title, script name, date, summary, notes/usage, author, and change log.
Below are various topic headers that help me spot things quicker and look neater. Including sectioned topis for: configureable constants, warning not to edit the code below, headers for constants, prototypes, definitions, and end of file. There's also a slim header I use to mark each definition.
Import the erf and save it as a template (the parts you like)
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