Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Change EXP to LP

Beorc

Member

I'm using the License Board script by Juan J Sanchez (it can be found on the first page of the RPG Maker Scripts forum, currently) and I plan to use the License Board as a growth system to replace leveling. I've already removed any areas where the level is shown, but I'm having an issue with trying to replace EXP with License Points in the script (LP is referred to as ap in scripts). I went through and replaced nearly every instance of EXP I could find with ap, but that just lead to errors, and even after editing some more, the actors still won't gain any LP after battles. So does anyone here know exactly what to edit to make it work?

Also, although it's not necessary, at least for now, a script or edit that makes it so a character's License Points appear in the main menu or the status menu (either or both would work) would be helpful.

Thanks if you can help with either one.
 
I wouldn't bother changing variable names really... just use exp variables, and display them as LP in game. Changing your script to distribute EXP instead of 'AP' should be the easiest thing really.
 

Atoa

Member

You forgot one of the features of RMXP: setting the max level of an character.

Just maker their max level 1, and remove all exp and level text from the game.That way you don't have to worry about changing the variables, wich generally cause problems, if you don't know everything you need to know.
 
Ah, that's right of course... I feel so old.
The only thing I can imagine happening is that it checks of you're on the last level and therefore doesn't distribute exp anymore... but I don't think that happens, so yeah ^^
 

Atoa

Member

@BlueScope
The exp still being given to chars on max level.

Also i thought another thing... why do your enemies give exp in the first place? do you use it for another things? since the License Borad don't use enemy EXP anyways. So if all your enemies give 0 exp, you don't have to bother with characters leveling up.
 

Beorc

Member

Because normally you have to input a script command to add AP/LP, and it would be a lot easier to simply set the amount of LP each enemy gives in the database and have it done automatically. Although I did replace AP with EXP in the License Board script and everything seems to be working now...well, except my battle system suddenly doesn't work when there are more than four members in the party, despite working fine before, but I don't know if you can help with that.
 

Beorc

Member

Well, the thing is that I don't think I made any changes in the two scripts that seem to be having the issue with each other all of a sudden. And I don't see how changing .ap to .exp could affect them. At any rate, I wasn't near my computer when I was typing that post so I couldn't have posted the code. Anyways, I'm using Dargor's Party Changer, the scripts for which can be found here: http://www.arpgmaker.com/viewtopic.php?f=156&t=23508 and the section of my battle system that it's having the error with is this:
Code:
def base position

   base = ACTOR_POSITION[self_index]

   @base_position_x = base[0]

   @base_position_y = base[1]

   @base_position_x = 640 - base[0] if $back_attack and BACK_ATTACK_MIRROR

end

Just tell me if you need any more information.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top