• Topic Archived
You're browsing the GameFAQs Message Boards as a guest. Sign Up for free (or Log In if you already have an account) to be able to post messages, change how messages are displayed, and view media in posts.
  1. Boards
  2. RPG Maker XP
  3. Tutorial: Removing the Party Command Window (Fight / Escape)

User Info: RedRaptor10

RedRaptor10
11 years ago#1
Okay, I have just figured out how to remove that window at the start of each of your turns. The window says Fight and Escape. In some RPGs, there is no window like that and at the start of each turn it switches to the Actor Command WIndow (Fight, Skill, Guard, Item).

Step 1: Go to Scene_Battle 1 and where it says "# Make Actor Command Window", add a new option called "Escape". So it should look like this:


# Make actor command window
s1 = $data_system.words.attack
s2 = $data_system.words.skill
s3 = $data_system.words.guard
s4 = $data_system.words.item
s5 = "Run"
@actor_command_window = Window_Command.new(150, [s1, s2, s3, s4, s5)


^^ Ignore 150. That is whatever the width of your command window is.


Then, right under that code add this script:


# If it's not possible to escape
if $game_temp.battle_can_escape == false
@actor_command_window.disable_item(4)
end


^^ If Escape is disabled for a certain battle, disable the Escape command.


Step 2: Go to Scene_Battle 2 and where it says "# Start Party Command Phase", change it to this:


# Start party command phase (phase2 = PartyCommand, phase3 = ActorCommand)
start_phase3
#start_phase2


^^ If you would like to change back to the normal way, just delete "start_phase3" and delete the "#" behind "start_phase2".


Step 3: Go to Scene_Battle 3 and where it says "def update_phase3_basic_command", under that change it to this:[/b]


if Input.trigger?(Input::B) and not @actor_index == 0 # And if not 1st Actor


^^ If it's the 1st Battler's turn, pressing Back is disabled.


Step 4: Go to Scene_Battle 3 and where it says "# Branch by actor command window cursor position", add a new option and add this code so it looks like this:


when 4 # escape
# If it's not possible to escape
if $game_temp.battle_can_escape == false
# Play buzzer SE
$game_system.se_play($data_system.buzzer_se)
# Actor blink effect OFF
if @active_battler != nil
@active_battler.blink = false
end
return
end
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Actor blink effect OFF
if @active_battler != nil
@active_battler.blink = false
end
# Escape processing
update_phase2_escape


^^ The Actor blink effect OFF parts of the code are very important. Without them, the actor will still be flashing white when you fail to escape.


Step 5: Go to Scene_Battle 4 and where it says "# Start Party Command Phase", change it to this:


# Start party command phase (phase2 = PartyCommand, phase3 = ActorCommand)
start_phase3
#start_phase2
return


^^ If you would like to change back to the normal way, just delete "start_phase3" and delete the "#" behind "start_phase2".


And there you have it. The Party Command Window is removed and at the start of each of your turns it switches to the Actor Command Window! =)
--
-

User Info: paradisegamer

paradisegamer
11 years ago#2
I support this type of topic.
If I had a sig, this is where it would go. *is waiting for someone to say something that is "teh sex"*

User Info: Dachimotsu

Dachimotsu
11 years ago#3
Could you possibly make an add-on script that takes care of this automatically?
Cuz editting the default scripts seems kind of dangerous to me.
Domus Facina, a webcomic about Final Fantasy villains.
Current number of readers: 141

User Info: RedRaptor10

RedRaptor10
11 years ago#4
oh sorry i'm not good with scripts. i think there is a way to put this all into an add on. but if you mess up with this, you can just come back to this page and see what you added then delete it. for example, just delete start_phase3 and delete the "#" to return back to normal.
--
-
  1. Boards
  2. RPG Maker XP
  3. Tutorial: Removing the Party Command Window (Fight / Escape)
  • Topic Archived

GameFAQs Q&A