Stiebler
07-23-13, 03:04 AM
Most of the U-boat turms (= conning tower, an object separate from the U-boat hull in SH3) for U-boats Type 7 and type 9 contain two slots for radar, called R01 and R02.
R01 is connected to the front of the U-boat conning tower, and is fixed (should be used only for FuMO29).
R02 is on the side of the conning tower, and allows for rotating radars (FuMO30 and later radars).
However, in the stock game, the rotating radars always get placed in the R01 slot.
The solution to this, adopted by all the super-mods (including NYGM and GWX) is to make R01 (which is the only slot available for the simple turms 7b/1, 7c/1, 9b/1 and 9c/1) also the preferred slot for all the other turms which allow rotating radars also. That is, R02 in turms like 7c/2 and 9c/3 has been renamed to R01, and the existing R01 has been renamed to R02 (NYGM) or discarded entirely (GWX).
The problem with this approach is that the fixed radar FuMO29 will be placed on the side-conning tower position, where it looks very silly, while the rotating radars such as FuMO30 will be placed rotating at the front of those turms with only the R01 slot available (such as 7c/1, 9c/1) at the front of the turm. The aerial rotating round the front of the conning tower also looks ridiculous.
Anvart asked me some time ago to see if I could find a hard-code fix for this irritating problem.
It took a long time to locate the code where the sensors are assigned, but finally I found it. And now I have fixed it!
It has been claimed in the past that R02 is not connected to anything, but this is mistaken. The real reason that R02 appears not to function properly is simple: there is only one radar carried by the U-boat. As the code cycles backwards (sic) through all its sensors, R01 is always encountered before R02, and therefore receives the one radar. R02 is left with nothing, when its turn comes in the code.
The question is: will anyone want this fix?
These are the difficulties:
1. The code fix will have to be added to the Stiebler code patch for Hsie’s code patch. However, many users have reported difficulty with installing the Stiebler patch, in particular, since it requires alteration of other files too.
2. New turms will be needed. For NYGM, these can be obtained easily simply by reversing the values of R02 and R01 in the existing turm.dat files. However, other users may need more complex solutions (eg, GWX has renamed the R02 node to R01 for turms/2 and /3 and deleted the original R01 node completely), and all users will need to have an R02 node added to their turms/1 objects. These changes can be made with Skywas’ S3Ditor. All added R02 nodes MUST follow this rule: the R02 node must have a lower node number than the R01 node. (For example, look for cfg#R02_Turm_7c_3_high in file data\objects\Turm7c_3_hd.dat - this is turm/3 for the 7C U-boat.)
3. The new turms will not be compatible with those currently in use by all the super-mods, and therefore will be useless to those who cannot install the code fix. Therefore the new turms for all super-mods must be distributed as part of the code fix, and not separately.
What do other players think?
As a final issue, that can probably be easily solved, the rotating radar is placed at right angles to its correct position when at rest. Therefore it protrudes into the conning tower. Does anyone know how to change the rest angle of the rotating radars?
Stiebler.
R01 is connected to the front of the U-boat conning tower, and is fixed (should be used only for FuMO29).
R02 is on the side of the conning tower, and allows for rotating radars (FuMO30 and later radars).
However, in the stock game, the rotating radars always get placed in the R01 slot.
The solution to this, adopted by all the super-mods (including NYGM and GWX) is to make R01 (which is the only slot available for the simple turms 7b/1, 7c/1, 9b/1 and 9c/1) also the preferred slot for all the other turms which allow rotating radars also. That is, R02 in turms like 7c/2 and 9c/3 has been renamed to R01, and the existing R01 has been renamed to R02 (NYGM) or discarded entirely (GWX).
The problem with this approach is that the fixed radar FuMO29 will be placed on the side-conning tower position, where it looks very silly, while the rotating radars such as FuMO30 will be placed rotating at the front of those turms with only the R01 slot available (such as 7c/1, 9c/1) at the front of the turm. The aerial rotating round the front of the conning tower also looks ridiculous.
Anvart asked me some time ago to see if I could find a hard-code fix for this irritating problem.
It took a long time to locate the code where the sensors are assigned, but finally I found it. And now I have fixed it!
It has been claimed in the past that R02 is not connected to anything, but this is mistaken. The real reason that R02 appears not to function properly is simple: there is only one radar carried by the U-boat. As the code cycles backwards (sic) through all its sensors, R01 is always encountered before R02, and therefore receives the one radar. R02 is left with nothing, when its turn comes in the code.
The question is: will anyone want this fix?
These are the difficulties:
1. The code fix will have to be added to the Stiebler code patch for Hsie’s code patch. However, many users have reported difficulty with installing the Stiebler patch, in particular, since it requires alteration of other files too.
2. New turms will be needed. For NYGM, these can be obtained easily simply by reversing the values of R02 and R01 in the existing turm.dat files. However, other users may need more complex solutions (eg, GWX has renamed the R02 node to R01 for turms/2 and /3 and deleted the original R01 node completely), and all users will need to have an R02 node added to their turms/1 objects. These changes can be made with Skywas’ S3Ditor. All added R02 nodes MUST follow this rule: the R02 node must have a lower node number than the R01 node. (For example, look for cfg#R02_Turm_7c_3_high in file data\objects\Turm7c_3_hd.dat - this is turm/3 for the 7C U-boat.)
3. The new turms will not be compatible with those currently in use by all the super-mods, and therefore will be useless to those who cannot install the code fix. Therefore the new turms for all super-mods must be distributed as part of the code fix, and not separately.
What do other players think?
As a final issue, that can probably be easily solved, the rotating radar is placed at right angles to its correct position when at rest. Therefore it protrudes into the conning tower. Does anyone know how to change the rest angle of the rotating radars?
Stiebler.