Look in the Data /Submarine /NSS_SubName.upc(ge) file, and each of the "[UserPlayerUnit 1.Compartment
X.CrewMemberSlot
X] lines hold your crewmember's slots. The "
X" in those are variables, with the Compartments from 1-9 and the CrewMemberSlot from 1-16 or however many there are in the compartment. You might also want to go through the conning tower (turm) files and do similar, but those are numbered differently. Look in the Data /UPCData(GE) /UPCUnitsData /UnitParts#SubName.upc files, with the "#" being the sub number. The crew member there are in several locations, depending upon the conning tower in use as "[UnitPart
X.Compartment
X.CrewMemberSlot
X]", with the "
X" again a variable with there being multiple UnitParts, one for each conning tower or turm, generally the three compartments, which is one for the interior crew, and one for each of the exterior AA guns, and one slot for each crew member the boat carries. Be sure and build yourself a mod for testing, because mistakes can lead to CTDs or strange anomalies...