Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Certain texts not showing up...

Started by Rathalos888, May 10, 2007, 09:30:14 PM

0 Members and 1 Guest are viewing this topic.

Rathalos888

Alright, so, in certain points in my game, text won't show up. Like, the name of equipment, or the Buy, Sell, or Exit commands. Someone please help >_<

modern algebra

#1
Sounds like a font problem, so I'm going to refer you to Blizzard's Ultimate Font Override. It's in the Script Database, I'll take a quick look and then link it for you.

EDIT:

Okay, it's part of his Tons of Add-Ons, which I have yet to use and so I suggest you read the instructions to figure out what features you want to turn on or off.

Blizzard's Tons of Add-Ons

Kokowam

What about his tricks? :D

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.

Rathalos888

I wove blizzard


Seriously >_>

Thanks guys, works fine now ^_^

:)

solved? add [RESOLVED] to topic title
Watch out for: HaloOfTheSun