Fractal Softworks Forum

Starsector => Bug Reports & Support => Topic started by: Ruddygreat on November 29, 2021, 07:26:32 AM

Title: "no_autofit" tag doesn't seem to work?
Post by: Ruddygreat on November 29, 2021, 07:26:32 AM
I've recently been fighting a bunch of guardians in derelict drone bounty fleets & they all get random loadouts, ignoring the no_autofit tag (or is this intentional?)

(example image in spoiler, it has 2 guardians w/ random loadouts in it)
Spoiler
(https://cdn.discordapp.com/attachments/512356777451323393/910160048368517210/screenshot1087.png)
[close]

And I'm asking wether this is intentional or not because the cryosleeper guardians always have the same loadout, it seems wierd that "no_autofit" only applies in some situations
Title: Re: "no_autofit" tag doesn't seem to work?
Post by: Jaghaimo on November 29, 2021, 07:38:39 AM
I think you need to set `goalVariant: true` in your variant file.

Also having:
Code
  "replace":["data/variants/derelict_you_are_replacing.variant",
in your mod_info.json might be needed.
Title: Re: "no_autofit" tag doesn't seem to work?
Post by: Alex on November 29, 2021, 08:23:43 AM
Thanks for the report - it's working as intended! CBDerelict.java has this:
mission.triggerFleetForceAutofitOnAllShips();

:)