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: Is there a way to force the game to focus the ship portrait on one module?  (Read 4051 times)

Ed

  • Captain
  • ****
  • Posts: 442
    • View Profile

I have a problem with my longboi where the game try to show all modules, but it ends up with the portrait looking horrible instead, is there a way to force the game to focus the portrait on the central module only?

Logged
Check out my ships

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #1 on: September 18, 2020, 09:33:26 AM »

Ah, unfortunately there isn't. At least, not that I can think of. Sorry!
Logged

Ed

  • Captain
  • ****
  • Posts: 442
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #2 on: September 18, 2020, 10:09:16 AM »

Ah, unfortunately there isn't. At least, not that I can think of. Sorry!
Could you add a tag in the ship_data to make sure the portrait focus on the main module next update pretty please? :)
Logged
Check out my ships

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #3 on: September 18, 2020, 11:36:56 AM »

I'm not actually sure exactly what you mean - what would you like it to look like? What's the main module in this case?
Logged

Ed

  • Captain
  • ****
  • Posts: 442
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #4 on: September 18, 2020, 02:13:10 PM »

I'm not actually sure exactly what you mean - what would you like it to look like? What's the main module in this case?
I think either of those could work, a tag on the module you want to focus or it could be in the main module .ship file
Logged
Check out my ships

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #5 on: September 18, 2020, 02:17:22 PM »

Ah, I'm sorry - I meant "look like" in terms of in-game, not implementation-wise. Like, I don't even know what the "main" module for the ship in question is, let alone what you'd like it to look like in either of those two screens/what the problems are.
Logged

Jaghaimo

  • Admiral
  • *****
  • Posts: 661
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #6 on: September 18, 2020, 02:35:40 PM »

Would it help if some viewports had defined aspect ratio and scale / zoom image accordingly?
In this case the viewport seems to have a defined aspect ratio (it's a square in which we view the ship, and it does not change if ship is wide or narrow) but does not scale down the sprite inside (thus it overflows).

Another example is the intel icon - this one scales whatever you give it (height wise, so it doesn't overshoot) but does not have viewports aspect ratio (you'd want an icon to be a square so it aligns nicely - it will maintain aspect ratio of the sprite used instead).
Logged

Ed

  • Captain
  • ****
  • Posts: 442
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #7 on: September 18, 2020, 03:46:28 PM »

More like this maybe?

Logged
Check out my ships

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #8 on: September 20, 2020, 12:46:36 PM »

Added DO_NOT_SHOW_MODULES_IN_FLEET_LIST ship hint!
Logged

Ed

  • Captain
  • ****
  • Posts: 442
    • View Profile
Re: Is there a way to force the game to focus the ship portrait on one module?
« Reply #9 on: September 20, 2020, 02:34:27 PM »

Added DO_NOT_SHOW_MODULES_IN_FLEET_LIST ship hint!
love you dude
Logged
Check out my ships