Author Topic: Calculator bows damage for archers  (Read 6248 times)

0 Members and 1 Guest are viewing this topic.

Offline Urukghash

  • Baron
  • ****
  • Renown: 102
  • Infamy: 1
  • cRPG Player
  • Waaagh
    • View Profile
  • Faction: Druzhina
  • Game nicks: Druzhina_Urughash
Calculator bows damage for archers
« on: April 17, 2012, 05:24:22 pm »
+13
My calculator damage for archers:
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
« Last Edit: April 23, 2012, 08:48:14 am by Urukghash »

Offline Tears of Destiny

  • Naive
  • King
  • **********
  • Renown: 1847
  • Infamy: 870
  • cRPG Player A Gentleman and a Scholar
  • Quiet drifting through shallow waters. 死のび
    • View Profile
    • NADS
  • Faction: Black Company
  • IRC nick: Tears
Re: Calculator bows damage for archers
« Reply #1 on: April 17, 2012, 05:33:34 pm »
+1
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!
« Last Edit: April 17, 2012, 05:42:50 pm by Tears of Destiny »
I'm not normal and I don't pretend so, my approach is pretty much a bomb crescendo.
Death is a fun way to pass the time though, several little bullets moving in staccato.
The terror of my reign will live on in infamy, singing when they die like a dead man's symphony.

Offline PanPan

  • Baron
  • ****
  • Renown: 98
  • Infamy: 70
  • cRPG Player
    • View Profile
Re: Calculator bows damage for archers
« Reply #2 on: April 17, 2012, 05:34:32 pm »
+2
Nice Job!

Offline Mallets

  • Earl
  • ******
  • Renown: 394
  • Infamy: 22
  • cRPG Player
    • View Profile
  • Game nicks: Mallets and his family
Re: Calculator bows damage for archers
« Reply #3 on: April 17, 2012, 05:37:06 pm »
+1
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?

Offline Cup1d

  • Count
  • *****
  • Renown: 167
  • Infamy: 54
  • cRPG Player
    • View Profile
  • Faction: Mercs
Re: Calculator bows damage for archers
« Reply #4 on: April 17, 2012, 05:44:18 pm »
+2
Also you can ask Paul politely about air friction math. So you can make even «distance» slider.

Offline MrShine

  • Ragdoll Basher
  • King
  • **********
  • Renown: 1156
  • Infamy: 193
  • cRPG Player A Gentleman and a Scholar
  • Fear the stache
    • View Profile
  • Game nicks: MrShine
Re: Calculator bows damage for archers
« Reply #5 on: April 17, 2012, 06:06:02 pm »
+1
This thing is excellent.  I LOVE the min-max # of arrows to kill various targets.
Holy crap I have a youtube gaming channel! https://www.youtube.com/user/MrShine12345

Offline Urukghash

  • Baron
  • ****
  • Renown: 102
  • Infamy: 1
  • cRPG Player
  • Waaagh
    • View Profile
  • Faction: Druzhina
  • Game nicks: Druzhina_Urughash
Re: Calculator bows damage for archers
« Reply #6 on: April 17, 2012, 06:16:18 pm »
0
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:

« Last Edit: April 17, 2012, 06:21:03 pm by Urukghash »

Offline Elmokki

  • Count
  • *****
  • Renown: 192
  • Infamy: 18
  • cRPG Player
    • View Profile
  • Faction: United democratic national whatever
  • Game nicks: elmokki_Krokotiili
  • IRC nick: Elmokki
Re: Calculator bows damage for archers
« Reply #7 on: April 17, 2012, 07:48:06 pm »
0
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.
« Last Edit: April 17, 2012, 07:54:52 pm by Elmokki »

Offline Riddaren

  • Duke
  • *******
  • Renown: 601
  • Infamy: 298
  • cRPG Player Sir White Pawn
    • View Profile
  • Faction: Burg Krems
  • Game nicks: Riddaren, Matthaus
Re: Calculator bows damage for archers
« Reply #8 on: April 17, 2012, 08:24:19 pm »
0
Nice work!

Offline Renten

  • Knight
  • ***
  • Renown: 36
  • Infamy: 4
  • cRPG Player
    • View Profile
Re: Calculator bows damage for archers
« Reply #9 on: April 18, 2012, 12:47:53 am »
0
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.

Offline Jarlek

  • King
  • **********
  • Renown: 1173
  • Infamy: 307
  • cRPG Player Sir White Pawn A Gentleman and a Scholar
  • The walking wiki
    • View Profile
  • Game nicks: Jarlek_The_Blue, Jarla, Jarlen, Jarler, Jarlec, Jarled OH GOD ALL THESE ALTS
  • IRC nick: Jarlek
Re: Calculator bows damage for archers
« Reply #10 on: April 18, 2012, 01:03:26 am »
0
Nice!
This game isn't about being skillful as much as its about saying things in general chat that enrage people who then go to murder you but in their rage they make dumb mistakes which gets them killed.
In memory of Jarlek_zeh_Blue, ruler of Ilvia

Offline Urukghash

  • Baron
  • ****
  • Renown: 102
  • Infamy: 1
  • cRPG Player
  • Waaagh
    • View Profile
  • Faction: Druzhina
  • Game nicks: Druzhina_Urughash
Re: Calculator bows damage for archers
« Reply #11 on: April 18, 2012, 05:28:02 am »
0
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

Offline Espu

  • The good
  • Count
  • *****
  • Renown: 261
  • Infamy: 33
  • cRPG Player
    • View Profile
  • IRC nick: Espu
Re: Calculator bows damage for archers
« Reply #12 on: April 18, 2012, 08:34:08 am »
+2
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.

Offline Templar_Steevee

  • Duke
  • *******
  • Renown: 613
  • Infamy: 128
  • cRPG Player
  • Pew-pew for victory!!!
    • View Profile
  • Faction: Templar
  • Game nicks: Templar_Steevee, Templar_catchArabbit, Gangtroll
Re: Calculator bows damage for archers
« Reply #13 on: April 19, 2012, 06:56:44 pm »
0
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
:)
Archer forever :D

Offline Ronin

  • Marshall
  • ********
  • Renown: 859
  • Infamy: 198
  • cRPG Player
    • View Profile
Re: Calculator bows damage for archers
« Reply #14 on: April 19, 2012, 11:33:11 pm »
0
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?
Quote from: BlindGuy
Seems the fascists are gaining ground once again in UKR... right vving politics is SO bad for the general populace but STILL in times of trouble the uneducated turn to them for help, simply because they are so amoral they vvill supply those vvilling to fight vvith vveapons rather than knovvledge.

My UU key is broken incase you can't tell :D