Chaos Project

RPG Maker => Tutorials => Topic started by: Kyra on April 17, 2011, 03:08:49 pm

Title: Changing the Font on RPGXP [RESOLVED]
Post by: Kyra on April 17, 2011, 03:08:49 pm
After searching the database, materialbase and scripts for anything that could hint at being able to change the font's size and style I have come empty handed. Perhaps I skimmed over what I thought wasn't the script file or not, but I seem to be at a loss.

I used search for "font" an a lot of scripts were brought up that were unrelated to this, and I looked around in tutorials and couldn't fin a guide on how to do that.
Title: Re: Changing the Font on RPGXP
Post by: G_G on April 17, 2011, 03:10:38 pm
Use Tons of Add-ons. It has an Ultimate Font Override
Title: Re: Changing the Font on RPGXP
Post by: Kyra on April 17, 2011, 03:20:34 pm
Quote from: game_guy on April 17, 2011, 03:10:38 pm
Use Tons of Add-ons. It has an Ultimate Font Override

I shall do that. Thank you. ^^
Title: Re: Changing the Font on RPGXP
Post by: ForeverZer0 on April 17, 2011, 03:33:59 pm

Font.default_name = 'FONT_NAME'
Font.default_size = SIZE


The only problem this causes is that if a script explicitly sets the font name/size for a window, it will change it for that instance. You can modify the scripts that do this by simply commenting out such lines.
Title: Re: Changing the Font on RPGXP
Post by: Kyra on April 17, 2011, 03:41:29 pm
Quote from: ForeverZer0 on April 17, 2011, 03:33:59 pm

Font.default_name = 'FONT_NAME'
Font.default_size = SIZE


The only problem this causes is that if a script explicitly sets the font name/size for a window, it will change it for that instance. You can modify the scripts that do this by simply commenting out such lines.

So I just make a new script with this and place it above Main?

Commenting is just putting # in front of it, right?
Title: Re: Changing the Font on RPGXP
Post by: Blizzard on April 17, 2011, 03:44:07 pm
Yes and yes.
You can alternatively simply edit the main script and put these two lines before the "begin" keyword in the main script.
Title: Re: Changing the Font on RPGXP
Post by: ForeverZer0 on April 17, 2011, 03:45:20 pm
I was just typing that, clicked "Post" and got that fun old message telling me someone already posted.  ;)
Title: Re: Changing the Font on RPGXP
Post by: Blizzard on April 17, 2011, 03:46:27 pm
:V:
Title: Re: Changing the Font on RPGXP
Post by: Kyra on April 18, 2011, 01:09:51 am
So do I edit the subject to say (RESOLVED) or do the mods do that?
Title: Re: Changing the Font on RPGXP [RESOLVED]
Post by: ForeverZer0 on April 18, 2011, 01:15:05 am
Whoever gets to it first.