authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
Differences
This shows you the differences between two versions of the page.
Next revision
|
Previous revision
Next revision
Both sides next revision
|
building:creatures:appearance [2019/03/30 16:35] Mavrixio created |
building:creatures:appearance [2019/03/30 16:46] murdrkitten |
| |
===== Using SinfarX Features ===== | ===== Using SinfarX Features ===== |
| The functions for assigning XDATA appearances to NPCs are located in inc_appr. |
| |
| See: |
| https://nwn.sinfar.net/res_nss_edit.php?name=inc_appr |
| |
| In order to assign an XDATA appearance to a creature, you must have an Entire Appearance variable. This will assign Cloak, Helmet, Armor, Body, and Head V2 appearances to an NPC all in one go. |
| |
| Traditionally, the easiest way to get this string is as follows:\\ |
| 1. Open the Web Client.\\ |
| 2. Go in game to a place that has both a Tailoring Model and Body Model.\\ |
| 3. Set up the Body Appearance first. Once complete, copy it to yourself.\\ |
| 4. Copy your body appearance to a Tailoring Model.\\ |
| 5. Set up the Clothing/Armor/Helmet/Cloak appearances.\\ |
| 6. Once finished, go back to the first menu while interacting with the Tailoring Model and have it "Speak the complete body appearance code": |
| |
| {{:building:creatures:nwmain_2019-03-30_09-40-33.png?400|}} |
| |
| Now that you have a code, you can assign it to an NPC that has the appropriate Sinfar AI Scripts by using the String Variable "ENTIRE_APPEARANCE" on the creature. When the creature is created, it should have the correct appearances. |
| |
| If you want to use your own custom spawn script, make sure you include the file "inc_appr" and add the following: |
| |
| <code>string sEntireAppearance = GetLocalString(oCreature, "ENTIRE_APPEARANCE"); |
| if (sEntireAppearance != "") |
| { |
| SetEntireCreatureAppearance(oCreature, sEntireAppearance); |
| }</code> |
| |
| --- //[[zoeyalex94@gmail.com|murdrkitten]] 2019/03/30 12:37// |