ok, I really need help on this.

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
So basically, i have a menu that has the typical equip bestiary etc.

But i want to add a little box that displays the location and fits in the menu.

thanks for the support.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Which menu script are you using? the default Ace menu doesn't have a bestiary... please put a link to the thread/site of whatever script it us ur using
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I mean the menu script that ur using to show that bestiary, not the beastiary script itself... if you modified the menu script directly to add that, then say so. :)


PS: the script links on that page return a 404 error


PS 2: which area of the menu do you want to show location?
 
Last edited by a moderator:

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
I mean the menu script that ur using to show that bestiary, not the beastiary script itself... if you modified the menu script directly to add that, then say so. :)

PS: the scripts links return a 404 error
it just added its self when i added the script, i really just want a location display box in my menu
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
see my 2nd PS on the above post :)

eDIT: try putting this script

it should make a location window above the gold window

Code:
class Window_Loc < Window_Base  #--------------------------------------------------------------------------  # * Object Initialization  #--------------------------------------------------------------------------  def initialize    super(0, 0, window_width, fitting_height(1))    refresh  end  #--------------------------------------------------------------------------  # * Get Window Width  #--------------------------------------------------------------------------  def window_width    return 160  end  #--------------------------------------------------------------------------  # * Refresh  #--------------------------------------------------------------------------  def refresh    contents.clear    #the last number is alignment, 0=left,1=center,2=right    contents.draw_text(0,0,contents.width,fitting_height(1),$game_map.display_name,1)  end  endclass Scene_Menu    alias start_loc_menu start  def start    start_loc_menu    create_loc_window  end    def create_loc_window    @loc_window = Window_Loc.new    @loc_window.x = 0    @loc_window.y = Graphics.height - @gold_window.height - @loc_window.height    @loc_window.refresh  end  end
 
Last edited by a moderator:

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
I mean the menu script that ur using to show that bestiary, not the beastiary script itself... if you modified the menu script directly to add that, then say so. :)

PS: the script links on that page return a 404 error

PS 2: which area of the menu do you want to show location?
Anywhere as long as  i can adjust the location of it withing the menu
 

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
see my 2nd PS on the above post :)

eDIT: try putting this script

it should make a location window above the gold window

class Window_Loc < Window_Base #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize super(0, 0, window_width, fitting_height(1)) refresh end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width return 160 end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh contents.clear #the last number is alignment, 0=left,1=center,2=right contents.draw_text(0,0,contents.width,fitting_height(1),$game_map.display_name,1) end endclass Scene_Menu alias start_loc_menu start def start start_loc_menu create_loc_window end def create_loc_window @loc_window = Window_Loc.new @loc_window.x = 0 @loc_window.y = Graphics.height - @gold_window.height - @loc_window.height @loc_window.refresh end end
Thats the one i used before, but the text dont fit all the way gets cut out it its to long
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I just made it today, so there's no way you used it before... at least not that exact one, unless somebody has the exact the same write-up as mine...


anyway, OF COURSE IT WILL EITHER CUT-OFF or SHRINK TEXTS if it doesn't fit... lolz. What any other behavior you would have expected it to do so anyways???


btw, have you actually tried the one I posted?


You should simply just make it wider (though you might need to make the status window narrower), or limit your location names to shorter ones... because even if it just shrinks the text instead of cutting it off, it will simply not look good...
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
re-read my last post... and don't double post... there's an edit button for a reason
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
anyway, I really do suggest either widening the window or shortening your location names because shrinking text to fit in boxes doesn't look good
 

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
anyway, I really do suggest either widening the window or shortening your location names because shrinking text to fit in boxes doesn't look good
Can i push the actor window back to the right a little?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
tearsofthenight, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Next time, please create your topics with meaningful titles - we KNOW you need help, otherwise you wouldn't be posting a topic. Please use terms that actually give a hint as to what problem you're having.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
yes, possibly at Window_MenuStatus or at Scene_Menu... but take note though that modifying it might produce some not so good results with it's contents


it might even be just better to simply reduce it's height so that it fits less actors and put the location window below it (beside the gold window)
 
Last edited by a moderator:

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
yes, possibly at Window_MenuStatus or at Scene_Menu... but take note though that modifying it might produce some not so good results with it's contents

it might even be just better to simply reduce it's height so that it fits less actors and put the location window below it (beside the gold window)
so what exactly do i need to modify to fit the window below the actor window?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
to move the location window, just change this

Code:
def create_loc_window    @loc_window = Window_Loc.new    @loc_window.x = 0    @loc_window.y = Graphics.height - @gold_window.height - @loc_window.height    @loc_window.refresh  end
to this
Code:
  def create_loc_window    @loc_window = Window_Loc.new    @loc_window.x = @gold_window.width #so it shows beside the gold window    @loc_window.y = Graphics.height - @loc_window.height    @loc_window.refresh  end
then on window_width, change 160 to 544-160
 

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
to move the location window, just change this

def create_loc_window @loc_window = Window_Loc.new @loc_window.x = 0 @loc_window.y = Graphics.height - @gold_window.height - @loc_window.height @loc_window.refresh endto this
Code:
  def create_loc_window    @loc_window = Window_Loc.new    @loc_window.x = @gold_window.width #so it shows beside the gold window    @loc_window.y = Graphics.height - @loc_window.height    @loc_window.refresh  end
then on window_width, change 160 to 544-160
thanks! you have been a big help!
 

tearsofthenight

Evil Sorcerer/Mystic Key Stealer
Veteran
Joined
Feb 3, 2014
Messages
1,451
Reaction score
167
First Language
English
Primarily Uses
to move the location window, just change this

def create_loc_window @loc_window = Window_Loc.new @loc_window.x = 0 @loc_window.y = Graphics.height - @gold_window.height - @loc_window.height @loc_window.refresh endto this
Code:
  def create_loc_window    @loc_window = Window_Loc.new    @loc_window.x = @gold_window.width #so it shows beside the gold window    @loc_window.y = Graphics.height - @loc_window.height    @loc_window.refresh  end
then on window_width, change 160 to 544-160

Now is there  a way i can slip in my fourth party member?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top