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.

Difficult-Unlocker v.2

nic

Member

Sorry for the necroposting but i have a problem...

Everytime i try to load the game or do a new game and choose to don't change the difficulty, the game returns to the title screen?What could be that error?

I'm using:

Mission System (Atoria demo)
ZTBS
Phylomortis Craft System
Jirbytaylor 8 party menu
ccoa Three image title
Shadow Text
Autoscrolling message
Music Database
Item database
XMS different damage display
Difficulty script + my first script
 

Hero

Member

Okay, something's weird. I made a new difficulty level right? When I tried to make it unlockable only after $game_variable[3] = 3, if I go pick the new difficulty then it automatically makes variable[3] = 3 and then the new difficulty is chosen. Does anyone know how to make it so it doesn't happen and can only make it so that you can pick it when variable[3] = 3?

Here's the method I tried to use:

Code:
def apocalypse #s9

 if $game_variables[3] = 3
then
    $game_system.se_play($data_system.decision_se)
    Difficulty.set(8)
   $scene = Scene_Menu.new 
if not
 $game_system.se_play($data_system.buzzer_se)
 @window_help.update("Not yet available!")
 $scene = Scene_Menu.new
end

I also tried replacing "if not" with "else" and the same thing happens.
 
I don't understand what your saying about the background. I can't use the script because it is unable to find Graphics/Picture/picture name. Please explain sorry I don't understand.

Thanks in advance, CofloQuest
 
Apologies for necroposting but I've come across an error when I selected Rookie:

Script 'Difficult' line 210: NameError occured:
uninitialized constant Scene_difficult_menu::Diffuculty

That same error occured on lines 216, 222 228, 234, 240 and 246 when I selected Easy, Normal, Hard, Mania, Unkown and Divine respectively. Any idea what's going on?
 
Wow this script, old script

Admiral_Stalfos19 << you have to add the KGC_BattleDifficulty script above main, it is in the first post
Samhatake << what did you do get the error?
 
Does anyone have an idea how I can display the games difficulty in the window_savefile?
I'm so far:

diff = 0
   
    if diff == -1
      dif = "Difficulty: Easy"
      elsif diff == 0
      dif = "Difficulty: Normal"
      elsif diff == 1
      dif = "Difficulty: Hard"
     
    else
     
    end
   
    self.contents.draw_text(250, 0, 600, 32, dif)

The very first part the = 0 should be where the system should read the difficulty. I just don't know how to do that.
I hope somebody can help.

Thanks in advance.
 

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