Rage Guy Posted August 24, 2013 Posted August 24, 2013 (edited) How to add a custom NPC Full Guide Please ^__^ Thanks.... Edited August 24, 2013 by Rage Guy Quote
Patskie Posted August 24, 2013 Posted August 24, 2013 Add your script ( .txt files ) on your npc/custom folder. Then trunk/npc/scripts_custom.conf to make your script work : npc: npc/custom/<filename>.txt Then load the script in-game using a GM with authority : @loadnpc npc/custom/<filename>.txt Quote
Rage Guy Posted August 24, 2013 Author Posted August 24, 2013 i mean a npc Style not a script ^^ Quote
Famous Posted August 24, 2013 Posted August 24, 2013 like this one? http://enzo0714.tk/rathena/npclist.php prontera,155,170,3 script sample 1015,{ Quote
Adel Posted August 26, 2013 Posted August 26, 2013 I think he means adding custom npc sprites. The only way for now is to replace existing ones. 2013 clients might have a few IDs available (I'm not too sure though). Quote
rosfus Posted August 29, 2013 Posted August 29, 2013 1 // Free ID's 140 - 400 modify const.txt add customname 399 2 modify npc.h find #define npcdb_checkid(id) ( ( (id) >= 46 && (id) <= 125) || (id) == HIDDEN_WARP_CLASS || ( (id) > 400 && (id) < MAX_NPC_CLASS ) || (id) == INVISIBLE_CLASS || ( id > MAX_NPC_CLASS2_START && id < MAX_NPC_CLASS2_END ) ) replace to #define npcdb_checkid(id) ( ( (id) >= 46 && (id) <= 125) || (id) == HIDDEN_WARP_CLASS || ( (id) > 399 && (id) < MAX_NPC_CLASS ) || (id) == INVISIBLE_CLASS || ( id > MAX_NPC_CLASS2_START && id < MAX_NPC_CLASS2_END ) ) then Compile . 3 modify lua find data\luafiles514\lua files\datainfo\npcidentity.lua add JT_customname = 399, 4 copy your customname.spr & customname.act file to data\sprite\npc\ Quote
Dori Posted September 2, 2013 Posted September 2, 2013 I don't get it...why would you replace 400 with 399? And from what I've heard, you can't use the ids between 140 -400. they are being used for some skill animations or something. Have you tried doing what you've posted? Quote
Question
Rage Guy
How to add a custom NPC
Full Guide Please ^__^
Thanks....
Edited by Rage Guy7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.