SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   I wonder if we really only have two engines (https://www.subsim.com/radioroom/showthread.php?t=126312)

tater 12-08-07 02:19 PM

Odd also that all the UPC files point to ID= GatoEnginesRoom and in the Zones it is FltEngineRoom. No ref to GatoEnginesRoom I can find yet.

ref 12-08-07 02:20 PM

Quote:

Originally Posted by tater
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

As the DM of the engines is connected to the engines compartment (as they should be), you may want to increase the HPs / ArmorLevel of the engines compartment to make it tougher, that way there's a bigger chance that the engines could be damaged individually.
[FltEngineRoom]
Category=Engines Room
Multiplier=1.0
Flotability=21.64
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=0.15
Critical=No
Effect1=#dc_bubbles, 10
Effect2=#Oil_trace, 20
FloodingTime=860
CargoType=None
In stock 1.4 it has 200 HPs, a DC has a max damage of 230, a well placed one will exceed the compartment HPs, probably a good idea to set it to 250 or so, I'm just looking this for the first time, and I don't know if this is real, but the max range of the deep charges is set to 40 mts and the min damage is 170, It seems a bit high, they should have a smaller radius or a smaller minimum effect.

Ref

tater 12-08-07 02:34 PM

Most of the mods out already diminish the DC MaxRadius by quite a bit. I've added several DC types and launchers already myself. The damage values are high partially because the boats have huge hitpoints, 600 for Gato/Balao.

Anyway, I can get them to damage individually, but they don;t "work" as engines.

I tried my mod copy of your mod. Engines 1, 2, and 3 were set to 10 hitpoints, armor 1. Engine 4 was set to 10,000 HP, armor 250.

I let myself get DCed in the engine compartment, lost 3 engines totally. Sank the DD, then surfaced.

Engine 4 doesn't work, sub dead in the water.

tater

tater 12-08-07 02:36 PM

Also, In Zones.cfg, the Father for all the 4 engines is set to 29. This is the "generic" DieselEngineRoom. The zons, however, point at father=201, the FltEngineRoom.

What's up with that?

tater

tater 12-08-07 02:52 PM

I changed the father=29 to 201 for all 4, they still take damage properly, but 3 and 4 don't function as diesels.

ref 12-08-07 02:57 PM

I'm just starting to check things here, so I may said something obvious.

In the *.zon files, more preciselliy in the boxes section there's no reference to a "parent", they only contain size, armorlevel and a link field that could point to a "child" object.
All parenting data is handled in zones.cfg.

After reading your previous post I've been looking at the other subs, only the AI ones use the 29 (DieselEngineRoom), and share the 21=DieselEngine1 and 55=DieselEngine2 with the player boats.
The player boats use for the diesel compartment FltEngineRoom (Flt=fleet ?), apparently an attempt to separate the damage from player and AI subs,apparently the problem is that the player subs still use the type 21 and 55 for their engines, possibly creating individual entries for the fleet engines and parenting them to FltEngineRoom instead of DieselEngineRoom could do the trick.


Ref

tater 12-08-07 03:11 PM

That's what I just did (explained in post above). Didn't work. In the zon file, it uses "Type" instead of "Father" but the numbers are the same. Type=201 as you observed.

I was hoping that pointing your new diesel zones at 201 would do the trick and link them in, but something else is going on here. Maybe 21 and 55 are pointed at by something hardcoded.

tater

tater 12-08-07 03:21 PM

Just to be clear, they take damage properly, they just won't propel the sub through the water on the sirface.

Wonder if something in the sim points at them under propulsion...

tater

Wolfling04 12-09-07 10:33 AM

Maybe this???
 
Hello this is my first post and what better place to post then on a forum about something I have wondered since I bought the game the week it came out. Anyways is there maybe a file describing something about horsepower or something along these lines. Would engines 3 and 4 show no power output at all, along with the zone problems?

tater 12-09-07 10:36 AM

The propulsion stuff is in the sim file, and is generic to the sub. HP, RPMs, max speed, etc. This might only be used for AI subs, though.

So far I've found nothing that links the diesel to propulsion.

tater

12-09-07 09:48 PM

Quote:

Originally Posted by tater
The propulsion stuff is in the sim file, and is generic to the sub. HP, RPMs, max speed, etc. This might only be used for AI subs, though.

So far I've found nothing that links the diesel to propulsion.

tater

Probably in one of the .act files. My guess would be the SHsim.act

Snuffy 12-24-07 12:20 PM

Bump.

been a while for any activity on this ... Just thought I'd see what was going on.


All times are GMT -5. The time now is 03:48 AM.

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.