Page 1 of 1

[Modding] Naming conventions for room images.

Posted: Mon Oct 01, 2012 11:26 am
by rolfy
It would make mods more compatible with one another if we used some naming conventions.

I frequently need to make new images for room interiors, and I'm sure anyone else who's making their own ships does, too. If two people both call their new image room_oxygen_9.png, and both mods are used at the same time, things could start looking ugly.

Here's what I'm using for room image names: room_[type]_[w][h]_[doors]
where [doors] is a sequence of 1s (a door is okay for this wall section) and 0s (this wall section has equipment on it), starting with the left end of the top wall, and going clockwise until the top end of the left wall.

e.g. If I had named room_engines_4.png from the standard FTL images, I would have called it room_engines_22_10011011.png

This way, if my images get overwritten by another mod, they'll be overwritten by images that look right.

Obsessive? Yeah. But does it sound like a good idea?

Re: [Modding] Naming conventions for room images.

Posted: Mon Oct 01, 2012 2:30 pm
by Mr. Mister
I like this and wouldn't mind the master mod list to link it in the guidelines section.