Main Menu
  • Welcome to The RPG Maker Resource Kit.

[UNRESOLVED, AGAIN] Fonts

Started by Algid, May 10, 2007, 09:49:21 PM

0 Members and 1 Guest are viewing this topic.

Algid

I want something that will make the skill descriptions and statistics and commands in one font, and the actual skills in another.
FFFFFFFFFFFFFFFFFFFFFF

Kokowam

This is my guess:

Quote from: Blizzard on September 18, 2006, 01:13:40 PM
b) Ultimate Font Override

This little script will do the job:

#==============================================================================
# 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 = "Arial"
    self.fontsize = 24
  end
 
  def fontname=(name)
    $defaultfonttype = $fontface = @fontname = name
  end
   
  def fontsize=(size)
    $defaultfontsize = $fontsize = @fontsize = size
  end
 
end

#==============================================================================
# Bitmap
#==============================================================================

class Bitmap

  alias init_font_override_later initialize
  def initialize(w, h = nil)
    if w.is_a?(Numeric) and h.is_a?(Numeric)
      init_font_override_later(w, h)
    else
      init_font_override_later(w)
    end
    if $game_system.fontname != nil and not $scene.is_a?(Scene_Title)
      self.font.name = $game_system.fontname
      self.font.size = $game_system.fontsize
    else
      self.font.name = "Arial"
      self.font.size = 24
    end
  end
 
end


You can change the font/fontsize with

$game_system.fontname = "FONTNAME"
$game_system.fontsize = FONTSIZE


It will override the font from any RMXP version.
That is Blizzard's Font override. Use the stuff in the second code box as call scripts?

modern algebra

Yeah, also most AMSes (advanced message systems) have that as a feature.

Algid

That script is great, but not what I'm looking for. I want something that will make the skill descriptions and statistics and commands in one font, and the actual skills in another.
FFFFFFFFFFFFFFFFFFFFFF

Zeriab

That would require you to edit the actual scripts.

Also this is quiet different from what you first requested.
If you take some time to write out your first question and get it more precise you have a better chance of getting an answer to what you want ;)

Sthrattoff

Then, you need to open the statistic script and when you meet a text-drawing method like
self.contents.draw_text
or
draw_actor_hp #Exception for draw_actor_graphics
add this line above those lines:
self.contents.font.type = "FONT NAME"
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

Algid

Okay, but I really suck at scripting, and have no idea what you are talking about.
FFFFFFFFFFFFFFFFFFFFFF

Algid

FFFFFFFFFFFFFFFFFFFFFF

Algid

FFFFFFFFFFFFFFFFFFFFFF

Sthrattoff

On the script thing, not call script.
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

Algid

Quote from: Sthrattoff on May 30, 2007, 02:51:48 AM
On the script thing, not call script.

I wasn't responding to yours, I got that, but I want to be able to change the font in events.
FFFFFFFFFFFFFFFFFFFFFF

modern algebra

What do you mean in events?

As in, you want to change the font messages are displayed in?

Or you want to change the fonts of menus and stuff?

Algid

I want it so that it is like:

Centaur{Bob: What the hell is that?!)
             {Joanna: [Fremen{OMFG)])
FFFFFFFFFFFFFFFFFFFFFF

modern algebra

Use an AMS. dubealex's and ccoa's both have that feature, I believe. You can find dubealex's on creationasylum, and you could at one time have found ccoa's on .org, but their download manager is down I think...