Help - Search - Members - Calendar
Full Version: [Help] Aeon Level Up
RPG RPG Revolution Forums > Scripting > Event Emporium
Eka
I'm using Commont Event to use Aeon like FFX battle system..here's my Event
If i use Summon Ifrit:
1.Change Party Member:remove [Leona]
2.Change Party Member:Add [Iffrit]
-conditional branch:if [Ifrit] is [Incapacitated] inflicted
1.Change Party Member:[Ifrit] remove
2.Change Party Member:[Leona]: Add

for the question i don't know how to raise Ifrit's level and how to change Ifrit into Leona again after battle
Paper PokéMaster
Just call a common event after the battle that removes Ifrit from your party and adds Leona back in.
Ifrit's level will go up just like any other actor's by gaining EXP after the battle. Nice event. biggrin.gif
Keep at it and you'll be great with events.
mudducky
Untick "Initialize" when adding Leona back in the party.

If you want to raise the level right below that is "Actor" "Change Level". If you want to raise it by the current party amount, without a script you'll need to store that in a variable first.

@Eko. Please choose the appropriate forum for events (and scripts). Moving this across to Event Emporium. DH.
Eka
QUOTE (mudducky @ Jul 30 2010, 02:30 PM) *
Untick "Initialize" when adding Leona back in the party.

If you want to raise the level right below that is "Actor" "Change Level". If you want to raise it by the current party amount, without a script you'll need to store that in a variable first.

@Eko. Please choose the appropriate forum for events (and scripts). Moving this across to Event Emporium. DH.

well i think it's hard than i thought,it's not work with sbs kaduki takentai,there's a problem with atb system,i've try it for the first time,and it's no problem,but when i take some battle again,and then there's some error

and i'm still confusing about Leona's EXP,i want to make if Ifrit gain an EXP after battle ,then the EXP that ifrit's get will be Leona's EXP too..please resolve this quickly..i'm waiting to continues my project...thanks
Paper PokéMaster
You can set a variable to be the EXP that they get.
Then, do two change EXP events. One adds the EXP to Ifrit, the other to Leona.
jens009
I've done this summoning aeon system before:
Found here:
http://www.rpgrevolution.com/tutorial/summ...-aeons_124.html

As for increasing the EXP of either characters, I think a simple script can solve that.
For RMXP add this line in Scene_Battle2 under line 172
CODE
        if $game_switches[1] == true
          actor[2].exp += exp
        end

Change the appropriate number constants. $game_switches[1] checks if switch ID 1 is on.
actor[2].exp gets the exp of the THIRD actor (Actor ID 1 is 0, Actor ID 2 is 1, Actor ID 3 is 2, etc)...

If the switch is on, then it will add the same exp to actor ID number 3.

If you're using VX, it's the same principle. Just find the right place to put the code.
Eka
QUOTE (jens009 @ Aug 10 2010, 02:32 PM) *
I've done this summoning aeon system before:
Found here:
http://www.rpgrevolution.com/tutorial/summ...-aeons_124.html

As for increasing the EXP of either characters, I think a simple script can solve that.
For RMXP add this line in Scene_Battle2 under line 172
CODE
        if $game_switches[1] == true
          actor[2].exp += exp
        end

Change the appropriate number constants. $game_switches[1] checks if switch ID 1 is on.
actor[2].exp gets the exp of the THIRD actor (Actor ID 1 is 0, Actor ID 2 is 1, Actor ID 3 is 2, etc)...

If the switch is on, then it will add the same exp to actor ID number 3.

If you're using VX, it's the same principle. Just find the right place to put the code.

it's no work for ATB i think
jens009
QUOTE (Eka @ Aug 10 2010, 09:08 PM) *
it's no work for ATB i think

Even if it is ATB, you just have to find the right line to include the code. >.>
Eka
QUOTE (jens009 @ Aug 10 2010, 09:32 PM) *
QUOTE (Eka @ Aug 10 2010, 09:08 PM) *
it's no work for ATB i think

Even if it is ATB, you just have to find the right line to include the code. >.>

alright thanks but i'm still confused for the EXP point..i want to make some variable,so if ifrit gets the EXP point it will be same for Leona's EXP
jens009
QUOTE (Eka @ Aug 10 2010, 10:11 PM) *
QUOTE (jens009 @ Aug 10 2010, 09:32 PM) *
QUOTE (Eka @ Aug 10 2010, 09:08 PM) *
it's no work for ATB i think

Even if it is ATB, you just have to find the right line to include the code. >.>

alright thanks but i'm still confused for the EXP point..i want to make some variable,so if ifrit gets the EXP point it will be same for Leona's EXP

Well, what the short script does is essentially this:
CODE
    # Obtaining EXP
    for i in 0...$game_party.actors.size
      actor = $game_party.actors[i]
      if actor.cant_get_exp? == false
        last_level = actor.level
        actor.exp += exp
                #EDITED LINES
                 if $game_switches[1] == true
                   actor[2].exp +=exp
                 end
                # END OF EDIT
       if actor.level > last_level
          @status_window.level_up(i)
        end
      end
    end

You can see that the exp is added to a SPECIFIC actor. So if you're using an aeon, The aeon gets the exp, and another actor (in this case Leon) gets the same exp.

You see how it works?
Eka
QUOTE (Eka @ Aug 10 2010, 09:08 PM) *
QUOTE (jens009 @ Aug 10 2010, 02:32 PM) *
I've done this summoning aeon system before:
Found here:
http://www.rpgrevolution.com/tutorial/summ...-aeons_124.html

As for increasing the EXP of either characters, I think a simple script can solve that.
For RMXP add this line in Scene_Battle2 under line 172
CODE
        if $game_switches[1] == true
          actor[2].exp += exp
        end

Change the appropriate number constants. $game_switches[1] checks if switch ID 1 is on.
actor[2].exp gets the exp of the THIRD actor (Actor ID 1 is 0, Actor ID 2 is 1, Actor ID 3 is 2, etc)...

If the switch is on, then it will add the same exp to actor ID number 3.

If you're using VX, it's the same principle. Just find the right place to put the code.

it's no work for ATB i think

I'm still confuse for the script code,in RMVX where must be placed??
jens009
I don't really know what ATB script you're using, so paste the Scene_Battle of the ATB script. I'll show you.

EDIT: I made a mistake on the code.
It's actually supposed to be:

CODE
if $game_switches[SWITCH_ID] == true
$game_actors[ACTOR_ID].exp += exp
end

And it needs to be added not within the for loop, but somewhere else. Still, the same principle applies, it only adds the exp if the switch is activated, which means either the aeon is activated or not. It really just depends how you set up the switch.
Eka
QUOTE (jens009 @ Aug 11 2010, 03:11 PM) *
I don't really know what ATB script you're using, so paste the Scene_Battle of the ATB script. I'll show you.

EDIT: I made a mistake on the code.
It's actually supposed to be:

CODE
if $game_switches[SWITCH_ID] == true
$game_actors[ACTOR_ID].exp += exp
end

And it needs to be added not within the for loop, but somewhere else. Still, the same principle applies, it only adds the exp if the switch is activated, which means either the aeon is activated or not. It really just depends how you set up the switch.

i'm use SBS Kaduki Takentai..that script include ATB system...
Eka
There is a new issue again, when i was using ifrit summoned for the first time, successfully without any problems, and both times was also successful, but when put in the battle of the three, all the character would not move, even though I already have the command,please help me again this time,what is the problem
Braska
While going over some other sites I came upon a script that will do what you want, it's one of Mithran's scripts. The list of them all can be found here. The one you want is called Actor Permanent Exp Link.
Eka



that's the problem,after i used that event,they won't move.
pease help me for this problem
Eka
This is The Script Link


Oh i'm forget..i use that script for the battle system
jens009
QUOTE (Eka @ Aug 12 2010, 09:45 AM) *
There is a new issue again, when i was using ifrit summoned for the first time, successfully without any problems, and both times was also successful, but when put in the battle of the three, all the character would not move, even though I already have the command,please help me again this time,what is the problem

Are you still using the event code you pasted in the beginning or the tutorial I provided? The code you have has a lot of potential bugs. Trying to merge it with Tanketai BS makes it much more harder.
Eka
QUOTE (jens009 @ Aug 13 2010, 10:23 AM) *
QUOTE (Eka @ Aug 12 2010, 09:45 AM) *
There is a new issue again, when i was using ifrit summoned for the first time, successfully without any problems, and both times was also successful, but when put in the battle of the three, all the character would not move, even though I already have the command,please help me again this time,what is the problem

Are you still using the event code you pasted in the beginning or the tutorial I provided? The code you have has a lot of potential bugs. Trying to merge it with Tanketai BS makes it much more harder.

I use your event...and it's still happen..but if i change the ATB from Semi-Active to Wait it's wor,and there's no problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.