[MOD] Improved turret modes

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

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

Post Reply
iforgotmysocks
Posts: 1188
Joined: Fri, 8. Nov 13, 23:35
x4

[MOD] Improved turret modes

Post by iforgotmysocks » Tue, 24. Dec 19, 19: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: 520
Joined: Wed, 27. Jun 18, 19:05
x3ap

Re: [MOD] Improved turret modes

Post by Max Bain » Wed, 25. Dec 19, 00:46

Something likethis must be in the vanilla game!

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

Thank you!
X4 Editor (view stats of objects and make your own mod within a few clicks) viewtopic.php?f=181&t=421306
XR Ship Pack (adds several ships from XR) viewtopic.php?f=181&t=419641
Weapon Pack (adds several new weapons) viewtopic.php?f=181&t=421266

iforgotmysocks
Posts: 1188
Joined: Fri, 8. Nov 13, 23:35
x4

Re: [MOD] Improved turret modes

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

Update for B5 is out.

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

Re: [MOD] Improved turret modes

Post by Max Bain » Sun, 26. Jan 20, 20: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 :)
X4 Editor (view stats of objects and make your own mod within a few clicks) viewtopic.php?f=181&t=421306
XR Ship Pack (adds several ships from XR) viewtopic.php?f=181&t=419641
Weapon Pack (adds several new weapons) viewtopic.php?f=181&t=421266

Post Reply

Return to “X4: Foundations - Scripts and Modding”