RachadoPT 26 Posted January 17, 2015 Share Posted January 17, 2015 So, I created a prestige system and I wanted to write the prestige level before the karma rank and the character name. Example: Lv 105 [Prestige1] Friendly RachadoPT The only thing that i cant do at the moment is the client part... I dont know where do i need to change and what to do :| I was looking for the code for the karma rank but i can only find the names of each karma rank... Can anyone here help me please? Greetz, RachadoPT Link to comment Share on other sites More sharing options...
Premium Sanchez 2473 Posted January 17, 2015 Premium Share Posted January 17, 2015 You're looking for the TextTail in PythonTextTail.cpp, just duplicate the already exist guild, align or the character name tails. Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted January 17, 2015 Author Share Posted January 17, 2015 But is there anyway of doing it without the source? :| Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted January 17, 2015 Former Staff Share Posted January 17, 2015 You're looking for the TextTail in PythonTextTail.cpp, just duplicate the already exist guild, align or the character name tails. mainline don't has this file. Wich branch you found this? Link to comment Share on other sites More sharing options...
Premium Sanchez 2473 Posted January 17, 2015 Premium Share Posted January 17, 2015 Every branch have it. Link to comment Share on other sites More sharing options...
Honorable Member NoFr1ends 754 Posted January 17, 2015 Honorable Member Share Posted January 17, 2015 But is there anyway of doing it without the source? :| No there is no clean way without the source. Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted January 17, 2015 Former Staff Share Posted January 17, 2015 go to UserInterfaceInstanceBaseInstanceBaseEffect.cpp and change this as needed sprintf(szText, "Lv%", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); example of what you can do this if (level >= 1 && level < 10) { sprintf(szText, "|cFF959697Lv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 10 && level < 20) { sprintf(szText, "|cFFFFFFFFLv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 20 && level < 30) { sprintf(szText, "|cFF00FF7FLv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 30 && level < 40) { sprintf(szText, "|cFF00FF00Lv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 40 && level < 50) { sprintf(szText, "|cFF00CCFFLv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 50 && level < 60) { sprintf(szText, "|cFF0000FFLv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 60 && level < 70) { sprintf(szText, "|cFFDA70D6Lv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 70 && level < 80) { sprintf(szText, "|cFFC67171Lv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 80 && level < 90) { sprintf(szText, "|cFF00FFFFLv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 90 && level < 100) { sprintf(szText, "|cFFFFCC00Lv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 100 && level < 105) { sprintf(szText, "|cFFFF4500Lv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } else if (level >= 105) { sprintf(szText, "|cFFCD661DLv %d|r", level); CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor); } 1 Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted January 17, 2015 Former Staff Share Posted January 17, 2015 Every branch have it. Every branch who has /Client. Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted January 17, 2015 Author Share Posted January 17, 2015 Thank you all for your help... :| I'll wait until i have the clean source, i'm about to buy it, and then i'll try it :| Greetz, RachadoPT Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted January 17, 2015 Former Staff Share Posted January 17, 2015 (edited) what client are you using ?? if you are using 40k client use source Edited January 17, 2015 by flygun 1 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