Horuce
May 9 2009, 04:58 PM
Ok, I am going to Attempt to make a limb counter and I now it works off health of target now is there a set formula for this limb breakage ie if target has 1000 health it will take 3 hits if 6000 health it will take 18 hits? large numbers I know but I'm not sure where to even begin.
So could someone give me a pointer in the right direction and PLEAASE don't just tell me to find out in game. I would really like some help in this endevadour I could buy one but I'd rather try and code my own if I could get some help in the right direction.
Kui_leises
May 9 2009, 06:58 PM
I have no clue how to code it since i cant code at all, but I do know you'll need all your attack messages for all the limbs, variables for your targets limbs leftarm, rightarm, head, torso, leftleg, rightleg.
when you hit a limb #add (limb) 1 (I think) and have it show in a seperate window for easy reference. a counter that just adds is pretty easy but where I'm not sure is when you miss because of some of the messages
lightning quick you stab player in the face (#add targetsface 1)
player twists his body out of harms way ---- Here you have to subtract that hit you thought you just scored. Maybe its as simple as something like (#add targetsface -1)
actually, the more I think about this, its just a matter of how many variables you have.
throw in a lasthit variable
so..
You stab player in the face (lasthit=targetsface; #add targetsface 1)
player twists his body out of harms way (#add lasthit -1)
I'm probably way off here, but maybe im on to something.
Mishgul
May 9 2009, 07:12 PM
limb breaks for knights is approximately maxhealth of opponent/total unreduced damage done by your dsl*2= number of dsl's required to break.
there are other factors also but this will do for you.
Horuce
May 10 2009, 02:41 PM
Ok, thanks guys. working on it now.
Azu
May 10 2009, 03:18 PM
Let me know how it turns out will you? I may wish to buy it off you if it works well enough
Synbios
May 11 2009, 07:03 AM
QUOTE (Mishgul @ May 10 2009, 03:12 AM)

limb breaks for knights is approximately maxhealth of opponent/total unreduced damage done by your dsl*2= number of dsl's required to break.
there are other factors also but this will do for you.
Is there a way to create a limbcounter system without having to rely on maxhealth of the opponent?
Trey Adwimar
May 11 2009, 09:37 AM
QUOTE (Synbios @ May 11 2009, 03:03 AM)

QUOTE (Mishgul @ May 10 2009, 03:12 AM)

limb breaks for knights is approximately maxhealth of opponent/total unreduced damage done by your dsl*2= number of dsl's required to break.
there are other factors also but this will do for you.
Is there a way to create a limbcounter system without having to rely on maxhealth of the opponent?
I'm trying to figure out how you can read Carm's post and be able to ask that question, considering that his explanation included the fact that max health is one of the two factors needed to determine the number of hits to break a given person's limbs.
On the side of being brief without being insulting, I'll answer your question: No.
Jonathin
May 11 2009, 01:28 PM
Unless you just wail away at an opponent until you get a break, no.
Synbios
May 13 2009, 07:21 AM
QUOTE (Trey Adwimar @ May 11 2009, 05:37 PM)

I'm trying to figure out how you can read Carm's post and be able to ask that question, considering that his explanation included the fact that max health is one of the two factors needed to determine the number of hits to break a given person's limbs.
On the side of being brief without being insulting, I'll answer your question: No.
Thanks. I just needed further clarification about that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.