The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Jharkoff on July 10, 2007, 03:42:37 PM

Title: Leveling two characters at the same time
Post by: Jharkoff on July 10, 2007, 03:42:37 PM
Hi, basically what i want to do is have the main character transform into a dragon, and be able to level with each other without the dragon having to get exp if you know what i mean. So they go up levels together, but don't have to be in the party together.
Can anyone help?!
Title: Re: Leveling two characters at the same time
Post by: Deliciously_Saucy on July 11, 2007, 10:16:31 AM
holy shit, you're member number 73, lol.

could you rephrase your question? I'm afraid I don't understand exactly what your referring to.

Also, what RM are you using (XP, 2oo3)?
Title: Re: Leveling two characters at the same time
Post by: Legacy on July 11, 2007, 11:18:09 AM
He's saying he wants the Dragon to be the same lvl as his player, but instead of the Dragon having its own seperate Exp gain, he would instead go up automatically even when not fighting so long as his player gained exp. For instance: Play gains 100 exp from an enemy, even if the dragon didn't fight, it would get exp. Is that what your trying to say?
Title: Re: Leveling two characters at the same time
Post by: Jharkoff on July 11, 2007, 02:37:51 PM
Yeah Legacy that's what i mean. Yeah I've been a member of this website for a long time lol. I sorted stopped the rpg making for a while lol but now I've come back into it. Yeah i want the dragon to automactically level with the main character, but don't have a clue how to do it haha. Oh yeah and it's RM2k
Title: Re: Leveling two characters at the same time
Post by: windkirby on July 12, 2007, 09:27:08 PM
Well, you could make have a variable recording for the player's level and then change the dragon's level according to the variable after every battle...
Title: Re: Leveling two characters at the same time
Post by: modern algebra on July 13, 2007, 03:04:52 AM
better to set them both to the same EXP/Level Curve and record exp with the variable and set both of them to the same exp after every battle because if he has half a level and transforms into the dragon, he'd lost the exp gain since he hadn't hit the next level yet.
Title: Re: Leveling two characters at the same time
Post by: Jharkoff on July 13, 2007, 12:52:54 PM
So it's a fairly simple event then would i do that in monsters party and in common events?
Title: Re: Leveling two characters at the same time
Post by: modern algebra on July 13, 2007, 01:37:24 PM
You wouldn't need to do it in both. Probably just use a parallel process common event like this:


Variable [Dragon EXP] = Actor: [Dragon]'s EXP
Variable [Hero EXP] = Actor: [Hero]'s EXP
if Variable: [Dragon EXP] !=(not equal to)  Variable: [Hero EXP]
  if in Dragon Form (i.e. if dragon in party)
    Variable [Dragon EXP] -= Variable [Hero EXP]
    Actor: [Hero]'s EXP + Variable[Dragon's EXP]
  else
    Variable [Hero EXP] -= Variable [Dragon EXP]
    Actor: [Dragon]'s EXP + Variable[Hero EXP]
  BRANCH end
BRANCH end


There's probably a way to do it such that it's not always running, but that is good enough for now.
Title: Re: Leveling two characters at the same time
Post by: clakes707 on July 27, 2007, 02:27:11 AM
Sorry if I interpreted the question wrong, but you want it so that when the player battles, he  is a dragon, but when he/she is just walking around on the maps, they are whatever sprite(s) you have selected? if so, then just make the battle image that of the dragon? Or if, you want the player to only become the dragon at certain times, just change the graphic(s) whenever you need to. Hope this helps.