Font

● ARCHIVED · READ-ONLY
Started by Casia 10 posts View original ↗
  1. I'm having a problem with a custom font. I have edited the Menu script to use a different font for the game, and I have the correct font in the Fonts folder. However, if a computer doesn't have that font installed itself, it becomes mandatory to install the font manually. How can I make the game independent of this requirement, so that the font being in the Fonts folder is sufficient?
  2. I've never used it, so I'm not sure how or if it works but there's an auto install script.
  3. Yes, you have to install the font first. Otherwise it won't work. Slimm gave you an auto install font script, use it so the player doesn't have to manually install it (though it doesn't take 10 seconds but some people is lazy xD)
  4. A small hint if you plan to use this script.

    I used this script once and noticed that one has to have either admin rights on his PC or have to start the game.exe with admin rights the first time.

    Maybe you should add this to a readme. ; )
  5. I tried the script, but now I get an error message relating to SDK. Apparently you need to use that script as well for compatibility, but the links in the forum are broken so I can't get it. :(
  6. You can delte the following lines at the beginning of the script:

    #------------------------------------------------------------------------------# * SDK Log Script#------------------------------------------------------------------------------SDK.log('Auto Font Install', 'Wachunga', 1.1, '2006-05-26')#------------------------------------------------------------------------------# * Begin SDK Enabled Check#------------------------------------------------------------------------------if SDK.state('Auto Font Install') == trueAnd these at the end:

    #------------------------------------------------------------------------------# * End SDK Enable Test#------------------------------------------------------------------------------endSo you will not longer need the SDK. ; )
  7. I'm not sure if it's working right... when I test play, it displays a message that some unknown font (other than the one I'm using) is missing. It does still play the game, but I have no idea what the script did and whether it installed the correct font or not.
  8. I'm not sure if it's working right... when I test play, it displays a message that some unknown font (other than the one I'm using) is missing. It does still play the game, but I have no idea what the script did and whether it installed the correct font or not.
  9. Have you added your font names into the script?
    I commented a few lines for you.

    Code:
    module Fonts# filenames of fonts to be in stalledFilenames = ['FUTRFW.TTF'] # <- Here you have to add the filenames of your fonts# names (not filenames) of fonts to be installedNames = ['Futurist Fixed-width'] # <- And here you have to add the "real" name of the font (dubble click your font and you will see the name in the upper left corner# whether to notify player (via pop-up message) that fonts were installedNotify = true # <- When this is true, the message you mentioned is displayed, if a font is missing. Set it to false and it will not appear# location of fonts (relative to game folder)Source = 'Fonts/'
  10. Oh, that was simple. Now I feel stupid. :/

    Thank you so much for your help! :)