Rage Guy Posted August 24, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Share Posted August 24, 2013 (edited) How to add a custom NPC Full Guide Please ^__^ Thanks.... Edited August 24, 2013 by Rage Guy Quote Link to comment Share on other sites More sharing options...
Patskie Posted August 24, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 4 hours ago Share 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 Link to comment Share on other sites More sharing options...
Rage Guy Posted August 24, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted August 24, 2013 i mean a npc Style not a script ^^ Quote Link to comment Share on other sites More sharing options...
Famous Posted August 24, 2013 Group: Members Topic Count: 145 Topics Per Day: 0.03 Content Count: 455 Reputation: 3 Joined: 06/19/12 Last Seen: February 26, 2018 Share Posted August 24, 2013 like this one? http://enzo0714.tk/rathena/npclist.php prontera,155,170,3 script sample 1015,{ Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted August 24, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted August 24, 2013 yes but custom one's Quote Link to comment Share on other sites More sharing options...
Adel Posted August 26, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 566 Reputation: 349 Joined: 11/20/11 Last Seen: November 27, 2024 Share 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 Link to comment Share on other sites More sharing options...
rosfus Posted August 29, 2013 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 75 Reputation: 3 Joined: 04/12/13 Last Seen: August 15, 2014 Share 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 Link to comment Share on other sites More sharing options...
Dori Posted September 2, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Share 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 Link to comment Share on other sites More sharing options...
Question
Rage Guy
How to add a custom NPC
Full Guide Please ^__^
Thanks....
Edited by Rage GuyLink to comment
Share on other sites
7 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.