View Full Version : flooding problems. and others..
sona1111
12-07-11, 01:41 AM
hello again.
I am having a few small problems with a mod i have been working on. having exhausted everything i can think of, i come to the only place that can possibly help, the forums!
anyway the problem is with a sub that i have been modding, the damage system is raw and i have been trying to fix it up correctly. the biggest problem is with flooding. except, strangely, with the control room, a room with a completely destroyed bulkhead will not take on water unless the sub itself goes underwater. floating on the surface it will not flood. (except the control room) This is strange because i can not find anything different between the damage zone, the compartment entry in the upc file, or the corresponding entry in zones.cfg. :-?
secondly, the forward and aft torpedo rooms will not take damage at all. i expanded the size of the damage box greatly but to no avail. the armor is the same as the other compartments...any ideas on this?
thanks for reading.
USS Drum
12-07-11, 07:54 PM
hello again.
I am having a few small problems with a mod i have been working on. having exhausted everything i can think of, i come to the only place that can possibly help, the forums!
anyway the problem is with a sub that i have been modding, the damage system is raw and i have been trying to fix it up correctly. the biggest problem is with flooding. except, strangely, with the control room, a room with a completely destroyed bulkhead will not take on water unless the sub itself goes underwater. floating on the surface it will not flood. (except the control room) This is strange because i can not find anything different between the damage zone, the compartment entry in the upc file, or the corresponding entry in zones.cfg. :-?
secondly, the forward and aft torpedo rooms will not take damage at all. i expanded the size of the damage box greatly but to no avail. the armor is the same as the other compartments...any ideas on this?
thanks for reading.
It could be damaged above the waterline.
sona1111
12-07-11, 08:56 PM
is that really how it works? i have played other modded ships and it always seems to flood when their is above the crit_flotation in bulkhead damage.
anyway how about the forward and aft torp rooms not taking damage?
(thanks for your input)
USS Drum
12-07-11, 09:49 PM
is that really how it works? i have played other modded ships and it always seems to flood when their is above the crit_flotation in bulkhead damage.
anyway how about the forward and aft torp rooms not taking damage?
(thanks for your input)
It could be that when you modded it you gave the torpedo rooms a lot of health and the command room little health.
sona1111
12-07-11, 10:30 PM
every room has 200 hitpoints, -1 armor in the upc, and 30 armor in the ZON.
(their all the same)
peabody
12-08-11, 03:43 AM
every room has 200 hitpoints, -1 armor in the upc, and 30 armor in the ZON.
(their all the same)
Here you say they are all the same, and in your first post you say you can't find any difference.
Maybe if you copy/paste the upc info, Zones.cfg info and the sub.zon info for the problem compartments, maybe someone can find a difference. Without seeing the data, all they can do is guess. You may have something typed wrong or a missing comma, or hit enter when the info should all be on one line. (just guessing)
Also check your sub.zon to sub.dat "Parent IDs" to see what they are linked to. Maybe something is not linked properly.
Peabody
sona1111
12-08-11, 10:43 PM
the problem now seems to be somewhere in the zones...
I reconfigured the problem rooms into about 5 chunks each with the same ID (fitted with the curve of the hull) doing this and being shot at a while i finally registered one or two hits on the bulkhead for those compartments. it seems like something is blocking most of the shots...
i have lowered the armor of everything to 10 and all of the spheres to 0. Is it possible some of the collision spheres are blocking the shots?
does the shots explosion have to hit the edge of the zone as opposed to anywhere inside it? maybe that is part of the problem...
peabody
12-09-11, 05:20 AM
i have lowered the armor of everything to 10 and all of the spheres to 0. Is it possible some of the collision spheres are blocking the shots?
does the shots explosion have to hit the edge of the zone as opposed to anywhere inside it? maybe that is part of the problem...
I do not know what the values in the collision spheres mean. But all the spheres I have seen have
Type= -1
Armorlevel= -1
and Collision=true
That is where I would start. I know the armorlevel affects the zone boxes but I don't know if it does anything in the spheres other than detect impact.
As for where they hit, that is determined by the torpedo or shell that is fired. They have a minimum and maximum radius that they affect. So they will affect outward from the point of impact. So you could have one torpedo affect more than one zone.
Peabody
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.