Adding items and npc....

Status
Not open for further replies.
Newbie Spellweaver
Joined
Nov 5, 2011
Messages
11
Reaction score
0
How to add items so that the npc can sell it...like green set sold in the npc what do i put in the npc editor like this AddVendorItem( 0, IK3_SUIT, 1, 15, 27, 25 ); but the only thing in thier is normal i want green what should i do???i want same in the weapon to is
AddVendorItem( 0, IK3_SWD, 1, 15, 27, 50 ); what do i need to change for the green to comeout...and about the arena how to add it the npc of arena is not in thier places...how to fix it... flyff00006 - Adding items and npc.... - RaGEZONE Forums
 
Last edited:
You have to understand many things before editing NPC :

First, if you're using v17 files, you have to edit files :
- character.inc
- Spec_item.txt (or, if i'm not wrong, propitem.txt)

You can also edit character.txt.txt to create new tabs.

A good way to edit them is NPC Editor.

You can use this guide, which are interessting :
http://forum.ragezone.com/f724/official-file-npc-editing-101-a-619664/

And one more thing, this is the good syntax of AddVendorItem :

AddVendorItem( NPC_tab, IK3_Type, Job_Number (-1 means ALL), Rarity_min, Rarity_max, Number_of_items_in_tab );

I hope that it will help you. :)
 
NPC Editor isn't setup to use Spec_Item.txt, if I'm not mistaken.

And about editing NPCs to make new tabs, it's character.inc (character.txt.txt is for NPC names and tab names)

I suggest using the guide in that link he posted. It's the one I gave him and I also told him the syntax for AddVendorItem lol he copied it perfectly =P
 
ok thxs i will follow that guide...but how about the rarity thing? whats the number for green stuff to appear in the npc shop...ang code for male ang female cs...
 
Status
Not open for further replies.
Back