Adding Custom Stats (or variables) to the character menu

● ARCHIVED · READ-ONLY
Started by Oryyn 4 posts View original ↗
  1. Im looking for a way to use a script that keeps track of variables and adds a total amount of the variable to a visible number or graphic that keeps that of that stat for your player in their main menu.  For example, if I wanted to make a guild option (similar to the following youtube video RPGVXACE Tutorial Part 19):

    http://youtu.be/bK-vcuIwm-w?list=PLJxcybqKV5ZDNZsXhAS0ey4CWvbY81Po8

    And then keep track of those numbers for each common event variable and track them visually on the menu, how could I do that?  Was thinking of using a paragon good/evil system that tracked the total number of points you got to each option and showed them to you in a bar, similar to a level bar (I have a mock up of it on the bottom left corner of the example pic I attached to this post - using a sample menu found from another game on google).

    So essentially, you get 1 point for chaotic, and the menu is shown filled a little (with a premade graphic).  Get another point, it shows a different graphic (or just a number if I didnt want the graphic).  20 points, and the graphic is full, and so forth.

    Through the tutorial, I know how to create common events with variables to do this, but how can I visually keep track of it in-game as the player?

    paragon.jpg
  2. Hi, I'm not going to be able to fully answer your question but I will mention a few things to help you along.

    1) How familiar are you so far with the editor, eventing, using scripts calls, etc.?

        - If you're still learning the basics, you should try making a full, short game pure eventing(this includes using the basic script calls).

        - You use a picture overlay in your menu to create a static, custom aesthetic look. Doesn't help create your gauges though.

        - Try searching the forums for great tutorial guides and demos if you need help. Be sure to download the VX Ace sample game.

    2) What you're requesting needs the use of a custom script, or at the very least, for you to be able to create a gauge at a fixed location on your menu.

       - Try searching for a few a menu scripts and paste them separately in your script editor to see how they change your menu.

       - To achieve your desired effect, you would need to create a gauge and tie a variable to it.

       - Try creating a new project and check out 'Window_Base' in your script editor. Play around with Window scripts to understand better how it works.

       - In an actual project, you would want to create a separate snippet so that you won't accidentally affect other items and break your game.

       - When you get the hang of it, you can edit a custom script to suit your needs.

           (be sure to read the term of use first, some scripters don't like you to adjust their scripts without their permission).
  3. Thanks, Ill look around some more, and try out a simpler basic-game first (just created one with some basic eventing and scripts - my knowledge is intermediate at best).

    Im sure Ill get the hang of it eventually!  Thanks again
  4. In a test project, you can get some good practice by trying to modify the gauges that already exist (like HP on the status screen) to work with the values from some other value or variable instead.  Once you've got the hang of that, it's not too hard to create new ones - you would just need to get the hang of moving things around on a window.