Hello,
I really like the design of Modern Algebra's Chingoos Sliding Menu. However, I am making a game that only involves a party that consists of one player. I'm looking for a script that modifies this CMS so that when you select Equip/Status/Skill/ it goes straight to the respective menu for the party leader. This would mean that I do not need the sliding aspect of the menu, just its design.
The CMS is here: http://rmrk.net/index.php/topic,43068.0.html (http://rmrk.net/index.php/topic,43068.0.html)
Thank you,
Magus
Here:
#==============================================================================
# tehMagus' One Actor Menu System
# Version: 1.0
# Author: modern algebra (rmrk.net)
# Date: July 5, 2011
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Description:
#
# This is a menu, requested by tehMagus, that is designed for a party of one
# member and as such skips actor selection when choosing the Equip, Skill,
# commands, etc...
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Instructions:
#
# Paste this script above Main and below Materials.
#==============================================================================
$imported = {} unless $imported
$imported["TehMagusOAMS"] = true
#==============================================================================
# ** Scene_Menu
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Summary of Changes:
# aliased method - start
# overwritten method - start_actor_selection
#==============================================================================
class Scene_Menu
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Start
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_tem_oams_start_1bv8 start
def start (*args, &block)
ma_tem_oams_start_1bv8 (*args, &block) # Run Original Method
@command_window.x = (Graphics.width - @command_window.width) / 2
@command_window.y = (Graphics.height - @gold_window.height - @command_window.height) / 2
@gold_window.x = (Graphics.width - @gold_window.width) / 2
@status_window.x = Graphics.width
end
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Start Actor Selection
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
def start_actor_selection (*args, &block)
@status_window.index = 0
update_actor_selection
end
end
Quote from: modern algebra on July 05, 2011, 10:46:59 PM
Here:
#==============================================================================
# tehMagus' One Actor Menu System
# Version: 1.0
# Author: modern algebra (rmrk.net)
# Date: July 5, 2011
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Description:
#
# This is a menu, requested by tehMagus, that is designed for a party of one
# member and as such skips actor selection when choosing the Equip, Skill,
# commands, etc...
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Instructions:
#
# Paste this script above Main and below Materials.
#==============================================================================
$imported = {} unless $imported
$imported["TehMagusOAMS"] = true
#==============================================================================
# ** Scene_Menu
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Summary of Changes:
# aliased method - start
# overwritten method - start_actor_selection
#==============================================================================
class Scene_Menu
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Start
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias ma_tem_oams_start_1bv8 start
def start (*args, &block)
ma_tem_oams_start_1bv8 (*args, &block) # Run Original Method
@command_window.x = (Graphics.width - @command_window.width) / 2
@command_window.y = (Graphics.height - @gold_window.height - @command_window.height) / 2
@gold_window.x = (Graphics.width - @gold_window.width) / 2
@status_window.x = Graphics.width
end
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Start Actor Selection
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
def start_actor_selection (*args, &block)
@status_window.index = 0
update_actor_selection
end
end
Thanks!