View Single Post
Old 11-12-23, 11:09 AM   #1483
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,267
Downloads: 462
Uploads: 29


Default Upgrade on a Sargo

what is/are the connection(s) between the UPC, Upgrades, and Equipment files for upgradable equipment like surface radar?

i am trying to debug the upgrade process in RFB/RSRD because they are clearly messed up for more than one boat.
i THINK it has something to do with the name connectivity between the three files mentioned above however, there is something, a reference, something that is breaking the connection(s).

it would help to know how these three files reference each other for SJ radar equipment. There is a disconnect among these three references...or...there is a fourth reference in a fourth file. (or fifth or sixth or .....)

From ActiveUser
[UserPlayerUnit 1.UnitPartSlot 1.UnitPart.Compartment 1.EquipmentSlot 1]
ID=SurfRadarAntennaMed
NameDisplayable=Surface Radar Antenna
Type=NULL
AcceptedTypes=NULL
UserCustomizable=Yes
ExternalNodeName3D=R01
ExternalDamageZoneTypeID3D=230
IDLinkEquipmentLoaded=NULL
From Equipment.upc
[Equipment 30]
ID=SJRadarAntennaEarly
NameDisplayable= Radar Mast (SJ)
FunctionalType= EqFTypeRadarAntennaSJEarly
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D= NSS_EarlySJ_03
Hitpoints= 200
DamageDescription1= NULL,0,0.1,0,0.1,1,small malfunction,0,0,NULL,0.1,0.3,40
DamageDescription2= NULL,0.1,0.3,0.1,0.2,1,significant malfunction,0,0,NULL,0.3,0.3,320
DamageDescription3= NULL,0.3,0.5,0,0,1,severe malfunction,0,0,NULL,0.5,0.3,960
DamageDescription4= NULL,0.5,1,0,0,1,equipment unserviceable,0,0,NULL,1,2,216000

[Equipment 31]
ID=SJRadarAntennaLate
NameDisplayable= Radar Mast (SJ)
FunctionalType= EqFTypeRadarAntennaSJLate
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D= NSS_LateSJ
Hitpoints= 200
DamageDescription1= NULL,0,0.1,0,0.1,1,small malfunction,0,0,NULL,0.1,0.3,40
DamageDescription2= NULL,0.1,0.3,0.1,0.2,1,significant malfunction,0,0,NULL,0.3,0.3,320
DamageDescription3= NULL,0.3,0.5,0,0,1,severe malfunction,0,0,NULL,0.5,0.3,960
DamageDescription4= NULL,0.5,1,0,0,1,equipment unserviceable,0,0,NULL,1,2,216000
From Unitparts_Sargo
[UnitPart 2.Compartment 1.EquipmentSlot 1]
ID= SurfRadarAntennaMed
NameDisplayable= Surface Radar Antenna
Type=NULL
AcceptedTypes= NULL
UserCustomizable=Yes
IDLinkEquipmentIntervalDefault1= NULL, NULL, NULL
ExternalNodeName3D= R01
ExternalDamageZoneTypeID3D= 230
EDIT:
there is a fourth file.....i forgot to include Sargo.sns.
i see one disconnect. the date ranges here do not match the date ranges in the UPC files. i'll have to square up those items.
[Sensor 9]
NodeName=R01
LinkName=NSS_EarlySJ_PClass_Mount
StartDate=19420701
EndDate=19430515

[Sensor 10]
NodeName=R01
LinkName=NSS_EarlySJ_Mount
StartDate=19430516
EndDate=19430630

[Sensor 11]
NodeName=R01
LinkName=NSS_LateSJ_Mount
StartDate=19430701
EndDate=19451231
__________________
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

Last edited by KaleunMarco; 11-12-23 at 12:19 PM.
KaleunMarco is offline   Reply With Quote