User Tools

Site Tools


building:creatures:appearance
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]
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.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
building:creatures:appearance [2022/12/08 09:22]
spankitty [Using SinfarX Features]
building:creatures:appearance [2022/12/20 10:03] (current)
spankitty [Using SinfarX Features]
Line 34: Line 34:
         SetEntireCreatureAppearance2(oCreature,​ sEntireAppearance);​         SetEntireCreatureAppearance2(oCreature,​ sEntireAppearance);​
     }</​code>​     }</​code>​
-    ​ 
-Note : Default NPC script nw_c2_default9 uses the variable ENTIRE_APPEARANCE2 already. ​   
  
-Note: "Speak the complete appearance code" is to be used with the variable ENTIRE_APPEARANCE2,​ this string {a lot of code} exceeds (often) the toolset'​s string variable length limit(1024). You thus have to apply this string via the web development'​s page of your erf [[https://​nwn.sinfar.net/​erf/​list]] ​or by script+Note : "Speak the complete appearance code" is to be used with the variable ENTIRE_APPEARANCE2,​ this string {a lot of code} exceeds (often) the toolset'​s string variable length limit(1024). You thus have to apply this string via the web development'​s page of your erf [[https://​nwn.sinfar.net/​erf/​list]]. ​
  
 For the NPC in player houses see the instructions for the hs_spawn_animnpc function here : [[https://​nwn.sinfar.net/​houses_scriptlist.php]] For the NPC in player houses see the instructions for the hs_spawn_animnpc function here : [[https://​nwn.sinfar.net/​houses_scriptlist.php]]
 +//
 +//
 +===Note : Default NPC script nw_c2_default9 uses the variables ENTIRE_APPEARANCE2 , AI_VFX(n) and XSCALE already.=== ​  
 +//
 +//
 +
 +===== Adding Visual Effects =====
 +
 +To add other visual effects (ex : glow) to your NPC, add integer variable AI_VFX (or AI_VFX1, AI_VFX2, AI_VFX3, etc) with the index number(s) of the desired visual effect index # from visualeffects.2da or from the ooc area's visual effect browser.
 +
 +===== Resizing NPC =====
 +
 +To increase/​decrease the NPC size you can use the variable XSCALE(float). ​
  
 ===== Legacy SinfarX Individual Features ​ ===== ===== Legacy SinfarX Individual Features ​ =====
  
-Set NPC OnSpawn ​script to amb_npc_spawn (or any other custom appearance script).+Set the event_ai_spawn (see : [[building:​creatures:​events|https://​sinfar.net/​building/​creatures/​events]]) ​script to amb_npc_spawn (or any other custom appearance script).
  
 Use a body model to design your NPC's head, body, and a tailor model to design your  NPC's armor, helm and cloak. Use a body model to design your NPC's head, body, and a tailor model to design your  NPC's armor, helm and cloak.
Line 54: Line 65:
   * HELM_APPEARANCE ​   * HELM_APPEARANCE ​
   * CLOAK_APPEARANCE   * CLOAK_APPEARANCE
- 
-(Source: "​Tutorial - How to customize your NPC using XDATA:"​ by Carcerian, 2020/12/8) 
- 
-===== Adding Visual Effects ===== 
- 
-To add a visual effect to your NPC, add integer variable AI_VFX (or AI_VFX1, AI_VFX2, AI_VFX3, etc) with the index number(s) of the desired visual effect index # from visualeffects.2da or from the ooc area's visual effect browser. 
- 
  
authpdo: Statement did not return 'mail' attribute [auth.php:522]
building/creatures/appearance.1670491353.txt.gz ยท Last modified: 2022/12/08 09:22 by spankitty

phpBB Appliance - Powered by TurnKey Linux