Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Acedent Prone's FF7 Menu Script Problem

Status
Not open for further replies.
I'm having a problem with Acedent Prone's FF7 Menu Script. When I stasrt the game, it runs fine, but when I try to go into the menu, it keeps having an error with this line, which is in several places:
Code:
self.contents.font.size = $defaultfontsize
It says, "no implicit conversion from nil to integer".
The same code ocurrs at line 196, line 128, and line 80. I deleted those 3 lines, and when I try again, the menu comes up.
The problem is, there's no text. At all.
Can anyone figure this out for me, please?
View attachment 1872
 
Thank you, I'll try that. I can't get to my RPGXP computer today, but I'll let you know if it works tommorow. Do I still have to delete the three lines that were originially causing the error?
 

McP

Member

nope, it shouldn't be necessary anymore since you're telling the game what the defaulfontsize is. But normally, you just need to add this piece of code in the japanese version o0..so..
 
The code is something straight out of the japanese/illegal PK days. A lot of my RMXP files were created back then and hence still have that archaeic code in it. I use this menu system myself so I think I can fix your problem.

Try this:

Where it says "Begin" to "Graphics.freeze" replace it with this:

Code:
begin
$defaultfonttype = $fontface = $fontname = Font.default_name = "Arial"
$defaultfontsize = $fontsize = Font.default_size =  18
 Graphics.freeze

This should work, if it doesn't then I'll past my whole "Main" script here and we'll see what we can do.
 

ccoa

Member

This topic has been resolved. If Chiyo Osaka or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top