じ☆ve冰风 发表于 2026-8-2 13:38:41

Albic's Game Settings by Yourself

Thanks for this nice and easy to use script.BDI did have to edit a few variable names to get it to work though.

Line 75 GameSettings::MAX_Level_EDIT to GameSettings::MAX_LEVEL_EDIT

Line 76 GameSettings::MAX_Level to GameSettings::MAX_LEVEL

Edited Script:

Spoiler                Code:       
#==============================================================================# ~~Game Settings by Yourself~~                                                                                                                       v1.0 (26/03/2012)#==============================================================================# Script by:#                Albic#==============================================================================# Terms of use:# * You are allowed to use this script in commercial and non-commercial products,#   but if you use it in a commercial product, you have to send me an e-mail, to#   let me know to: "albic@spellcraftgaming.net"!## * You are allowed to edit everything for yourself, but you are not allowed to#   post this script as yours or post it at other websites without permission!## * You have to credit me as well!#==============================================================================# Introduction:# * Simply edit the command class!## * Set the things, you don't want to be changed to "false"#==============================================================================#----------------------------------------------------------------------------#   Command class# Edit this class, if you want some settings to be changed!#----------------------------------------------------------------------------module GameSettings#--------------------------------------------------------------------------# Set this to the maximum Level, you want in your game#--------------------------------------------------------------------------MAX_LEVEL_EDIT = trueMAX_LEVEL = 99#--------------------------------------------------------------------------# Set this to the maximum amount of gold, your party is able to have#--------------------------------------------------------------------------MAX_GOLD_EDIT = trueMAX_GOLD = 99999999#--------------------------------------------------------------------------# Set this to the maximum amount of items, your party is able to have per# item type#--------------------------------------------------------------------------MAX_ITEM_AMOUNT_EDIT = trueMAX_ITEM_AMOUNT = 99#--------------------------------------------------------------------------# Set this to the maximum amount of items, your party is able to have per# item type#--------------------------------------------------------------------------VEHICLE_MOVE_SPEED_EDIT = trueVEHICLE_MOVE_SPEED_BOAT = 4VEHICLE_MOVE_SPEED_SHIP = 5VEHICLE_MOVE_SPEED_AIRSHIP = 6end#============================================================================#   Script classes# Do not edit this, if you don't know what you're doing!#============================================================================#----------------------------------------------------------------------------#   Game_Actor#----------------------------------------------------------------------------class Game_Actor < Game_Battlerdef max_level        if GameSettings::MAX_LEVEL_EDIT          return GameSettings::MAX_LEVEL        else          return actor.max_level        endenddef param_base(param_id)        b = self.class.params        i = self.class.params        return b + i * (@level - 1)endend#----------------------------------------------------------------------------#   Game_Party#----------------------------------------------------------------------------class Game_Party < Game_Unitdef max_gold        if GameSettings::MAX_GOLD_EDIT          return GameSettings::MAX_GOLD        else          return 99999999        endenddef max_item_number(item)        if GameSettings::MAX_ITEM_AMOUNT_EDIT          return GameSettings::MAX_ITEM_AMOUNT        else          return 99        endendend#----------------------------------------------------------------------------#   Game_Vehicle#----------------------------------------------------------------------------class Game_Vehicle < Game_Characterdef init_move_speed        if GameSettings::VEHICLE_MOVE_SPEED_EDIT          @move_speed = GameSettings::VEHICLE_MOVE_SPEED_BOAT if @type == :boat          @move_speed = GameSettings::VEHICLE_MOVE_SPEED_SHIP if @type == :ship          @move_speed = GameSettings::VEHICLE_MOVE_SPEED_AIRSHIP if @type == :airship        else          @move_speed = 4 if @type == :boat          @move_speed = 5 if @type == :ship          @move_speed = 6 if @type == :airship        endendend








本贴来自国际rpgmaker官方论坛作者:ct_bolt处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/albics-game-settings-by-yourself.983/
页: [1]
查看完整版本: Albic&#039;s Game Settings by Yourself