RPG Maker VX Ace
Complete TP Control
Long story short: I want to kill TP generation completely. I'm still going to use TP, but I can't seem to find the line code to fix how much TP is generated each turn, when the characters are hit, etc. so I can set most of them to zero.
< >
กำลังแสดง 1-7 จาก 7 ความเห็น
there is an random addition counter in the scripts, but i cant remember where it was, sorry.
I has to set to 0.
But its not possible by only changing database values and stuff....
แก้ไขล่าสุดโดย Hajami; 2 ก.พ. 2014 @ 2: 10am
I'm pretty sure it is this line
Game_Battler_Base 489 @tp = [[tp, max_tp].min, 0].max
If you change that line to @tp = 0 I think it will work.
Changing it to 0 seems to have prevented the gaining of TP completely.

Tried playing around with the code, but since I didn't understand how the coding was, I at least managed to minimize TP gain by changing the line to "@tp = [[tp, max_tp].min].min"

I wanted to make it so that they gained TP by only using their skills or items, and then have complete control over how much TP they gained when they get hit. I succeeded with the former by doing the above line, but I still can't seem to change how much TP is gained when the players are hit.
Line 739 in Game_Battler is where the code for TP gained from damage taken.
http://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/tp-manager/

You may wish to use this. There's a lot of extraneous stuff, but if you want to do this, just disable the menu, don't bother with any of the note tags, and customize the 'default' set.
โพสต์ดั้งเดิมโดย Kurashi:
Line 739 in Game_Battler is where the code for TP gained from damage taken.

Yeah, this is the code I'm looking for. Played around with it a bit, and managed to get it to what I need. Thank you very much :)
Game_Battler
730 self.tp = rand * 25
for starting TP
< >
กำลังแสดง 1-7 จาก 7 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 2 ก.พ. 2014 @ 12: 01am
โพสต์: 7