View Single Post
Old 11-29-22, 05:46 PM   #5169
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Chicago area, which is more dangerous than Omaha Beach.
Posts: 3,910
Downloads: 433
Uploads: 27


Default

Quote:
Originally Posted by propbeanie View Post
In this case, the AdditionalRepository indicates an error in the guns config, so definitely get rid of that for the 2nd gunman. You might also look for any other Saved game you might have with a good ActiveUserPlayerUnits.upc, preferably with a 40mm, but anything would do, other than the naming. Just make sure it matches in Weapons, UpgradePacks, UnitParts, etc.



I am kind of curious about this though... had you by chance moved the deck gun at any point in the current career?
so, as i went to perform the edit you requested (above), i discovered that there is only one crew slot to the 40mm. (I could swear there was two)
what you see below is the weapon's section which appears just prior to the Crew Slot,
followed by the Crew Slot,
which is followed by an Upgrade Section.
this is exactly how it appears in the ActiveUserPlayerUnits.UPC file.
[UserPlayerUnit 1.UnitPartSlot 1.UnitPart.Compartment 2.WeaponSlot 1.Weapon]
ID=40mmSingleUS
NameDisplayable=40mm AA Gun
WeaponInterval=1943-08-01, 1999-12-31
WeaponSlotType=NULL
AmmoTypesAccepted=40mmAPUS,40mmHEUS
AmmoTypeLoaded=NULL
AmmoMagazineSize=4
AmmoMagazineRemaining=0
WeaponCrewMembersSlots=2
ExternalLinkName3D=40mm_Single_soclu
FunctionalType=WpFlak
Hitpoints=100.000000
EfficiencyHumanFactor=0.000000
EfficiencyMechanicFactor=1.000000
Efficiency=0.000000
Damage=0.000000
DamageHitpointsConsumed=0.000000
RemainingRepairTime=0000-00-00 00:00:11
DamageDescription1=NULL,0,0.2,0,1,1,Jam,0,0,NULL,1 ,0.3,0.0771261
DamageDescription2=NULL,0,1,0,0.5,1,Chamber Explosion,50,5,NULL,1,2,10.4711

[UserPlayerUnit 1.UnitPartSlot 1.UnitPart.Compartment 2.CrewMemberSlot 1]
ID=CrewMemberSlot_FlakC1
NameDisplayable=AA Gun Crew
Type=Crewman
IDLinkCrewMemberLoaded=NULL
WatchCrewMemberSlot3D=WM1@slot_A01
BattleStationsCrewMemberSlot3D=WM1@slot_A01
WatchAccessoriesForAdding3DObjects=sapca_u#Head
WatchAccessoriesForSubtracting3DObjects=sapca
BattleAccessoriesForAdding3DObjects=sapca_ca#Head
BattleAccessoriesForSubtracting3DObjects=sapca

[UserPlayerUnit 1.UnitPartSlot 1.UnitPart.UpgradePackSlot 1]
ID=UpgAAGun
NameDisplayable=Anti-Aircraft Gun
Type=NULL
AcceptedTypes=USMGAA,USLightAA,USHeavyAA,USLightAA 2,USHeavyAA2
UserCustomizable=Yes
IDLinkUpgradePackSlots=CTBackAA
CurrentUpgradePack=40mm AA Gun
IDLinkUpgradePackSlotsLoaded=NULL
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote