I'm trying to create a new npc that works like MDV guards. By talking to them, I can activate the duel with them. For this I have copied the CWC assassin but I can't get him to be in passive mode before attacking and I can talk to him to start the duel. how can I do it ? I have followed the steps below:
- Copy the npc and add it in a new line with another ID, to this new one I added the talk function and referenced a talk.xml file I made for it.
- I created the records in message_table and message_xml.
- I created the file npc_talk_id.xml
- I copied the same line from the original npc into npc_rebirth and changed the ID.
I don't know what else to do to make it work. When I start the server I get an error
"Get Npc Rebirth Data Error, NpcID=[0], area=[], AreaId=[0]"
and "WARN: Unknown AI Type".
At the moment I have not assigned area because I want to test that it works correctly making it appear with the GM.
Please help me, I have read the whole forum already and I can't find the solution!
- Copy the npc and add it in a new line with another ID, to this new one I added the talk function and referenced a talk.xml file I made for it.
- I created the records in message_table and message_xml.
- I created the file npc_talk_id.xml
- I copied the same line from the original npc into npc_rebirth and changed the ID.
I don't know what else to do to make it work. When I start the server I get an error
"Get Npc Rebirth Data Error, NpcID=[0], area=[], AreaId=[0]"
and "WARN: Unknown AI Type".
At the moment I have not assigned area because I want to test that it works correctly making it appear with the GM.
Please help me, I have read the whole forum already and I can't find the solution!