DoubleX RMVXA Constants Edit

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by DoubleX, Jan 2, 2014.

  1. DoubleX

    DoubleX Just a nameless weakling Veteran

    Messages:
    1,462
    Likes Received:
    543
    First Language:
    Chinese
    Primarily Uses:
    N/A
    DoubleX RMVXA Constants Edit  v1.02d​
    by DoubleX​
     
    Introduction
    There're some hardcoded constants(can only be modified by scripts) in the default setting. This script allows users to modify some of these constants by editing the following in this script:

    #==============================================================================|#  ** You only need to edit this part as it's about what this script does      |#------------------------------------------------------------------------------|module DoubleX_RMVXA  module Constants_Edit#------------------------------------------------------------------------------|#  * Parameters maximum value                                                  |#------------------------------------------------------------------------------|  # MHP, MMP, ATK, DEF, MAT, MDF, AGI, LUK  # Default = 999999, 9999, 999, 999, 999, 999, 999, 999  Param_Max = [999999, 9999, 999, 999, 999, 999, 999, 999]  # Parameter buff and debuff rate, default = 0.25  Param_Buff_Rate = 0.25  # Maximum buff and debuff level, default = 2  Buff_Max = 2  # Maximum level, default = 99  # Note that if it's greater than 99, it assumes the growth type of the class parameters is average Lv_Max = 99#------------------------------------------------------------------------------|#  * TP constants                                                              |#------------------------------------------------------------------------------|  # TP maximum value, default = 100  Tp_Max = 100  # TP maximum value in initialization, default = 25  Init_Tp_Max = 25  # Maximum charged TP by damage(before being multiplied by tcr), default = 50  Charge_Tp_By_Damage_Max = 50#------------------------------------------------------------------------------|#  * Some other battle constants                                               |#------------------------------------------------------------------------------|  # Increment of probability of escape after each failed attempt, default = 0.1  Escape_Ratio = 0.1  # Preemptive rate when party's average agi >= that of troops, default = 0.05  Preemptive_Rate_High = 0.05  # Preemptive rate when party's average agi < that of troops, default = 0.03  Preemptive_Rate_Low = 0.03  # Raise Preemptive multiplier, default = 4  Raise_Preemptive = 4  # Susprise rate when party's average agi < that of troops, default = 0.05  Susprise_Rate_High = 0.05  # Susprise rate when party's average agi >= that of troops, default = 0.03  Susprise_Rate_Low = 0.03#------------------------------------------------------------------------------|#  * Some other gameplay constants                                             |#------------------------------------------------------------------------------|  # Maximum number of save files, default = 16  Save_Max = 16  # Number of steps regarded as a turn, default = 20  Steps_For_Turn = 20  # Basic floor damage, default = 10  Basic_Floor_Damage = 10  # Battle members maximum value, default = 4  Battle_Members_Max = 4  # Gold maximum value, default = 99999999  Gold_Max = 99999999  # Maximum number per item, default = 99  Item_Number_Max = 99  # Selling price divisor, default = 2  Selling_Price_Divisor = 2  end # Constants_Editend # DoubleX_RMVXA#==============================================================================|
    Features
    Almost no knowledge of scripting is need to use this script(not much is needed to know how to edit it)
     
    How to use
    Open the script editor and put this script into an open slot between Materials and Main. Save to take effect.
     
    FAQ
    None
     
    Credit and Thanks
    DoubleX(Giving me credit is completely optional)
    No terms of use other than not claiming this script as created by anyone except DoubleX or his alias
     
    Compatibility

    Rewritten method:

    - savefile_max under module DataManager

    - process_escape under module BattleManager

    - param_max, param_buff_rate, max_tp and tp_rate under class Game_BattlerBase

    - buff_max?, debuff_max?, init_tp and charge_tp_by_damage under class Game_Battler

    - param_max, steps_for_turn or basic_floor_damage under class Game_Actor

    - max_battle_members, max_gold, max_item_number, rate_preemptive and rate_surprise under class Game_Party

    - selling_price under class Scene_Shop

    Aliased method:

    - load_database under module DataManager

    - param_base under class Game_Actor

    Added method:

    - init_lv under class RPG::Actor

    - init_param_lv_100_plus and set_param_lv_100_plus under class RPG::Class

     
    Changelog

    v1.02d(GMT 0500 27-10-2014):

    - Improved this script's effectiveness, efficiency and robustness

    v1.02c(GMT 1000 26-10-2014):

    - Fixed leveling bug when max level > 99

    v1.02b(GMT 0600 26-10-2014):

    - Fixed param bug when max level > 99

    v1.02a(GMT 0300 13-6-2014):

    - Added some more gameplay constants

    v1.01a(GMT 0300 30-1-2014):

    - Added some more gameplay constants
    v1.00a(GMT 1200 2-1-2014):
    - 1st version of this script finished

    (DoubleX)Constants Edit v1.02d.txt
     

    Attached Files:

    Last edited by a moderator: Oct 30, 2014
    #1
    turtlerock likes this.
  2. Misaki

    Misaki Pikalyze Veteran

    Messages:
    156
    Likes Received:
    24
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    Nice :)

    Almost no knowledge, eh? Well, except those who never used RPG Maker VX ace would have maybe a tiny bit of trouble...

    Anyways, good job.
     
    #2
  3. DoubleX

    DoubleX Just a nameless weakling Veteran

    Messages:
    1,462
    Likes Received:
    543
    First Language:
    Chinese
    Primarily Uses:
    N/A
    Updates

    v1.01a(GMT 0300 30-1-2014):

    - Added some more gameplay constants
     
    #3
  4. turtlerock

    turtlerock Villager Member

    Messages:
    11
    Likes Received:
    0
    First Language:
    english
    Thanks DoubleX, great job.

    I don't know if I'll ever make something as crazy like Disgaea damage though.
     
    #4
  5. xiaden

    xiaden Definitely not a cat Member

    Messages:
    7
    Likes Received:
    0
    Location:
    Arth
    First Language:
    English
    Would It be possible to throw max level into this?  The current ceiling is 99, and I would like to make it higher.
     
    #5
  6. DoubleX

    DoubleX Just a nameless weakling Veteran

    Messages:
    1,462
    Likes Received:
    543
    First Language:
    Chinese
    Primarily Uses:
    N/A
    Updates

    v1.02d(GMT 0500 27-10-2014):

    - Improved this script's effectiveness, efficiency and robustness

    v1.02c(GMT 1000 26-10-2014):

    - Fixed leveling bug when max level > 99

    v1.02b(GMT 0600 26-10-2014):

    - Fixed param bug when max level > 99

    v1.02a(GMT 0300 13-6-2014):

    - Added some more gameplay constants
     
    Last edited by a moderator: Oct 30, 2014
    #6

Share This Page