This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
features:sinfar_supporter_housing:npc_appearance [2019/07/20 14:37] spankitty |
features:sinfar_supporter_housing:npc_appearance [2019/07/20 22:30] spankitty |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== NPC Appearance ====== | ====== NPC Appearance ====== | ||
- | ==== Resources : ==== | + | If you know how to put an npc in your house , it may be time to dress them up ! |
+ | |||
+ | ==== Resources to use or that need to be created (similar) in your webclient resource page : ==== | ||
{{:features:sinfar_supporter_housing:npc_playerhouse_resources.jpg}} | {{:features:sinfar_supporter_housing:npc_playerhouse_resources.jpg}} | ||
Line 9: | Line 11: | ||
- | 1: A NPC. | + | 1: A NPC. (female in this case) |
Line 25: | Line 27: | ||
{{:features:sinfar_supporter_housing:npc_playerhouse_npc_script.jpg}} | {{:features:sinfar_supporter_housing:npc_playerhouse_npc_script.jpg}} | ||
+ | <code> | ||
#include "inc_appr" | #include "inc_appr" | ||
Line 53: | Line 55: | ||
SetHeadItemOverrideString(OBJECT_SELF,sHeadAppearance); | SetHeadItemOverrideString(OBJECT_SELF,sHeadAppearance); | ||
} | } | ||
- | } | + | }</code> |
+ | |||
+ | |||
+ | 4: The Variables on the NPC. | ||
+ | |||
+ | |||
+ | {{:features:sinfar_supporter_housing:npc_playerhouse_spawn_variables.jpg}} | ||
+ | |||
+ | |||
+ | Var Values come from : | ||
+ | |||
+ | ARMOR = Tailor dummy change armor appearance menu.\\ | ||
+ | BODY = Body dummy front menu.\\ | ||
+ | HEAD = Body dummy change Body Parts Head menu.\\ | ||
+ | |||
+ | Notes : | ||
- | \\ | + | The Body appearance is somewhat optional as that would only show if the NPC gets undressed.\\ |
- | 4: The Variables. | + | The Head appearance is optional in case you use a V2 head (a head you cannot set with the toolset).\\ |
+ | The Generic_Master on the picture makes the NPC wander about and has nothing to do with the appearance. | ||