OpenXcom Forum

Modding => OpenXcom Extended => OXCE Support => Topic started by: Amiga on March 07, 2018, 10:34:18 pm

Title: [Solved] Is there possibility to turn on / create hit indicator?
Post by: Amiga on March 07, 2018, 10:34:18 pm
Sometimes I'm wondering how big dmg doing my weapon/ shot. Is it possible to code this feature somehow?
Title: Re: Is there possibility to turn on / create hit indicator?
Post by: Meridian 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
Title: Re: Is there possibility to turn on / create hit indicator?
Post by: Amiga on March 08, 2018, 01:42:09 am
Like always great answer! 
Title: Re: Is there possibility to turn on / create hit indicator?
Post by: The Reaver of Darkness on March 09, 2018, 08:08:30 am
What's the criteria for the indicator to say the hit did high damage?
Title: Re: Is there possibility to turn on / create hit indicator?
Post by: ohartenstein23 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.
Title: Re: Is there possibility to turn on / create hit indicator?
Post by: KZad Bhat 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.
Title: Re: Is there possibility to turn on / create hit indicator?
Post by: The Reaver of Darkness on March 10, 2018, 02:10:28 am
That's what it looks like to me also.

Thanks.