| Mirage Source http://web.miragesource.net/forums/ |
|
| Skills http://web.miragesource.net/forums/viewtopic.php?f=210&t=1464 |
Page 1 of 2 |
| Author: | Swordmaster [ Wed Mar 07, 2007 10:56 pm ] |
| Post subject: | Skills |
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 |
|
| Author: | William [ Wed Mar 07, 2007 11:08 pm ] |
| Post subject: | |
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. |
|
| Author: | Swordmaster [ Wed Mar 07, 2007 11:17 pm ] |
| Post subject: | |
Ok, thanks |
|
| Author: | William [ Wed Mar 07, 2007 11:18 pm ] |
| Post subject: | |
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. |
|
| Author: | Swordmaster [ Wed Mar 07, 2007 11:21 pm ] |
| Post subject: | |
yea it helped, ill try and find some tutorials on the back-up forums |
|
| Author: | Tony [ Thu Mar 08, 2007 1:05 am ] |
| Post subject: | |
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. |
|
| Author: | Swordmaster [ Thu Mar 08, 2007 1:22 am ] |
| Post subject: | |
im still a beginner |
|
| Author: | Tony [ Thu Mar 08, 2007 1:38 am ] |
| Post subject: | |
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. |
|
| Author: | William [ Thu Mar 08, 2007 1:40 am ] |
| Post subject: | |
Kuja, remember that this is a tutorial request board. He has all the right to ask for tutorials here. |
|
| Author: | Coke [ Thu Mar 08, 2007 7:06 am ] |
| Post subject: | |
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 |
|
| Author: | William [ Thu Mar 08, 2007 2:48 pm ] |
| Post subject: | |
That knowledge will come eventually after playing around with the source for some time. |
|
| Author: | Swordmaster [ Thu Mar 08, 2007 10:24 pm ] |
| Post subject: | |
Yea, if i read the code i understand what it is its just hard for me to edit it |
|
| Author: | Robin [ Thu Mar 08, 2007 10:46 pm ] |
| Post subject: | |
You'll get into it soon |
|
| Author: | Matt2 [ Thu Mar 08, 2007 10:50 pm ] |
| Post subject: | |
I'll attempt to write a tutorial for you. And no, it wont be C & P. Prepare to learn. MWAHAHAHA! |
|
| Author: | Robin [ Thu Mar 08, 2007 10:53 pm ] |
| Post subject: | |
Oh God. Matt trying to teach someone to code. |
|
| Author: | Coke [ Thu Mar 08, 2007 10:54 pm ] |
| Post subject: | |
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 :/ |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|