Dylancool16 (04-14-2014),gibam761 (04-11-2014),pDevice (01-07-2015),Timboy67678 (04-11-2014),topblast (05-01-2014)
Not 100% sure this will work but I don't see why not.
Pros:
-Less addresses than regular engine font.
-Use your own dtx font. (wow custom fonts yay)
-It's just fucking awesome.
Cons:
-Not using this is the only con.
All the following info is for the current patch of CANA.
Example:Code:g_ITexInterface = 0x7C4B50 g_IFontManager = 0x7C4B4C g_ITexInterface + 0x8 = g_ITexInterface->CreateTextureFromName() g_IFontManager + 0x20 = g_IFontManager->CreateFont() m_Font + 0x58 = SetDefCharWidth() m_Font + 0x5C = SetDefCharHeight() m_Font + 0x70 = SetDefColor() m_Font + 0x78 = DrawString()
All the missing shit should be in the attached sdk files.Code:CUIFont* m_Font; SharedTexture* m_Tex; ILTFontManager* g_IFontManager; ILTTexInterface* g_ITexInterface; void DrawText(float x, float y, char* text) { if(m_Font) { if (g_IFontManager && g_ITexInterface) { g_ITexInterface->CreateTextureFromName(m_Tex,"console\\console_font.dtx"); if(m_Tex) { m_Font = g_IFontManager->CreateFont(m_Tex,9,9); m_Font->SetDefCharWidth(7); m_Font->SetDefCharHeight(9); } else { m_Font->SetDefColor(textColor); m_Font->DrawString((float)10,(float)10,"wow ty based matt"); } } } }
VirusTotal
Jotti
Last edited by maddoggy00; 04-11-2014 at 07:04 PM. Reason: VS
Dylancool16 (04-14-2014),gibam761 (04-11-2014),pDevice (01-07-2015),Timboy67678 (04-11-2014),topblast (05-01-2014)
Good job friend
@maddoggy00
@Flengo
Approved .
As of 9/17, I will be away for a few days due to medical reasons. Should be back up soon. Please refer to a GM or other mods in whatever particular section you need help with.
MSN/Email/Skype: maddoggy00@aol.com
If you add me on skype without an explicit message stating who you are on MPGH, you will be denied and blocked.
Feel free to donate if I helped you earn some $$
Tutorials for consoles and hacks
Woo.exe Oath Mode with Next Map option, Follow-Bot, Master map (runs any S1 map), Two Moons, Mining. Requires a .dll with hacks for full functionality.
muchos thanks friend
matypatty (04-12-2014)
you could expand this with the rez bypass Jeff made. Load your own modified console_font.dtx from the Mods folder... if i'm looking at this right anyway
commando: You're probably the best non-coder coder I know LOL