Jump to content

Changing Server's Font!


'LinKin

Recommended Posts

Posted

Hello,

Is it possible to change the server's font?

Is it possible to change everything at once? Or do I need to change the font in each resource (i.e mapmanager, votemanager, etc...)

Thanks

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

Posted

I think you can force font changing by for looping through all GUI label elements and then setting their font to whatever choice you want to set it to. It's a bit more difficult with DirectX texts however, if you're using those.

You could make your own font handler resource and just export a font function that sets the font to whatever you want, this way you have easier management over all fonts, I'd guess.

If I helped you, please click the like button on the right ;) Thanks!

Posted

I will use codebold.otf

I don't really understand very much about those DirectX texts.

" just export a font function that sets the font to whatever you want"

For example.. ?

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

Posted

Well, not sure how that could work anyhow, it's practically the same as using guiSetFont I think you'll just have to loop through all labels and set their font. You can use a for loop and check for gui-label elements and then just set the font with guiSetFont.

If I helped you, please click the like button on the right ;) Thanks!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...