Page 1 of 1

how do you go about Putting clothes on your NPCs

Posted: Wed Nov 18, 2009 7:45 pm
by Astal
Anyone have any idea, i tried /appearance list, got numbers but it just sets em to a blank chest ect... when i do /spawn set Chest_Type (Number)

Also my elves are black and ugly

in b4 people call me racist lol

Re: how do you go about Putting clothes on your NPCs

Posted: Wed Nov 18, 2009 8:24 pm
by Zcoretri
You have to equip items, and those items have to have an associated item appearance.
...make sure that the equip_type field in the item_appearances table is equal to the appearance_id in the appearances table for the item you wish to show on your character.

Re: how do you go about Putting clothes on your NPCs

Posted: Wed Nov 18, 2009 8:49 pm
by Astal
Zcoretri wrote:You have to equip items, and those items have to have an associated item appearance.
...make sure that the equip_type field in the item_appearances table is equal to the appearance_id in the appearances table for the item you wish to show on your character.
oh, hey can u help me with merchants for a sec also, i have everything set up but im not seeing a buy tab.

Command primary is 6, merchant id is 1 and i have merchants and merchant_inventory tables set up too

Re: how do you go about Putting clothes on your NPCs

Posted: Thu Nov 19, 2009 2:59 am
by bolly
/spawn set body_type appearance_id
/spawn set legs_type appeareance_id

Re: how do you go about Putting clothes on your NPCs

Posted: Thu Nov 19, 2009 3:42 am
by Scatman
npc_appearances table allows you to actually equip items.

Re: how do you go about Putting clothes on your NPCs

Posted: Sat Nov 21, 2009 8:21 am
by LethalEncounter
Scatman wrote:npc_appearances table allows you to actually equip items.
It is actually more complicated than that :P

The npc_appearances_equip table allows you to specify equipment that would APPEAR on the spawn, but it actually isn't using it.

The spawn_npc_equipment table allows you to actually specify which items a NPC should equip. The two different tables are needed because there are quite a few spawns in the game that are appear to be using items and weapons which they are actually not using.

Re: how do you go about Putting clothes on your NPCs

Posted: Sat Nov 21, 2009 3:31 pm
by Scatman
Oh ya duh :P /bonk self