aliens

Author Topic: [Solved] Is there possibility to turn on / create hit indicator?  (Read 4844 times)

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Sometimes I'm wondering how big dmg doing my weapon/ shot. Is it possible to code this feature somehow?
« Last Edit: February 11, 2023, 04:51:33 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: Is there possibility to turn on / create hit indicator?
« Reply #1 on: March 07, 2018, 10:38:45 pm »
ctrl+H in oxce+ to show an indication (miss, hit with 0 damage, hit with low damage, hit with high damage)... not showing the exact amount of damage was a conscious decision... but if you would insist, you can do it this way: https://openxcom.org/forum/index.php/topic,3626.msg92721.html#msg92721

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Is there possibility to turn on / create hit indicator?
« Reply #2 on: March 08, 2018, 01:42:09 am »
Like always great answer! 

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: Is there possibility to turn on / create hit indicator?
« Reply #3 on: March 09, 2018, 08:08:30 am »
What's the criteria for the indicator to say the hit did high damage?

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Is there possibility to turn on / create hit indicator?
« Reply #4 on: March 09, 2018, 01:39:35 pm »
What's the criteria for the indicator to say the hit did high damage?

It's in the post Meridian linked above, pretty obvious from a code snippet.

KZad Bhat

  • Guest
Re: Is there possibility to turn on / create hit indicator?
« Reply #5 on: March 09, 2018, 04:45:35 pm »
In other words, looks like if damage is more than 20% of the base health of the target hit, it will show heavy damage. Unless I read things wrong.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: Is there possibility to turn on / create hit indicator?
« Reply #6 on: March 10, 2018, 02:10:28 am »
That's what it looks like to me also.

Thanks.