View Full Version : 2D compartments
10-28-2009, 02:23 PM
Does anyone know what effect the 2D compartment parameters in the .cfg file of a ship model have, specifically with regard to the engines?
In the .cfg for each ship there is, for instance:
Area5 = 253, 17,43,18
(The Essex class)
10-29-2009, 06:59 PM
Come on guys, every ship model has these compartments in it's .cfg file, so a ship modeller out there must have a clue.
I'm clutching at straws here trying to solve the issue of why all the engines stop for inexplicable reasons when the SH3 ships are hit in the engine areas by torpedo.
It happens on even the battleships to engines that are well outside the torpedoes blast area.
I guess evryone is happy shooting at sitting ducks then?
Just stick a fish under the engines and wait for it to stop.
I thought there were some realism junkies in this forum :yawn:
11-04-2009, 08:00 PM
Well, I must say, If I was really sinking something, I'd aim for the engines!
(sorry about not really giving a real answer!)
11-04-2009, 09:18 PM
It's ok m8, at least you spoke, i sometimes think my messages are invisible for all the response i get :)
I solved the engine problem and i'm on to the next one now (problem).
It would still be nice to know what effect the 2D compartment parameters have though, in case it helps in future.
Maybe one day :O:
11-05-2009, 01:02 AM
I"m not the bets modder around here, but I think those define what areas of the ship contain what parts. Thus if you hit the area defined as the engine room, the ship's engines are destroyed. Hit the radio room and they can't call for help and so on.
11-05-2009, 09:16 AM
Thanks Commander Gizmo, i thought so, but i can't find any info in the model files to locate these area numbers.
Maybe they are defined at the modelling stage in 2D, and the 2D map, if there is one, is not transferred in to SH3 with the model.
This is the 2D list for the Essex.
Name3=Fore Ammo Bunker
Name4=Aft Ammo Bunker
It's a 2D list of the ship's critical areas.
Notice that the Propulsion, Fore Ammo Bunker, AAB, Engines Room and Fuel Bunkers all contain the number 18.
This counts out a box section/grid type 2D map system, as these areas are at various locations in the ship, and the only thing they appear to have in common is that they all span the longitudinal centre line of the ship. Although this theory doesn't fit with the keel numbers.
In the course of modifying the zones for the ships, i've had to move things around a little, although not much, so they are still in approximately similar places.
It's possible that for a re-located item the ship may take a hit to a 2D area that corresponds to those above, but the item it thinks has been hit is in an adjacent area.
I'm trying to find a way to check, so i need to be able to make sense of the info.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.