Any known causes of player ships not doing damage in low attention/OOS? - Improvements in a future build.

This forum is the ideal place for all discussion relating to X4. You will also find additional information from developers here.

Moderator: Moderators for English X Forum

Mackan
Posts: 143
Joined: Thu, 1. Aug 13, 05:59
xr

Any known causes of player ships not doing damage in low attention/OOS? - Improvements in a future build.

Post by Mackan »

OOS/low attention combat is working as normal for NPC faction ships, but pretty much none of my own ships will use their weapons unless I'm actually present. I recall reading about this problem before (where only player ships are affected) so I've been looking for potential fixes but I can't find any threads on it using search. Does anyone know anything about this?

Surface elements at 100%, all turrets armed and all settings tested, weapon groups set up and working in zone, tested different ship classes and ship purposes (combat/trade etc). Target faction or ship type does not matter either, tried both vs stations and vs ships of all sizes. Observed NPC ships with similar or identical loadouts to my ships also have no issues.

The only ship of mine I've observed to actually fight back was a Buffalo. I had a second Buffalo right next to it also under attack, but it did not do anything.

The ships with this issue were built at NPC shipyards and outfitted at NPC equipment docks (potential culprit?).

Playing with mods so a save probably won't be of much help. But I'm unsure what mod I'm using could possibly cause this.

  • Paint Jobs for Sale
  • Fly-by Looting
  • Crew Academies
  • Stations, Ships and Effects Draw Distances
  • X4 Fire and Smoke
  • SirNukes Mod Support APIs
  • Faster Crew Leveling
  • Custom mod with themes.xml and paintmods.xml edits
User avatar
elijahgalador
Posts: 56
Joined: Sat, 2. Mar 13, 12:14
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by elijahgalador »

Mackan wrote: Thu, 23. Apr 20, 08:42 OOS/low attention combat is working as normal for NPC faction ships, but pretty much none of my own ships will use their weapons unless I'm actually present. I recall reading about this problem before (where only player ships are affected) so I've been looking for potential fixes but I can't find any threads on it using search. Does anyone know anything about this?
No solution unfortunately, but I have the exact same problem in an unmodified game.
Reportet it and in the DE tecnical support, providing a save game Would love to see a solution to this as well, since it will break the game at a certain complexity level because you cannot be IS everywhere at once ;)
Mackan
Posts: 143
Joined: Thu, 1. Aug 13, 05:59
xr

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by Mackan »

elijahgalador wrote: Thu, 23. Apr 20, 09:22 Would love to see a solution to this as well, since it will break the game at a certain complexity level because you cannot be IS everywhere at once ;)
Yeah I'm currently doing a no-teleport/no-seta run so seeing an Argon fleet of Behemoths beeline for my stations with nothing but defanged Rattlesnakes to protect them when I'm on the other side of the galaxy is some stress inducing shit. :D
Thanatos00
Posts: 15
Joined: Tue, 2. Feb 10, 18:19
xr

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by Thanatos00 »

I have the same issue in my new game (started with 3.0). My first M combat ships (Gorgons) controlled by the AI are affected by this : OOS they aren't doing any damage at all against Xenon S/M fighters. As soon as I'm entering the sector they begin to combat normally.
I've tried with different weapons/turrets setup (shard, pulse, bolt, plasma...), and with different turrets modes (defend, attack all enemy, etc), but it doesn't make any difference.

I don't have this problem with the S fighters (Eclipses) docked on the Gorgons, they seem to do some damages OOS.
zakaluka
Posts: 598
Joined: Sat, 16. Nov 13, 19:47
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by zakaluka »

I would have trouble finding the specific bug report but there are issues with fleet AI out of sector. If your ships are in fleets, they will usually sit still while taking damage unless you are in sector with them.

But need more detail on the exact way you have your ships set up.
User avatar
elijahgalador
Posts: 56
Joined: Sat, 2. Mar 13, 12:14
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by elijahgalador »

zakaluka wrote: Thu, 23. Apr 20, 13:44 If your ships are in fleets, they will usually sit still while taking damage unless you are in sector with them.
Tried multiple setups in my game, among them fleets and also single ships given the 'protect position' command. Problem stays the same.
bobucles2
Posts: 74
Joined: Fri, 10. Apr 20, 12:53
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by bobucles2 »

Damage values are generally lower for OOS combat, however regeneration values stay the same. S and M ships get hit often enough to not regenerate, while large ships are typically much more durable as a result.
Alm888
Posts: 488
Joined: Sat, 14. Sep 19, 19:38
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by Alm888 »

zakaluka wrote: Thu, 23. Apr 20, 13:44 I would have trouble finding the specific bug report but there are issues with fleet AI out of sector. If your ships are in fleets, they will usually sit still while taking damage unless you are in sector with them.

But need more detail on the exact way you have your ships set up.
No, fleets have nothing to do with this.
My Cobra was "battling" a single Hive Guard for 20 minutes, flying around and wasting shields on boosts but, as soon as I enter the zone that Hive Guard is pulverized in mere seconds.
Mackan
Posts: 143
Joined: Thu, 1. Aug 13, 05:59
xr

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by Mackan »

Yes it's not the fleet bug. Ships can go into "attack mode" OOS just fine, it's just that they won't apply any damage no matter the target or ship setup.

It's not a turret specific bug either, ships with front-mounted weapons have the same issue.

Gonna play around with the combat scripts to see what I can find.
Mackan
Posts: 143
Joined: Thu, 1. Aug 13, 05:59
xr

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by Mackan »

Found something. "$FiringRange" is 0 for my player ships in the combat scripts. It's supposed to be set to this.ship.maxcombatrange.all, which for my Rattlesnake evaluates to 6854.76m, but this doesn't seem to stick.

$FiringRange being 0 means the ship's attack range will be considered 0 by the script. This is a big problem, as attack targets are only assigned in OOS combat if your ship is within attacking range of them. My ships are effectively disarmed.

Why $FiringRange is evaluating to 0 I have no idea. Is it related to building ships with no weapons after all? :gruebel:

For now I'll just hotfix this to reevaluate firing range for player ships whenever they are attacking something OOS.
j.harshaw
EGOSOFT
EGOSOFT
Posts: 2206
Joined: Mon, 23. Nov 15, 18:02

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by j.harshaw »

Mackan wrote: Thu, 23. Apr 20, 18:00 Found something. "$FiringRange" is 0 for my player ships in the combat scripts. It's supposed to be set to this.ship.maxcombatrange.all, which for my Rattlesnake evaluates to 6854.76m, but this doesn't seem to stick.
Working on a fix and wanted to check with you to see if it would cover your case. Would you happen to remember if the affected ships were built or found by you with absolutely no weapons or turrets that you later had weapons and/or turrets added to later?
User avatar
elijahgalador
Posts: 56
Joined: Sat, 2. Mar 13, 12:14
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by elijahgalador »

Yeah, sounds like progress. Thank you! I can almost smell the hotfix. If this is helpful... in my case, I buy the ships without any weapons or turrets and equip later, looking for the best price.
j.harshaw
EGOSOFT
EGOSOFT
Posts: 2206
Joined: Mon, 23. Nov 15, 18:02

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by j.harshaw »

elijahgalador wrote: Thu, 23. Apr 20, 18:58 Yeah, sounds like progress. Thank you! I can almost smell the hotfix. If this is helpful... in my case, I buy the ships without any weapons or turrets and equip later, looking for the best price.
That is helpful. Thanks. Yes, fix should cover your case. Can't promise a hotfix, though.
User avatar
elijahgalador
Posts: 56
Joined: Sat, 2. Mar 13, 12:14
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by elijahgalador »

A fix, is a fix :wink: And they who love X4 have learned to wait patiently. Seriously guys, you are doing a great job with a great game. Much appreciated.
Mackan
Posts: 143
Joined: Thu, 1. Aug 13, 05:59
xr

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by Mackan »

j.harshaw wrote: Thu, 23. Apr 20, 18:52 Working on a fix and wanted to check with you to see if it would cover your case. Would you happen to remember if the affected ships were built or found by you with absolutely no weapons or turrets that you later had weapons and/or turrets added to later?
Yes, most if not all ships I buy are built without any weapons or turrets as the Zyarth shipyards are constantly cleaned out of weapon, shield and turret components in my game. I outfit them at Free Families equipment docks instead.

The Buffalo that had no issues had bolt turrets on it instead of flak, so I suspect I built it fully equipped.

I can't confirm 100% though as I didn't have a testing environment ready to recreate the steps.

EDIT: For anyone using modded saves, I can offer a hotfix: https://drive.google.com/open?id=1PdIxj ... oau3xEfhAT

Don't forget to uninstall it once this is fixed!
j.harshaw
EGOSOFT
EGOSOFT
Posts: 2206
Joined: Mon, 23. Nov 15, 18:02

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by j.harshaw »

Thanks for confirming. Fix on the way.

To be clear, the only case I've identified is where a ship starts out with no weapons and no turrets, then weapons or turrets are later added to them. Will keep an eye on this thread in case any more cases pop up.
User avatar
StoneLegionYT
Posts: 1478
Joined: Fri, 4. Nov 05, 01:18
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by StoneLegionYT »

Anyone having this issue on their Raptors? Every single M is flack and murders them in sector. Second I go out they seem to do nothing at all...
User avatar
StoneLegionYT
Posts: 1478
Joined: Fri, 4. Nov 05, 01:18
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by StoneLegionYT »

j.harshaw wrote: Thu, 23. Apr 20, 19:29 Thanks for confirming. Fix on the way.

To be clear, the only case I've identified is where a ship starts out with no weapons and no turrets, then weapons or turrets are later added to them. Will keep an eye on this thread in case any more cases pop up.
Ohh Just saw this message.... This would make sense as raptors too expensive / not enough parts to fit them so I always get them done at the equipment dock. Same with my rattlesnakes that also seem to have the issue.
Thanatos00
Posts: 15
Joined: Tue, 2. Feb 10, 18:19
xr

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by Thanatos00 »

Mackan wrote: Thu, 23. Apr 20, 19:08 EDIT: For anyone using modded saves, I can offer a hotfix: https://drive.google.com/open?id=1PdIxj ... oau3xEfhAT

Don't forget to uninstall it once this is fixed!
Will try it out. Many thanks ! :)
Edit : it works, tyvm !
j.harshaw wrote: Thu, 23. Apr 20, 19:29 Thanks for confirming. Fix on the way.

To be clear, the only case I've identified is where a ship starts out with no weapons and no turrets, then weapons or turrets are later added to them. Will keep an eye on this thread in case any more cases pop up.
My affected ships are also in this case.
User avatar
StoneLegionYT
Posts: 1478
Joined: Fri, 4. Nov 05, 01:18
x4

Re: Any known causes of player ships not doing damage in low attention/OOS?

Post by StoneLegionYT »

Mackan wrote: Thu, 23. Apr 20, 19:08
j.harshaw wrote: Thu, 23. Apr 20, 18:52 Working on a fix and wanted to check with you to see if it would cover your case. Would you happen to remember if the affected ships were built or found by you with absolutely no weapons or turrets that you later had weapons and/or turrets added to later?
Yes, most if not all ships I buy are built without any weapons or turrets as the Zyarth shipyards are constantly cleaned out of weapon, shield and turret components in my game. I outfit them at Free Families equipment docks instead.

The Buffalo that had no issues had bolt turrets on it instead of flak, so I suspect I built it fully equipped.

I can't confirm 100% though as I didn't have a testing environment ready to recreate the steps.

EDIT: For anyone using modded saves, I can offer a hotfix: https://drive.google.com/open?id=1PdIxj ... oau3xEfhAT

Don't forget to uninstall it once this is fixed!
Is there a method to edit my vanilla save to fix the issue? I want to fix my new Raptors :P

Return to “X4: Foundations”