Having trouble getting custom room interior to show

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
wazanator
Posts: 2
Joined: Mon Jan 07, 2013 8:56 pm

Having trouble getting custom room interior to show

Post 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?
thashepherd
Posts: 194
Joined: Fri Nov 16, 2012 11:45 pm

Re: Having trouble getting custom room interior to show

Post 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.
You are the weak, and I am the tyranny of evil men - but I'm trying, I'm trying real hard to be the shepherd.

"Wow, that Kieve guy is one angsty nerd eh."
Sonata - "Best use of Common Lisp in an indie space roguelike!"
User avatar
Kieve
Posts: 944
Joined: Tue Sep 18, 2012 2:21 pm

Re: Having trouble getting custom room interior to show

Post 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.
wazanator
Posts: 2
Joined: Mon Jan 07, 2013 8:56 pm

Re: Having trouble getting custom room interior to show

Post by wazanator »

Turned out to be the 32-bit RGB problem, simple resaving of the files fixed that. Thanks for the help :)
Kiranshah
Posts: 1
Joined: Tue Nov 19, 2013 12:16 pm

Re: Having trouble getting custom room interior to show

Post by Kiranshah »

I suppose it... many thanks.
Post Reply