Author Topic: [Missing feature?] Base Defences - Damage range  (Read 14700 times)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9088
    • View Profile
Re: [Missing feature?] Base Defences - Damage range
« Reply #15 on: August 26, 2014, 01:17:51 pm »
Do you mean for craft damage? I don't know about that, but for weapon damage there's the "TFTD damage rules" advanced option that does exactly what you want.

He meant damage in general (all types).

The "TFTD damage rule" does NOT do exactly what he wants. It changes the damage range, but it is still a "single roll", not "double roll"... as illustrated by the code snippets I have posted earlier.

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: [Missing feature?] Base Defences - Damage range
« Reply #16 on: August 26, 2014, 01:39:35 pm »
should be easy enough to change IMHO
but are there any sources for the double dice calculation?
from https://www.ufopaedia.org/index.php?title=Damage
Quote
Random Weapon Range
    This is the random number roll that alters how much damage is to be dealt. For EU firearms, a value between 0% and 200% is rolled, while TFTD weapons and EU explosives will perform a 50% to 150% roll. However in TFTD, damage from all sources has been equalized to 50-150%.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9088
    • View Profile
Re: [Missing feature?] Base Defences - Damage range
« Reply #17 on: August 26, 2014, 05:16:44 pm »
should be easy enough to change IMHO
but are there any sources for the double dice calculation?
from https://www.ufopaedia.org/index.php?title=Damage

I don't know if there are any sources... I don't even know if TFTD is really doing "double roll" or not... I guess RSSwizard should answer this question... i.e. from where he has this information.
(I have only answered that OpenXcom is not doing "double roll" anywhere at the moment)

And yes, it is easy to change... once it is confirmed.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: [Missing feature?] Base Defences - Damage range
« Reply #18 on: August 26, 2014, 05:17:55 pm »
"Double dice" basically means a Gaussian curve; 0-200% damage with a gaussian curve would indeed yield more predictable results... but I'm not sure if that makes for a better gameplay, i like my rnd :) Certainly it is a much better solution that single-dice 50-150%, though. afaik all dice rolls use simple (rnd) function.