The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: vindaca on April 19, 2013, 08:22:20 AM

Title: V's Progress Window v1.5
Post by: vindaca on April 19, 2013, 08:22:20 AM
V's Progression Window
Written by Vindaca


Introduction

This Script creates a window that displays a gauge for game progress. It also allows you to write a brief description of whats happened in the chapter/game so far. You can change the description, chapter number and bg image.


Screenshots

Here is a link (http://imageshack.us/photo/my-images/407/20557897.png/).


How to Use

Copy and paste the script under the Materials section and above the Main section.

You can access the window by using SceneManager.call(Prog_Scene) in a script call if you choose not to use the menu command.

*Remember to use quotes around you bg, chapt_name, and text.
To add a new entry use add_chapt_info(page, bg, chapt_name, text)           

To change the font use change_prog_text_font(text)                         
To change the text size use change_prog_text_size(text)                     
To change the text x position use change_prog_text_x(integer)               
To change the text y position use change_prog_text_y(integer)               

To toggle the menu command use menu_command(true or false)                 

To add to the game progress gauge use add_progress(integer)                 
To remove from the game progress gauge use remove_progress(integer) 

Script

This script is too long for now, so here is a link (http://pastebin.com/qTXyrqVT) to the script


Demo

Will be up soon.


FAQ

Q: I keep getting an error?

A: Make sure you have imported the background pictures into the Graphics/Pictures folder.

Q: What is the script call to view this window?
A: SceneManager.call(Prog_Scene)


Credit and Thanks
- Vindaca here saying thank you to all who have inspired someone. If you plan on using this script please credit me in your games credits. This script was not intended for commercial use.

- Special Thanks to:

Diamondandplatinum3 on youtube for the great tutorials



Quote
    If your already sitting on top of the world, don't stop there, start climbing the chair.
Title: Re: V's Progress Window v1.0
Post by: Wiimeiser on April 19, 2013, 09:21:54 AM
Minor feature request: could you add script calls to change the gauge and enable/disable menu access?
Title: Re: V's Progress Window v1.1
Post by: vindaca on April 19, 2013, 10:27:55 AM
Thank you for your request Wiimeiser, Done and Done. Please let me know what you think of it too. I'm still new so I need all the feedback I can get.
Title: Re: V's Progress Window v1.1
Post by: Wiimeiser on April 20, 2013, 08:10:11 AM
You should've kept the actual progress on the variables. What I meant was change the gauge style, and enable/disable the menu command
Title: Re: V's Progress Window v1.1
Post by: vindaca on April 20, 2013, 08:36:34 AM
@Wiimeiser
Could you be a little more specific, what do you mean by style? Do you mean the skin, color, both, I'm not very sure?  And as far as leaving the variables I'm going to implement them back in, I'm just trying to make a few other changes first. I will be releasing v1.2 tomorrow. I will try to add them back in with that update.
Title: Re: V's Progress Window v1.2
Post by: Wiimeiser on April 21, 2013, 05:29:00 AM
I meant the appearance of the gauge
Title: Re: V's Progress Window v1.2
Post by: vindaca on April 21, 2013, 06:42:53 AM
like height and width or shape? I'm currently working on adding all of the things I've mentioned. But your not really being very specific with what your asking.
Title: Re: V's Progress Window v1.2
Post by: Wiimeiser on April 22, 2013, 12:18:07 PM
You mention different gauge styles:


Quote#--------------------------------------------------------------------------
  # * Customization For Gauge Used To Track Game Progress.
  #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  #
  #  ** If you do not want to use the script calls you can fill the gauge
  #     by adding to the "Game_Variable_For_Filling" below.
  #
  #  ** If you dont want to use the game variables method just set it to an
  #     unused variable.
  #
  #  ** There are 9 gauge colors so far they are as follows:
  #     1 = hp_gauge_colors 1 & 2
  #     2 = mp_gauge_colors 1 & 2
  #     3 = tp_gauge_colors 1 & 2
  #     4 = hp_gauge_color1 & mp_gauge_color1
  #     5 = hp_gauge_color1 & tp_gauge_color1
  #     6 = mp_gauge_color1 & tp_gauge_color1
  #     7 = Love Theme
  #     8 = Ice Theme
  #     9 = Circuit Board Theme#
  #
  #--------------------------------------------------------------------------

    Game_Progress_Gauge_Max   = 22 # Total number of quests, tasks, or whatever
    Game_Prog_Gauge_Color     = 1
    Game_Variable_For_Filling = 35


This is what I'm referring to.
Title: Re: V's Progress Window v1.2
Post by: LoganF on April 22, 2013, 03:37:42 PM
So in other words, Wii would like a way to change the gauge colours during run time via a Script command?

Something like:


v_gauge_color_style(2)


to set the gauge colors to mp_gauge_colors 1 & 2.

I'd have to ask, if that was the case, why would you want to do this?
Title: Re: V's Progress Window v1.3
Post by: vindaca on April 23, 2013, 10:19:03 AM
Thank you Logan. I hope this helps Wiimeiser. I've added the command for you as well as some others. Hope you enjoy please leave me some feedback this is only my forth script and I could use the constructive criticism if any. 
Title: Re: V's Progress Window v1.5
Post by: vindaca on June 30, 2013, 09:57:12 AM
I have update the link and fixed issues with the info not saving and loading properly.
Title: Re: V's Progress Window v1.5
Post by: Gaming Princess Luna on January 16, 2014, 12:46:51 AM
I tried to use it in a clean RPG project, but constantly getting this error message I attached.
Don't know if I'm doing something wrong, but I surely need help on that, thank you in advice.  :-* (\s/)
Title: Re: V's Progress Window v1.5
Post by: vindaca on January 16, 2014, 02:47:59 AM
Did you try adding anything? you will get an error if you try to look at the screen without adding to it first.
Title: Re: V's Progress Window v1.5
Post by: Gaming Princess Luna on January 16, 2014, 03:26:55 AM
Well, if I don't add anything I can access to it from the menu, but if I added a variable, I can't anylonger and get this message. :/ (\s/)
Title: Re: V's Progress Window v1.5
Post by: vindaca on January 16, 2014, 03:44:26 AM
I will take a look at it, if you can post your project.
Title: Re: V's Progress Window v1.5
Post by: Gaming Princess Luna on January 16, 2014, 12:35:46 PM
I figured out how to use it, the script changed from the older versions to the newer how it works.
Now you can only use the script call method and can't add one line allready in the script itself, or am I wrong about that.

In the older version it worked that way:
[Spoiler]
#--------------------------------------------------------------------------
# * Default Window Contents At Start Of Game.
#--------------------------------------------------------------------------
   Chapt_Info[0] = ["test", "Demo", "This is a Demo."]
[/Spoiler]

Or is that kinda way even possible now, but only needed to be writen an other way? (\s/)

But an other question is, can I add more then one Page, because I have in mind to make 3 different storylines.
They should all together have one single variable for the progression, so that you have for the first run 33%, the second 66% and the last 100%?
I'm asking that, because for that I need to change the Page_Title itself, is it possible?
If yes, how?
Thank you in advice. :) /)
Title: Re: V's Progress Window v1.5
Post by: vindaca on January 17, 2014, 03:20:28 AM
Hmm.. Honestly I'm not sure. I have to go back and look at it again. I might just be re-writing it(along with all the other updates) to make it compatible with my Live H.U.D. Menu. Give me a day or two to look it over and refresh myself with the script. I have been super busy but I will try to squeeze it in.
Title: Re: V's Progress Window v1.5
Post by: Gaming Princess Luna on January 18, 2014, 10:49:15 PM
Thank you very much, take all the time you need, you are doing it for free after all. ;) (\s/)
Title: Re: V's Progress Window v1.5
Post by: vindaca on January 19, 2014, 01:40:24 AM
add_chapt_info(page, bg, chapt_name, text) this is what you will need to add a new page.
Title: Re: V's Progress Window v1.5
Post by: Gaming Princess Luna on January 20, 2014, 01:31:48 AM
Thank you very much, you helped me a lot. *hugs* (\s/)
Title: Re: V's Progress Window v1.5
Post by: vindaca on January 20, 2014, 05:25:14 AM
No problem.