Showing Ex-Param changes on the Equip Screen

Is there a reason you are using a separate window to draw the xparams? Modifying the original window to just extend to the bottom as pictured in your proof of concept and drawing everything there seems like the cleaner choice (both code wise and visual wise).

Line 92

undefined method "xparam"
That is not a complete error message. You should get in the habit of posting complete error messagesIt probably said

Script 'script_no' line (line_no) NoMethodErrorundefined method "xparam" for nil (NilClass)This is an important distinction because the problem is not with the method but with the receiver being nil when it was not expected to be nil. Which means the method is either being run at a time you are not expecting it to run, or the variable is not being set correctly when you think it is.Direct edits are not advisable. If you simply copy the entire script you are editing to a new page lower on the list, any methods you happen to define there will overwrite the ones defined earlier, and if you delete or comment out methods from the copied script, the original versions will be used. This makes it a bit easier to debug and revert changes.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
This was originally a script request (IE, me asking someone to make a custom Equip menu for me.). So it was technically in the correct place.

But because someone instead opted to just try and guide me through making it myself, it changed... but technically I am still very much wanting someone to make a script for me... as I am having troubles with it myself.

So this is STILL a script request. Because I'm stumped, and clearly don't know what i'm doing.
Here, this is for the letter of your original request. I have also commented it to hopefully pass some knowledge on. This is a new script that goes on its own page in materials like any other script, not a replacement for any base script. Note that it will only work correctly in conjunction with a non-edited default scripts, otherwise, things might not end up where they should.


http://pastebin.com/3HWa8Mms


This is a very basic approach to drawing these ex parameters, it uses the same window and does pretty much the exact same thing the window does with the other parameters, even using the same draw offsets. You'll notice that three digit numbers with a percent sign after them get squeezed, which is ugly. You can get around this by adjusting the amount of room they have to draw and shifting everything to the left and allowing a bit more space for the numbers to draw, but doing so easily and quickly is a pain with the way the base script is laid out. I'll leave that for later if you have more questions.
Here, this is for the letter of your original request. I have also commented it to hopefully pass some knowledge on. This is a new script that goes on its own page in materials like any other script, not a replacement for any base script. Note that it will only work correctly in conjunction with a non-edited default scripts, otherwise, things might not end up where they should.

http://pastebin.com/3HWa8Mms

This is a very basic approach to drawing these ex parameters, it uses the same window and does pretty much the exact same thing the window does with the other parameters, even using the same draw offsets. You'll notice that three digit numbers with a percent sign after them get squeezed, which is ugly. You can get around this by adjusting the amount of room they have to draw and shifting everything to the left and allowing a bit more space for the numbers to draw, but doing so easily and quickly is a pain with the way the base script is laid out. I'll leave that for later if you have more questions.

This worked like a dream and is exactly what I needed. Thank you kindly!!!!!

See, I knew someone with some skill could do it in a less messy way than I was.
at least you hopefully learned something while doing it... 🙂


and probably, read Mithran's comments on that script, he seems to took time to write those for you... 🙂
at least you hopefully learned something while doing it... 🙂

and probably, read Mithran's comments on that script, he seems to took time to write those for you... 🙂
Oh yes, I did learn a few things.

And a big thanks to Mithran for the comments in the script.
ack, double post.

PS, this thread can be closed now. 
Put a Terms of use line in the script, in case someone finds it later and just to clarify, since I won't be posting this as an actual script:

# Terms of Use: use as you see fit (learn, edit, repost, commercial allowed)
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/showing-ex-param-changes-on-the-equip-screen.22290/