displayjokes 89 Posted January 12, 2019 Share Posted January 12, 2019 Hi! I was implementing new mounts on my server and i wanted to implement the same mount 2 or 3 times with diferent textures. For example i have a monster that is in a folder called lion, and i implemented that monster correctly, it shows up in the game, everything working fine. Now i want to make a monster with the exact same folder but different textures. So i copied the lion folder and renamed it for lion_black, i changed the texture path on the lion.gr2 model and also changed the paths inside the .msm and .msa files inside the lion_black folder to be not \lion\... to \lion_black\... like this: and when i put in the game, when i'm going to do /m mob_id gives me this error on syserr and i noticed it is still trying to get the \npc\lion\lion.msm instead of \npc\lion_black\lion.msm Here's a print with the original names: (it is leone_baso, and i'm trying to make a monster with the same exact folder by changing to leone_baso_black) Anyone can help me with this please? Any help is appreciated! Thank you! 1 It's all lies Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted January 12, 2019 Premium Share Posted January 12, 2019 Found this on google This is the hidden content, please Sign In or Sign Up Tested ago some months and works. 10 1 1 7 2 4 Link to comment Share on other sites More sharing options...
displayjokes 89 Posted January 12, 2019 Author Share Posted January 12, 2019 12 minutes ago, Dobrescu Sebastian said: Found this on google This is the hidden content, please Sign In or Sign Up Tested ago some months and works. Thanks for the reply, i did change the textures, i have texture path changer, something like that, i've fixed the path problem but the mount still doesn't come when i do /m 20247 (mob id), but the original mount does.. 1 2 It's all lies Link to comment Share on other sites More sharing options...
displayjokes 89 Posted January 12, 2019 Author Share Posted January 12, 2019 taking this has an example, in my client i do have this msm file.. what am i doing wrong here? It's all lies Link to comment Share on other sites More sharing options...
[RaffaeL] 28 Posted January 13, 2019 Share Posted January 13, 2019 (edited) Acum 7 ore, displayjokes a spus: Hi! I was implementing new mounts on my server and i wanted to implement the same mount 2 or 3 times with diferent textures. For example i have a monster that is in a folder called lion, and i implemented that monster correctly, it shows up in the game, everything working fine. Now i want to make a monster with the exact same folder but different textures. So i copied the lion folder and renamed it for lion_black, i changed the texture path on the lion.gr2 model and also changed the paths inside the .msm and .msa files inside the lion_black folder to be not \lion\... to \lion_black\... like this: and when i put in the game, when i'm going to do /m mob_id gives me this error on syserr and i noticed it is still trying to get the \npc\lion\lion.msm instead of \npc\lion_black\lion.msm Here's a print with the original names: (it is leone_baso, and i'm trying to make a monster with the same exact folder by changing to leone_baso_black) Anyone can help me with this please? Any help is appreciated! Thank you! Did you also added into root/npc_list, the new location for that NPC? Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Solution displayjokes 89 Posted January 13, 2019 Author Solution Share Posted January 13, 2019 (edited) 16 minutes ago, [RaffaeL] said: Did you also added into root/npc_list, the new location for that NPC? Yess i did, i figured out now, on the new folder we want to add, on the .msm we only change the folder to the new one, and the model with the new skin. Everything else stays the same, pointing to the original monster! Problem solved! Thank you for your help! Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal It's all lies Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted January 13, 2019 Premium Share Posted January 13, 2019 void __GetRaceResourcePathes(unsigned race, std::vector <std::string>& vec_stPathes) add something like else if (__IsNPCRace(race)) // you have already this { else if (race >= 20242 && race <= 20249 || race == 41466) // new { vec_stPathes.push_back("d:/ymir work/npc_mount/"); } } Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now