[Modding] Naming conventions for room images.

Discuss and distribute tools and methods for modding. Moderator - Grognak
Posts: 11
Joined: Mon Oct 01, 2012 4:06 am

[Modding] Naming conventions for room images.

Postby rolfy » Mon Oct 01, 2012 11:26 am

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?
Mr. Mister
Posts: 492
Joined: Sun Sep 23, 2012 8:51 am

Re: [Modding] Naming conventions for room images.

Postby Mr. Mister » Mon Oct 01, 2012 2:30 pm

I like this and wouldn't mind the master mod list to link it in the guidelines section.

Who is online

Users browsing this forum: No registered users and 19 guests