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.

Learning Skills through Skill Points.

Script Request Template
This is a request for a new script, an edit or debug of an existing script.

Script Title: Skill Trainer
RMXP or RMVX: RMXP
Detailed Description: I wanted a unique Skill system for my game, and thought that a Skill Trainer could work out well. I can make items that teach specific characters skills, but I can't make it universally targetable. What I mean by that is if I buy 4 Heal Scrolls (per say) Each one would have to be scripted to a different character.

What I'm looking for is a script to allow me to circumvent this problem.... I thought I had it with some lengthy and arduous Conditional Branch/Common Event work, but I've run into a snag.

This was my original thought..
Common Events: skillgem, heal scroll

(This is the Skill Gem common event)
@>Control Cariables: [009: skillpoint] +=1
@>Text: You've gained a Skill Point

(This is the heal scroll, which is my test scroll name's function)
Well... I'm not writing it all out, but I have 5 actors, so there are 5 conditional branches.
If skillpoint >=1 (Player 1 gains heal) if not, move to player two... Lose 1 skill point
If skillpoint >=1 (Player 2 gains heal) if not, move to player three... Lose 1 skill point
If skillpoint >=1 (Player 3 gains heal) if not, move to player four... Lose 1 skill point
If skillpoint >=1 (Player 4 gains heal) if not, move to player five... Lose 1 skill point
If skillpoint >=1 (Player 5 gains heal) if not, @>Text: This item cannot be used... Lose 1 skill point

See my problem?

What I need is a way to give skill points, and allow each player to have a separate stock of them to spend on skills... I'm probably going OVERBOARD on detail here, but you did ask to be specific...
Screen shots: I don't have any screen shots for this, I apologize... But I think my intention is pretty clear. Get a certain amount of skill points you can learn a skill from a trainer, the skill points are spent, go out and get more skill points. Rinse and repeat.
Other Scripts I am using (in order): None right now, I was thinking about using either "Enu SBS Tanketai XP" or the "English translated Materia System" I have neither equipped right now, as I have to chose which would be better cause they conflict...

I hope I didn't overdo the specifics... And I really hope this is possible... if not, I'll just go with the Materia System and say screw it!
 

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