[XP] Customizable Enhanced Custom Menu

Started by G_G, November 28, 2008, 01:34:54 am

Previous topic - Next topic

swick

thats exactly what i needed man, thanks!

cheos

Quote from: cheos on June 01, 2012, 02:30:30 pm
first i wanna apogize for necroposting but i have a question about this amazing cms

Is there a way 2 add the scroll function to the character selection area? I plan on using ten or more party members with a tatical battle system i found. 

i haven't been on in a week or so is any one working on this???
[Insert Mind Blowing Signature]

nathmatt

here put this right below the original

Spoiler: ShowHide
class Window_MenuStatus < Window_Selectable
 
  def initialize
    s = ($game_party.actors.size * 112) + 32
    h = (s > 480 ? 480 : s)
    super(0, 0, 480, h)
    @item_max = $game_party.actors.size
    self.contents = Bitmap.new(width - 32, @item_max * 112)
    refresh
    self.active = false
    self.index = -1
  end
 
  def top_row
    return self.oy / 112
  end
 
  def top_row=(row)
    if row < 0
      row = 0
    end
    if row > row_max - 1
      row = row_max - 1
    end
    self.oy = row * 112
  end
 
  def page_row_max
    return (self.height - 32) / 112
  end
 
  def update_cursor_rect
    super
    if @index < 0
      self.cursor_rect.empty
      return
    end
    cursor_width = self.width / @column_max - 32
    x = @index % @column_max * (cursor_width + 32)
    y = @index / @column_max * 112 - self.oy
    self.cursor_rect.set(x, y, cursor_width, 112)
  end
 
end


to change max party members add this if needed this has no effect on on battle system

Spoiler: ShowHide
class Game_Party
 
  MAX_PARTY = 10
 
  def add_actor(actor_id)
    actor = $game_actors[actor_id]
    if @actors.size < MAX_PARTY && !@actors.include?(actor)
      @actors.push(actor)
      $game_player.refresh
    end
  end
 
end
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


cheos

thank you nathmatt ill try it now
im using a tactical battle system and already know how 2 change the max
[Insert Mind Blowing Signature]

Ranquil

September 11, 2013, 08:26:29 am #24 Last Edit: September 11, 2013, 09:03:32 am by Ranquil
Because necroposting is cool. or not



I have only one small question. Is it possible to remove the window showing the stats of the character and replace it with the hero's battler? By "hero" is mean the character that is first in the party. Okay, it's probably possible, but how can I do it?
I'm sorry, I'm a total n00b at scripting ;_;

//Also, how do I reduce the amount of commands AND adjust the command window size accordingly? I want to reduce it to the size of four commands, two of them being Inventory and Exit, the other two being separate scenes: ForeverZer0's Diary and Journal scripts. I tried to reduce the size by commenting/removing the commands from here:
$choices_item = "Inventory" # Choice for Items
$choices_skill = "Magic" # Choice for Skills
$choices_equip = "Equipment" # Choice for Equip
$choices_status = "Status" # Choice for Status
$choices_save = "Save" # Choice for Save
$choices_load = "Load" # Choice for Load
$choices_exit = "Exit" # Choice for End Game

All it did was remove the names of the commands, but they were still there.

I'm sorry, I have no idea how to do this. ;___;
Quote from: Some guy on FacebookLife is like a penis. It's short but it feels so long when it gets hard.


Quote from: Steven WinterburnBefore you diagnose yourself with depression or low self-esteem, first make sure that you are not, in fact, just surrounded by assholes.

G_G

.____________________________.

Why are you using this?! D: This is one of my first scripts when I[/] was still a noob at scripting lol. Trust me, this isn't a menu you should be using. You can't remove commands in this script and as for your first question, you might as well post a script request topic with a layout and everything you want.

Ranquil

Quote from: gameus on September 11, 2013, 09:26:31 am
.____________________________.

Why are you using this?! D: This is one of my first scripts when I[/] was still a noob at scripting lol. Trust me, this isn't a menu you should be using. You can't remove commands in this script and as for your first question, you might as well post a script request topic with a layout and everything you want.

Oh ._.
Okay then >:
Quote from: Some guy on FacebookLife is like a penis. It's short but it feels so long when it gets hard.


Quote from: Steven WinterburnBefore you diagnose yourself with depression or low self-esteem, first make sure that you are not, in fact, just surrounded by assholes.