Hello hello everyone: 3!
Here Nio Kasgami is proud to have started to understand (FINALLY) how to make a script!
brief
I present you today a special script that is based on that work Yanfly
His Nio Kasgami Full Convertible Party_Battle_Command (FCPBC)
______________________________________________________________________________
Is a script who permit to add easily new Battle command and is fully compatible (I Think) with other script (let me know if is not compatible i can do a compatibility with :3!)
So the structure script for the moment is REALLY similar to Yanfly Party Command But when I add the new feature in the script is think is was different
For the moment my script only permit to have the Formation Command in the battle And I didt Built for now my own Party_System Script so use the Yanfly_Party_System New feature was soon add for the script
Script Version : 0.5
Demo : Not Needed for the moment
SCRIPT
Spoiler
#==============================================================================
#
# ▼ N.K Full Convertible Party_Battle_Command (F.C.P.B.C) v.0.5
# -- Last Updated: 2013.08.19
# -- Level: Easy
# -- Requires: n/a
#
#==============================================================================
#==============================================================================
# ¥ Updates
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#2013.08.19 - Bug Fix compatibility for Yanfly Free Turn Battle
#2013.08.19 - Started and finished script
#==============================================================================
# ▼ Introduction
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# the battle system rpg maker vx ace has changed a lot thanks to many
# Script that was created by talented writers (such as Enu, Yanfly,
# Moghunter, Yami and ect.) However this script focuses on Yanfly with his
# beautiful party system which allows to have nice function for
# change teams. He even created a script to have the command
# to change teams in the middle of combat. unfortunately
# It is only compatible with his own Party System and battle system. So I
# inspired how did Yanfly and I decided, from his work,
# create a script Permit to had the Party Command in the battle and have a
# high compatibility with other Party System.
#
#
#that Script will not only have the Team command,but also numerous
# other command.
# This Script Permit to add easily new Party Battle command
#
#==============================================================================
# ▼ READ CARREFULLY!
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# I had inspired of Yanfly Work's and MOST of the part script are inspired
# front the Yanfly Script so also CREDIT Yanfly!
#
#==============================================================================
# ▼ Instructions
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ▼ Materials/素材 but above ▼ Main. Remember to save.
#
#==============================================================================
# ▼ Compatibility
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This script only work for Rpg maker Vx ace. Don't try to test on other
# Rpg maker
#
#==============================================================================
#
#==============================================================================
# ▼ other script Needed
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# => Yanfly Engine Ace - Party System v1.08
# Or Other Party System Script
#==============================================================================
#==============================================================================
# ▼ Cuztomization
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# Place Where you can edit for give a the command, fonctionallity you want
#=============================================================================
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# -General Party Command - (NOT ENABLE FOR THE MOMENT)
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# In this section you can decide which command or will be Permitted
# or not in your games
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#==============================================================================
# ▼ Editting anything past this point may potentially affect the fonctionality
# of the script. So don't touch it if you don't know what you are D-O-I-N-G!
#==============================================================================
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
#==========================#SceneManager#=============================#
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
module SceneManager
#-------------------------------------------------------------------------
# new method: self.force_recall
#-------------------------------------------------------------------------
def self.force_recall(scene_class)
@scene = scene_class
end
end # SceneManager
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
#==========================# Window_PartyCommand #====================#
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
class Window_PartyCommand < Window_Command
#------------------------------------------------------------------------
#Create a new command
#-----------------------------------------------------------------------
def make_command_list
add_command(Vocab::fight, :fight)
add_command(Vocab::escape, :escape, BattleManager.can_escape?)
add_command(Vocab::formation, :formation)
end
end
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
#==========================# Scene_Battle #=============================#
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
class Scene_Battle < Scene_Base
#================YANFLY FREE TURN BATTLE COMPATIBILITY================#
#--------------------------------------------------------------------------
# new method: hide_extra_gauges
#--------------------------------------------------------------------------
def hide_extra_gauges
# Made for compatibility
end
#--------------------------------------------------------------------------
# new method: show_extra_gauges
#--------------------------------------------------------------------------
def show_extra_gauges
# Made for compatibility
end
#--------------------------------------------------------------------------
alias scene_battle_hide_extra_gauges_ftb hide_extra_gauges
def hide_extra_gauges
scene_battle_hide_extra_gauges_ftb
@ftb_gauge.hide
end
#=============================END COMPATIBILITY PATCH==========================#
#--------------------------------------------------------------------------
# alias method: create_party_command_window
#--------------------------------------------------------------------------
alias create_party_command_window_cpt create_party_command_window
def create_party_command_window
create_party_command_window_cpt
@party_command_window.set_handler🙂formation, method🙂command_team))
end
def command_team
Graphics.freeze
@info_viewport.visible = false
hide_extra_gauges
SceneManager.snapshot_for_background
previous_party = $game_party.battle_members.clone
index = @party_command_window.index
oy = @party_command_window.oy
#---
SceneManager.call(Scene_Party)
SceneManager.scene.main
SceneManager.force_recall(self)
#---
show_extra_gauges
if previous_party != $game_party.battle_members
$game_party.make_actions
end
@info_viewport.visible = true
@status_window.refresh
@party_command_window.setup
@party_command_window.select(index)
@party_command_window.oy = oy
perform_transition
end
end # End of scene battle
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
#==========================# END OF FILE #===============================#
#-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-w-
Feature Who soon add for command
- Special Sideview exchange actors
- Tactic Window
- Fast Save in middle of battle
- Change Equipement in middle of battle
- change Spirit in middle of battleChange Formation Position in middle battle
- Change Actor Position in battle
#==============================================================================
# ¥ Updates
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#2013.08.19 - Bug Fix compatibility for Yanfly Free Turn Battle
#2013.08.19 - Started and finished script
DONT FORGET ALSO CREDIT YANFLY IS WHAS THE PILLAR FOR STRUCTURE OF MY SCRIPT!