This example module is a functioning module showing how you can add the dragonkin as a playable race to your PW.
Credits!
Thanks to the creators of Leto script for NWN1.
Thanks to VirusMan for giving us a functioning leto script system for NWN2.
Link
Thanks to PNJ for giving me an example module with scripts so I could get this working.
Thanks to Ilrilan for giving us the Alternative nwnx4 hook so that we can use old systems like the leto script from NWN1.
Link
Thanks to Camb and Zarvhak for their work on the dragonkin hak pack. I wouldn't have been motivated to do any of this had it not existed!
Link
Please please! If I've used your content in someway and not given you credit or credit to the wrong person please let me know!
**To begin I consider this beta, I still have some player friendly menu options that need to be added. Like a "all done" option so the menu can be exited. There are also some color setting bugs for the under body *ie* selecting light brown comes out as purple.**
Instructions
The following steps will help you get going with my appearance changer using NWNX4. This install guide assumes you already have a base install of nwn2 server and NWNX4 running.
Instructions for configuring NWNX4 to use leto_script
-----------------------------------------------------
1.) Copy the LetoScript.dll file into your NWN2 install directory,copy xp_leto.dll into your NWNX4 directory. Then download the Alternate NWNX4 hook Ilrilan linked at the bottom of this readme and copy it over the NWNX4_Hook.dll in your NWNX4 directory. Please be sure to backup your files!
Instructions for world builders
--------------------------------
1.) Once you have your base module up you need to add the "dragonkin_v1-11.hak" to you module.
2.) With the dragonkin added to your module import the scriptNconvo.erf file into your module. This file adds the needed scripts and NPC to your module to get started.
3.) Copy and paste the contents of the on_enter script into your modules "On client enter script section. Then copy the contents of the on_exit script into your "On client leave script". Be aware that these scripts use object oPC=GetEnteringObject(); and object oPC=GetExitingObject(); make sure not to copy them into your current scripts.
4.Under creatures you should see a character named Kang. Place him into your module, bake and save the area if you haven't already. Now you should be ready to start the module up. If everything works correctly you should be able to talk to Kang and change your characters appearance.
Instructions for the example module
------------------------------------
1.) This should be really straight forward, copy the hak file dragonkin_v1-11 into your servers hak directory. Copy the zith_appearance_test.mod into your module directory.
2.) Then in your nwnx.ini file change your *example* "-module koranus" line to -module zith_appearance_test.
3.) Launch nwnx4 and if everything is setup correctly you should be good to go!
-----------------------------
Ilrilan's Alternate NWNX4 hook can be found here
Link
Things to come
---------------
Going to add in a check to make sure the player is human and that they haven't changed their appearance once before. Add dark vision as a ability, give a small dex penalty for size and a strength bonus.
Please message or e-mail me with any questions or comments. Also please visit us at Link
Possibly... I posted it here since its primarily about the example module and scripts. If enough people ask for it to be moved I'll ask the mods to move it.
Posted by Aspire at 2008-09-21 05:06:14 Voted 10.00 on 09/21/08
looks good, just wondering shouldnt this be under models or somthing :P?
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