MP Regeneration While Walking

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
39
First Language
English
Primarily Uses
Hi! Sorry if there's already a topic on this, but I looked around and couldn't find anything for my specific needs. 


I want to be able to have all characters regenerate MP from walking, but not in battle. Or it could be time based by just being on the map. Also I was wondering if there was a way to get the TP gauge to be full when you first start out (I'm using it as a "stamina" gauge).


I really don't want to use scripts for this, I'm sure there has to be a way to accomplish it without, but I can't figure out how. I'd greatly appreciate anyone who helps me :)
 

nakina

Dat boi
Veteran
Joined
Sep 17, 2016
Messages
37
Reaction score
21
First Language
English
Primarily Uses
RMMV
I would set up a parallel process common event and have a switch set up to enable and disable it.  Then you can set up a timer in the common event to slowly add MP to the party over time while they are on the map.  For TP, you could just have the change TP command make the gauge full in your battle event before the battle processing begins.  (sorry, I was thinking in terms of MV not sure about TP in ace)  I hope this was clear enough for you.  If you have any more questions, don't hesitate to ask!
 
Last edited by a moderator:

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
Also I was wondering if there was a way to get the TP gauge to be full when you first start out (I'm using it as a "stamina" gauge).


I know you said you don't want to use "scripts", but never be afraid to use scripting.


To accomplish this, you can simply change a single line in the code.  In Game_Battler, you will find this method:


  #--------------------------------------------------------------------------
  # * Initialize TP
  #--------------------------------------------------------------------------
  def init_tp
    self.tp = rand * 25
  end


Change rand * 25 to 100 and all battlers will start the battle with full (100) TP.


I like Nakina's approach for MP regen while walking.
 

NightHerald

little demon child
Veteran
Joined
Aug 20, 2016
Messages
42
Reaction score
39
First Language
English
Primarily Uses
@nakina Oh my god... I only used one wait command  and a change MP command and I got it working perfectly.  I just made a parallel process event that creates a night/day cycle yesterday. What is wrong with my brain??? -_- Thank you for mentioning the timer, it jogged my memory :)  (Also, the timer completely baffles me as to how you would implement it...)
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
NightHerald, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


If you want to add something, just edit your post.  And using the @username convention, as you do, means that it will be clear who you are replying to.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top