Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Shadonking on November 07, 2008, 01:17:05 pm

Title: changing the font
Post by: Shadonking on November 07, 2008, 01:17:05 pm
iv got ultimate font over ride on tons of addons and i put it has true and placed what font i want in the correct place but it still uses the font im trying to get rid off, iv also tried changing the size just in case the font was invalid but the size also doesnt change.

any ideas on how to change the font.
Title: Re: changing the font
Post by: Starrodkirby86 on November 07, 2008, 06:52:36 pm
Make sure the font you're trying to replace is in your font library. Typing a non-existent font or some font in C:\ won't help at all. :P Secondly, make sure it's the EXACT spelling of that font. Try all the names that font goes under. "Calibri" is different than "calibri". Ultimate Font Override does NOT work on title screen at default, or it hasn't with my games. It works when you begin the game though when it's set to true.

Details:
http://forum.chaos-project.com/index.php?topic=164.0
Title: Re: changing the font
Post by: Shadonking on November 07, 2008, 07:21:39 pm
i used Word to check through the font then copyied and pasted it into the font override script so i didnt miss spell it or place a font i dont have.

also i tried the script on that topic but it had errors. i thought that the script on tons of addons would be just as good anyway.

and i have a custom title that doesnt use the defult font put uses pictures, i check to see if it works by making a message in game.
Title: Re: changing the font
Post by: Starrodkirby86 on November 07, 2008, 08:02:38 pm
Quote from: Shadonking on November 07, 2008, 07:21:39 pm
i used Word to check through the font then copyied and pasted it into the font override script so i didnt miss spell it or place a font i dont have.

also i tried the script on that topic but it had errors. i thought that the script on tons of addons would be just as good anyway.

and i have a custom title that doesnt use the defult font put uses pictures, i check to see if it works by making a message in game.

Use an alternative font and see if it works. If it doesn't, you may have a problem. By the way, what is the font you are trying to use?

Also, does your Ultimate Font Override in Tons of Add-ons look something along the lines of this:

#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
# Ultimate Font Override by Blizzard
# Version: 1.01b
# Type: Project-Script Compatibility Improvement
# Date: 19.10.2006
# Date v1.01b: 30.7.2007
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
#
#   You can change the font/fontsize with the "Call script" event command or
#   directly through a script by using these methods:
#
#     $game_system.fontname = "FONTNAME"
#     $game_system.fontsize = FONTSIZE
#
#   It will override the font from any RMXP version. It is also possible to
#   change the font during the game. It will be saved, too.
#:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

#==============================================================================
# Game_System
#==============================================================================

class Game_System
 
  attr_reader :fontname
  attr_reader :fontsize
 
  alias init_ultimate_font_override_later initialize
  def initialize
    init_ultimate_font_override_later
    self.fontname = 'Calibri'
    self.fontsize = 24
  end
 
  def fontname=(name)
    $defaultfonttype = $fontface = @fontname = name
  end
   
  def fontsize=(size)
    $defaultfontsize = $fontsize = @fontsize = size
  end
 
end
Title: Re: changing the font
Post by: Shadonking on November 08, 2008, 06:43:40 am
iv tried using another font and that didnt work and this is the font i want to use 'Monotype Corsiva'.

and yes that is the same script thats in tons of addons
Title: Re: changing the font
Post by: Fantasist on November 08, 2008, 09:51:48 am
Hey, I have your project so I took a peek. I think it has something to do with the STCMS, I dunno. I''ll look it through thoroughly once more.
Title: Re: changing the font
Post by: Shadonking on November 08, 2008, 10:05:20 am
thanks

edit

how do you change the colors of the font as well and also how do i fix the problem with not being able to change the font type
Title: Re: changing the font
Post by: Blizzard on November 13, 2008, 01:21:57 pm
If it's a problem with STCMS, do you have all script versions up to date? Let's see if FTS finds the problem.
Title: Re: changing the font
Post by: Shadonking on November 13, 2008, 01:43:01 pm
ok, and i have got the most upto date scripts
Title: Re: changing the font
Post by: Fantasist on November 14, 2008, 05:40:31 am
Hm, here are Bliz's scripts you're usingand their versions.

Tons Of Addons - 6.70b
STCMS       -       5.32b
Blizz-ABS    -       1.99
ATES         -         0.3

Changing the font through STCMS works fine but changing it by $game_system.fontname doesn't work. Try getting the latest scripts again, Tons 6.71b is out. And make sure the script order is correct:
http://forum.chaos-project.com/index.php?topic=23.0
Title: Re: changing the font
Post by: Shadonking on November 14, 2008, 06:06:11 am
i got the newest tons of addons just after i sent my project to you. and i think there in correct order. i followed what that topic showed.

woo hoo, iv gotten the font type to change. it was STCMS that was stopping it but all you have to do is change the font from the STCMS and it works.

now all i need is to change the colour
Title: Re: changing the font
Post by: Fantasist on November 14, 2008, 06:24:53 am
Oh, of course, you're using the parchment windowskin. I think STCMS has the provision for dark coloured fonts, just gp through the documentation once.
Title: Re: changing the font
Post by: Shadonking on November 14, 2008, 06:33:14 am
i cant find where is alows you to darken fonts in the STCMS
Title: Re: changing the font
Post by: Fantasist on November 14, 2008, 06:35:04 am
Strange... I'll take a look at STCMS *goes and downloads*

EDIT:
Quote#   FONT_BACKGROUND_FIX    - set this to true if you want dark font colors to
#                            be used in the menu, this comes in handy when the
#                            custom background images you use are bright


But only in the menu...
Title: Re: changing the font
Post by: Blizzard on November 14, 2008, 06:53:01 am
Alright, I'll fix the problem then.
Title: Re: changing the font
Post by: Shadonking on November 14, 2008, 06:59:22 am
ok

thanks for the help