SUBSIM Radio Room Forums
Frau kaleun shops here, how about you?
Want to support Subsim and make Amazon pay for it? Click here to start any Amazon shopping.


SUBSIM: The Web's #1 BBS for all submarine and naval simulations!

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Fleet Boat Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-30-2008, 10:11 PM   #1
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default [help] Crewmembers

Working on my first mod making the Sen Toku playable. (The campaign is not finished yet, but close) It is playable now but then I went and found more stuff. I now have 2 Deck guns and nobody to man them. How do I add slots like were added for the second Flack gun? And will it give me crew slots to man the gun. Only one is manned right now.
Is adding crew members only a 'campaign' thing? I wanted to fill some slots but I was in a single mission and everytime I added one, one got taken off.

Any help appreciated.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 05-31-2008, 04:22 AM   #2
Xantrokoles
Seasoned Skipper
 
Join Date: Jan 2008
Location: Germany
Posts: 660
Downloads: 9
Uploads: 0
Default

When I underestood you right you have to look into the upc-file of the sub:
Iguess you found this:

[UserPlayerUnit 1.Compartment 7.CrewMemberSlot 1]<-It has to fit with the compartments at the beginning of the file
ID=CrewMemberSlot_DGunL
NameDisplayable= Deck Gun Leader
Type= Leader
WatchIndex= 0
IDLinkCrewMember= Crew-Jr-NCO-Rank-1-Guns <- this guy is sitting in the slot
WatchCrewMemberSlot3D= WM1@slot_M01
BattleStationsCrewMemberSlot3D= WM1@slot_M01 <-this is the slot on the sub
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

[UserPlayerUnit 1.Compartment 7.CrewMemberSlot 2]
ID=CrewMemberSlot_DGunC1
NameDisplayable= Deck Gun Crew
Type= Crewman
WatchIndex= 0
IDLinkCrewMember= Crew-Seaman-Rank-1
WatchCrewMemberSlot3D= WM2@slot_M01
BattleStationsCrewMemberSlot3D= WM2@slot_M01
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL
[...]

the slots are there now go at the bottom and search this:

[UserPlayerUnit 1.FunctionalSubsystem 30]
ID= CrewDeckGun
NameDisplayable= Deck Gun
FunctionalType= CrewMembersGrouping
IDLinkFunctionalSubsystemSlots= CrewMemberSlot_DGunL,<- Links to the slots 0,CrewMemberSlot_DGunC1, 0,CrewMemberSlot_DGunC2, 0,CrewMemberSlot_DGunC3, 0,CrewMemberSlot_DGunC4, 0,CrewMemberSlot_DGunC5, 0,CrewMemberSlot_DGunC6, 0

when you wanna have two DGs you nee this entries:
[UserPlayerUnit 1.Compartment 7]
CompartmentType= 2
StatusActive= No
ID= IXD2GunB
NameDisplayable= Deck Gun
Type=NULL
FunctionalType= ArtilleryRoom
MechanicalCoef= 0.5
ElectricsCoef= 0.5
GunsCoef= 0.2 ;0..1
WatchmanCoef= 0.5
WatchStandingCoef= 0.048
MaintenanceCoef= 0.0144
RepairsCoef= 0.072
ReloadingweaponCoef= 0.072
SleepCoef= -0.12
LeadersSlots=0
CrewMembersSlots= 0
EffciencyDenominator=2
EffciencyDenominatorBS=2
Hitpoints=200
CrewExposure=0.7
EquipmentsExposure=0.1
WeaponsExposure=0.1
ExternalDamageZoneTypeID3D= 198
DamageDescription1= NULL, 0, 0.2, 0, 1, 1, Minor damage, 0, 0, NULL, 0, 0.2, 0.2
DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Medium damage, 0, 0, NULL, 0, 0.2, 0.5
DamageDescription3= NULL, 0.6, 1, 0, 1, 1, Heavy damage, 0, 0, NULL, 0, 0.2, 1

[UserPlayerUnit 1.Compartment 8]
CompartmentType= 2
StatusActive= No
ID= IXD2GunS
NameDisplayable= Deck Gun
Type=NULL
FunctionalType= ArtilleryRoom
MechanicalCoef= 0.5
ElectricsCoef= 0.5
GunsCoef= 0.2 ;0..1
WatchmanCoef= 0.5
WatchStandingCoef= 0.048
MaintenanceCoef= 0.0144
RepairsCoef= 0.072
ReloadingweaponCoef= 0.072
SleepCoef= -0.12
LeadersSlots=0
CrewMembersSlots= 0
EffciencyDenominator=2
EffciencyDenominatorBS=2
Hitpoints=200
CrewExposure=0.7
EquipmentsExposure=0.1
WeaponsExposure=0.1
ExternalDamageZoneTypeID3D= 43
DamageDescription1= NULL, 0, 0.2, 0, 1, 1, Minor damage, 0, 0, NULL, 0, 0.2, 0.2
DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Medium damage, 0, 0, NULL, 0, 0.2, 0.5
DamageDescription3= NULL, 0.6, 1, 0, 1, 1, Heavy damage, 0, 0, NULL, 0, 0.2, 1

Then:

; ******** DECK GUN *********


[UserPlayerUnit 1.Compartment 7.CrewMemberSlot 1]
ID=CrewMemberSlot_DGunL
NameDisplayable= Deck Gun Leader
Type= Leader
WatchIndex= 0
IDLinkCrewMember= Crew-Jr-NCO-Rank-1-Guns
WatchCrewMemberSlot3D= WM1@slot_M02
BattleStationsCrewMemberSlot3D= WM1@slot_M02
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

[UserPlayerUnit 1.Compartment 7.CrewMemberSlot 2]
ID=CrewMemberSlot_DGunC1
NameDisplayable= Deck Gun Crew
Type= Crewman
WatchIndex= 0
IDLinkCrewMember= Crew-Seaman-Rank-1
WatchCrewMemberSlot3D= WM2@slot_M02
BattleStationsCrewMemberSlot3D= WM2@slot_M02
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

[UserPlayerUnit 1.Compartment 8.CrewMemberSlot 1]
ID=CrewMemberSlot_DGun2L
NameDisplayable= Deck Gun Crew
Type= Crewman
WatchIndex= 0
IDLinkCrewMember= Crew-Seaman-Rank-1
WatchCrewMemberSlot3D= WM1@slot_M01
BattleStationsCrewMemberSlot3D= WM1@slot_M01
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

[UserPlayerUnit 1.Compartment 8.CrewMemberSlot 2]
ID=CrewMemberSlot_DGun2C1
NameDisplayable= Deck Gun Crew
Type= Crewman
WatchIndex= 0
IDLinkCrewMember= Crew-Seaman-Rank-1
WatchCrewMemberSlot3D= WM2@slot_M01
BattleStationsCrewMemberSlot3D= WM2@slot_M01
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

Also:

[UserPlayerUnit 1.Compartment 7.WeaponSlot 1]
ID= BowDeckGun
NameDisplayable= Deck Gun Mount
Type=NULL
AcceptedTypes= NULL
UserCustomizable=No
IDLinkBunker= GunsAmmoBunker
IDLinkWeaponIntervalDefault1= NULL, NULL, NULL, NULL
ExternalNodeName3D= M01
ExternalObjectName3D= NULL
ExternalDamageZoneTypeID3D= -1

[UserPlayerUnit 1.Compartment 8.WeaponSlot 1]
ID= SternDeckGun
NameDisplayable= Deck Gun Mount
Type=NULL
AcceptedTypes= NULL
UserCustomizable=No
IDLinkBunker= GunsAmmoBunker ;Only UnitParts of this type could be placed here
IDLinkWeaponIntervalDefault1= NULL, NULL, NULL, NULL
ExternalNodeName3D= M02
ExternalObjectName3D= NULL
ExternalDamageZoneTypeID3D= -1

+
[UserPlayerUnit 1.UpgradePackSlot 6]
ID= UpgDeckGun1
NameDisplayable= Deck Gun
Type=NULL
AcceptedTypes= GerHeavyDeckGun, GerDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= BowDeckGun
IDLinkUpgradePackSlotsIntervalDefault1= 1941-01-01, 1945-12-31, Upack105mmDG

[UserPlayerUnit 1.UpgradePackSlot 7]
ID= UpgDeckGun2
NameDisplayable= Deck Gun
Type=NULL
AcceptedTypes= GerHeavyDeckGun, GerDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= SternDeckGun
IDLinkUpgradePackSlotsIntervalDefault1= 1941-01-01, 1945-12-31, Upack105mmDG


and at least:

[UserPlayerUnit 1.FunctionalSubsystem 30]
ID= CrewDeckGun
NameDisplayable= Deck Gun
FunctionalType= CrewMembersGrouping
IDLinkFunctionalSubsystemSlots= CrewMemberSlot_DGunL, 0,CrewMemberSlot_DGunC1, 0,CrewMemberSlot_DGun2L, 0,CrewMemberSlot_DGun2C1, 0

__________________
Xantrokoles is offline   Reply With Quote
Old 05-31-2008, 11:42 AM   #3
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Thank you both for the responses, I really appreciate it.
@Mikhayl: Mine are set up that way, the only thing is there was only one obj turret so I added one connected to M02. Was that the right thing to do?

@Xantro:

It looks like i have what I need but I'm missing something.
I tried making two slots #3 and #4 but I could not get a gun into the BowDeckGun slot no matter what I tried so I did this:

[UserPlayerUnit 1.UpgradePackSlot 3]
ID= UpgDeckGun
NameDisplayable= Deck Gun
Type=NULL
AcceptedTypes=USDeckGunBasic, USDeckGunAdv
UserCustomizable=Yes
IDLinkUpgradePackSlots=BowDeckGun, SternDeckGun
IDLinkUpgradePackSlotsIntervalDefault1= NULL, NULL, Upack5in25calDGDouble
;IDLinkUpgradePackSlotsIntervalDefault2= 1943-01-01, 1943-12-31, Upack3in50calDGBow
;IDLinkUpgradePackSlotsIntervalDefault3= 1944-01-01, 1944-08-19, Upack4in50calDGBow
;IDLinkUpgradePackSlotsIntervalDefault4= 1944-08-20, NULL, Upack5in25calDGBow

Both guns are there, they both fire but only one is manned. Oh, and these guns have two men on each one, could that be a problem? So I much have done something wrong because I couldn't get a gun into the Bow slot the way you show. And I only selected USDeckGunBasic or USDeckGunAdv. There are other types listed. I commented out the Intervals so I would only have one thing to try to find.

I will look over your info to see if I can see the problem, but right now I am not seeing it. I know it takes a while to figure this out. If you get a chance here is what I have, maybe you can see what I am missing? If you don't have time, I thank you both for your help. Here are my compartments. I'll try to put them in the same order you have.

[UserPlayerUnit 1.Compartment 7.CrewMemberSlot 1]
ID=CrewMemberSlot_DGunL
NameDisplayable= Deck Gun Leader
Type= Leader
WatchIndex= 0
IDLinkCrewMember= CPOGuns
WatchCrewMemberSlot3D= WM1@slot_M02
BattleStationsCrewMemberSlot3D= WM1@slot_M02
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

[UserPlayerUnit 1.Compartment 7.CrewMemberSlot 2]
ID=CrewMemberSlot_DGunC1
NameDisplayable= Deck Gun Crew
Type= Crewman
WatchIndex= 0
IDLinkCrewMember= NR
WatchCrewMemberSlot3D= WM2@slot_M02
BattleStationsCrewMemberSlot3D= WM2@slot_M02
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

[UserPlayerUnit 1.Compartment 8.CrewMemberSlot 1]
ID=CrewMemberSlot_DGun2L
NameDisplayable= Deck Gun Crew
Type= Crewman
WatchIndex= 0
IDLinkCrewMember= CPOGuns
WatchCrewMemberSlot3D= WM1@slot_M01
BattleStationsCrewMemberSlot3D= WM1@slot_M01
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

[UserPlayerUnit 1.Compartment 8.CrewMemberSlot 2]
ID=CrewMemberSlot_DGun2C1
NameDisplayable= Deck Gun Crew
Type= Crewman
WatchIndex= 0
IDLinkCrewMember= NR
WatchCrewMemberSlot3D= WM2@slot_M01
BattleStationsCrewMemberSlot3D= WM2@slot_M01
WatchAccessoriesForAdding3DObjects= NULL
WatchAccessoriesForSubtracting3DObjects= NULL
BattleAccessoriesForAdding3DObjects= NULL
BattleAccessoriesForSubtracting3DObjects= NULL

************************************************** *****
[UserPlayerUnit 1.FunctionalSubsystem 36]
ID= CrewDeckGun
NameDisplayable= Deck Gun
FunctionalType= CrewMembersGrouping
IDLinkFunctionalSubsystemSlots= CrewMemberSlot_DGunL, 0,CrewMemberSlot_DGunC1, 0,CrewMemberSlot_DGun2L, 0,CrewMemberSlot_DGun2C1, 0

[UserPlayerUnit 1.FunctionalSubsystem 28]
ID= DeckGun1
NameDisplayable= Bow Deck Gun
FunctionalType= WeaponMainCannon
IDLinkFunctionalSubsystemSlots= BowDeckGun, 1

[UserPlayerUnit 1.FunctionalSubsystem 29]
ID= DeckGun2
NameDisplayable= Stern Deck Gun
FunctionalType= WeaponMainCannon
IDLinkFunctionalSubsystemSlots= SternDeckGun, 1

************************************************** **
[UserPlayerUnit 1.Compartment 7]
CompartmentType= 2
StatusActive= No
ID= Sen_Toku_IIGunS
NameDisplayable= Aft Gun Deck
Type=NULL
FunctionalType= ArtilleryRoom
MechanicalCoef= 0.5
ElectricsCoef= 0.5
GunsCoef= 0.2 ;0..1
WatchmanCoef= 0.5
WatchStandingCoef= 0.048
MaintenanceCoef= 0.0144
RepairsCoef= 0.072
ReloadingweaponCoef= 0.072
SleepCoef= -0.12
LeadersSlots=0
CrewMembersSlots= 0
EffciencyDenominator=2
EffciencyDenominatorBS=2
Hitpoints=200
CrewExposure=0.7
EquipmentsExposure=0.1
WeaponsExposure=0.1
ExternalDamageZoneTypeID3D= 198
DamageDescription1= NULL, 0, 0.2, 0, 1, 1, Minor damage, 0, 0, NULL, 0, 0.2, 0.2
DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Medium damage, 0, 0, NULL, 0, 0.2, 0.5
DamageDescription3= NULL, 0.6, 1, 0, 1, 1, Heavy damage, 0, 0, NULL, 0, 0.2, 1

[UserPlayerUnit 1.Compartment 8]
CompartmentType= 2
StatusActive= No
ID= Sen_Toku_IIGunB
NameDisplayable= Fore Gun Deck
Type=NULL
FunctionalType= ArtilleryRoom
MechanicalCoef= 0.5
ElectricsCoef= 0.5
GunsCoef= 0.2 ;0..1
WatchmanCoef= 0.5
WatchStandingCoef= 0.048
MaintenanceCoef= 0.0144
RepairsCoef= 0.072
ReloadingweaponCoef= 0.072
SleepCoef= -0.12
LeadersSlots=0
CrewMembersSlots= 0
EffciencyDenominator=2
EffciencyDenominatorBS=2
Hitpoints=200
CrewExposure=0.7
EquipmentsExposure=0.1
WeaponsExposure=0.1
ExternalDamageZoneTypeID3D= 43
DamageDescription1= NULL, 0, 0.2, 0, 1, 1, Minor damage, 0, 0, NULL, 0, 0.2, 0.2
DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Medium damage, 0, 0, NULL, 0, 0.2, 0.5
DamageDescription3= NULL, 0.6, 1, 0, 1, 1, Heavy damage, 0, 0, NULL, 0, 0.2, 1

************************************************** ******
[UserPlayerUnit 1.Compartment 7.WeaponSlot 1]
ID= SternDeckGun
NameDisplayable= Aft Deck Gun Mount
Type=NULL
AcceptedTypes= NULL
UserCustomizable=No
IDLinkBunker= GunsAmmoBunker
IDLinkWeaponIntervalDefault1= NULL, NULL, NULL, NULL
ExternalNodeName3D= M02
ExternalObjectName3D= NULL
ExternalDamageZoneTypeID3D= -1

[UserPlayerUnit 1.Compartment 8.WeaponSlot 2]
ID= BowDeckGun
NameDisplayable= Fore Deck Gun Mount
Type=NULL
AcceptedTypes= NULL
UserCustomizable=No
IDLinkBunker= GunsAmmoBunker ;Only UnitParts of this type could be placed here
IDLinkWeaponIntervalDefault1= NULL, NULL, NULL, NULL
ExternalNodeName3D= M01
ExternalObjectName3D= NULL
ExternalDamageZoneTypeID3D= -1

************************************************** *******
Those are the files in submarine .upc file. (I think I got them all) I can't seem to find where the mistake is, it's probably right in front of me, I just don't see it. It look like it's not creating the slots for the crew members to man the second gun. The unmanned gun is the bow gun. And that is where I had the problem putting a gun. Then when I used the "double" the gun went in, but it would not go in the bow slot before I did that, so I think I have a mistake somewhere with the bow slot.

Appreciate you responding, I will continue to try to figure this out.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 1997- 2013 Subsim