nobukadnezar Posted June 17, 2012 Posted June 17, 2012 i know this is some kind a basic question but i can't find any guide about it, How do we add new npc sprite? i have the sprites but don't know the steps to do on client side and server side. thank you. Quote
F0xxy Posted June 17, 2012 Posted June 17, 2012 First of all put the .spr and .act in data/sprite/npc/ Then go to lua files/datainfo/jobname.lua Let's consider you have for example f_npcname.spr and .act Then at the end add: [jobtbl.JT_f_npcname] = "f_npcname", Then open lua files/datainfo/npcidentity.lua and add at the end: ["JT_f_npcname"] = 658, Why 658? Well there's a gap between 658 and 699 so that way you wont need to replace another npc with your custom one. But still, the ID is up to you, wether you want to replace another one or not, it's fine as long as the ID doesn't go over 999. And that's all, if you've done all that then #658 will be your new npc. 7 Quote
0 mrshaderz Posted September 29, 2017 Posted September 29, 2017 On 6/17/2012 at 12:41 PM, F0xxy said: First of all put the .spr and .act in data/sprite/npc/ Then go to lua files/datainfo/jobname.lua Let's consider you have for example f_npcname.spr and .act Then at the end add: [jobtbl.JT_f_npcname] = "f_npcname", Then open lua files/datainfo/npcidentity.lua and add at the end: ["JT_f_npcname"] = 658, Why 658? Well there's a gap between 658 and 699 so that way you wont need to replace another npc with your custom one. But still, the ID is up to you, wether you want to replace another one or not, it's fine as long as the ID doesn't go over 999. And that's all, if you've done all that then #658 will be your new npc. where can i find data/sprite/npc and lua files/datainfo/jobname.lua Quote
0 SpiritD Posted September 29, 2017 Posted September 29, 2017 On 6/6/2014 at 5:21 AM, shah said: hey i got that but where do i put my npc files answer pls On 6/17/2012 at 12:41 AM, F0xxy said: First of all put the .spr and .act in data/sprite/npc/ Quote
nobukadnezar Posted June 17, 2012 Author Posted June 17, 2012 I tried and it works. Thanks F0xxy Quote
orange Posted February 17, 2013 Posted February 17, 2013 i went to lua files/datainfo/ but i dont have jobname.lua, i have jobname.lub how am i supposedto open it? Quote
Deimler Posted February 17, 2013 Posted February 17, 2013 Use lua-> lub converter or people say to change the extension but i havent tried that. Quote
GM Djinsu Posted June 9, 2013 Posted June 9, 2013 So just a quick question, where can I check which ID's for NPC's are Free? Quote
shah Posted June 6, 2014 Posted June 6, 2014 hey i got that but where do i put my npc files answer pls Quote
Question
nobukadnezar
i know this is some kind a basic question but i can't find any guide about it, How do we add new npc sprite?
i have the sprites but don't know the steps to do on client side and server side.
thank you.
8 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.