cRPG

cRPG => Beginner's Help and Guides => Topic started by: Urukghash on April 17, 2012, 05:24:22 pm

Title: Calculator bows damage for archers
Post by: Urukghash on April 17, 2012, 05:24:22 pm
My calculator damage for archers:
http://alpha-lider19.ru/MB/ (http://alpha-lider19.ru/MB/)
visitors can't see pics , please register or login


formulas:
(click to show/hide)

Use it and kill them all, my dear archers
PS: Waaaarrgggghhhh  :D

Changed the calculation of the damage:
(click to show/hide)


Now you can also differentiate amongst your target's headarmor.
April 23, 2012
Title: Re: Calculator bows damage for archers
Post by: Tears of Destiny on April 17, 2012, 05:33:34 pm
This certainly looks very sexy!
Does it also support heirlooms, or just standard models?

Either way,
very good job on making the UI very friendly!
Title: Re: Calculator bows damage for archers
Post by: PanPan on April 17, 2012, 05:34:32 pm
Nice Job!
Title: Re: Calculator bows damage for archers
Post by: Mallets on April 17, 2012, 05:37:06 pm
This certainly looks very sexy!
Does it also support heirlooms, or just standard models?

The circles under the items are for Heirlooms.  Click on them for each rank of Heirloom.

And yes... very well done indeed!!!


Oh, and there's 2 sets of damage numbers... what's that, your lowest & highest possible damage?
Title: Re: Calculator bows damage for archers
Post by: Cup1d on April 17, 2012, 05:44:18 pm
Also you can ask Paul politely about air friction math. So you can make even «distance» slider.
Title: Re: Calculator bows damage for archers
Post by: MrShine on April 17, 2012, 06:06:02 pm
This thing is excellent.  I LOVE the min-max # of arrows to kill various targets.
Title: Re: Calculator bows damage for archers
Post by: Urukghash on April 17, 2012, 06:16:18 pm
Does it also support heirlooms, or just standard models?
Yes support heirlooms, click on a white circle, and enjoy;)
Thank you for your kind words.  :oops:

Oh, and there's 2 sets of damage numbers... what's that, your lowest & highest possible damage?
Yes is it it.

Also you can ask Paul politely about air friction math. So you can make even «distance» slider.
Yes, it would be super.
If I've got this formula, then of course I can implement. This is not a problem.
But my English is not enough for me to ask politely.
Sorry
:oops:

Title: Re: Calculator bows damage for archers
Post by: Elmokki on April 17, 2012, 07:48:06 pm
Looking good. I might blatantly copy the hits to kill something calculation to the other calculator too.

Regarding mathematics, the calculator pack ones should be the correct ones, source being cmp:
http://forum.c-rpg.net/index.php/topic,23344.msg341355.html#msg341355

Reduction is actually pretty complicated:

var randomized_soak = (soakrandom * 0.55 + 0.45) * soak;
var randomized_damage = (damagerandom * 0.1 + 0.9) * basedamage;
var soaked_damage = Math.max(randomized_damage - randomized_soak, 0);

var randomized_reduction = Math.exp((soakrandom * 0.55 + 0.45) * reduction * 0.014);
var reduced_damage = (1 - 1 / randomized_reduction) * soaked_damage;

var damage_difference = Math.round(reduced_damage + randomized_soak);
return randomized_damage - damage_difference;

soakrandom, damagerandom are 0 to 1, 1 being best for damage for damagerandom and 0 being best for damage for soakrandom.

Math.exp is Euler's number or whatever, ie what calculators and stuff mark as e^(whatever), mentioning this since in Finnish that one is "neper's number" which made it a bit confusing for me at first.

Though I'm not 100% sure if wpf reduction from armor affects damage.
Title: Re: Calculator bows damage for archers
Post by: Riddaren on April 17, 2012, 08:24:19 pm
Nice work!
Title: Re: Calculator bows damage for archers
Post by: Renten on April 18, 2012, 12:47:53 am
Decided to see at what amount of armor is a tartar arrow better than bodkin. Evens out at around 14 armor. Either bodkins are clearly the only choice for archers or the calculations(both the original and calculator pack) are off.
Title: Re: Calculator bows damage for archers
Post by: Jarlek on April 18, 2012, 01:03:26 am
Nice!
Title: Re: Calculator bows damage for archers
Post by: Urukghash on April 18, 2012, 05:28:02 am
Looking good. I might blatantly copy the hits to kill something calculation to the other calculator too.

Regarding mathematics, the calculator pack ones should be the correct ones, source being cmp:
http://forum.c-rpg.net/index.php/topic,23344.msg341355.html#msg341355
Changed the calculation of the damage.
Made by the formula (http://forum.c-rpg.net/index.php/topic,23344.msg341355.html#msg341355):
={(ran.*0.1 + 0.9)*RD} - round[ {(1.0 - 1.0 / exp((ran.*0.55 + 0.45)*RF*0.014))*((ran.*0.1 + 0.9)*RD - (ran.* 0.55 + 0.45)*SF)} + {(ran.*0.55 + 0.45)*SF}]

Thenks
Title: Re: Calculator bows damage for archers
Post by: Espu on April 18, 2012, 08:34:08 am
Very cool, I love the armor value slider that displays the actual armor that matches the value.

If you can and want to, you could make it a jQuery module like the stuff my calc uses. I could then give you contributor access to the calculator repository so you could update it there. It would then make it it's way to the production calculator site. Unless you prefer having your own calculator of course.
Title: Re: Calculator bows damage for archers
Post by: Templar_Steevee on April 19, 2012, 06:56:44 pm
Great job :)
I think it will be very helpfull for new players.

I can suggest one more thing:
Can you add option "dmg in rainy weather"?

it would be great if you make that
:)
Title: Re: Calculator bows damage for archers
Post by: Ronin on April 19, 2012, 11:33:11 pm
This deserves to be stickied!

Although not really necessary, but I think I do have some suggestions. There is headshot or chestshot, but no footshot. It would be tremendous if you add them as well.

Also, I see there is a box that enables us to use calculator pack mathematics. What is calculator pack? When I use it, it increases damage somewhat but I couldn't understand why?
Title: Re: Calculator bows damage for archers
Post by: Bulzur on April 20, 2012, 12:08:23 am
Very nice. The armor showing is also a good help.
Title: Re: Calculator bows damage for archers
Post by: Urukghash on April 20, 2012, 11:29:36 am
Very cool, I love the armor value slider that displays the actual armor that matches the value.

If you can and want to, you could make it a jQuery module like the stuff my calc uses. I could then give you contributor access to the calculator repository so you could update it there. It would then make it it's way to the production calculator site. Unless you prefer having your own calculator of course.
Why not? I do not mind. But I've never worked with the repositories, I have to learn how to do it.  :oops:

Great job :)
I think it will be very helpfull for new players.

I can suggest one more thing:
Can you add option "dmg in rainy weather"?

it would be great if you make that
:)
Thank you.
And the truth is an interesting idea, though at the moment I do not know the formula. How do I know it, I'll try to implement it.

Although not really necessary, but I think I do have some suggestions. There is headshot or chestshot, but no footshot. It would be tremendous if you add them as well.
I try to do it, but later.

Also, I see there is a box that enables us to use calculator pack mathematics. What is calculator pack? When I use it, it increases damage somewhat but I couldn't understand why?
This is just another way of calculating damages.  :wink:
Title: Re: Calculator bows damage for archers
Post by: Ronin on April 20, 2012, 02:59:11 pm
I did not get what use it has :?
Title: Re: Calculator bows damage for archers
Post by: MrShine on April 20, 2012, 03:09:18 pm
I did not get what use it has :?

It helps you get an idea of how much damage you are going to deal with your build to what types of enemy.  In particular just the easy min/max # of hits against different armor and hp values is huge.

Perhaps most importantly, it helps clean up all the bullshit about archery by putting some rough numbers into the equation.
Title: Re: Calculator bows damage for archers
Post by: Ronin on April 20, 2012, 03:28:02 pm
It helps you get an idea of how much damage you are going to deal with your build to what types of enemy.  In particular just the easy min/max # of hits against different armor and hp values is huge.

Perhaps most importantly, it helps clean up all the bullshit about archery by putting some rough numbers into the equation.
Oh no no I did not mean the whole calculator. I actually find the calculator very very very useful.
The only thing I did not get is, what use that "Calculator Pack mathematics" have? Urukghash said it is an another way of calculating the damage, but I did not get why we need two ways to calculate the damage.
Title: Re: Calculator bows damage for archers
Post by: Espu on April 20, 2012, 06:57:46 pm
My understanding is that "calculator pack damage" references to my calc and the formulas it uses. Urukghash has a better way but optionally allows the other way too.
Title: Re: Calculator bows damage for archers
Post by: Ronin on April 21, 2012, 08:23:58 am
My understanding is that "calculator pack damage" references to my calc and the formulas it uses. Urukghash has a better way but optionally allows the other way too.
Oh ok. That is something nice.
Title: Re: Calculator bows damage for archers
Post by: Urukghash on April 23, 2012, 08:49:16 am
Now you can also differentiate amongst your target's headarmor.  :wink:
Title: Re: Calculator bows damage for archers
Post by: Cup1d on April 23, 2012, 09:32:44 am
You can make this calculator twice as good with possibility to choose loomed armors\helmets. All infantry will use your calculator to min\maxing best antiranged gear.
______________________________________

Если добавишь возможность выбирать лумленое снаряжение для цели - сделаешь доброе дело и для пехоты тоже.
Title: Re: Calculator bows damage for archers
Post by: Ronin on April 23, 2012, 09:48:27 am
You can make this calculator twice as good with possibility to choose loomed armors\helmets. All infantry will use your calculator to min\maxing best antiranged gear.
This is too much work, and not needed in my opinion. You can just increase the armor bars by 3 and see how it will work.