SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

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

Reply
 
Thread Tools Display Modes
Old 02-08-09, 04:02 PM   #1
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default does anyone know where to find....

does anyone know where to find the little "l" symbol that is shown on the equipt damage screen when something is destroyed?

i would like to change it to say something else like the letter "D"

Last edited by Webster; 02-08-09 at 06:51 PM.
  Reply With Quote
Old 02-08-09, 05:30 PM   #2
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,739
Downloads: 825
Uploads: 4
Default

Maybe here.... '.\data\Menu\Gui\Layout\CrewSystemsManagement.DDS'
vanjast is offline   Reply With Quote
Old 02-09-09, 10:43 AM   #3
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by vanjast
Maybe here.... '.\data\Menu\Gui\Layout\CrewSystemsManagement.DDS'
i guess you meant data/menu/skins/American/gui/layout/CrewSystemsManagement.dds

but thats not the correct file as it did nothing when changed so it must be something else that contains the destroyed symbol
  Reply With Quote
Old 02-12-09, 11:55 PM   #4
Tempest555
Electrician's Mate
 
Join Date: Nov 2008
Posts: 137
Downloads: 166
Uploads: 0
Default

Maybe

Data\Menu\Fonts


http://www.subsim.com/radioroom/showthread.php?t=142615
Tempest555 is offline   Reply With Quote
Old 02-13-09, 01:25 AM   #5
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by WEBSTER
can anyone help me locate this thing?
I don't exactly know what symbol you are talking about. The only time I have had equipment destroyed I did a mouseover on the red line to the right of the item and it showed a '1'. Is that where you mean?
That is a one showing amount of damage, so it is a number in that case not a symbol for "I". So I would suspect it is coming from the 'savegame' files since it is just a value that starts at zero and increases as you take damage to a max of 1. So I would think the only time it would have a value other than zero was during an actual game or if you save a game with damage.

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 02-13-09, 04:08 AM   #6
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by peabody
Quote:
Originally Posted by WEBSTER
can anyone help me locate this thing?
I don't exactly know what symbol you are talking about. The only time I have had equipment destroyed I did a mouseover on the red line to the right of the item and it showed a '1'. Is that where you mean?
That is a one showing amount of damage, so it is a number in that case not a symbol for "I". So I would suspect it is coming from the 'savegame' files since it is just a value that starts at zero and increases as you take damage to a max of 1. So I would think the only time it would have a value other than zero was during an actual game or if you save a game with damage.

Peabody
yes that is the symbol i am looking to mod, up until the point it gets destroyed they show non single digit numbers (3 or 4 digits i think) to count down the time left to repair the damage section (in hours and minutes i think) so i dont know if they are the same or if they are 2 seperate things that just relate to each other.

by it going to 1 is not making a lot of sense to me in that reguard, but i guess it was supposed to indicate 100% damaged as in destroyed and unfixable.

i wonder if i could edit 1 to = D so it shows the letter D to indicate the item has been destroyed?

it must be tied to the sim or zon in some way because they control everything damage related correct?
  Reply With Quote
Old 02-13-09, 11:56 AM   #7
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by WEBSTER
Quote:
Originally Posted by peabody
Quote:
Originally Posted by WEBSTER
can anyone help me locate this thing?
I don't exactly know what symbol you are talking about. The only time I have had equipment destroyed I did a mouseover on the red line to the right of the item and it showed a '1'. Is that where you mean?
That is a one showing amount of damage, so it is a number in that case not a symbol for "I". So I would suspect it is coming from the 'savegame' files since it is just a value that starts at zero and increases as you take damage to a max of 1. So I would think the only time it would have a value other than zero was during an actual game or if you save a game with damage.

Peabody
yes that is the symbol i am looking to mod, up until the point it gets destroyed they show non single digit numbers (3 or 4 digits i think) to count down the time left to repair the damage section (in hours and minutes i think) so i dont know if they are the same or if they are 2 seperate things that just relate to each other.

by it going to 1 is not making a lot of sense to me in that reguard, but i guess it was supposed to indicate 100% damaged as in destroyed and unfixable.

i wonder if i could edit 1 to = D so it shows the letter D to indicate the item has been destroyed?

it must be tied to the sim or zon in some way because they control everything damage related correct?
I always thought (and may be wrong) that it did not indicate time to repair but % of damage. The only reason I thought it may be in the savegame files is that I had looked once to try to figure out why I could not steer the boat with destroyed dive planes even after they were fixed. I had the "special ability" guy that fixes even destroyed items. While looking I found this for each item on the sub in the ActiveUserPlayerUnit.upc.

[UserPlayerUnit 1.Compartment 1.EquipmentSlot 3.Equipment]
ID=IXElectricEngine
NameDisplayable=Electric Engine
EquipmentInterval=1900-01-01, 1999-12-31
EquipmentSlotType=GatoEEngine
ExternalLinkName3D=NULL
FunctionalType=EqFTypeEngineElectric
Hitpoints=100.000000
EfficiencyHumanFactor=0.573281
EfficiencyMechanicFactor=1.000000
Efficiency=0.573281
Damage=0.000000 This is the one I figured created the number you are looking for, but did not do any testing to prove it. But may be worth a look.

DamageHitpointsConsumed=0.000000

RemainingRepairTime=0000-00-00 00:00:00
DamageDescription1=NULL,0,0.2,0,1,1,small malfunction,0,0,NULL,0.3,0.4,2.66403
DamageDescription2=NULL,0.2,0.6,0,1,1,Misaligned Axis,0,0,NULL,0.5,0.4,2.43818
DamageDescription3=NULL,0.6,1,0,1,1,fuse blown,0,0,NULL,1,0.2,27.0447

Since you have zero damage at start, I would think that the zon files would created the amount of damage but this is where that amount would be stored. I am just guessing here, but you could probably put in a value then load the game (if it will load) and see if the number you are looking at changes. My problem is trying to figure out which save game goes with which "saved game" they don't seem to use the names you save it under.

Just my 2 cents and I may be way off here.

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 02-13-09, 12:27 PM   #8
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by peabody
Just my 2 cents and I may be way off here.

Peabody
your guess is probably a lot better than i could guess about lol

"I always thought (and may be wrong) that it did not indicate time to repair but % of damage."

well it shows both in the same area but i cant say its the same indicator its just in the same spot.

the thing is, it might very well be one indicator for repair time and another for destroyed stuff i just have to guess at this point.



i found this one in the my documents/sh4/data/cfg/userplayercontext/ Equiptment.upc file


[Equipment 2]
ID=RudderTransmission
NameDisplayable=Rudder Transmission
EquipmentInterval=1900-01-01, 1999-12-31
EquipmentSlotType=NULL
ExternalLinkName3D=NULL
FunctionalType=EqFTypeTransmission
Hitpoints=100.000000
EfficiencyHumanFactor=1.000000
EfficiencyMechanicFactor=1.000000
Efficiency=1.000000
Damage=0.000000 <<<<< this is rounded off number from next line below it
DamageHitpointsConsumed=0.000000 <<<< this is actual damage level
RemainingRepairTime=0000-00-00 00:00:00 <<<<<<< this is damage repair time
DamageDescription1=NULL,0,0.2,0,1,1,small malfunction,0,0,NULL,0.3,0.4,4.13382
DamageDescription2=NULL,0.2,0.6,0,1,1,Misaligned Axis,0,0,NULL,0.5,0.4,8.0272
DamageDescription3=NULL,0.6,1,0,1,1,Broken Axle,0,0,NULL,1,0.6,12.2515

im pretty sure this is the repair time thats shown until destroyed but what controls it and where the destroyed symbol that replaces it is linked to is a mystery, they have so many things that look the same saying damage

Last edited by Webster; 02-14-09 at 09:43 AM.
  Reply With Quote
Old 02-14-09, 09:34 AM   #9
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

these are the files from a saved game i made


below is how a destroyed electric engine showing the "1" damage symbol looks:

[UserPlayerUnit 1.Compartment 1.EquipmentSlot 9.Equipment]
ID=GatoElectricEngine
NameDisplayable=Electric Engine
EquipmentInterval=1900-01-01, 1999-12-31
EquipmentSlotType=GatoEEngine
ExternalLinkName3D=NULL
FunctionalType=EqFTypeEngineElectric
Hitpoints=100.000000
EfficiencyHumanFactor=0.833143
EfficiencyMechanicFactor=1.000000
Efficiency=0.833143
Damage=1.000000
DamageHitpointsConsumed=100.000000
RemainingRepairTime=0000-00-00 00:00:00
DamageDescription1=NULL,0,0.2,0,1,1,small malfunction,0,0,NULL,0.3,0.4,4.00266
DamageDescription2=NULL,0.2,0.6,0,1,1,Misaligned Axis,0,0,NULL,0.5,0.4,11.3482
DamageDescription3=NULL,0.6,1,0,1,1,fuse blown,0,0,NULL,1,0.2,13.1205


here is how a badly damaged battery looks:

[UserPlayerUnit 1.Compartment 1.EquipmentSlot 10]
ID=SternBattery
NameDisplayable=Aft Battery
Type=NULL
AcceptedTypes=NULL
UserCustomizable=No
ExternalNodeName3D=NULL
ExternalDamageZoneTypeID3D=59
IDLinkEquipmentLoaded=GatoSternBatteryBasic

[UserPlayerUnit 1.Compartment 1.EquipmentSlot 10.Equipment]
ID=GatoSternBatteryBasic
NameDisplayable=Batteries (Stern)
EquipmentInterval=1900-01-01, 1999-12-31
EquipmentSlotType=NULL
ExternalLinkName3D=NULL
FunctionalType=EqFTypeBatteries
Hitpoints=100.000000
EfficiencyHumanFactor=0.833143
EfficiencyMechanicFactor=1.000000
Efficiency=0.833143
Damage=0.869359
DamageHitpointsConsumed=86.935883
RemainingRepairTime=0000-00-00 11:56:45
DamageDescription1=NULL,0,0.2,0,1,1,small malfunction,0,0,NULL,0.3,0.4,4.63567
DamageDescription2=NULL,0.2,0.6,0,1,1,Misaligned Axis,0,0,NULL,0.5,0.4,11.7422
DamageDescription3=NULL,0.6,1,0,1,1,fuse blown,0,0,NULL,1,0.2,13.5354



i tried changing the numbers in these files in different combinations of one at a time to all at the same time but they never changed anything in the game so i think this is just a record of events at time of save but i dont think its actually used by the game for anything while its running or loading a saved game.
  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 12:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.