SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Playable U-FlaK for SH5 (https://www.subsim.com/radioroom/showthread.php?t=224498)

gap 02-26-16 10:53 AM

Quote:

Originally Posted by vdr1981 (Post 2384638)
Nope, I'm teleported to the stern heavy flak when front flak is "clicked"...
Did you get same results?

After installing my patch?

vdr1981 02-26-16 10:58 AM

Quote:

Originally Posted by gap (Post 2384639)
Yep. Tell me the which GR2 file, and exact bone name :salute:

I'm going to upload modified gr2 tower file with edited bones (A2 bone moved to the front, A1 in the middle, S2 removed ect) . Is that OK? Messing with M1 node is not necessary any longer , I think...

I was trying to rotate A2_FLAK_GUN bone, but I couldn't...:hmm2:

EDIT


Quote:

Originally Posted by gap (Post 2384642)
After installing my patch?

Yes...

gap 02-26-16 11:06 AM

Quote:

Originally Posted by vdr1981 (Post 2384643)
Yes...

And what about your own modifications? Do they work? I am afraid that if we can't get the game to handle two heavy Flaks, doing it with three of them could be even harder, even if we give up the light ones :hmm2:

vdr1981 02-26-16 11:13 AM

Quote:

Originally Posted by gap (Post 2384646)
And what about your own modifications? Do they work? I am afraid that if we can't get the game to handle two heavy Flaks, doing it with three of them could be even harder, even if we give up the light ones :hmm2:

I'ts early to tell... Take a look at this...
http://s6.postimg.org/l5q96uewd/SH5_...6_17_05_03.jpg
This is a new configuration and you can see the issues. I can man all three stations but I still can't operate two forward heavy flaks. I'll see what I can do...:hmmm:
Do you want me to upload the files?

gap 02-26-16 11:26 AM

Quote:

Originally Posted by vdr1981 (Post 2384647)
...This is a new configuration and you can see the issues.

This is what I can see:

- Bow gun: there is only one gunner instead of two, and he is sitting on the wrong end of the gun;
- Wintergarte gun: there is only one gunner instead of two, and he is manning the gun as if it was a light Flak gun;
- Stern gun: as far as I can see from your screenshot, all seems okay.

Quote:

Originally Posted by vdr1981 (Post 2384647)
I can man all three stations but I still can't operate two forward heavy flaks. I'll see what I can do...:hmmm:

I don't get you: if you can man them, what prevents you from operating them? Don't they move/shot or what else?

Quote:

Originally Posted by vdr1981 (Post 2384647)
Do you want me to upload the files?

Yes, please. Don't forget to include any other file you might have modified besides the GR2 file :yep:

vdr1981 02-26-16 11:52 AM

OK, just give me some time...:up: I have to go now, but later this evening I'll upload new files and then we'll see what we can do...:)

gap 02-26-16 12:00 PM

Quote:

Originally Posted by vdr1981 (Post 2384662)
OK, just give me some time...:up: I have to go now, but later this evening I'll upload new files and then we'll see what we can do...:)

No problem Vecko, take your time :salute:

vdr1981 02-26-16 04:58 PM


OK, this would be realistic (and very badass ) U-flak configuration, you will agree gap, right?:)

It's interesting that in this configuration all flak stations are working fine !? :doh:

However, If I add 2x 37mm instead of 2xQuads, then forward two stations will become inoperable (for player)...Strange...:hmmm:

Here is the new U-flak mod (complete)...
http://www.mediafire.com/download/cd...+U-FlaK+II.rar

Cybermat47 02-26-16 05:35 PM

Will this be incoporated into the next version of TWoS?

gap 02-26-16 06:32 PM

Quote:

Originally Posted by vdr1981 (Post 2384720)
OK, this would be realistic (and very badass ) U-flak configuration, you will agree gap, right?:)

It's interesting that in this configuration all flak stations are working fine !? :doh:

Okay good. What about the manning crew? I have probably found why some guns had missing/flipped/wrong crew.

While I was waiting for your updates I tweaked a bit the conning tower to accomodate the new gun configuration (if you open the GR2 file you will understand what I am talking about). Talking on it, I am stil undecided wether to remove the flag staff or not...

Here are the files:
http://www.mediafire.com/download/5y...Turm_Tweaks.7z

Quote:

Originally Posted by vdr1981 (Post 2384720)
However, If I add 2x 37mm instead of 2xQuads, then forward two stations will become inoperable (for player)...Strange...:hmmm:

The more I mess with playable guns, the more I get convinced that there are some hardcoded values preventing the usage of more than one 37mm Flak (and probably making the twin 37mm buggy). I hope to be wrong though :)

vdr1981 02-26-16 06:55 PM

Quote:

Okay good. What about the manning crew? I have probably found why some guns had missing/flipped/wrong crew.
Please explain! :) My changes still have wrong/flipped crew (as you can see in my upload)


Quote:

While I was waiting for your updates I tweaked a bit the conning tower to accomodate the new gun configuration (if you open the GR2 file you will understand what I am talking about). Talking on it, I am stil undecided wether to remove the flag staff or not...
I like it, very nice! :up::up: I think you should remove it because there is no any flag staff on U-flak pictures...:yep::up:


Quote:

The more I mess with playable guns, the more I get convinced that there are some hardcoded values preventing the usage of more than one 37mm Flak (and probably making the twin 37mm buggy). I hope to be wrong though :)
I dont think that anything is hard codded...It's just that we don't know how...
But, we are on good track...

gap 02-26-16 07:48 PM

Quote:

Originally Posted by vdr1981 (Post 2384730)
Please explain! :) My changes still have wrong/flipped crew (as you can see in my upload)

Okay, don't quote me on that, what follows is just my guessing, but I think that bones named WP_* are used for crew placement. There are two copies of them, one in the turm GR2 and the other in turm's waypoints GR2 file. Looking more closely at them, I suspect the first determine crew position, and the latter crew rotation. Going by names and positions, it is easy understanding which WP bone goes to which gun; yet, I still cant find the logical linking among them. It is possible that settings associating each gun slot with its appropriate WP bone and crew type are found in an softcoded cfg file, or it is possible that this association is hardcoded so that WP_A01_GUN always means "light Flak crew linked to the gun in configurable bone A01", WP_FLAK_GUN is heavy Flak crew to the gun in bone S01", etc. If that was the case, there would be little space for assigning corret crew to the two Flakvierling (they would always display ligh AA guns crew), but for a start I would start renaming those bones WP_FLAK_GUN, WP_FLAK_GUN_01, WP_FLAK_GUN_02, and see what happens...

Quote:

Originally Posted by vdr1981 (Post 2384730)
I like it, very nice! :up::up: I think you should remove it because there is no any flag staff on U-flak pictures...:yep::up:

I think the flagstaff was removable but no problem on that: I can delete it from the file, or move it to one side :up:

Quote:

Originally Posted by vdr1981 (Post 2384730)
I dont think that anything is hard codded...It's just that we don't know how...
But, we are on good track...

I hope so! :salute:

gap 02-26-16 08:47 PM

Good news :up:

Using Notepad++ I have searched the data folder for the string "WP_FLAK_GUN", and I found instances of it in the following files:

\Scripts\AI\Crew\Crew_Idle_Actions_QR2.aix

\Submarine\NSS_Uboat7*\Submarine Parts\Conning_7*.GR2 (this was expected)

\Submarine\NSS_Uboat7c41\Submarine Parts\Conning_7c41_*.waypoints.GR2 (this was expected too, but I still don't get why only VIIc41's conning towers have their crew waypoints duplicated in an external GR2 file; makes me wonder whether the duplicated bones are actually used or not)

\Submarine\NSS_Uboat7*\waypoint_edges.txt

\Submarine\NSS_Uboat7*\waypoint_info.txt

Now we need to study those files, but I feel we are a step closer to the solution of the puzzle :sunny:

THEBERBSTER 02-27-16 06:20 AM

sober made a mod for Shaefer for using with VIIA and VIIB's where he moved the bridge crew to different positions.
Peter

vdr1981 02-27-16 07:58 AM

Quote:

Originally Posted by gap (Post 2384738)
Good news :up:

Using Notepad++ I have searched the data folder for the string "WP_FLAK_GUN", and I found instances of it in the following files:

\Scripts\AI\Crew\Crew_Idle_Actions_QR2.aix

\Submarine\NSS_Uboat7*\Submarine Parts\Conning_7*.GR2 (this was expected)

\Submarine\NSS_Uboat7c41\Submarine Parts\Conning_7c41_*.waypoints.GR2 (this was expected too, but I still don't get why only VIIc41's conning towers have their crew waypoints duplicated in an external GR2 file; makes me wonder whether the duplicated bones are actually used or not)

\Submarine\NSS_Uboat7*\waypoint_edges.txt

\Submarine\NSS_Uboat7*\waypoint_info.txt

Now we need to study those files, but I feel we are a step closer to the solution of the puzzle :sunny:

Heh, we are thinking the same. I reached the same conclusions yesterday while I was using advanced search options in Notepad++ , that's why I asked you how can I rotate bones with gr2 editor (I was trying to rotate WP_A02_GUN bone). However, I'm not happy to see that even script files are involved in crew placement...:hmmm:

One more question though...Your tweaked gr2 U-flak tower works great but it has been doubled in size (9MB, was 4MB), was that your intention or maybe not?:hmm2:

Also, I'm going to upload latest U-flak version with edited upgrade packs, restricted gun zones ect...You are free to grab it and , if possible, to tweak any spotted issue...:yep:


All times are GMT -5. The time now is 02:24 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.