Adding new custom NPC

03/24/2013 13:54 raventh1984#1
Hi elitepvers,

I am having some trouble adding new custom npc's in flaris.

This is what i have done i will show only 1 npc

file: defineObj.h
MI_NPC_DONWEA 1697

file: PropMover.txt
Copied the line of MaFl_Is and just change the first part to
MI_NPC_DONWEA

PropMover.txt.txt
Added NPC Name

Character.inc
Donation_weap //Donation Vendor Weapons
{
setting
{
AddMenu( MMI_TRADE );

SetVenderType(2);

AddVenderItem3(0, II_CHR_S_CLO_CLO_ANGEL );

SetImage
(
IDS_CHARACTER_INC_000563
);
m_szDialog= "MaFl_Pire.txt";
}

SetName
(
IDS_CUSTOM_VEN_02
);

AddVendorSlot( 0,
IDS_DONATION_TAB_01
);
}

Character.txt
The name and the tab name of the character

Run merge2 copy the files to my Client.

Now i open beast set the npc according to the npc i just made
saved the world copy the wdmadrigal folder to the client.

Run the server starting the client
But the npc is there but only with an different name. Also i cant click on it.

What could be it that i am missing.


EDIT: NVM Fixed it. I had to put the menu in the Character.inc not at the bottom of the file