Jump to content

Recommended Posts

Party Max Weight Display v 1.0

 

*Add-On for Nicke's XS - Inventory Weight*

Get it Here: http://niclas-thornq...tory-weight.txt


DarthVollis


Introduction
XS - Inventory Weight creates everything needed to give the inventory weight, but it doesn't display it in the Menu. This script displays the max item weight of the Party's Inventory.

Features
- Displays Total Inventory Weight.
- Ability to add an Icon,

Screenshots

 

MaxWeightDisplay.png


How to Use

 

To install this script, open up your script editor and copy/paste this script to an open slot below  Materials but above Main. Make sure it is below Nicke's XS - Inventory Weight.


Demo
Unnecessary

Script

 

 

 

 

#------------------------------------------------------------------------------
# Party Max Weight Display v. 1.0
# Created by DarthVollis
#
# Add-On for Nicke's Xail System Inventory Weight
#------------------------------------------------------------------------------
# REQUIRED SCRIPT: XS - Inventory Weight
#------------------------------------------------------------------------------
# CREDIT
#
# Thanks to Nicke for the Script
# Thanks to Erics for Inspiration from his scripts.
#-----------------------------------------------------------------------------
# Installing Script
#
# To install this script, open up your script editor and copy/paste this script
# to an open slot below Materials but above Main. Make sure this is below
# Nicke's XS - Inventory Weight script. Save!
#------------------------------------------------------------------------------
class Window_MaxWeight < Window_Base
 
  def initialize
#------------------------------------------------------------------------------
# To change the position of the window change 385, 315. 385 is the x axis
# moving the window across the screen. 315 is the y axis moving the window
# up and down.
#------------------------------------------------------------------------------
        super(385, 365, window_width, window_height)
        refresh
  end
#------------------------------------------------------------------------------
# This creates the width of the window. Change the number to increase/decrease
# the width of the window.
#------------------------------------------------------------------------------
  def window_width
        return 160
  end
#------------------------------------------------------------------------------
# This creates the length of the window. Change the number to increase/decrease
# the length of the window.
#------------------------------------------------------------------------------
  def window_height
        return 50
  end
#------------------------------------------------------------------------------
# Don't bother this!!!
#------------------------------------------------------------------------------
  def refresh
      maxweight = $game_party.max_weight
        contents.clear
#------------------------------------------------------------------------------
# To change the Icon that is displayed change the number after draw_icon.
#------------------------------------------------------------------------------
            draw_icon(2836, contents.width - 120, -1, true)
      draw_text(4, 0, contents.width - 8, line_height, maxweight, 2)
  end
 
end
class Scene_Menu < Scene_MenuBase
 
#------------------------------------------------------------------------------
# Allows for Weight Window to appear in the Menu.
#------------------------------------------------------------------------------
  alias maxweight_start start
  def start
          create_maxweight_window
          maxweight_start
  end
#------------------------------------------------------------------------------        
# Makes the Party Weight Display Window
#------------------------------------------------------------------------------
  def create_maxweight_window
            @maxweight_window = Window_MaxWeight.new
  end
end


 

FAQ

Q: The Window is on the right side of the screen.
A: That is the default position I gave it. Instructions in the script of how to change that.

Credit and Thanks
- DarthVollis
- Nicke for his XS - Inventory Weight script.
- Erics for inspiration from his scripts.

Author's Notes
Beside being a Add-On script, it is also a companion script. This scripts works the best if Inventory Weight

Display script is present. That script can be found here: http://www.rpgmakervxace.net/topic/11772-inventory-weight-display/

Edited by DarthVollis
  • Like 1

Share this post


Link to post
Share on other sites

A ) omg moogles :wub:

 

B )This is for use like an elder scrolls type of inventory limiting feature?  If so, is there a stat you can increase to increase the weight limit?

Edited by Wren
  • Like 1

Share this post


Link to post
Share on other sites

First off, my entire game is Moogles. Moogles are my favorite. If you like check out my blog.

 

Second, check out the required script for the answer about the weight. This only displays it.

Share this post


Link to post
Share on other sites

Awesome script! 

I do wonder though, it seems to be covered up entirely by the "Xail Menu-Delux" script. 

Would it be possible to add this into the menu itself?

Or allow me to change the Z increment so that its visible when I enter the menu? (I think thats what its called :D)

 

EDIT: I seem to have completely missed this line in your description:

 

"but it doesn't display it in the Menu."

 

Derp. But I would like to know if it's possible?

Edited by The Guardian

Share this post


Link to post
Share on other sites

This script is for displaying what Nicke did in the Menu. When I installed Nicke's Script it did not show in the menu so I made this little script for the display purposes. Edit it as you see fit just make sure you post it and give me a little credit.

Share this post


Link to post
Share on other sites

Nice script! But I was just wondering if it's possible to show something like this: "current weight/max weight"

Because it's not very useful to know the max weight if you have to keep couting every each item's weight to know how much weight you current have...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted