displayjokes 89 Posted October 23, 2018 Share Posted October 23, 2018 Hi! I was wondering, is it possible to make an invisible costume or make them not appear? Please don't answer only Yes if it is Any help is appreciated! Thanks! It's all lies Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted October 23, 2018 Premium Share Posted October 23, 2018 It depends from VNUM that you chose. I suggest to use progressive vnums or keep them from official packs. In the binary c++ there are checks about vnum reading. Link to comment Share on other sites More sharing options...
displayjokes 89 Posted October 23, 2018 Author Share Posted October 23, 2018 1 hour ago, WeedHex said: It depends from VNUM that you chose. I suggest to use progressive vnums or keep them from official packs. In the binary c++ there are checks about npc.txt vnum reading. I did not understand, how can the vnum affect the costume visibility? Edit: if possible, do you know where in the source is a function that says "show this costume instead of the armor" ? It's all lies Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted October 23, 2018 Premium Share Posted October 23, 2018 1 hour ago, displayjokes said: I did not understand, how can the vnum affect the costume visibility? Edit: if possible, do you know where in the source is a function that says "show this costume instead of the armor" ? C++ Link to comment Share on other sites More sharing options...
displayjokes 89 Posted October 23, 2018 Author Share Posted October 23, 2018 38 minutes ago, WeedHex said: C++ in which files is that controled? char ? quest? It's all lies Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted October 23, 2018 Premium Share Posted October 23, 2018 I understood that you can't see costumes. (they're invisible) Reading again i understand that you want to let costume disapper. In this case i suggest to do: CItem* itemBody = GetWear(WEAR_BODY); SetPart(PART_MAIN, itemBody->GetVnum()); //COSTUM SetPart(PART_MAIN, GetOriginalPart(PART_MAIN)); //NO COSTUM Link to comment Share on other sites More sharing options...
displayjokes 89 Posted October 23, 2018 Author Share Posted October 23, 2018 32 minutes ago, WeedHex said: I understood that you can't see costumes. (they're invisible) Reading again i understand that you want to let costume disapper. In this case i suggest to do: CItem* itemBody = GetWear(WEAR_BODY); SetPart(PART_MAIN, itemBody->GetVnum()); //COSTUM SetPart(PART_MAIN, GetOriginalPart(PART_MAIN)); //NO COSTUM In which file can i do that change/add to the code? I'm searching, if i find i'll edit this comment hehe It's all lies Link to comment Share on other sites More sharing options...
displayjokes 89 Posted October 25, 2018 Author Share Posted October 25, 2018 On 10/23/2018 at 6:53 PM, WeedHex said: I understood that you can't see costumes. (they're invisible) Reading again i understand that you want to let costume disapper. In this case i suggest to do: CItem* itemBody = GetWear(WEAR_BODY); SetPart(PART_MAIN, itemBody->GetVnum()); //COSTUM SetPart(PART_MAIN, GetOriginalPart(PART_MAIN)); //NO COSTUM Can't find where to change that D: It's all lies Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted October 25, 2018 Premium Share Posted October 25, 2018 Dude depends where you want to active it... You can realize a comand to do it from a button. The code that i show you is from char use. If you want to work in other files you must use ch-> pointer.... Link to comment Share on other sites More sharing options...
displayjokes 89 Posted October 25, 2018 Author Share Posted October 25, 2018 5 hours ago, WeedHex said: Dude depends where you want to active it... You can realize a comand to do it from a button. The code that i show you is from char use. If you want to work in other files you must use ch-> pointer.... If you may, do you know exactly in which file is "writen" "Use costum instead of armor"? :\ i could use some variable from player to control that, or even a vnum for a costum invisible, would be easier that way i guess? It's all lies Link to comment Share on other sites More sharing options...
Premium WeedHex 636 Posted October 26, 2018 Premium Share Posted October 26, 2018 RIP Link to comment Share on other sites More sharing options...
displayjokes 89 Posted October 26, 2018 Author Share Posted October 26, 2018 1 hour ago, WeedHex said: RIP whyyy? :c It's all lies 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