RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Missing words!

Started by godlock2006, June 06, 2007, 09:08:36 PM

0 Members and 1 Guest are viewing this topic.

godlock2006

When i went to creation asylum(i have to post here because it wont let me on my yahoo account) anyway i downloaded a menu system (script) like for pokedex when i go on menu it doesnt show POKEDEX on the menu.It missing.
so this one person said to edit the main script i did but nothing popped up still can someone please tell me how to make stuff pop up? :'(
You think so?

modern algebra

Errrrm...

Just post the script and I will do the edit. As it is, I have no real idea what you are talking about. It sounds like it is probably an out of range x or y value or something on the word.

godlock2006

Message by TSUKASA:
k, I have the answer ;D go to main and put this after begin

CODE
# Font used
  $fontface = "Lucida Console"

it should look like this


CODE
begin
    # Font used
  $fontface = "Lucida Console"
  # Prepare for transition
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Title.new

rEGULAR SCRIPT:
#==============================================================================
# ? Main
#------------------------------------------------------------------------------
# ???????????????????????????????
#==============================================================================

begin

  # This variable determines the default font type
  $defaultfonttype = "Tahoma"
  # This variable determines the default font size
  $defaultfontsize = 22

  # ?????????
  Graphics.freeze
  # ????????? (??????) ???
  $scene = Scene_Title.new
  # $scene ?????? main ?????????
  while $scene != nil
    $scene.main
  end
  # ???????
  Graphics.transition(20)
rescue Errno::ENOENT
  # ?? Errno::ENOENT ???
  # ????????????????????????????????
  filename = $!.message.sub("No such file or directory - ", "")
  print("File #{filename} not found.")
end
You think so?

Zeriab

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.