Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Resource icon

Level Up Events 2015-10-27

No permission to download

Tsukihime

Praised Adventurer
Xy$
0.00
Tsukihime submitted a new resource:

Level Up Events - Fully customize what should happen when an actor levels up with eventing


Ever wanted to have something happen when your actors level up?
  • Maybe you wanted to fully recover their HP and MP, and any negative states removed
  • Maybe you wanted to give them some bonus items and equipment
  • Maybe you wanted to play a cut-scene
Or anything else that you can think of.

With this plugin, now you can accomplish anything you want when your actors level up! Every actor can have their own unique level up...
Read more about this resource...
 

David FoxFire

Adventurer
Xy$
0.00
I haven't gotten to this point yet, so I have to ask. If you add XP out of combat (such as a quest reward or some kind) does the XP get tallied and Level ups get triggered as it would be in combat?
 

Tsukihime

Praised Adventurer
Xy$
0.00
I haven't gotten to this point yet, so I have to ask. If you add XP out of combat (such as a quest reward or some kind) does the XP get tallied and Level ups get triggered as it would be in combat?
Yes, all of the level up logic go through a standard set of methods.
Unless someone decides to implement their own level up logic, it should work for anything that was built-in.
 

David FoxFire

Adventurer
Xy$
0.00
Yes, all of the level up logic go through a standard set of methods.
Unless someone decides to implement their own level up logic, it should work for anything that was built-in.
So you'll see the awarded EXP added to the characters and all that. Great. That's what I wanted to know :)
 

Skywindz

Villager
Xy$
0.00
I would know about the plugin more.
How do you do certain level for an example.
Level 20 means a different event triggered to advance to another class with quest added.While the other events are giving you message like: Congratulations on leveling up!
Lv1-19 and Lv21-99 onwards.
 

Tsukihime

Praised Adventurer
Xy$
0.00
I would know about the plugin more.
How do you do certain level for an example.
Level 20 means a different event triggered to advance to another class with quest added.While the other events are giving you message like: Congratulations on leveling up!
Lv1-19 and Lv21-99 onwards.
You can set up your common event with conditional branches to check the level of the actor.
Do you know how to use those?

Assuming your common event will be specific to one actor, you could set up all of the conditions based on that actor's level.

If you are going to be using one common event for multiple actors...that will be a bit more involved.
 

Cloud Knight

Praised Adventurer
nice work on this, i could deff see myself using it in one of my games with a level up reward type system. THANKS !!! keep up the good work!
 

marcelox

Villager
Xy$
0.00
Thanks for the plugin :)
Would you happen to know what to type so the system looks out for or types out the current level? I want to make it so at certain levels we get different rewards but so far I've had no luck figuring it out

Someone answered this for me, so I no longer need help. :)
 
Last edited:

Tsukihime

Praised Adventurer
Xy$
0.00
Thanks for the plugin :)
Would you happen to know what to type so the system looks out for or types out the current level? I want to make it so at certain levels we get different rewards but so far I've had no luck figuring it out
If you're planning to have separate common events for each actor, you can start by

1. Control Variable --> Game Data --> Actor --> Level
2. Use conditional branch to check the value of the level

If you want to use a scripted conditional branch directly, assuming separate common events for each actor,

Code:
$gameActors.actor(YOUR_ACTOR_ID).level
 

marcelox

Villager
Xy$
0.00
Thanks for that, seems so obvious now. lol
As for the plugin, I've been trying different things with it and I'm happy with how I set it up, however, I came across 2 bugs. If you gain enough experience to skip the level that give you a reward, let's say at lvl5 you get 5,000 gold, you are lvl 4, you do a mini-boss that gives you enough experience to reach lvl6, so since you never landed on lvl5, you never get the 5,000 gold.
As for the second bug, I have no idea what caused it and it's never happened again, I did the gold reward thing and once the character reached lvl5 (all four reached lvl5 at the same time) everyone get double the rewards, so it counted as reach lvl5 twice per character.
either way, those little issues aside, I love this feature. Fully recover when you level, just like ff11 and ff14. :)
 

Tsukihime

Praised Adventurer
Xy$
0.00
Thanks for that, seems so obvious now. lol
As for the plugin, I've been trying different things with it and I'm happy with how I set it up, however, I came across 2 bugs. If you gain enough experience to skip the level that give you a reward, let's say at lvl5 you get 5,000 gold, you are lvl 4, you do a mini-boss that gives you enough experience to reach lvl6, so since you never landed on lvl5, you never get the 5,000 gold.
either way, those little issues aside, I love this feature. Fully recover when you level, just like ff11 and ff14. :)
The first one isn't a bug in the plugin, but it's definitely something that will cause problems in events.
Here's why:

1. a common event is called whenever you level up
2. If you level up twice, the common event is called twice
3. The common event may not be executed immediately (eg: end of battle you two levels, but they execute on the map)
4. On the map, you have already leveled up to 6. When you access this info, it will be 6, not 5.

I am currently designing a solution that will allow you to access the level that the common event was called.

If you need a solution for now, you may have to use a game variable to explicitly store the actor's level, and then use the level up common event to increase it as necessary (this way, you have control over the level)

As for the second bug, I have no idea what caused it and it's never happened again, I did the gold reward thing and once the character reached lvl5 (all four reached lvl5 at the same time) everyone get double the rewards, so it counted as reach lvl5 twice per character.
So basically 4 common events should be executed, but instead you got 8?
If you come across this bug again let me know how it is reproduced.
 

marcelox

Villager
Xy$
0.00
I will keep an eye out for the second bug if it happens again and yes it ran 8 events instead of 4.

As for the first "issue" - nah I dont need a solution anytime soon or at all. Since Im still making my game, the difficulty is very low and the exp is very high, when Im done there wont be any characters gaining any multi-levels. Thanks though :)
 

Skywindz

Villager
Xy$
0.00
Hello again.
I have an issue with this.

The "If: Player's Level - Rogue = 5" doesn't work with the equal.
 

Tsukihime

Praised Adventurer
Xy$
0.00
I mean, during the game. Open the debug menu using F9 to see if it's actually 5.
 

Skywindz

Villager
Xy$
0.00
Yes. (I was level 7)
The message "Congratulations, you've just leveled up" works still.
But the Control Switch and Able to access Class E doesn't work or trigger.
 
Last edited:

Tsukihime

Praised Adventurer
Xy$
0.00
Did you level up multiple times in battle? When you store the actor's level, it only grabs the current level.
Since the common event runs after battle, the actor has already leveled up several times.
 

Skywindz

Villager
Xy$
0.00
Did you level up multiple times in battle? When you store the actor's level, it only grabs the current level.
Since the common event runs after battle, the actor has already leveled up several times.
Yeah. Thanks for the information.
I did level up multiple times.
Since I know now. I'll make sure I level up one by one on some stages.
 
Top