aliens

Author Topic: Show custom damage in Ufopaedia entry?  (Read 950 times)

Offline dbarizo

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Show custom damage in Ufopaedia entry?
« on: October 23, 2023, 03:30:35 am »
Hello everybody!
I've been playing X-Com since 1994, and fooling around with mods for a few years now.
Right now, I'm working on a Laser Sniper Rifle, and for the damage, I'm using damageBonus.
    power: 25
    damageBonus:
      firing: 0.6
The idea is that a trooper with low firing accuracy will not do much damage, but one with high accuracy can do a very good deal of damage.
This will show the weapon as having a damage of 25 in Ufopaedia, which can be quite confusing.
So I'm using hidePower to keep it from showing any damage, and writing an explanation of the damage model in the text entry.
Is there a way to show a custom value in the Damage section, let's say "50-100"?

Thanks in advance!