Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: "no_autofit" tag doesn't seem to work?  (Read 465 times)

Ruddygreat

  • Admiral
  • *****
  • Posts: 524
  • Seals :^)
    • View Profile
"no_autofit" tag doesn't seem to work?
« 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
[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

Jaghaimo

  • Admiral
  • *****
  • Posts: 661
    • View Profile
Re: "no_autofit" tag doesn't seem to work?
« Reply #1 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.
« Last Edit: November 29, 2021, 07:40:33 AM by Jaghaimo »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: "no_autofit" tag doesn't seem to work?
« Reply #2 on: November 29, 2021, 08:23:43 AM »

Thanks for the report - it's working as intended! CBDerelict.java has this:
mission.triggerFleetForceAutofitOnAllShips();

:)
Logged