Page 1 of 1

Having trouble getting custom room interior to show

Posted: Mon Jan 07, 2013 9:22 pm
by wazanator
Was working on a ship and couldn't find a medbay that fit the design I went with so I made one (35x70), saved it in img/ship/interior, named it room_medbay_99 and changed the code to

Code: Select all

img="room_medbay_99"
but the darn thing won't show up in game. Did I do something wrong or leave something out?

Re: Having trouble getting custom room interior to show

Posted: Mon Jan 07, 2013 9:38 pm
by thashepherd
Kieve/alextfish?

The answer is going to be something completely basic, I can almost guarantee it lol. I attempted to do almost exactly what you are and had issues as well; I suspect they know something we don't since they've both gotten it to work.

Re: Having trouble getting custom room interior to show

Posted: Mon Jan 07, 2013 10:15 pm
by Kieve
Wazanator, pack up the modified blueprint and your room sprite in a .ZIP and add it as an attachment to your OP. I'll have a look at it when I get home from work, unless someone's already figured it out.

Off the top of my head, I can only think of two things, one of them very silly.
-Did you save the PNG correctly, in full 32-bit RGB? I remember one of the Sonata guns having a similar issue where it was simply a low-format (8-bit?) PNG, and the game didn't display it.
-When you made your changes to the blueprints, did you remember to re-pack both data.dat and resource.dat?
->As a corollary, if your method of making / applying the changes was to pack up your stuff as a mod-ready .FTL and run it through GMM, it's possible something just got misplaced.
(ships\interor\room_medbay_99.png |vs| ships\interiors\"everything else")

Hopefully it's one of the above, and easily fixed. If not, just pack up your stuff and as I said I'll take a look when I get back from work.

Re: Having trouble getting custom room interior to show

Posted: Tue Jan 08, 2013 12:47 am
by wazanator
Turned out to be the 32-bit RGB problem, simple resaving of the files fixed that. Thanks for the help :)

Re: Having trouble getting custom room interior to show

Posted: Tue Nov 19, 2013 12:18 pm
by Kiranshah
I suppose it... many thanks.