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: Planet Search Overhaul (07/13/24)

Author Topic: Bizzare ship bounds  (Read 289 times)

Amazigh

  • Captain
  • ****
  • Posts: 296
    • View Profile
Bizzare ship bounds
« on: May 06, 2024, 11:07:54 PM »

Now i'm aware that ship bounds are not required to be perfect and exact, and you can get away with some wacky things and it will be fine in gameplay, but i went through the vanilla ships, and found some... outliers that seemed too weird to be intentional.

"remnant_station_1" (lv1 remnant station core)
Spoiler
[close]
I don't even know what happened here (remnant_station_2 has bounds that actually match the sprite, while this one is ????)


"station1_midline" (lv1 midline station core)
Spoiler
[close]
It's just a rectangle, while station2_midline/station2_midline have a bounds shape that matches the sprite


"station1" / "station2" / "station3" (lowtech station cores)
Spoiler


[close]
First looks about right, but is offset from the correct location on the sprite.
2/3 are... weird.


Dominator:
Spoiler
[close]
Notably asymmetrical rear bounds, on a symmetrical ship.


Heron:
Spoiler
[close]
Circled bounds points could be removed with no impact to the polygon shape.


Honorable mentions go to:
- Falcon/Lasher for having asymmetric (but perfectly functional) bounds, despite symmetric sprites.
- Shepherd/Valkyrie for having rectangles for bounds that i legitimately can't argue with.
Logged

Princess of Evil

  • Admiral
  • *****
  • Posts: 676
  • Balance is not an endpoint, but a direction.
    • View Profile
Re: Bizzare ship bounds
« Reply #1 on: May 07, 2024, 12:36:33 AM »

LT1 is not offset. Rather, lowtech station 1 is the only ship in the game that uses sprite scale, which no visual ship editor supports.
Logged
Proof that you don't need to know any languages to translate, you just need to care.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24789
    • View Profile
Re: Bizzare ship bounds
« Reply #2 on: May 07, 2024, 08:50:45 AM »

Hi - thank you, I appreciate you taking the time!

However :)

remnant_station1 is not actually used anywhere, iirc it was an aborted initial attempt.

station1 - the small lowtech station - is not actually shifted, this appears to be an issue with whatever software you're using to view the bounds.

And the rest of it, in all honesty, is intentional or just seems fine to me. I mean, you're absolutely right that the Heron and the Dominator ones could be cleaned up a bit! But it's also totally fine, and I'm trying not to obsess too much about little things like that with bounds - they're fundamentally inexact, and if I got too precious about it, I'd never stop messing with them!

(... I did touch up the Dominator just now, though :) )
Logged

PureTilt

  • Lieutenant
  • **
  • Posts: 57
    • View Profile
Re: Bizzare ship bounds
« Reply #3 on: May 15, 2024, 09:59:06 PM »

i checked what up with t1 low tech station and found out that its width and height are lower than sprites dimensions 400x400 in ship file 440x400 on sprite, ship editing software assumes ship size same as sprite size so that why its offset like this, so station sprite are squashed in game but since nobody ever noticed its probly fine
« Last Edit: May 16, 2024, 03:37:53 AM by PureTilt »
Logged