Zetasis Posted March 30, 2010 Author Share Posted March 30, 2010 Okay I have been trying to figure out how to change the font style for player and npc names as well as map, item, etc. but I can not find anything about the font when I go into Sub Blt PlayerName. I have not looked at the Blt Damage or anything else yet but I figured if I can get the PlayerName font changed the rest will be close to the same idea.I hope I made this clear and not confusing. Thanks to anyone who can help. Link to comment Share on other sites More sharing options...
Robin Posted March 30, 2010 Share Posted March 30, 2010 Search for 'FONT_NAME' or SetFont.In Origins it's set in a constant value called FONT_NAME. I'm assuming it's the same for Eclipse.If not, SetFont is used to change the font. Link to comment Share on other sites More sharing options...
Zetasis Posted March 30, 2010 Author Share Posted March 30, 2010 Okay I found Setfont and these are what I found:```Public Sub SetFont(ByVal Font As String, ByVal Size As Byte) GameFont = CreateFont(Size, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Font)End Sub```And```Private Sub LoadFont() On Error GoTo ErrorHandle Font = ReadINI("FONT", "Font", App.Path & "\Font.ini") fontsize = CByte(ReadINI("FONT", "Size", App.Path & "\Font.ini")) If Font = vbNullString Then Font = "fixedsys" End If If fontsize <= 0 Or fontsize > 32 Then fontsize = 18 End If Call SetFont(Font, fontsize) Exit SubErrorHandle: Call WriteINI("FONT", "Font", "fixedsys", App.Path & "\Font.ini") Call WriteINI("FONT", "Size", 18, App.Path & "\Font.ini") Call SetFont("fixedsys", 18)End Sub```Just by looking at it I would assume it reads the font from an .ini file somewhere but I can't find any .ini with FONT= in it. I could be very mistaken though.Edit: Forget that. I found the Font .ini it was in the client folder. I would have thought it was in the server folder lol. Thanks for the help Robin. 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