![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
|
|
Thread Tools | Display Modes |
01-10-26, 01:34 PM
|
#1 |
|
Swabbie
![]() Join Date: Nov 2019
Posts: 13
Downloads: 7
Uploads: 0
|
Hello you may remember me from my previous posts such as in https://www.subsim.com/radioroom/sho....php?p=2937497 and https://www.subsim.com/radioroom/sho...d.php?t=258132 where I was working on my fun unhistorical mod of implementing the 88mm Deck Gun onto the Type II u-boat.
Here is a video of the current progress that I made: https://imgur.com/a/ZWejYza In the video you can see that with the methods I outlined in my previous posts, but just as a refresher the way this mod works is that I replaced the 3D models of the 20mm Single Barrel AA gun with the 88mm Deck Gun's models and changed some of the guns_SUB.sim parameters to be the same as the 88's. I did it this way because I was having problems doing it another way which is to get the actual 88mm gun, which is counted as a main armament and part of the Deck Gun compartment. So this means in this mod the deck gun is technically an AA gun. In the clip you can see that I was able to get the 88mm deck gun "onto" the Type II. It moves, sounds, shoots, reloads, and does all the things the normal deck gun would do. Aside from some of the deck gun's cranks 3D models not implemented yet (we can ignore this for now) it is working just as I want it except I have one issue. At the end of the video you can see that once I zoom in the deck gun's "zoom view" unlinks from the boat entirely and is frozen in space. I looked into the guns_SUB.dat and guns_SUB.cam files respectively to see how these cameras work in the game files. Please Note! Whenever I am referring to the 20mm AA Gun I am referring to the modded 88mm Deck gun due to the nature of how this mod is made! Here is how the nodes of the base-game 88mm Deck Gun in the .dat files have their cameras assigned from the .cam file: https://imgur.com/a/3HQkbkk So for my mod I replicated how the 88mm deck gun's camera works and implemented it on the 20mm (Details on my procedures can be found in the imgur descriptions): https://imgur.com/a/ejvkdNn Doing all this leads to the first clip I presented in this post. Even though it appears to be that the 20mm AA Gun's "DeckGunZoom" camera in .cam is assigned and linked properly to the High ZoomCamera node in the .dat file when zooming in it still unlinks from the boat and becomes frozen in place. So now the question of this post is how do I make this work? I am under the assumption that if I follow the mechanics of how the cannon types in SH3 assign their cameras then I could do the same for this mod as well. Am I missing something? Please share any knowledge or tips that could help me here. Also, please refrain mentioning the unhistorical aspects of this mod as that was already made apparent earlier. |
|
|
|
|
