Un-crewable rooms

Discuss and distribute tools and methods for modding. Moderator - Grognak
Posts: 183
Joined: Sun Sep 30, 2012 2:24 pm
Location: Cambridge, UK

Un-crewable rooms

Postby alextfish » Mon Oct 29, 2012 11:33 am

Hi all. Does anyone know: Why are some rooms on custom ships uncrewable? Even if you have a crewmember in the room, they'll just stand there not doing anything, and the white "crewed" silhouette won't light up.

I'm getting this behaviour what looks like pretty randomly with my custom ships. So far it seems like:
* Helm is always crewable (thankfully, as we wouldn't be able to jump otherwise!)
* Engines are crewable if the room is size 4 or 1 but not if it's 2x1 or 1x2
* Weapons frequently end up uncrewable no matter what size the room is

I've tried specifying
<weapons ...>
but that doesn't seem to help.

Anyone got any ideas what causes this, and how to fix it?
Posts: 183
Joined: Sun Sep 30, 2012 2:24 pm
Location: Cambridge, UK

Re: Un-crewable rooms

Postby alextfish » Fri Nov 02, 2012 12:54 pm

Finally got this working. It is to do with the <slot><direction>...<number> inside the <engines> tag and similar; perhaps I just got it wrong before.

Some notes, for those who might have difficulty like I did:

The engines room has several available images and corresponding slot requirements. Suitable combinations are:

<engines ... img="room_engines"><slot><direction>down</direction><number>2</number></slot></engines>
<engines ... img="room_engines_2"><slot><direction>down</direction><number>2</number></slot></engines>
<engines ... img="room_engines_4"><slot><direction>down</direction><number>2</number></slot></engines>

2x1 (horizontal):
<engines ... img="room_engines_3"><slot><direction>right</direction><number>1</number></slot></engines>

1x2 (vertical):
<engines ... img="room_engines_5"><slot><direction>up</direction><number>0</number></slot></engines>

You can derive this information for other systems by looking in the img/ship/interior directory, and remembering that slots are counted top-left then along the top row, then along second row etc. So a 4-space room would be
0 1
2 3
But for a two-space vertical room, its slots will be

Who is online

Users browsing this forum: Google [Bot] and 15 guests