ZeoWorks Posted July 26, 2012 Author Share Posted July 26, 2012 Hey guys, I was just wondering is it possible to change the font used to display Player and NPC names in the client through visual basic 6? and if so, how?_Here is an example of the display name font I want to change:_![](http://i50.tinypic.com/2ynfk3m.png)Edit: i've checked through the client itself but I can't seem to find how, please help?Many thanks! :)~ZeoWorks Link to comment Share on other sites More sharing options...
abhi2011 Posted July 27, 2012 Share Posted July 27, 2012 find this client side```GameFont = CreateFont(size, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Georgia")```Change the "Georgia" to what ever you want.(Need to be confirmed by some one) Link to comment Share on other sites More sharing options...
ZeoWorks Posted July 27, 2012 Author Share Posted July 27, 2012 @TheChoosenOne:> find this client side> ```> GameFont = CreateFont(size, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Georgia")> > ```Change the "Georgia" to what ever you want.> (Need to be confirmed by some one)Thank you for TheChoosenOne, but changing that doesn't seem to work. Also, the code I have is:``` GameFont = CreateFont(Size, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Font)```I tried changing "Font" into something like "Minion Pro" but it didn't work.Changing the Font variables in the "ModConstants" doesn't seem to work either.Even when I add the code:```Call SetFont(FONT_NAME, FONT_SIZE)```into the sub DrawText under Modtext, it only works for a few minutes then the client goes CRAZY.Can someone help? Thanks! :) Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 27, 2012 Share Posted July 27, 2012 Just read this tutorial (don't just copy it step for step, make sure you read the directions, they tell you how to change the font): [Memory Leak-Free Text Rendering](http://www.touchofdeathforums.com/smf2/index.php/topic,71691.0.html). Link to comment Share on other sites More sharing options...
abhi2011 Posted July 28, 2012 Share Posted July 28, 2012 Oh I forgot about that. I added that. Thought it was not needed for changing. Link to comment Share on other sites More sharing options...
ZeoWorks Posted July 29, 2012 Author Share Posted July 29, 2012 @Soul:> Just read this tutorial (don't just copy it step for step, make sure you read the directions, they tell you how to change the font): [Memory Leak-Free Text Rendering](http://www.touchofdeathforums.com/smf2/index.php/topic,71691.0.html).Thank you again Soul, everythings looking great again! This forum would be lost without you. ^_^ Link to comment Share on other sites More sharing options...
abhi2011 Posted July 29, 2012 Share Posted July 29, 2012 Trudat Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now