RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Request] Bypass FIGHT/FLEE menu

Started by Sashikinaroji, October 22, 2010, 02:26:06 PM

0 Members and 1 Guest are viewing this topic.

Sashikinaroji



This screen... Is the bane of my Battle Dome...

Basically, I want there to be an AI driven battle to take place against two fighters. Good, I got that down pat.

But, it isn't perfect.

You see, that screen says to either attack, or flee. I don't want to have that option at all.

That is, I want battles to start in this screen:


Where you are already in the character action menu...

But I have yet to find a way to do this, despite having downloaded a bunch of scripts that, on the surface, seemed to be exactly what I was looking for.

I have searched on RMVX and RPGREVOLUTION for the scripts manually, searching for key words which seemed to relate to my issue (mostly in the battle add-ons, menu scripts, and battle scripts) such as: Skill Disable Attack Flee and so on...

Anyone have a clue if there is something I can do?
Ok, DON'T EXPECT HELP FROM ME~! I will perhaps rant a bit, but don't expect me to do graphics for you, even if I say I will... I won't.

TDS

Do you want to remove the Attack/Escape window completely or just remove it for certain occasions?

Also I know I'm not a MOD or anything but next time please use the script request template.

http://rmrk.net/index.php/topic,24347.0.html

It helps a lot to the person taking the request.

dumbsmart

#2
Oops. I did this yesterday, and forgot to post it. Post this code in Materials:


class Scene_Battle 
 
  def update_party_command_selection
        @status_window.index = @actor_index = -1
        next_actor
  end

 
Update (10/27): I found a more sophisticated version. Cred: Mithran's Snippet Repository http://www.rpgmakervx.net/index.php?showtopic=18021 This allows you to turn it on/off by turning Mithran::RPCW::ACTIVATE = true/false respectively.


# Remove Party Command Window
# Makes the party command window in the default battle system completely
# inaccessible and hidden from the interface

# Install: Insert above main in the materials section.

module Mithran
  module RPCW
    ACTIVATE = true # change to false to deactivate script
  end
end
   
class Scene_Battle
  alias start_party_command_selection_remove_party_command start_party_command_selection
  def start_party_command_selection
    start_party_command_selection_remove_party_command
    if Mithran::RPCW::ACTIVATE
      @info_viewport.ox = 128
      @party_command_window.active = false
      next_actor unless $game_troop.surprise or not $game_party.inputable?
    end
  end
 
  alias start_main_remove_party_command start_main
  def start_main
    start_main_remove_party_command
    @info_viewport.ox = 128 if Mithran::RPCW::ACTIVATE
  end
end

Sashikinaroji

it doesn't seem to be compatible with kylocks side view battle...

I think I have to go through and translate Kylocks system to find out where the problem is... Although, I am pretty sure the issue arises from the part of the script that scrolls the the battle menu over, rather than making it appear... Hrm... also, for a brief second, it also shows the menu... for only an instant, you see...
Ok, DON'T EXPECT HELP FROM ME~! I will perhaps rant a bit, but don't expect me to do graphics for you, even if I say I will... I won't.