[XP] no grayed out commands with Overdrive and Disable Battle Commands

MarioWidjaya123

Veteran
Veteran
Joined
May 16, 2020
Messages
187
Reaction score
6
First Language
English
Primarily Uses
RMXP
i have two scripts that are like not into eachother.
which is the Easy Overdrive Script and Heretic's Disable Battle Commands Script
OK. SO... this is a little hard to explain, so im just gonna try to narrow it down as much as possible.
1605095773164.png
you see those "disable_commands" thingies?
that is from the Disable Battle Commands Script.
(Z-Moves is just what i describe Overdrive.)

look at these images.
1605096174527.png
1605096273253.png
1605096386250.png
1605096677753.png

if you didn't understand the situation...
i'm gonna make a video about it (if possible), to make it more sense.

P.S.
disabling the Overdrive Command (A.K.A. Z-Moves) DOES work.
its just doesn't show it or not grayed out.
 

MarioWidjaya123

Veteran
Veteran
Joined
May 16, 2020
Messages
187
Reaction score
6
First Language
English
Primarily Uses
RMXP
bump...
can someone help me with this?
 

KK20

Just some XP Scripter
Veteran
Joined
Oct 11, 2018
Messages
281
Reaction score
106
First Language
English
Primarily Uses
RMXP
Update Overdrive's Window_Command#refresh method to this:
Code:
  alias refresh_eos_later refresh
  def refresh
    refresh_eos_later unless @actor
    if $fontface != nil
      self.contents.font.name = $fontface
      self.contents.font.size = $fontsize
    elsif $defaultfonttype != nil
      self.contents.font.name = $defaultfonttype
      self.contents.font.size = $defaultfontsize
    end
    if @actor != nil
      self.contents.clear
      for i in 0...@item_max
        color = actor.disabled_menu_words.include?(@commands[i]) ? disabled_color : normal_color
        draw_item(i, color)
        if i == 1 && BlizzCFG::OVERDRIVE_USERS.include?(@actor.id)
          if self.index != 1 || @commands[1] != BlizzCFG::OVERDRIVE_COMMAND_NAME
            self.contents.draw_text(4, 31, width-40, 32, '››', 2)
          elsif @commands[1] == BlizzCFG::OVERDRIVE_COMMAND_NAME
            @sliding_overdrive = true
          end
        end
      end
      if @sliding_overdrive
        self.contents.font.color = BlizzCFG::OVERDRIVE_COLOR
        if actor.disabled_menu_words.include?(BlizzCFG::OVERDRIVE_COMMAND_NAME)
          self.contents.font.color.alpha /= 2
        end
        (0...6).each do |j|
          self.contents.fill_rect(0, 32, width-32, 32, Color.new(0, 0, 0, 0))
          rect = Rect.new(164-j * 32, 32, width-40, 32)
          self.contents.draw_text(rect, @commands[1])
          Graphics.update
        end
        @sliding_overdrive = false
      end
    end
  end
and update Disable Battle Command's check_actor_window_commands to be empty, i.e.
Code:
def check_actor_window_commands
end
 

KK20

Just some XP Scripter
Veteran
Joined
Oct 11, 2018
Messages
281
Reaction score
106
First Language
English
Primarily Uses
RMXP
You're missing an end somewhere in Window_Command
 

KK20

Just some XP Scripter
Veteran
Joined
Oct 11, 2018
Messages
281
Reaction score
106
First Language
English
Primarily Uses
RMXP
I only helped because I am a loyalist to Chaos Project, especially Blizzard.

Skill Callouts would be too much of a beast to create. I don't have any reason to create new scripts these days.
Same goes for Technical Damage; your requests require an entirely new script.
 

MarioWidjaya123

Veteran
Veteran
Joined
May 16, 2020
Messages
187
Reaction score
6
First Language
English
Primarily Uses
RMXP
Skill Callouts would be too much of a beast to create.
what do you mean "too much of a beast to create"?
its just a support skill saying "Attack Down" or something.
what is the problem?
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,587
Latest member
Usagiis
Top