How to make a level system

Gamesopassion
05 Dec 2016, 22:15

Hey, can you teach me how to make a leveling system, like 1 major skill, and the rest minor, and smaller use skills under it. I want these skills to influence how you do certain things in the game. I also want an interval where I can let the player level up on the smaller use skills and add another major skill every seven levels.

Attribute skills- strenght, perception, agility, intellegence, dexterity, charisma, stanima.

Major and minor skills-

  1. Crafting
    A. Mechanics
    B. Carpentry
    C. Metalworking

  2. Combat
    A. Ranged weapons
    B. Close- combat weapons
    C. Unarmed
    D. Explosives

  3. Science
    A. Engineering
    B. Electronics
    C. Hacking
    D. Chemistry
    E. Organics

  4. Survival
    A. Stealth
    B. Scavenging
    C. Scouting
    D. First- aid
    E. Trapping
    F. Fishing
    G. Hunting

  5. Speech
    A. Persuasion
    B. Intimidation


hegemonkhan
05 Dec 2016, 23:53

this is asking a lot... there's a ton of designs, from simplistic/ineffective to advanced/complex/effective


first, you need to understand Attributes and the 'if' Script usages
second, you need to understand List/Dictionary Attribute usage, and Commands (for Pixie's 'levellib' library)
third, understand Pixie's 'character creation' guide
fourth, understand Pixie's 'levellib' library/guide (I think Pixie has updated this though and/or incorporated it into his combat library)


if you want a nice algorithm/equation/formula mechanic for leveling (I think this was shown to me from Pixie/Sgrieg/Pertex - one of them - been way too long ago to remember who it was, lol):

<function name="leveling_function">
  if (player.experience >= player.level * 100 + 100) {
    player.experience = player.experience - (player.level * 100 + 100)
    player.level = player.level + 1
    leveling_function
  }
</function>

Gamesopassion
06 Dec 2016, 01:01

I am doing this on book quest, the one where you have several choices and you pick one to progress into the story. How do I use it with that.


Abigail Storm
06 Dec 2016, 01:03

I don't think squiggy ("book quest") has that ability. If you want that functionality, try the actual quest.


Gamesopassion
06 Dec 2016, 01:04

I am doing this on book quest, the one where you have several choices and you pick one to progress into the story. How do I use it with that.


Abigail Storm
06 Dec 2016, 01:04

You already asked that question.


Gamesopassion
06 Dec 2016, 01:06

Ok. Thanks. I'll check the guide and be back with more questions. I am making a game with a fallout- style, retro theme, with tons of weapons and other items. I think it might be best not to use book quest. Thanks.


hegemonkhan
06 Dec 2016, 01:16

If you're doing more (RPG) code-heavy stuff, then you want to use the Text Adventure (this has the full functionality of quest) or Pixie's hybrid (a Text Adventure, thus having full functionality, but it looks/feels like a Game Book), if you're doing a light-coding CYOA-like game, than the Game Book is probably fine/better. I don't know about Squiffy at all.

You can do coding with Game Book version, but it's a bit different and more limited than using the Text Adventure, so maybe the best for you would be to use Pixie's hyrid version, but I don't know your game/plans well enough, for what you really need. Just taking a guess.

Quest: Text Adventure or Game Book (good for CYOA games) versions
Quest: Squiffy (I think this is suppose to be more like Twine)


P.S.

ya, I recognized your designs... it looked like Fallout + TES:Morrowind, design, laughs :D


P.S.S.

I'm slooooooowly working on a TES-like-scale (and etc others) RPG myself (still need to learn much more coding / get better at coding)... laughs...

(still working on just character creation, sighs)


P.S.S.S.

just being silly/teasing:

you forgot the 'luck' Attribute in your post, winks/laughs.


Gamesopassion
07 Dec 2016, 22:58

Can you teach me how to custom code my own leveling system? I am doing it on android.


Anonynn
08 Dec 2016, 03:46

Er... You do realize how much work all those skills are don't you @_@ ?

I think the best way to go about this is to create integer variables on your player object attributes.

level int 0

and then you can do...

player.level = player.level + 1 

whenever a scenario pops up to level them. If you want to give experience, you could probably do an if script and combine it with player.level...

You can do the skills the same way.

player.firemaking
player.pooping
etc.

Does that help?