Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Crew slot numbers by compartment

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
August



Joined: 16 Apr 2005
Posts: 1296
Location: Rhode Island

PostPosted: Sun Apr 17, 2005 11:54 pm    Post subject: Crew slot numbers by compartment Reply with quote

Hello all,

By way of introducing myself to this forum i'll share some research i've been doing which may be of some use to modders.

I've found that crew numbers in the crew config cfg file are associated to specific compartment slots NOT necessarily the crewman who occupies it, which explains the duplicate names found in that cfg file.

Apparently the game will add a crewmans info to the slot if he is moved there during the game (also possibly just by moving them around in the barracks screen before the mission but i'm not sure about that yet). For those wishing to modify a crewmans specs, you have to edit the slot he is occupying when you exit/save the game.

This is the file i'm talking about:
C:\Documents and Settings\Your Machine Name\My Documents\SH3\data\cfg\Careers\Your Career name\0\crew_config_your game save name.cfg

----------------------------------------

VIIB Known crew slots by compartment

All slots listed from left to right and top to bottom in the compartment. That'll make the officers slot first on those compartments that have one.

Conning Tower Bridge
00 13 14 15 16

Flak gun
20

Deck gun
17 18 19

Control room
02 03 04 30 31 32

Sonar/Radio
28 29

Bow Torpedo room
07 53 54 55 56
57 58 59 60 51
62 63 64 65 66

Bow Quarters
08 67 68 69 70 71 72
73 74 75 76 77 78 79
80 81 82

Stern Quarters
09 83 84 85
86 87 88 89 90

Diesel Engine compartment
05 33 34 35
36 37 38 39 40

Electric engine compartment
06 43 44 45
46 47 48 49 50

Aft Torpedo room
10 99 100 101
102 103 104

Damage Control
11 107 108 109 110 111
112 113 114 115 116


Last edited by August on Sat Apr 23, 2005 2:43 pm; edited 3 times in total
Back to top
View user's profile Send private message
August



Joined: 16 Apr 2005
Posts: 1296
Location: Rhode Island

PostPosted: Wed Apr 20, 2005 3:28 pm    Post subject: Reply with quote

Edit update:

Bow compartment numbers added
Corrected bridge location
Added 1st crewman slot in aft torpedo room
Back to top
View user's profile Send private message
Sixpack



Joined: 22 Nov 2002
Posts: 1429
Location: Friggin' Holland

PostPosted: Thu Apr 21, 2005 4:44 am    Post subject: Reply with quote

I hope your smart work will pay off somehow someday Thumbs Up
Back to top
View user's profile Send private message
joea



Joined: 07 Jul 2002
Posts: 1534
Location: Canada now in Geneva

PostPosted: Thu Apr 21, 2005 6:33 am    Post subject: Reply with quote

Hi August, glad you found the forum. Neutral\
Back to top
View user's profile Send private message Send e-mail MSN Messenger
rogerbo



Joined: 31 Mar 2005
Posts: 245
Location: Swiss Navy

PostPosted: Thu Apr 21, 2005 8:01 am    Post subject: Reply with quote

August, if the numbers are set up in the logical way then

Conning Tower Bridge
00 13 14 15 16

where the 00 should be the Off position as you can have a max of 4 Crew members plus the Officer in the tower

The same is also valide for the
Control room
02 03 04
30 31 32

02 - 03 Officers 30 - 32 Crew

the Boat does have a total of 9 possible Officer positions

so your XX's should be the missing ones from 00 - 09

As you took the file from your Saved Game folder then your nummers below do show the exact position off your crew at that moment. So if you want to find the missing number move them around to fill out all the xx spots and you have the missing numbers
Back to top
View user's profile Send private message
August



Joined: 16 Apr 2005
Posts: 1296
Location: Rhode Island

PostPosted: Thu Apr 21, 2005 10:55 am    Post subject: Reply with quote

I'm nearly done with the V11B and should have it posted here tonight sometime.
Back to top
View user's profile Send private message
August



Joined: 16 Apr 2005
Posts: 1296
Location: Rhode Island

PostPosted: Thu Apr 21, 2005 11:00 am    Post subject: Reply with quote

rogerbo wrote:
As you took the file from your Saved Game folder then your nummers below do show the exact position off your crew at that moment. So if you want to find the missing number move them around to fill out all the xx spots and you have the missing numbers


That's how i've been doing it. What confused me initially and made me start this project was that vacated slots aren't cleared of their information. This leads to finding a crewman apparently occupying several slots when you look at the config file.
Back to top
View user's profile Send private message
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Thu Apr 21, 2005 11:02 am    Post subject: Reply with quote

Have you found a way to alter the minimum number of men needed in a certain compratment ? Ie. for the engines 2-3 men are enough, yet especially at the beginning of a campaign you've to compensate their ineptitude with sheer number, which is totally absurd.
Back to top
View user's profile Send private message
rogerbo



Joined: 31 Mar 2005
Posts: 245
Location: Swiss Navy

PostPosted: Fri Apr 22, 2005 3:57 am    Post subject: Reply with quote

August if you do check the crew cfg files in the career folder then you'll see thet you do have some dummy crew members in there, so my guess is that the gery ones do correspond to the dummy entrys.
Back to top
View user's profile Send private message
uly



Joined: 12 Apr 2005
Posts: 27

PostPosted: Fri Apr 22, 2005 7:02 am    Post subject: Reply with quote

Crew and compartments are determined by two values. First, there is the CREW_MEMBER_#, each coresponding to a slot in the crew screen, and second, the NrComp trait that specify which compartment the crew is in. If the two values don't match, then the crew may not show up.

NrComp values:
-1=crew not present
0=watch tower
1=sonar/radio
2=command room
3=diesel engines
4=electric engines
5=bow torpedo
6=bow quarters
7=stern quarters
8=stern torpedo
9=deck gun
10=flak gun
11=damage control

CREW_MEMBER_# slots:
#0-12 are officers:
0=watch tower
1=sonar/radio (invalid since there's no space for officer in this room)
2-4=command room (CE, NO, WO)
5=diesel engines
6=electric engines
7=bow torpedo
8=bow quarters
9=stern quarters
10=stern torpedo
11=damage control
12=invalid

13~ watch tower
17~ flak gun
20~ deck gun
28~ sonar & radio, in that order
30~ command room
33~ diesel engines
43~ electric engines
53~ bow torpedo
67~ bow quarters
83~ stern quarters
99~ stern torpedo
107~ damage control

The slots, as far as I know, are universal across the sub types, keeping in mind, of course, that some boats have fewer slots in a compartment than others.
Back to top
View user's profile Send private message
August



Joined: 16 Apr 2005
Posts: 1296
Location: Rhode Island

PostPosted: Sat Apr 23, 2005 3:11 am    Post subject: Reply with quote

Added the rest of the numbers. The missing ones must belong to larger boats than the ViiB i used.

I haven't changed any of the crew positions as they're all where i want them to be before i exit the game.. My intention was to allow the easier editing of crew member traits like medals and qualifications etc.
Back to top
View user's profile Send private message
August



Joined: 16 Apr 2005
Posts: 1296
Location: Rhode Island

PostPosted: Sat Apr 23, 2005 3:17 am    Post subject: Reply with quote

The NrComp thing is good to know though. As long as its not a -1 and it matches the compartment you left the crewman in it should be easy to locate the right crew slot number to edit.
Back to top
View user's profile Send private message
August



Joined: 16 Apr 2005
Posts: 1296
Location: Rhode Island

PostPosted: Sat Apr 23, 2005 2:45 pm    Post subject: Reply with quote

joea wrote:
Hi August, glad you found the forum. Neutral\


joeap?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group