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.

Help with battle difficulty script!!!

How can I call KGC_Battledifficulty from an event instead of the menu screen?

To call KGC scripts I noticed that it is different that other scripts.

usually when I try to call nothing happens.

the script is below
#_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
#_/    â—†         Battle Difficulty - KGC_BattleDifficulty        â—† VX â—†
#_/    â—‡                 Last Update: 2008/02/09                      â—‡
#_/    â—†               Translation by Mr. Anonymous                   Ã¢â€”†
#_/----------------------------------------------------------------------------
#_/  This script adds battle difficulty settings to your game.
#_/============================================================================
#_/  Installation: Insert below KGC_ExtraDropItem and KGC_CustomMenuCommand.
#_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

#==============================================================================#
#                            ★ Customization ★                                 #
#==============================================================================#

module KGC
module BattleDifficulty
  #                       Ã¢â€”† Difficulty Variable â—†
  #  Change the variable the difficulty setting is stored in.
  DIFFICULTY_VARIABLE = 15

  #                           Ã¢â€”† Difficulty â—†
  #  Difficulty Format:
  #   DIFFICULTY << {
  #     :name  => "Difficulty Name",
  #     :maxhp => MaxHP,
  #     :maxmp => MaxMP,
  #     :atk   => Attack,
  #     :def   => Defense,
  #     :spi   => Spirit,
  #     :agi   => Agility,
  #     :param => Attack ・ Defense ・ Spirit ・ Agility (Batch Specification),
  #     :hit   => Hit Ratio,
  #     :eva   => Evasion,
  #     :cri   => Critical,
  #     :exp   => Experience,
  #     :gold  => Gold,
  #     :drop  => Item Drop Rate,
  #   }
  #  Create by the format
  #  (:atk, :def, :spi, :agi (The :param field takes highest priority)
  #  The unit is a percentile of a each item.
  #  :name is not optional
  #  An omitted item is treated as a default of 100
  DIFFICULTY = [] # Do not remove or modify this line!
  # ~ Custom Difficulty Settings Inserted Below Here ~
  DIFFICULTY << {        # Difficulty Level: 0
    :name  => "Easy",
    :maxhp => 80,
    :maxmp => 80,
    :param => 80,
    :cri   => 50,
    :drop  => 90,
  }  # â†
 

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