How do I Change MP to something different for each of my characters?

I wanted 3 of my 4 characters to have a different name for the 'MP' bar. With each one working differently. One that builds up slowly. One that increases each time they attack, one that increases each time they are hit and one is just an MP bar but renamed something not boring.
while the mechanics could be done with the damage formula box or the use of TP instead of MP, giving different names requires a script - and then it might be easier to use a script for the rest as well


I've moved this thread to Script Request. Please be sure to post your threads in the correct forum next time. Thank you.
What Andar said is correct, the game engine searches for mp/hp/tp by default, while using a new name for each is possible, it still require us to point it back to either hp/mp/tp to work. To add a brand new category will means we need to tinker with the damage formulas/action class and more. And will pretty much ended up with LOTS of tags(to do formula calculations) for each skill/item/class/actor/enemy.

While it sound simple on the scripting part, to make it flexible and works for a 3rd party user, the game making part for those users will turn out to be stressing and confusing.

And what you want sounds like the default TP to me.

Just rename the TP to MP in the editor's database if you are not using it and use is as MP for your other characters.

Then in the character page, you should be able to set the "recovering %" of TP there for the actor you want to recover over time(steps actually).

Next, add gain tp to all the skill the actor you want to heal tp when they attack.

and finally the last one require you to do a if formula in all the enemy's attack skill. if actor X is the target, heal his/her tp.

Max TP can be changed under 

Game_BattlerBase

look for the line: def max_tp

and change 100 to whatever you like.
Bump? Can someone make me a script where only the third actor has MP? And the rest has TP.
I know that such a script already exists for Ace - please search through the master script list, I don't have the link ready to which script it is.
I found a script that TDS made that removed MP from all characters. Now I just need to remove TP and add MP back on one of them. 

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-change-mp-to-something-different-for-each-of-my-characters.43773/