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: Ship sprite invisible in game  (Read 1048 times)

Caradhras

  • Ensign
  • *
  • Posts: 2
    • View Profile
Ship sprite invisible in game
« on: March 18, 2020, 07:50:25 PM »

Hey !

I just created my first mod, it simply adds a new ship in game. Problem, the thing is invisible, in the refit/fleet screen and in battle.
Followed tutorials, did everthing correcly. (I think...)
I can see the weapon mounts "floating" though. And it's perfecly playable. I've tried a ton of things, can't solve the problem.

Maybe someone can help me ?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Ship sprite invisible in game
« Reply #1 on: March 18, 2020, 09:04:43 PM »

Hi - is it a 24-bit png? The game can't load 8-bit pngs. I'd suggest maybe trying another known-working sprite (i.e. say one of the vanilla ones, after renaming it) just to check whether the png format is the issue.

Welcome to the forum, btw!
Logged

Caradhras

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Ship sprite invisible in game
« Reply #2 on: March 19, 2020, 12:07:18 PM »

Mmmhh... never thought of that, saved the image in 32-bit, works perfectly now. Thanks for the spot-on and quick answer !
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Ship sprite invisible in game
« Reply #3 on: March 19, 2020, 12:17:05 PM »

Yep, glad to help!
Logged