Sunday, January 9, 2022

Hit Percentage Chance Indicator

I think that having a percentage indicator is better than simply having the deviation circle to measure the chance of hitting a target. When a unit shoots, it will shoot somewhere within the deviation circle. So, by extrapolating the percentage based on the size of both the target's collision circle and the deviation circle, we can get a fairly accurate percentage value for hitting targets. This is done by applying the 'Rule of Tree' math calculation.

As shown on the video, the chance of success for hitting a target is reinforced with color-coding, scripted as follows:

  • Above 80% - Blue.
  • Above 60% - Green.
  • Above 40% - Yellow.
  • Above 20% - Orange.
  • Above or equal to zero - Red.
Take care!

2 comments:

  1. Hello, the game is still under development and will be available on Steam somwhere during this year. Check my twitter @UBadler to stay up to date with Archrebel news.

    ReplyDelete