View Single Post
Old 06-17-15, 01:39 PM   #169
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

Quote:
Originally Posted by Hitman View Post
...... then it's probably hardcoded and lost in the transition to SH4, as you suggest.

Quote:
Does anyone know how to add boxes/slots in the crew page?
That must be in the menu-ini, which controls what you see in the GUI, including slots in the sub crew management screen. You will have both to create the graphical slot and to tell the game what it is, should easy by just copying the entries of an existing slot. Placing it might be a bit of trial and error, though.

You can compare the RFB menu-ini with the stock one to see where it was added.
If you just want boxes, here is Crew Berthing. For example, to add Crew Berthing to the NARWHAL crew screen, this worked:

\Data\Submarine\NSS_Narwhal\NSS_Narwhal.upc

[UserPlayerUnit 1.Compartment 6] <----- need to insert and change numbers for 7, 8, etc
CompartmentType= 2
StatusActive= No
ID= GatoCrewBerthing <----------------------------- points to valid ID
NameDisplayable= Crew Quarters
Type=NULL
FunctionalType= SensorsRoom
MechanicalCoef= 0 ;0..1
ElectricsCoef= 0 ;0..1
GunsCoef= 0 ;0..1
WatchmanCoef= 0 ;0..1
WatchStandingCoef= 0.048
MaintenanceCoef= 0.0144
RepairsCoef= 0.072
ReloadingweaponCoef= 0.072
SleepCoef= -0.12
LeadersSlots=0
CrewMembersSlots= 10 <------------------------------- 10 boxes
EffciencyDenominator=5
EffciencyDenominatorBS=5
Hitpoints=200
CrewExposure=0.075
EquipmentsExposure=0.1
WeaponsExposure=0.1
ExternalDamageZoneTypeID3D= -1
DamageDescription1= NULL, 0, 1, 0, 1, 1, No Damage, 0, 0, NULL, 0, 0, 0


------- Toward bottom:
[UserPlayerUnit 1.FunctionalSubsystem 38] <----- may need to change number
ID= CrewBerthing
NameDisplayable= Crew Quarters
FunctionalType= CrewMembersGrouping
IDLinkFunctionalSubsystemSlots= CrewMemberSlot_BerthingC1, 0,CrewMemberSlot_BerthingC2, 0,CrewMemberSlot_BerthingC3, 0,CrewMemberSlot_BerthingC4, 0,CrewMemberSlot_BerthingC5, 0,CrewMemberSlot_BerthingC6, 0,CrewMemberSlot_BerthingC7, 0,CrewMemberSlot_BerthingC8, 0,CrewMemberSlot_BerthingC9, 0,CrewMemberSlot_BerthingC10, 0

-----------

\Data\Submarine\NSS_Narwhal\NSS_Narwhal.upc

It adds a Crew Berthing section which serves no purpose as in RFB, but does provide extra space for sorting crew and a convenient place to put deceased crewmen until reaching Port if something terrible happens while on patrol. (Their loved ones will appreciate it too)

Unlike Damage Control there is no Leader.
------

Maybe there can't be more than 12? S-42 has 12, with 3 leaders and 9 crew. Gato has - 0 leaders and 12 crew. May need to experiment.

If this is not what you want/need, I'll delete it so it doesn't clog this topic.
aanker is offline   Reply With Quote