I would propose listing a set of objectives for the UPC files in particular, and then defining a set of standards to meet these objectives. In other words, what are the areas that need to be fixed, and then define the standards to apply to fix the problem. At a minimum, I think this should address issues like compartment numbering and the max crew for each compartment. The actual number of crew members in each compartment can then be adjusted via the FunctionalSubsystem line in the UPC file.
I have no problem posting the files, and I've posted some of the relevant sections of the Equipment and Gato UPC files in this thread. I've also got to point out that to accomplish the scope identified in the OP, many other files are going to be affected, for example, the submarine zon files and the zones.cfg, in addition to the most of the other UPC files.
Tonight I managed to correctly zone the 20mm single AA gun and correct the issue allowing the gun to continue firing after it had been destroyed. I've identified a problem of tying the weapon slot to a specific zone that I have to work out carefully. I think this is going to end up affecting many more UPC files. I think I'm also going to have to make some adjustments to the Sub Parts DAT files in order to create clones of equipment because, for example, the fore and aft AA stations share the same equipment meaning it would share the same zone. Obviously this presents a problem because now the zone is shared in two locations causing problems on damage and repair. I think I can fix this with cloning, but it's going to require some unique adjustments to the weapons.upc to make it work. And this doesn't address the upgrade pack problem on these pieces of equipment. I now understand why the Dev's made the ExternalDamageZoneTypeID3D= -1 for this equipment because this becomes so darn complex. In either case, I think it's possible, but will just take time to carefully work through. I've got it clear in my head what needs to happen...I hope this explanation makes sense.
I can post the files if desired, but it will probably tomorrow at the earliest.
|