Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Basic skill system?


Painful
 Share

Recommended Posts

I've been following the forums in quite awhile, and now I wan't to start my own game.
I wan't to make a pretty simple skill system.

I just don't know where to start?
I've made a listbox, where all skills should be in.

The skill system should work like this:
example: Fire Magic every skill you get, it then adds 1 damage to it.

I will add a lot of skills, so hopefully it'll be easy to add.

Hope this is enough information.
I don't wan't you to do if it for me, because that would be silly of me thinking that someone should do it.

If people just wan't to say how to start and such. I'll look into some subs to learn how to use packets.

Thank you :)
Link to comment
Share on other sites

Would you comprimise for several other ideas for a simular Idea?

since you can have many calsses you could make Sub classes of catsers for spesific elements or such…

And A simpler way to do somthing semi-like what you want its to use stats to scale certain funcations, like spell scaling (INT and WIL) or taming animals (STR and WIL), this is way simpler way to do somthing like it....

and if you want i could help you draw up the calculations if you choose to scale more things off the stats...

As for a TRUE Skills system I would go looking to exactly how the stats system works and use a simular control for skills. you level up and get some skill points to spend, and recalculate all the aproprate areas for those skills. (for an idea of how to use those skill points in spells, see my complex spell scaling)

and make a new menu and buton to house your skills.

Hope I helped with a few options for you to look into.
Link to comment
Share on other sites

Thank you for writing :)
I'm not 100% sure if I truly understand you, but I can see your idea.
My main problem is that I really don't know where to find all this code, there's like code everywhere ;)

Can you please give me some information where the skill system code is?

Thank you.
Link to comment
Share on other sites

how many skills are you talking about?
Do ALL players automatically have access to ALL skills?

Lets say you want to add the following skills:
-Fire Mastery
-Water  Mastery
-Earth  Mastery
-Air Mastery
-Weapon Mastery

What I would do is set a new enum set called Masteries(check ModEnumerations to see what I am talking about).
Then in PlayerRec include: Masteries(1 to Masties_Counter-1)
In sub AddChar also set the Masteries to 0(meaning they havent learned them).

Now you need some way to increase them.
If you are just using the point system that is in EO already then you should just look at the other "+" signs and how they operate.

Another option would be to make MasterPoints in the player rec, also set them to 0 in AddChar.
When a player levels, add one to it. and letplayers add the one point.

My preferred method would be to setup a second enum called MasteryCounters.
Set a variable up in your spells called Mastery(look at other variables to learn how to make this).
When players use a spell, add 1 to the counter.
If the counter is some formulated max, set back to 0 and add one to the equivelant mastery.
also do this in on attack.
check for weapon, if weapon exists do as you would for a spell.
Link to comment
Share on other sites

Sorry for the slow reply!

@Shadowwulf
Every class have different skills, but also the same.
Example: Fire Magic is all that same from human wizard to orc wizard.

Skills should be learn-able, like learning a spell.

I pretty much like your idea, and seems like I could figure it out.
I'm not home atm, so I'll probably write some questions later next days.

Thanks for the help :)
Link to comment
Share on other sites

All right, I'm trying to code this. I'm very confused :/

First I wrote this in modEnumerations:
```
Public Enum Skills
    Basic Magic = 1
    Basic Fire Magic
    Stat_Count
End Enum
```
Then I got alittle confused, when you said PlayerRec because I can't find it?

I jumped to AddChar, but I really don't know how to set Skills to 0?
```
Buffer.WriteLong Skills = 0
```This is probably very wrong :/

Also I wan't them to get one point each level.

Sorry for all these questions, I really feel dumb :(
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...