Jump to content
Sign in to follow this  
Cernu

create our own classes

Recommended Posts

What do you mean by classes? Warrior, Ninja, etc etc? If so, you can use skills like Shadow said,

or you can use entity storage.

For storage, Set up all possible things as variables inside the entity storage (str, vit, dex...). Create a variable called "class". This will be a string

Then create something to set which class player has choosen

For that, on entity storage make some instructions called Warrior, Ninja, etc and then you can change specific attributes according to the Class

Edited by jchob

Share this post


Link to post
Share on other sites

I was talking about entity classes, like any knife, any edged weapons...

Share this post


Link to post
Share on other sites

well, you can make it via scripting, but you would need to make everything by hand.

For example

If get active item type = sword_1 OR sword_2 OR sword 3....

variable playerEquipDoubleEdge = true

If get type = kife_1 OR knife_2 OR....

variable playerEquipSingleEdge = true

Then, listen for melee attack and check which variable is true and then perform the damage you want.

On melee attack

If playerEquipDoubleEdge = true

damage target 200

If playerEquipSingleEdge = true

damage player 100

This is just an idea you can try

Edited by jchob
  • Thanks 1
  • Upvote 1

Share this post


Link to post
Share on other sites

Thanks, I already did this for my weapon rigale skills. I just wish there was an easier way. But it works. Thanks for the tip anyways ?

  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites

oh cool.

Well, for them to implement it they would have to change the game core programming on their classes itself, and I think they won't do it, but we never know what can happen ?

Good suggestion ?

  • Haha 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×