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); In-development patch notes for Starsector 0.98a (2/8/25)

Author Topic: Converted Hangar  (Read 2577 times)

Astraltor

  • Ensign
  • *
  • Posts: 36
    • View Profile
Converted Hangar
« on: July 18, 2019, 11:01:00 PM »

Assault Fighters (ASSAULT_COST_MOD) do not get their OP cost penalized by Converted Hangars.

Results in regular OP costs for "Assault Fighters".

Expected is that Assault Fighter wings are affected by Converted Hangar OP penalty.

Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 25143
    • View Profile
Re: Converted Hangar
« Reply #1 on: July 19, 2019, 07:46:08 AM »

The "ASSAULT" type is no longer supported; "FIGHTER" should be used instead. It doesn't do anything coherent anyway, just a very few random bits of behavior left over from when it was supported.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: Converted Hangar
« Reply #2 on: July 19, 2019, 08:20:24 AM »

Ah!  Thanks for documenting that; I had some legacy support for ASSAULT in my AI, too.
Logged
Please check out my SS projects :)
Xeno's Mod Pack

AxleMC131

  • Admiral
  • *****
  • Posts: 1722
  • Amateur World-Builder
    • View Profile
Re: Converted Hangar
« Reply #3 on: July 19, 2019, 02:32:17 PM »

Darn, I was hoping ASSAULT would end up getting a new lease of life at some point. :D Ah well, this is good to know. Will we see the AI type enum constant and codex tab getting removed entirely at some point?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 25143
    • View Profile
Re: Converted Hangar
« Reply #4 on: July 19, 2019, 02:56:28 PM »

Maybe? I've not done that because 1) backwards compatibility and 2) slight pain to clean out of the code. But if it's causing confusion then it might be worth doing.

(Edit: and, honestly, the biggest reason is "3) hadn't even thought about it" :))
Logged

Morrokain

  • Admiral
  • *****
  • Posts: 2143
  • Megalith Dreadnought - Archean Order
    • View Profile
Re: Converted Hangar
« Reply #5 on: July 19, 2019, 03:57:52 PM »

The "ASSAULT" type is no longer supported; "FIGHTER" should be used instead. It doesn't do anything coherent anyway, just a very few random bits of behavior left over from when it was supported.

Oh wow didn't know that either!  :D

Making a note to remove that from my wings now
Logged

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Re: Converted Hangar
« Reply #6 on: July 19, 2019, 06:19:37 PM »

I wouldn't mind seeing it recycled; personally, I'd love to have an AI that circles the target while firing until the fighter runs out of ammo; that would make AC-130 style gunships viable as an alternative to bombers.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: Converted Hangar
« Reply #7 on: July 24, 2019, 10:15:27 AM »

I like that idea.  It'd be really interesting to build the steering code for that, too, heh.
Logged
Please check out my SS projects :)
Xeno's Mod Pack