[MOD] Improved turret modes

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

[MOD] Improved turret modes

Post by iforgotmysocks » Tue, 24. Dec 19, 18:39

This mod adds and improves target selection logic of turret modes for npc ships and the playership and fixes an issue that leads npc ships with selected turret groups to prioritize other targets, ignoring their turret settings.

For more details please read up on Nexus:
https://www.nexusmods.com/x4foundations/mods/379

Max Bain
Posts: 1463
Joined: Wed, 27. Jun 18, 19:05
x3ap

Re: [MOD] Improved turret modes

Post by Max Bain » Tue, 24. Dec 19, 23:46

Something likethis must be in the vanilla game!

Excellent that you could mod this in. Will try it out.

Thank you!
XR Ship Pack (adds several ships from XR) Link
Weapon Pack (adds several new weapons) Link
Economy Overhaul (expands the X4 economy with many new buildings) Link
X4 Editor (view stats of objects and make your own mod within a few clicks) Link

iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Re: [MOD] Improved turret modes

Post by iforgotmysocks » Sat, 25. Jan 20, 14:52

Update for B5 is out.

Max Bain
Posts: 1463
Joined: Wed, 27. Jun 18, 19:05
x3ap

Re: [MOD] Improved turret modes

Post by Max Bain » Sun, 26. Jan 20, 19:02

Hi,

I have had a look into the script :). Is it right, that the "Attack fighters" mode does also attack capitals and stations if no fighters are in range? If yes, thats good. Wanted to ask for such a mode.

For the "Missile Defense" mode I would love to see this also. If no missiles or fighters are in range, I want them to attack the big ships/stations. I also want missile defense mode always target missiles first. I think your script will handle missiles and fighters equally prioritized.

Also in your scripts the variable is called "incomingmissiles". Does this mean that it will only target incoming missiles or all enemy missiles nearby? Because this could be useful also. So you can make some missile defense ships that defend allied ships from missiles.

Thanks for the mod :)
XR Ship Pack (adds several ships from XR) Link
Weapon Pack (adds several new weapons) Link
Economy Overhaul (expands the X4 economy with many new buildings) Link
X4 Editor (view stats of objects and make your own mod within a few clicks) Link

Alkeena
Posts: 603
Joined: Tue, 15. May 07, 20:43
x4

Re: [MOD] Improved turret modes

Post by Alkeena » Wed, 24. Mar 21, 15:25

Hey, does anyone have a copy of this floating around that I could take a look at? It's been hidden for a roughly a year and I'd like to try and improve turret target selection a bit. Even if it's based on an old version of X I think it would still be helpful to take a look at...

Post Reply

Return to “X4: Foundations - Scripts and Modding”