The TP System: How much can I change it?

VirusChris

Veteran
Veteran
Joined
Aug 5, 2015
Messages
52
Reaction score
12
First Language
English
Primarily Uses
Without using Yanfly's Plugins? Well her (I believe Yanfly's a she... I never ask and assumed) TP Plugins are more like making TP Modes similar to FFX's Overdrive modes which is NOT what I'm looking for, but might in case I need to tweak the TP system a little.

Sorry if this has been asked before, but the Search engine... well any words that's less than 4 letters doesn't seem to get picked up on which is kinda annoying when looking for things that use abbreviations to shorten the saying. So this is what I'm asking.

I'm setting up a TP system for my planned RPG project and I have the max points for TP for all party members to be set at 5. The TP is going to be used for special moves like Transformations that long throughout the whole fight and cost like 2 TP to use and you can only use some moves during that state which also uses TP, but it overcharges over time. The more hits you take the faster you recharge and when you damage an opponent.

The TP is set up like percentage for charging. So Max TP is 500.00% in a way so that's 100.00% per TP and you gain like 0.15% for taking damage and you gain 0.05% when you damage your opponent for example.

I guess I could rewrite it to be 500 instead of 5 (though is 100 the MAX you're allowed to go normally? Sorry I haven't been using MV for a while and didn't check so I'll get back to you on that), but can I set up the TP recharge rate like this without Plugins or do I need a Plugin to do what?

That's kinda the question I'm asking and hope there's an answer.

PS: This is optional, but I wanted to make a Custom TP Gauge where the bar has silver borders and which TP marker is shaped like an arrow, the ones usually associated with racing game.

Example:


Similar in design to the speed pad from the Crash game here. Also same color, I think green is a good color to associate itself with TP.

If it's not too much to ask. Though I complete Custom UI for Battle Portraits would be great for the side-view battles. The standard one is very simple, but I like to take it a step further if I can. However, I'll worry about that later.

Thank you for your time!
 

Rubescen

Veteran
Veteran
Joined
Jan 4, 2016
Messages
156
Reaction score
174
First Language
English
Primarily Uses
RMMV
Without plugins/coding, changing the way the TP system works is not really possible.

The various TP settings can be manipulated directly in rpg_objects.js (search for tp), but since this is a core file, you should be aware that it's pretty easy to mess things up if you're not sure what you're doing with javascript. This is why a plugin (like yanfly's) is a safer route to go.

For example, if you go (in a text-editor) to line 2607 you can change the max tp number to anything (e.g. 500).

Code:
Game_BattlerBase.prototype.maxTp = function() {
    return 500; //Originally 100
};
or line 3225 controls the tp gain by damage.

Code:
Game_Battler.prototype.chargeTpByDamage = function(damageRate) {
    var value = Math.floor(50 * damageRate * this.tcr);
    this.gainSilentTp(value);
};
If you do decide to play with the code. I'd suggest copying over the relevant sections into a new .js file, and then loading that as a plugin. That way if you break anything you can simply disable the plugin (plus it helps keep clear what you've changed.
 

VirusChris

Veteran
Veteran
Joined
Aug 5, 2015
Messages
52
Reaction score
12
First Language
English
Primarily Uses
I see. I'll keep that in mind.

So which Plugin should I go for to get what I'm looking for? The Enchanted TP one by Yanfly?
 

SwiftSign

Veteran
Veteran
Joined
Aug 5, 2015
Messages
184
Reaction score
45
First Language
English
Primarily Uses
RMMV
I think its Enhanced TP - you could write a custom TP mode that increases TP at the rate you want.

You could then use something like http://mvplugins.com/plugin/Chronosv2/Cv2 TP System to help limit your max TP amount (and this plugin allows different actors to have varying TP, if that interests you).
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top