The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => VX Scripts Database => Topic started by: Yanfly on May 27, 2009, 12:21:23 AM

Title: [YERD] Scene Status ReDux
Post by: Yanfly on May 27, 2009, 12:21:23 AM
Scene Status ReDux
Last Update: 2009.05.26
By: Yanfly Engine ReDux
 
Introduction
There's not a whole lot of reason for the player to visit the status menu. Not too much to see aside from things you can already view in other menus such as the equipment menu for stats. This script will provide additional functionality to the scene in addition to allowing the game maker to free up additional space in the main menu for the not actor-oriented stuff. For those that have used KGC's Custom Menu Command, this script works akin to that in the way that it's there for the status menu rather than the command menu.

Screenshots
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.pockethouse.com%2Frpgvx%2Fstatusredux%2Fstatusrd_howto1.jpg&hash=b91bc55b3c06afdd43d9e6b3a129c67b936261c3)
 
Script
Click here to view the main script. (http://www.pockethouse.com/rpgvx/scripts/scenestatusredux.txt)

Instructions
Since this is a big script, I’ve included a number of screenshots to explain everything (hopefully).

---------

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.pockethouse.com%2Frpgvx%2Fstatusredux%2Fstatusrd_howto2.jpg&hash=25bb31da1fb97e38157c66bf0c58e11caab68b55)

From the first screenshot and the second screenshot are the options unique to the status menu. You can view the actor's stats or biography by simply selecting those commands in the menu. They will not take the user to a different scene but will just switch what's displayed in the lower window. You can adjust the actors' biographies through ACTOR_BIOGRAPHIES.

---------

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.pockethouse.com%2Frpgvx%2Fstatusredux%2Fstatusrd_howto3.jpg&hash=268c85307a5c2105c57bd8b6da2377c9c386d209)

Selecting the other commands will launch the respective scenes for those actors. Skill will launch the skill scene, equip will launch the equipment scene, the other commands will launch their own respective scenes, too. Yanfly Engine ReDux scenes are already incorporated with this script. Equip Skill Slots, Class Change, and Learn Skill via JP is already available if you have those respective scripts.

---------

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.pockethouse.com%2Frpgvx%2Fstatusredux%2Fstatusrd_howto4.jpg&hash=6e94a96f2b28262f956f6ba64ca3a705b778d691)

If you would like to change the order of the commands, you can do it via STATUS_COMMANDS. Note that the order something appears is not the number next to it, but rather, the order of the ID's used to represent it. This way, you can adjust the order to fit your game's style and do whatever you feel is most efficient for you.

---------

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.pockethouse.com%2Frpgvx%2Fstatusredux%2Fstatusrd_howto5.jpg&hash=05c715a4b897939d698a21c8c3eccd3552e91870)

You can import non-Yanfly Engine scripts into the batch, too. Just insert their ID's as shown in the screenshot above, and make sure the ID's match the respective script's ID designated for STATUS_COMMANDS. There's not a whole lot that the script comes with, but the script does provide functionality to add more. How? See below.

---------

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.pockethouse.com%2Frpgvx%2Fstatusredux%2Fstatusrd_howto6.jpg&hash=87b4ae0387803ac00d0a3d7cb9631f9b238b74ae)

Under IMPORTED_COMMANDS, fill out the hash properly by matching the various fields to how you would like some things to appear. The instructions won't be included in this post, but instead, provided inside the script itself for some hands on Lunatic Mode instructing. Combine this step with the step above and you can merge almost any efficiently made actor-specific scene with the Scene Status ReDux script.

———
IF YOU ARE HAVING PROBLEMS WITH THESE SCRIPTS, REVIEW THE TROUBLESHOOTING PAGE FIRST! (http://pockethouse.wordpress.com/vx/toubleshooting/)

Compatibility
- Anything that involves Scene_Status will most likely take a hit.
Please report any compatibility issues and I'll try my best to fix them.

Terms and Conditions
Just give credit where due.
 
Credits and Thanks
- KGC Custom Menu Command for influence.
 
Originally Found Here: Here (http://pockethouse.wordpress.com/vx/scene-status-redux/)
Title: Re: [YERD] Scene Status ReDux
Post by: modern algebra on May 28, 2009, 01:56:14 AM
Very cool! You always make such detailed presentations that it makes me feel lazy @_@
Title: Re: [YERD] Scene Status ReDux
Post by: chronofreak on July 19, 2009, 04:08:11 AM
I'm using modern algebra's "Integrated Reserve Party."  When I access the stat page an actor in reserve from another actor's page via the Q and W keys everything works fine, but when I directly select an actor in reserve to view their stat page I get an error.

Code: [Select]
Error:
Script 'Window_Base' line 235: NoMethodError occured.
unidentified method 'face_name' for nil:NilClass

Is this a known bug?  Are there any quick fixes for it?
Title: Re: [YERD] Scene Status ReDux
Post by: Jexxy_63 on October 07, 2009, 11:16:55 PM
Bump. I am having the exact same problem. I am using the Scene Status ReDux, and the Integrated Reserve Party and It came up as
Script 'Window_Base' line 235 NoMethodError occured
undefined method 'face_name' for nil:NilClass

I would be really happy if someone could help me with this.
Title: Re: [YERD] Scene Status ReDux
Post by: modern algebra on October 07, 2009, 11:24:27 PM
No promises, but first try reversing their order in the script editor. If the Reserve Party is above Scene Status ReDux then put it below or vice versa.
Title: Re: [YERD] Scene Status ReDux
Post by: Jexxy_63 on October 08, 2009, 01:00:09 AM
Yeah, Ive tried that. I moved some things around and it all fell into place just fine.

New problem though, Now when I add information into the "Biography" section, it has an error on line 575. The error appears whenever I test run and enter the Character's "Status"

it says its a incorrect argument, malformed format string or something. Sorry, rushed.
Title: Re: [YERD] Scene Status ReDux
Post by: wnhero on April 26, 2010, 02:23:22 AM
For the biography part how would you go about putting in names that people would change.. normally its just \n[1] for the first character but i tried that and i tried the %s thing that you had used above the biography for the persons full name.. so i don't understand why it won't work below. help would be much appreciated.
Title: Re: [YERD] Scene Status ReDux
Post by: cozziekuns on April 26, 2010, 02:38:31 AM
For the biography part how would you go about putting in names that people would change.. normally its just \n[1] for the first character but i tried that and i tried the %s thing that you had used above the biography for the persons full name.. so i don't understand why it won't work below. help would be much appreciated.

%s should work, unless there's something wrong with my/your VX.

For actor 1, you have this line right? 

1 => [ "%s von Xiguel", "Pallia",   "Male", "177.8 cm",  "72.7 kg"],

Just change that to:

1 => [ "%s", "Pallia",   "Male", "177.8 cm",  "72.7 kg"],

So if anything changes, that should change as well.
Title: Re: [YERD] Scene Status ReDux
Post by: wnhero on April 26, 2010, 02:45:17 AM
Well on that part of the script it works.. but if i want to put that same thing in the actual paragraph like their background it doesn't work. it just shows %s instead of a name.
Title: Re: [YERD] Scene Status ReDux
Post by: cozziekuns on April 26, 2010, 03:41:19 AM
Oh sorry, I didn't really understand what you were talking about. My bad.