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 12-07-07, 04:33 PM   #46
Weather-guesser
Lieutenant
 
Join Date: May 2007
Location: Albany, New York USA
Posts: 260
Downloads: 72
Uploads: 0
Default

Outstanding Tater! Three cheers for hopeful functionality! HIP HIP..
__________________

NAVY! It's not just a job. It's a Buck Seventy-Five an hour!
Weather-guesser is offline   Reply With Quote
Old 12-08-07, 01:21 AM   #47
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Still plugging away.

Anyone familiar with the UPC files? Another option that occured to me is to decrease the repair time for the diesels. This would allow overwhelming damage to get them to 100% (irreparable), but lesser damage would be quickly fixed.

Again, the goal is that it should be nearly impossible to kill of all the diesels on a fleet boat since such a casualty in SH4 is career ending.
tater is offline   Reply With Quote
Old 12-08-07, 01:30 AM   #48
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

This i think:

\sh4\Data\UPCData\UPCUnitsData\Equipment.upc


Code:
[Equipment 5]
ID=GatoDieselEngine
NameDisplayable= Diesel Engine
FunctionalType= EqFTypeEngineDiesel
EquipmentInterval= NULL, NULL
EquipmentSlotType=GatoDEngine
ExternalLinkName3D= NULL
Hitpoints= 100
;DamageDescription1= Taken_DamageType, MinDamage, MaxDamage, MinMaintenance, MaxMaintenance, chancefactor, Message, Spawned_damage_HP, Spawned_damage_AP, Spawned_Damage_Type, EfficiencyReduction, repair_skill, repairtime_in_hours 
DamageDescription1= NULL,	0,	0.2,	0,	1,	1,	small malfunction,		0,	0,	NULL,	0.3,	0.4,	4
DamageDescription2= NULL,	0.2,	0.6,	0,	1,	1,	Misaligned Axis,		0,	0,	NULL, 	0.5,	0.4,	10
DamageDescription3= NULL,	0.6,	1,	0,	1,	1,	fuse blown,			0,	0,	NULL,	1,	0.2,	15
Ducimus is offline   Reply With Quote
Old 12-08-07, 01:38 AM   #49
Peto
Ace of the Deep
 
Join Date: Jul 2007
Location: The details of my life are quite inconsequential
Posts: 1,049
Downloads: 4
Uploads: 0
Default

Interesting. I notice that a lot of items listed at the end have no associated values. I wonder if any of those actually function in-game :hmm:.

I'm just dropping ideas here--I'm still working on some other sensor ideas atm.
__________________
If your target has a 30 degree AOB, the range from his base course line equals the current range divided by 2.
Peto is offline   Reply With Quote
Old 12-08-07, 11:11 AM   #50
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Can someone with more experience on the subject test this?

http://rapidshare.com/files/75177250...es_DM.rar.html

I've added two new entries for the missing engines in zones.cfg (211 and 212), decreased a bit the size of the DM boxes in the zon files from the subs and added DM boxes for the missing engines, also linked them on each subs upc file.
Regretably I can't test it now, I'm too busy with the upcoming GWX release, I even coudn't test it in game, but the files are ok (in theory )
The extra entries in zones.cfg are copies of the original diesel engines entries.

Ref
__________________
ref is offline   Reply With Quote
Old 12-08-07, 11:52 AM   #51
nvdrifter
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Ducimus
This i think:

\sh4\Data\UPCData\UPCUnitsData\Equipment.upc


Code:
[Equipment 5]
ID=GatoDieselEngine
NameDisplayable= Diesel Engine
FunctionalType= EqFTypeEngineDiesel
EquipmentInterval= NULL, NULL
EquipmentSlotType=GatoDEngine
ExternalLinkName3D= NULL
Hitpoints= 100
;DamageDescription1= Taken_DamageType, MinDamage, MaxDamage, MinMaintenance, MaxMaintenance, chancefactor, Message, Spawned_damage_HP, Spawned_damage_AP, Spawned_Damage_Type, EfficiencyReduction, repair_skill, repairtime_in_hours 
DamageDescription1= NULL,    0,    0.2,    0,    1,    1,    small malfunction,        0,    0,    NULL,    0.3,    0.4,    4
DamageDescription2= NULL,    0.2,    0.6,    0,    1,    1,    Misaligned Axis,        0,    0,    NULL,     0.5,    0.4,    10
DamageDescription3= NULL,    0.6,    1,    0,    1,    1,    fuse blown,            0,    0,    NULL,    1,    0.2,    15
Ducimus, as far as I know most of the equipment.upc file does absolutely nothing. It was a planned part to have equipment breakdowns, but was never implemented. The section that affects repair times is here in the sub *.upc files. For example (in yellow):

[UserPlayerUnit 1.Compartment 2]
CompartmentType= 1
StatusActive= Yes
ID= GatoEnginesRoom
NameDisplayable= Engine Rooms
Type=NULL
FunctionalType= PropulsionRoom
MechanicalCoef= 0.6 ;0..1
ElectricsCoef= 0.4 ;0..1
GunsCoef= 0 ;0..1
WatchmanCoef= 0 ;0..1
WatchStandingCoef= 0.02
MaintenanceCoef= 0.001
RepairsCoef= 0.022
ReloadingweaponCoef= 0.072
SleepCoef= -0.12
LeadersSlots=3
CrewMembersSlots= 15
EffciencyDenominator=5
EffciencyDenominatorBS=10
Hitpoints=200
CrewExposure=0.1
EquipmentsExposure=0.99
WeaponsExposure=0.1
ExternalDamageZoneTypeID3D= 201
DamageDescription1= NULL, 0, 0.2, 0, 1, 1, Minor Leak, 0, 0, NULL, 0, 0.2, 0.2
DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Large hole, 0, 0, NULL, 0, 0.2, 0.5
DamageDescription3= NULL, 0.6, 1, 0, 1, 1, Wall breached, 0, 0, NULL, 0, 0.2, 1
  Reply With Quote
Old 12-08-07, 12:00 PM   #52
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

ref, I'll have a look in a little while.

tater
tater is offline   Reply With Quote
Old 12-08-07, 12:06 PM   #53
nvdrifter
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Ref, not good. Crashed my computer. Wouldn't work.
  Reply With Quote
Old 12-08-07, 12:15 PM   #54
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

BTW, as I ponted out above someplace (I think), in Zones.cfg there are 2 diesel engines. Both have "Father=29" but the submarine .zon files point at Father=201 (FltEngineRoom).

None the less the 1 and 2 engines take damage regardless (I tried setting the Zones to change Father=201 for the diesels and it works either way).

Is Zones universally used, or is much of it leftover sh3 stuff that is defunct?
tater is offline   Reply With Quote
Old 12-08-07, 12:19 PM   #55
Brenjen
Machinist's Mate
 
Join Date: Oct 2007
Location: I live in The U.S. South
Posts: 127
Downloads: 44
Uploads: 0
Default

Complete & functional engines & engine control is the #1 glaring problem with SH4 from my point of view & I had hoped that Ubi would get it right in 1.4; a lot of the other stuff is minor imho. I figure it this way, if I....a submarine game/history novice for the most part can see how horrible this aspect is & has been then why wasn't it corrected? It makes me think they either A: couldn't fix it without a major rework or B: figured "screw it, let the modders fix it"

Proposition "A" would be a major problem, but "B" would mean the ground work is there & only needs to be figured out....is there any way to ask the devs about the engines specifically & get a straight answer?
Brenjen is offline   Reply With Quote
Old 12-08-07, 01:49 PM   #56
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

There is an out of range number in the gato zon, ref. S3D crashes on it.

All the others open. Will test with a non-gato.
tater is offline   Reply With Quote
Old 12-08-07, 02:01 PM   #57
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

They take damage fine (non-gato). Now I'm gonna make a copy of this and mod the Zones file so that 3 of the 4 engines die if you look at them funny, and #3 or 4 stays intact. Then I will surface and see if it runs the boat.

tater
tater is offline   Reply With Quote
Old 12-08-07, 02:01 PM   #58
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by nvdrifter
Ref, not good. Crashed my computer. Wouldn't work.
I'll recheck the changes as soon as I have some time.

Ref
__________________
ref is offline   Reply With Quote
Old 12-08-07, 02:11 PM   #59
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Found the problem, I cut some bytes I shoudn't....

Here's the correct one:

http://rapidshare.com/files/75216582...DM_v1.rar.html

Ref
__________________
ref is offline   Reply With Quote
Old 12-08-07, 02:16 PM   #60
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

They take damage, but 3 and 4 are not functional.

IMO, adding them as damagable is a mistake if they don't propel the boat, since it will take damage control resources to fix them to no avail.

I can't seem to find how they are "hooked" to the boat as functional systems. Seems like whatever files mess withthis might also be useful for battery charging issues.

tater
tater is offline   Reply With Quote
Reply


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 04:49 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.