Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skills
#1
Skills such as:

Dodge, Parry, and Sword Mastery (To get more damage)

To get skill points, can you please make it like you get skills randomly by attacking NPCs? And you can distribute them into your skills?

Thanks
-Sword
Reply
#2
I wont make a tutorial for it, but I would hope that this request board could also work for detailed tips. I've done this for my game k2h, a little similar to what you say.

I have Dodge (avoid arrows), Speed (block sword hits) and 2 resistance for spells (fire and ice).

(I understand that you might want other skills than those described below, but it is basicly the same prinicple)

1. First make sure to just copy the stat part, all of it. Search for example SPEED and copy it all on both client and server side and make sure to name them the same on both sides.

2. Now when you can add resistance points, and obviously you made it so it adds to your ResPoints when leveling, just as for the stats. When adding a point you will decrease the damage from 1 of the 3 attacks depending on which it is.

3. So now, if you want to use Speed. Find the place for attacking a player and add something similar to this:
Code:
RemoveDamage = GetPlayerSpeedd(i) / 5
Damage = Damage - RemoveDamage
I have the name Speedd since there are a stat called speed, but the stat is displayed as Agility in my game. Speedd is the resistance for sword attacks. That would make it so if you have 5 ResistancePoints on Speedd, it will decrease the attack by 1 damage.

4. It aint harder than that, it might sound hard to some. But if you just search for the normal stats you will notice it aint that hard.
Reply
#3
Ok, thanks
Reply
#4
Swordmaster Wrote:Ok, thanks

I know it might not help much, but I can't release the code. Just thought I might help some way.
Reply
#5
yea it helped, ill try and find some tutorials on the back-up forums
Reply
#6
Swordmaster Wrote:yea it helped, ill try and find some tutorials on the back-up forums

*Sigh* i don't want to flame you but you seriously need to learn from tutorials. It'll help.
Reply
#7
im still a beginner
Reply
#8
Swordmaster Wrote:im still a beginner

Then don't try to expect anything big. Work on basic things without having to ask for every feature you need.
Reply
#9
Kuja, remember that this is a tutorial request board. He has all the right to ask for tutorials here.
Reply
#10
Swordmaster Wrote:im still a beginner

famouse last words lol, i really benefited from buying a beginners vb6 book, wasnt very big but it gave an outline of what all the controls do, using if statements and all that...

i cant really critisize you since ms got me into vb6 BUT i can say from experience, where as features and things are nice; whats nicer is being able to scroll through ms and understand it. Knowing where you stand with the code your working with is essential, and gives you independance - something really important since if it breaks you can fix it :wink:.
Reply
#11
That knowledge will come eventually after playing around with the source for some time.
Reply
#12
Yea, if i read the code i understand what it is its just hard for me to edit it
Reply
#13
You'll get into it soon Wink
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#14
I'll attempt to write a tutorial for you.

And no, it wont be C & P. Prepare to learn. MWAHAHAHA!
Reply
#15
Oh God. Matt trying to teach someone to code.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#16
Kite, do you think you would be able to expand on your direct x tutorial thing, i mean, i understand how it all works and all but its things like what all the abbreviations mean that confuses 99% of people; i have looked some of the property things up and it seems to get worse the deeper you delve into it :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)