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.

[XP] Adding Extra Skills, Like In RuneScape

Hey everyone, I'm trying to make a skill for my game called Sleeping. Or I might make it standing, cause that's what most people do sometimes. So, have you guys played RuneScape? If you have, how you seen the variety of skills? Like hunter, ranger, magic, strength, herblore, and slayer. I was wondering. How do I make extra skills like that, if it's a script, I don't mind. (unless it's compatible with an AMS that modifies Main.) I don't have many scripts, just a few like a jumping script, and the ability grid. Also, if someone could make me a script -or tell me how to modify the old menu- that, on the menu, has an option called 'Skills', and where I can look up the level with a variable or something.
        Thanks in advance!  :lol:,
                 Shadows Forger
 
By sleeping, I don't mean in battle. I mean outside of battle, where you are tired and need to rest. (Thanks for the quick reply btw) Yes, I will elaborate on the other skills. (There's lots, but I'll only elaborate on the ones I mentioned.)

Hunter:    You need to hunt for animals, like catching them with a net, to gain experience.
Ranger:    Ummm.... Well, you shoot with a bow and arrow....
Magic:     You use spells....
Strength: A factor on how much you hit. (I know, it's already in the database)
Herblore:  Mix ingredients to make potions.
Slayer:    Kill monsters and beasts to gain exp, level higher to kill more things.

Yes, I've seen the 'Skills' tab. If that's how I do these, then I don't know. But I doubt that's how you do this.
 
Okay, are you using the default battle system or an ABS (you fight on the map)?

For sleeping, you can use Common Events. In the common event, tint the screen to dark, change the player to a sleeping graphic (optional), use the Recover All function, play a little ME, change the player to normal, and tint the screen to normal. You can try other skills with Common Events. Remember, you call it in the database->skills section.

Good luck with it!
 
It should work without a problem, but I'm not exactly sure how Mr. Mo set up the skills. You can try it, although you might need a little extra programming (i.e, in case you're on a map with enemies, they'll continue to attack you while you're sleeping).
 

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