Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Author Topic: Would there be any way to implement priority targeting for units?  (Read 2709 times)

0 Members and 1 Guest are viewing this topic.

October 11, 2018, 02:06:28 PM

Offline panzerleader

  • Stormtrooper Captain
  • ***
  • Posts: 10
  • Approval: +1/-0
    • View Profile
I know the base game has a bunch of issues that are not because of the mod and you guys can only do so much.  I'd like a way to toggle what types of units a capital ship will target.  I'm tired of them firing aimlessly at fighters when there are capitals that are present to target.  Often you tell a ship to target a ship right in front of it and it goes ok, well i'm gonna spin in a circle first and fire at fighters the whole time and then maybe i'll do what you wanted.  So if there was a button to click for target discrimination that would be awesome. 

October 12, 2018, 07:57:50 PMReply #1

Offline rahulbridge

  • Recruit
  • *
  • Posts: 2
  • Approval: +0/-0
    • View Profile
Re: Would there be any way to implement priority targeting for units?
« Reply #1 on: October 12, 2018, 07:57:50 PM »
You can't change it in-game, but you can in the code.
I am the Senate.

October 16, 2018, 04:45:53 PMReply #2

Offline Arvenski

  • Brevet Admiral
  • ****
  • Posts: 56
  • Approval: +2/-1
    • View Profile
Re: Would there be any way to implement priority targeting for units?
« Reply #2 on: October 16, 2018, 04:45:53 PM »
You can't change it in-game
Thanks, Captain Obvious. :P

I believe Panzerleader was asking the devs if they could add this feature into the mod. I think that's a really cool idea, actually. It is kinda frustrating when, for instance, star destroyers waste their main battery shots by firing at fighters when there's a Mon Cal cruiser sitting right in front of them.

October 23, 2018, 05:30:04 PMReply #3

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,520
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
Re: Would there be any way to implement priority targeting for units?
« Reply #3 on: October 23, 2018, 05:30:04 PM »
It's not possible to implement that
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


January 07, 2019, 12:48:36 AMReply #4

Offline Mord

  • Stormtrooper Captain
  • ***
  • Posts: 23
  • Approval: +3/-0
  • Princess Leia has had enough of your shit.
    • View Profile
Re: Would there be any way to implement priority targeting for units?
« Reply #4 on: January 07, 2019, 12:48:36 AM »
Thread necro...

What if you modify SpaceUnitTargetingPriorities.xml for the desired Priority_Set - in this case "Capital" - to entirely remove Fighters and Bombers? Then the AI will literally never waste shots on craft it can't possibly hit.

Obviously you would not want to modify the "Capital" Priority_Set if there are capital ships with anti-starfighter batteries, but such ships should probably use a different Priority_Set anyway.

 

Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!