SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-18-16, 04:45 PM   #1
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
The U-Flak!
I thought that conning tower was broken. Who knows why devs discarded it?

After a bit more testing I still haven't find bigger reason why U-FlaK shouldn't be added to SH5 as new submarine type, the very first one in SH5? It would be much easier to add new conning tower upgrade to C or C/41, but it would be much better to have it as stand alone unit because from what I know, U-FlaK were quite handicapped in number of torpedoes, range, maneuverability ect ... What do you say gap?


Quote:
Originally Posted by gap View Post
On a side note, these days I am messing with depth charges projectors (more specifically, I am creating some models for a Squid mod by LGN1 for SHIII), and while digging into game files I have got a few ideas on why the standard K-gun doesn't work in SH5. If my suppositions are true, fixing that thrower and adding more DCs/ DC throwers variety to SH5 too, should be all but impossible
Looking forward to it...
vdr1981 is offline   Reply With Quote
Old 02-18-16, 05:23 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
After a bit more testing I still haven't find bigger reason why U-FlaK shouldn't be added to SH5 as new submarine type, the very first one in SH5?
Don't forget the type II U-boat that Trevally has recently re-released (yep, I know it is an option for some ). Moreover, IIRC a while ago Cybermat has released a japanese midget submarine imported from SHIV.

Quote:
Originally Posted by vdr1981 View Post
It would be much easier to add new conning tower upgrade to C or C/41, but it would be much better to have it as stand alone unit because from what I know, U-FlaK were quite handicapped in number of torpedoes, range, maneuverability ect ... What do you say gap?
I am not sure I am getting what you mean. There were only four "U-Flaks", and all of them were modified Type VII C U-boats. For usage as AI units I think the best option would be setting a new submarine unit, making its cfg file to point to the model of the VIIC (AI version), and equipping it with the flak conning tower and appropriate AA guns through eqp file. For the new unit to appear consistently in campaign, it should be scripted. Correct timeframe and locations are easyily obtained, as we only need to check the service history of four vessels.
If need be, I can clone the GR2 file of the stock VIIC, but remapping the IDs of its controllers would be a lot of work. Doable indeed but, provided that there are no special reasons for doing it, I think the first option is the best, "cheapest" way to go. I hope I answered your question.


Quote:
Originally Posted by vdr1981 View Post
Looking forward to it...
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-18-16, 05:42 PM   #3
palmic
Grey Wolf
 
Join Date: Jan 2014
Location: 50.1° N, 14.4° E
Posts: 835
Downloads: 82
Uploads: 5
Default

I think that one of the most annoying things in TWOS is now alarm clock sound. Its very useful thing, but its soooo loud.
You can fix it very easily - its AlarmClock.wav file in Data/audio.

If you want to, you can do it in few seconds by http://www.audacityteam.org/.
Its free and very great SW, i used to use wavelab from Steinberg before, but this is even better and FREE!

Just open it there (drag + drop), mark all track (ctrl+A) and use context menu: Effect / normalize -> -20db.
You can undo by ctrl+Z and do it again to any level as you want.
Then File/export to the same file.

I even removed click sounds from map geometry tools and everywhere because i like to use hydrophone at very high levels in headphones.

Maybe ill learn how to make mod and release it in one package
palmic is offline   Reply With Quote
Old 02-18-16, 06:06 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

@ Aktungbby and vdr1981

Talking in general about U-flak's limitations, I think we can mimic them without need to tweak any sim file:

range: the new unit can be scripted so that it will spawn exclusively in Biscay Bay within the correct time frame. I doubt wolfpacks triggered by TDW's call fo reinforcement patch would spawn them since, IIRC, u-boat classes which can be triggered by the patch are hardcoded in the patch itself. There is still a chance that some U-flaks will be triggered where a mission layer calls for a generic German submarine, but this is something can be addressed in a second moment.

maneuverability: in SH5 both conning towers and guns have their own drag values which add to the drag of the unit fitted with them. Stock game makes little use of those additional drag settings, but we can put them into use.

number of torpedoes carried: I am afraid there is not much we can do here without cloning a VIIC for usage as U-Flak and giving the boat its own sim file with appropriate torpedo settings. Nonetheless, I think torpedoes are the least problem: AI submarines do a bad use of them anyway, and I doubt a player would ever notice a U-Flak firing more torpedoes than it should.


I am curious to know if the U-Flak conning tower can be made available to the player as an (exceptionally expensive) upgrade. Have you tried Vecko?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-18-16, 06:22 PM   #5
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

I dont think that you have understand me right gap. I 'm not considering AI U-Flak submarine at all... Only ONE playable flak trap.

Quote:
Originally Posted by gap View Post
I am curious to know if the U-Flak conning tower can be made available to the player as an (exceptionally expensive) upgrade. Have you tried Vecko?
I dont see why it couldn't be possible, but that's not the point.
I dont salute the idea to have Type VIIC upgraded with U-flak tower IF we have any chance to simulate new submarine correctly with all of it's advantages and disadvantages...
vdr1981 is offline   Reply With Quote
Old 02-18-16, 05:49 PM   #6
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

I'm talking about new playable submarine type, not about AI graphical eye candies...

Would it really be necessary to remap all IDs if , for example, I wish to use VII C gr2 body/hull + U-FlaK conning tower in order to add one more playable submarine to the game?

Do you think that in that case appearance of new u-boat and type VIIC in the same area would crash the game because of duplicated IDs?

Do you actually know any fast scenario to artificially reproduce CTD caused by duplicated IDs?

Sry because of many questions but , right now, only you can help me..
vdr1981 is offline   Reply With Quote
Old 02-18-16, 07:01 PM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
I'm talking about new playable submarine type, not about AI graphical eye candies...
Sorry man, I felt I had not got your idea correctly...

Quote:
Originally Posted by vdr1981 View Post
Would it really be necessary to remap all IDs if , for example, I wish to use VII C gr2 body/hull + U-FlaK conning tower in order to add one more playable submarine to the game?

Do you think that in that case appearance of new u-boat and type VIIC in the same area would crash the game because of duplicated IDs?

Do you actually know any fast scenario to artificially reproduce CTD caused by duplicated IDs?

Sry because of many questions but , right now, only you can help me..
No, as long as you use the same granny file with unchanged bone names, there is no need to remap controller IDs. There are still some unsolved problems though:

1 - Most of the times, the name of the main model (within an unit's gr2 file), the name of the gr2 file, and the name of the folder containing the gr2 file, are matched. This is not always true for AI-controlled units, but it is for playable U-boats. If we change model name, we need to remap controller Id's. If we don't, there will be a mismatch between model name and gr2 and/or folder name. Honestly I don't know if such a mismatch can cause any problem, but this is something we should factor in.

2 - Even supposing that the above wasn't an issue, we would have two U-boats sharing the same bone IDs. It would be impossible for the two of them to appear in the same time and location, as they both would be playable U-boats, and the player can only command one U-boat at any given time. Nonetheless, we should consider that controllers are loaded in memory based on their parent IDs. Name and folder location of the binary files where the controllers are stored might play a role as well, but I am not too sure about this last statement. If the above was true, duplicating two units which share the same ID's shouldn't cause any issue until they both spawn in player's area (which, as stated above, is impossible for two playable units), but if on the contrary file name and location are unrelevant, the game would crash as soon as one of the two units is loaded in memory (because of the two sets of controllers clashing with each other). Testing this scenario on AI controlled units is easy: pick an unit, move one of its essential binary files in any folder and rename it to a random name. Set a test mission with the picked unit and run it. If the game crashes it means it couldnt locate the essential controllers, i.e. file name and location are relevant. If not, only IDs matter, and your idea is not viable. Another possible test: duplicate an unit copying its files to a new folder, and change the cfg file of the duplicated unit so that the game will recognize them as two different units. To be sure to put yourself into the worst possible circumstance, change a bit controller settings of the duplicated unit; set a test mission with either of the two units and load it. If the game crashes, then the two sets of controllers are loaded because the have the same parent Ids, no matter their name or folder.

3 - More importantly: how do you "tell" the game that there is a new playable unit that the player can get assigned to? As far as I know, at least in SH5, playable units are hardcoded.
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 02-18-16 at 07:11 PM.
gap is offline   Reply With Quote
Old 02-19-16, 07:30 AM   #8
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
Sorry man, I felt I had not got your idea correctly...



No, as long as you use the same granny file with unchanged bone names, there is no need to remap controller IDs. There are still some unsolved problems though:

1 - Most of the times, the name of the main model (within an unit's gr2 file), the name of the gr2 file, and the name of the folder containing the gr2 file, are matched. This is not always true for AI-controlled units, but it is for playable U-boats. If we change model name, we need to remap controller Id's. If we don't, there will be a mismatch between model name and gr2 and/or folder name. Honestly I don't know if such a mismatch can cause any problem, but this is something we should factor in.

2 - Even supposing that the above wasn't an issue, we would have two U-boats sharing the same bone IDs. It would be impossible for the two of them to appear in the same time and location, as they both would be playable U-boats, and the player can only command one U-boat at any given time. Nonetheless, we should consider that controllers are loaded in memory based on their parent IDs. Name and folder location of the binary files where the controllers are stored might play a role as well, but I am not too sure about this last statement. If the above was true, duplicating two units which share the same ID's shouldn't cause any issue until they both spawn in player's area (which, as stated above, is impossible for two playable units), but if on the contrary file name and location are unrelevant, the game would crash as soon as one of the two units is loaded in memory (because of the two sets of controllers clashing with each other). Testing this scenario on AI controlled units is easy: pick an unit, move one of its essential binary files in any folder and rename it to a random name. Set a test mission with the picked unit and run it. If the game crashes it means it couldnt locate the essential controllers, i.e. file name and location are relevant. If not, only IDs matter, and your idea is not viable. Another possible test: duplicate an unit copying its files to a new folder, and change the cfg file of the duplicated unit so that the game will recognize them as two different units. To be sure to put yourself into the worst possible circumstance, change a bit controller settings of the duplicated unit; set a test mission with either of the two units and load it. If the game crashes, then the two sets of controllers are loaded because the have the same parent Ids, no matter their name or folder.
Thank you once again gap for your resourceful answers. Right now I'm optimistic that it is actually possible to create one more playable units from submarine parts which are already implemented into the game, but I am not so sure that I alone will be able to do that. There is just too many files involved (especially upcge and upc files) and my understanding of those files is limited. I'm going to open a new thread. There's too much traffic here...

Quote:
Originally Posted by gap View Post
3 - More importantly: how do you "tell" the game that there is a new playable unit that the player can get assigned to? As far as I know, at least in SH5, playable units are hardcoded.
I hope I wont be able to confirm your claim. For now it seems that nothing is "blocked" due to hardcode...My main issue is to set up correctly upc and upcge files. What I'm trying to do is to copy one already existing sub, edit one of them and to convince the game that those are actually two different units trough upcge, upc and cfg files. We'll see...
vdr1981 is offline   Reply With Quote
Old 02-19-16, 01:02 PM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
Thank you once again gap for your resourceful answers.
My pleasure sir

Quote:
Originally Posted by vdr1981 View Post
Right now I'm optimistic that it is actually possible to create one more playable units from submarine parts which are already implemented into the game, but I am not so sure that I alone will be able to do that. There is just too many files involved (especially upcge and upc files) and my understanding of those files is limited.
Yes, those files are a mess, but most of their settings are used to couple playable units with their equipments/armaments/functionalities, and are common to all the U-boat types featured in game (with the exception of conning towers and other type-specific upgrades). Unfortunately I am supposed to move again in East Africa in two weeks. Right now I can't commit myself to this new project of yours but I will keep an eye on the forum and, whenever you need for help, during my spare time I will try and support you as much as I can.

Quote:
Originally Posted by vdr1981 View Post
I hope I wont be able to confirm your claim. For now it seems that nothing is "blocked" due to hardcode...
Fingers crossed

Quote:
Originally Posted by vdr1981 View Post
My main issue is to set up correctly upc and upcge files. What I'm trying to do is to copy one already existing sub, edit one of them and to convince the game that those are actually two different units trough upcge, upc and cfg files. We'll see...
My suggestion is to use VII C files as base. Use winmerge for comparing them with their homologous files of other U-boat types. Leave alone common settings, and focus on groups of parameters changing from an u-boat type to the other, trying to understand what they do exactly.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-18-16, 07:43 PM   #10
Cybermat47
Willing Webfooted Beast
 
Cybermat47's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 4,570
Downloads: 300
Uploads: 23


Default

Quote:
Originally Posted by gap View Post
Moreover, IIRC a while ago Cybermat has released a japanese midget submarine imported from SHIV.
This reminds me, a while ago I tried importing AI subs from GWX into the game. I'm pretty sure that I got the milk cow working, and perhaps the Russian Schuka class (except for the guns) but of course I have to ask someone from the GWX team before I can release them.
__________________
Historical TWoS Gameplay Guide: http://www.subsim.com/radioroom/showthread.php?p=2572620
Historical FotRSU Gameplay Guide: https://www.subsim.com/radioroom/sho....php?p=2713394
Cybermat47 is offline   Reply With Quote
Old 02-18-16, 08:03 PM   #11
Cybermat47
Willing Webfooted Beast
 
Cybermat47's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 4,570
Downloads: 300
Uploads: 23


Default

Ah yes, here we are.

Type XIV


Type XXIII (Which doesn't work, except perhaps as a zombie ship)



S-Class (no guns yet)


T-Class


Schuka Class (no guns yet)


Adua Class (no guns yet)
__________________
Historical TWoS Gameplay Guide: http://www.subsim.com/radioroom/showthread.php?p=2572620
Historical FotRSU Gameplay Guide: https://www.subsim.com/radioroom/sho....php?p=2713394
Cybermat47 is offline   Reply With Quote
Old 02-18-16, 08:17 PM   #12
Koranis
A-ganger
 
Join Date: Dec 2006
Posts: 80
Downloads: 84
Uploads: 0
Default

I'm having some issues, I don't know if it's a bug or something to do with this mod.

First, I can't find "confirm target" checkbox anymore, it used to be in the handbook. Is this something new introduced by a mod included in the WOS? How am I supposed to send ship data to tdc?

Second, Bdu calls my uboat u-27 in the Captain's log, and U-28 in the Radio messages? Which am I?

Furthermore, I receive different messages in captain's log and radio messages. Bdu answers to my reports "Good job, blablabla" in captain's log and "you suck, be more aggressive" in radio reports.... so... which one is the right one?
Koranis is offline   Reply With Quote
Old 02-19-16, 02:17 AM   #13
kobiwaldi
Seaman
 
Join Date: Oct 2014
Posts: 40
Downloads: 118
Uploads: 0
Default

All your questions are answered in post 1 and in the Guides from webster (SH5 section - Tutorials / Faq)
kobiwaldi is offline   Reply With Quote
Old 02-19-16, 02:46 AM   #14
Sjizzle
Count Dracula
 
Sjizzle's Avatar
 
Join Date: Aug 2012
Location: 46°13′N, 24°47′E
Posts: 1,807
Downloads: 405
Uploads: 0


Default

Quote:
Originally Posted by Koranis View Post
I'm having some issues, I don't know if it's a bug or something to do with this mod.
Quote:
First, I can't find "confirm target" checkbox anymore, it used to be in the handbook. Is this something new introduced by a mod included in the WOS? How am I supposed to send ship data to tdc?
to open the recognition manual press E key and u will see the recognition manual on the left side of the screen

Quote:
Second, Bdu calls my uboat u-27 in the Captain's log, and U-28 in the Radio messages? Which am I?
to see exactly which u-boat are u take a look at the ship journal in the right side of the screen....... the default captain name is Cpt.Stahl Wolfand nr is U-28

Quote:
Furthermore, I receive different messages in captain's log and radio messages. Bdu answers to my reports "Good job, blablabla" in captain's log and "you suck, be more aggressive" in radio reports.... so... which one is the right one?
open the radio message box and read from there all the messages not from the captains logs the radio message box is located on the right side of the screen and when u have a new message will flicker
Sjizzle is offline   Reply With Quote
Old 02-19-16, 04:13 AM   #15
palmic
Grey Wolf
 
Join Date: Jan 2014
Location: 50.1° N, 14.4° E
Posts: 835
Downloads: 82
Uploads: 5
Default

Auto target recognition is available in TWOS only if you enabled "Wind and Smoke" mod which is part of it.
palmic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:50 AM.


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