Exp for actors not in party?

Jesse - PVGames

Game and Graphics Developer
Veteran
Joined
Jun 23, 2012
Messages
1,790
Reaction score
2,787
First Language
English
Primarily Uses
Out of curiosity, is it possible to grant xp to actors who are not in the party? Any feedback would be welcome :)

Thanks!
 

The Prince of Sarcasm

Prince of sarcasm
Veteran
Joined
Apr 3, 2014
Messages
1,144
Reaction score
131
First Language
Sarcasm
Primarily Uses
I know you can change the initial level of actors, so that when you first add them to your party they are at least a certain level. I'm not sure if this is exactly what you want or not? Hope this helps a little.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Possible, yes...


Just initialize them all first, then you can do things like edit the exp adding part of the script to affect all actors instead of party members only... you can also do it via events in case the battles are evented
 

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
there's a check box for it on the system tab in the database "Reserve Members' EXP"
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
@Venka - that is for actors on the party but not on the battle party (which is normally the first four party members)...
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Actors who are not in your PARTY, or actors who are not battlers?


If they're in the party but are not active battlers (they're in reserve), you can give them EXP by checking the box in the System tab.


If they're not in your party at all, do you JUST want the ones who HAVE been in the party to get EXP (so if they leave then come back they're still at a level fairly close to the others who've been with you all along)? Or do you just want new party members to have a level that matches everyone else when they first join?


You could probably use variables to handle both of these, since these people will join your party only when you add it to the event code, and you have the ability to give them extra EXP at that time.


If you've got someone who's in the party, then leaves, set a variable to the persistent member's EXP when the other one leaves. Then when they join again, see what the difference is betwen the persistent member's EXP and that variable, and then do a Change EXP command to give the rejoined member that amount of EXP. If you have several of these people, you'll need a variable for each one.


If you've got someone completely new who hasn't joined before, when they join, do a Change EXP command and give them the same amount of EXP as that persistent member has (especially if that person was your starting PC).


If you have more than 4 party members and the player can swap them in and out of battles, the above would require that you do have that option set to give non-battlers EXP.


lol! Pipped twice. That's what I get for giving a lengthy explanation. Still, hopefully you gain something from my efforts :)
 
Last edited by a moderator:

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
I do that with my Summoner in my game.

You see the Summoner's Summons replace my Summoner in battle when summoned,so she's not in the party when the xp is awarded.

This is what I do, when summoned, it sets a variable for current xp(if you are needing this for reg chat, you can always use troop events to set the variable, instead of a common event), then I have a common event trigger when the party is back on the field(after battle xp). subtract the durring battle/current xp,variable, from the after battle xp variable.

Last change the xp of the char, using the after battle xp variable.

In my case I always know what char to give the xp to, but if you are needing this for any random char that may not be in your active party, you could use switches, and condition branched to pull it off.
 

Jesse - PVGames

Game and Graphics Developer
Veteran
Joined
Jun 23, 2012
Messages
1,790
Reaction score
2,787
First Language
English
Primarily Uses
The system I am working with is a 'mercenary' system where the player can 'summon' extra actors to fight with them for the course of a single battle, and then the actors disappear again until summoned once more. There are a number of these mercenaries, and they do not exist as part of the party or the reserve, they only 'exist' when summoned.

Not 100% sure, but I think checking the level of the main actor in the party (which is consistent), and then checking the level of the mercs (they should all be the same level) and then push both into variables and subtract the merc level from the main actor level and then add the difference to the merc level will work. I'll have to check it out later :)

Thanks for the great advice guys!
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
The system I am working with is a 'mercenary' system where the player can 'summon' extra actors to fight with them for the course of a single battle, and then the actors disappear again until summoned once more. There are a number of these mercenaries, and they do not exist as part of the party or the reserve, they only 'exist' when summoned.

Not 100% sure, but I think checking the level of the main actor in the party (which is consistent), and then checking the level of the mercs (they should all be the same level) and then push both into variables and subtract the merc level from the main actor level and then add the difference to the merc level will work. I'll have to check it out later :)

Thanks for the great advice guys!
Ok yea, that's exactly how .my summons work, except I make it work like, the summons only get xp when they finish a battle, and It's the Summoner that summoned it, that needs the xp after battle(the summons get unsummoned when on the map, and the Summoner rejoins, tthen gets whatever xp the summons earned from the battle.

However if all you want is to scale them to the lv of a char who never even leaves the party, that makes things even easier(just make the common event that summons them, set a variable for your main char's lv, set a variable for the merc's lv subtract the merc lv variable  from the main char lv variable, then change lv of merc using the main char lv variable).
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

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
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top