I need to find a way to show the class traits, with or without icons. I use Yanfly's Status Menu, but there's no option for it. Google tells me nothing.
In my game, the player chooses how each character develops, including choosing weapon/armor proficiency (proficiency being a boolean value). I want to make sure the player can see this as he goes through the menu as a means to keep track of who can equip/cast/use what.
Any change in any screen will require reprogramming that screen.
If you don't know how to program in javascript, then give a link to the plugin for the screen you're using and a mockup picture of how you want it changed, and ask for someone to make those changes for you.
@Andar
Actually, you kinda touched a sore spot. I need to learn how to script for all of it... I'm just too lazy. Unfortunately, looks like I really need to.
I've moved this thread to JS Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.
I learned some scripting. Easier than I thought it would be, but... Still need to know how to return traits so I can display them on call, and once again google is no help. I'll be uploading the script once I figure it out. The finished project should be something like an enhanced status screen, including character traits such as equipment type availability. I'd be more than happy to credit anyone who tells me how to overcome this obstacle.
Just need to be able to do a foreach loop to display all traits.
Do you still need this? Just starting out with RMMV and ran a quick test for you:
(function(){ // Plugin entry point // Sets up test to run when the 'New Game' option is selected from the title screen Scene_Title.prototype.commandNewGame = function() { SceneManager.push(Scene_TraitTest); };})();///// Set up the test \\\\\function Scene_TraitTest(){ this.initialize.apply(this, arguments);}Scene_TraitTest.prototype = Object.create(Scene_Base.prototype);Scene_TraitTest.prototype.constructor = Scene_TraitTest;Scene_TraitTest.prototype.initialize = function(){ Scene_Base.prototype.initialize.call(this); Scene_TraitTest.prototype._classTraits = null;};///// Trigger the test \\\\\Scene_TraitTest.prototype.update = function(){ Scene_Base.prototype.update.call(this); // if we haven't detected that the db is loaded, // wait for it, then grab the class traits if (DataManager.isDatabaseLoaded() && !this._classTraits) { // create the array to hold the traits of the classes this._classTraits = []; // The Database (Editor) sets element 0 in the class database to null // This means means we can grab the data using the class' ID // NOTE: // // Doing: // var i = $dataClasses.length; // while (i-- > 0) ... // // Is the same as: // for (var i = 0; i < $dataClasses.length; i++) // Where $dataClasses is where all of the Class data is held var i = $dataClasses.length; while (i-- > 0) { // So, $dataClasses is the data for the Class with ID of 'i' // Do we have a value here? if ($dataClasses) { // Get the trait list for the class and put it in our array this._classTraits = $dataClasses.traits; } // If not, it's likely a placeholder, // Create empty object in list so we don't run in to isssues later on else { this._classTraits = {}; } } // Log the contents of the trait array console.log(this._classTraits); }};You should be able to take most of that stuff in update and apply to whatever solution you're using. The traits seem to be formatted like:
{ code: 12, dataId: 0, value: 1}Where code I assume is the stat reference (so you may have to do some looking up for that), dataId is for use when referencing items, equipment, skills, etc... and value is used for numeric fields (where % fields are scaled between 0-1 as opposed to 0-100).
Hope that's been helpful.