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.
Minor feature request: could you add script calls to change the gauge and enable/disable menu access?
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.
You should've kept the actual progress on the variables. What I meant was change the gauge style, and enable/disable the menu command
@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.
I meant the appearance of the gauge
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.
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.
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?
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.
I have update the link and fixed issues with the info not saving and loading properly.
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/)
Did you try adding anything? you will get an error if you try to look at the screen without adding to it first.
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/)
I will take a look at it, if you can post your project.
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. :) /)
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.
Thank you very much, take all the time you need, you are doing it for free after all. ;) (\s/)
add_chapt_info(page, bg, chapt_name, text) this is what you will need to add a new page.
Thank you very much, you helped me a lot. *hugs* (\s/)
No problem.