Log in

View Full Version : does anyone know where to find....


Webster
02-08-09, 04:02 PM
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"

vanjast
02-08-09, 05:30 PM
Maybe here.... '.\data\Menu\Gui\Layout\CrewSystemsManagement.DDS'
:03:

Webster
02-09-09, 10:43 AM
Maybe here.... '.\data\Menu\Gui\Layout\CrewSystemsManagement.DDS'
:03:

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

Tempest555
02-12-09, 11:55 PM
Maybe

Data\Menu\Fonts


http://www.subsim.com/radioroom/showthread.php?t=142615

peabody
02-13-09, 01:25 AM
can anyone help me locate this thing? :damn:
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

Webster
02-13-09, 04:08 AM
can anyone help me locate this thing? :damn:
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?

peabody
02-13-09, 11:56 AM
can anyone help me locate this thing? :damn:
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.


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 [U]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

Webster
02-13-09, 12:27 PM
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 :salute:

"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

Webster
02-14-09, 09:34 AM
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.