Author Topic: Interceptor attack mode  (Read 676 times)

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 466
    • View Profile
Interceptor attack mode
« on: December 27, 2023, 11:59:27 pm »
I was thinking what to make of interceptor attack mode. Cautious attack makes sense only when it is outside of UFO range. With aggressive retaliation it does not work anymore. Aggressive attack also does not provide any benefit by itself. I am not counting the shooting rate as this is controlled by mod designer and could be anything. Modders can explain their players how shooting rate depends on the attack mode but it is not intuitive why attack mode should at all influence shooting rate at all since it is controlled by the interceptor itself.

My idea is to make hit chance dependent on distance, which is very much intuitive.
This way all attack modes make sense. One can either stay far delivering and receiving less damage or move up close to maximize delivered damage and risk proportionally. Since the specific distance cannot be selected, the difference in precision should not be that big. Say 50% - 150% at extremities.

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 466
    • View Profile
Re: Interceptor attack mode
« Reply #1 on: December 28, 2023, 01:10:46 am »
In the same vein it probably makes sense to redo craft armament accuracy modifier based on UFO size.
As you can see, it is quite small ranging from 0.8 for very small to 1.25 for large and then it skyrocket to 2.0 for a very large one. In conjunction with missile high accuracy it makes it hit 100% accuracy even on large UFO and then no improvement for very large.

I think the simple linear scale of 0.8-0.9-1.0-1.1-1.2 is absolutely sufficient.
« Last Edit: December 28, 2023, 01:57:15 am by Alpha Centauri Bear »

Offline Juku121

  • Commander
  • *****
  • Posts: 1634
  • We're all mad here.
    • View Profile
Re: Interceptor attack mode
« Reply #2 on: December 28, 2023, 01:31:24 am »
I am not counting the shooting rate as this is controlled by mod designer and could be anything. Modders can explain their players how shooting rate depends on the attack mode but it is not intuitive why attack mode should at all influence shooting rate at all since it is controlled by the interceptor itself.
How many mods change firing rates vs attack mode to any significant degree?

And modders do not need to explain anything since this is vanilla behaviour. The 'intuitive' explanation is that aggressive attack reduces the distance and munitions cover a shorter distance faster and more accurately than a longer distance. Doesn't exactly match the in-game mechanics, but it's not too far either.

My idea is to make hit chance dependent on distance, which is very much intuitive.
Not for guided missiles.

This way all attack modes make sense. One can either stay far delivering and receiving less damage or move up close to maximize delivered damage and risk proportionally.
This is efffectively the same tradeoff we have now, just with different fiddly bits. I mean, if it makes you happy, go for it, but I don't see much of a game design benefit here.

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 466
    • View Profile
Re: Interceptor attack mode
« Reply #3 on: December 28, 2023, 02:08:54 am »
First of all, thank you for reply. Everybody needs sanity check from time to time.
Second, I am not saying it is something revolutionary that wasn't implied in some way in vanilla. It was but the implementation is not working too well IMHO.

How many mods change firing rates vs attack mode to any significant degree?

I saw some mods equalizing fire rate for all attack modes. Other than that - not much. That is why I propose not to expose another ruleset but just to modify engine. Because you are right - that is not something people eager to mod one way or another but could be more smooth experience if they use this improvement in the engine.

And modders do not need to explain anything since this is vanilla behaviour. The 'intuitive' explanation is that aggressive attack reduces the distance and munitions cover a shorter distance faster and more accurately than a longer distance. Doesn't exactly match the in-game mechanics, but it's not too far either.

Well, exactly my point. This intuition is not well implemented, though. Fire rate increases as soon as player hits the button. One can get higher rate at farther distance. That is a known exploit: interchange aggressive and normal attacks keeping distance around the reach of your weapon, not getting too close but the average fire rate is higher than of just normal attack.

Not for guided missiles.

I don't plan to make it realistic. Just more interesting to play.

Why these "guided" missiles have less than 100% accuracy? What makes them miss? If not distance then what? Never mind, just side question. 😉

This is efffectively the same tradeoff we have now, just with different fiddly bits. I mean, if it makes you happy, go for it, but I don't see much of a game design benefit here.

About correct. Same expected mechanics but implemented in more concise manner to avoid exploits and make it more coherent.

Offline Abyss

  • Colonel
  • ****
  • Posts: 327
    • View Profile
Re: Interceptor attack mode
« Reply #4 on: December 28, 2023, 08:43:00 am »
Why these "guided" missiles have less than 100% accuracy? What makes them miss? If not distance then what? Never mind, just side question. 😉
Roleplay of evasion maneuvers.

Offline Xilmi

  • Moderator
  • Commander
  • ***
  • Posts: 605
    • View Profile
Re: Interceptor attack mode
« Reply #5 on: December 29, 2023, 12:02:26 am »
I think you are mixing up "Aggressive retaliation" and "Enhanced dogfight-behavior".

When you have faster craft, the buttons do work as intended again. They only don't work because the UFO is faster and doesn't let you keep distance.

I wouldn't put too much effort into this minigame. I originally intended to implement some AI for the UFOs in air-combat, where an algorithm would control whether they retreat or engage. I actually had already implemented that but it made air-combat completely pointless as the weaker UFOs would always just run and all you could do was to tail them.

So I went for the compromise that is the current implementation of "Enhanced dogfight-behavior".

I'd say this part of the game is not important enough to make it overly convoluted with even more additional options.