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 04-17-13, 11:29 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I need some assistance from those of you graphically inclined. I'm redoing the destroyed marks of my UIs mod (which also involves some new patches to the sh5.exe to fix bugs in regards to writing destroyed units to file and to add some new features in regards to destroyed units) and I need two new icons: I need a destroyed land unit icon and a destroyed sub icon. I have a destroyed ship icon and a destroyed air icon so don't worry about those. You can see what they look like in the link below:

http://www.mediafire.com/?y27q8jq4g0ba719

Currently I have the destroyed land and destroyed sub icons the same as destroyed ship. Can someone make these new icons

When it's all said and done I'll be able to show 4 different destroyed icons (ship, sub, air, and land) on the map. The destroyed marks will not reside in the ship's journal file anymore. I will read the campaign's destroyed unit's file to get the data needed (some patches are required to fix the bugs and to add new entries in relation to writing this file in the sh5.exe).

I plan on moving the ship's journal file to reside in the campaign folder also

I've developed some new code for the sh5.exe that will allow me to fire 'commands' to all the scripts passing 5 parameters to them. This will allow two way communication between scripts and exe/act files. This is what is going to allow me to make these destroyed marks superb (along with some other new things)!

The destroyed marks will now be accurate as to the location the unit was destroyed. No more 'wandering' destroyed marks!
TheDarkWraith is offline   Reply With Quote
Old 04-17-13, 11:49 PM   #2
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

Well, so far I have found 2 problems with 7.3.0:

1) I have a missing "advanced" depth scale (for both, up to 100 and the extended version). The bar after switching to "advanced" mode is just grey. Will take a screenie when I launch the game next time (re-downloading the file at the moment - maybe it got corrupted somehow).
2) I don't notice that the shafts are working differently with the separate engine control. I'm also having hard time slowing down to 1kn - when I manually change the speed, it acknowledges it, but than the mark jumps back to about 2-3kn. Again, will take screenshots when back in game.
Targor Avelany is offline   Reply With Quote
Old 04-18-13, 07:15 AM   #3
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Hi Targor

1. Here are two screens with the scales of my game.. everything works as expected -

.

Here is my Hud3 texture (some colors were changed), you can try it if you want - http://rghost.ru/45374538

2. Here are few screens with independent engines control -

Right shaft -

.

Left shaft -

.

As you can see the speed is about 0.5 knot and works only one engine at a time..

Try to do it in the next way - all stop → disable one engine → set the speed for the enabled engine..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 04-18-13, 08:21 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
...

I need a destroyed land unit icon and a destroyed sub icon.

...

Can someone make these new icons
Are these okay?



http://www.mediafire.com/?pwa89v7qvb6bb78
gap is offline   Reply With Quote
Old 04-18-13, 08:36 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
I think they're great! Anything is better than the child's looking art work I would've come up with
TheDarkWraith is offline   Reply With Quote
Old 04-18-13, 08:52 AM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
I think they're great! Anything is better than the child's looking art work I would've come up with
Glad you like them. Let me know if you need for help on any other artwork
gap is offline   Reply With Quote
Old 04-18-13, 10:36 AM   #7
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

Thanks, volodya. I'll check today, I think I might know why I have the problem.
Targor Avelany is offline   Reply With Quote
Old 04-20-13, 01:23 AM   #8
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Ok I'm trying to get this configured right on my PC and I apologise if these have been addressed already theres soooo many pages in this thread. Just goes to show how awesomely popular it is

Q: Is there pictures of what the various dials look like?

Q: With the menu.txt file, how does this work with the mod enabler tool? Does the mod enabler actually overwrite the menu.txt file or does it parse it and put whatevers different only?

The reason I ask is that Im also using:

1. Generic patcher
2. EUF

And I added the following lines to the OEM menu.txt in the SH5 dir tree:

Code:
; Start TDW Generic Patcher Entries

; Independent engine controls patch
10025=Shafts
10026=Click to enable/disable speed commands for the port shaft
10027=Click to enable/disable speed commands for the starboard shaft

; Contact report wolfpack patch
11000=Dispatching available submarines to your patrol area|Remain undetected and in a favorable position|Send status reports| |Bdu
11001=All available submarines have been dispatched to your patrol area
11002=Submarines in your area have received instructions to join your attack|Stay in front of contact/convoy, remain undetected, and send regular status reports| | |B.d.u
11003=Remain undetected and continue following contact/convoy|Available submarines are heading to your patrol area
11004=Attain favorable position and shadow contact/convoy until reinforcements arrive

; possible messages from Bdu when can not dispatch subs
11010=No boats are within your patrol area|Act as lone boat| |Bdu
11011=No support within range|Be more aggressive| |Bdu
11012=Contact report received|Act on own data| |BdU
11013=Be more aggressive!| |Bdu
11014=Attack contact| |Bdu

; Reports from dispatched subs
11020=Contact keeper continue to send bearing signals|Group act on own data|Take every opportunity to attack
11021=Convoy in sight|Signal bearing sent|Moving to attack port side
11022=I believe to have made contact with the convoy|Sending bearing signals|Act according to own data|Attacking at full speed
11023=Requesting bearing signal from contact keeper
11024=Beacon signals lie in the line of approach according to dead reckoning.|Attacking far side of convoy

; End TDW Generic Patcher Entries

; Start EUF Tooltip 10.5cm gun
6936=10.5 cm Deck Gun
6937=<b>10.5 cm Deck Gun</b>|<orange>Good vs. unarmed ships</orange>|It can be most effective against unarmed ships and for coup de grace hits to conserve the limited torpedo supply. The safest way to use the gun is to position the boat at the stern of the target and pointed towards it in order to reduce the exposed surface and minimize the boat's rolling and pitching. The gun is useless against most warships, their arsenal can easily outgun the U-boat.|<green>Left click to use the 10.5 cm Deck Gun.</green><red>Cannot use when submerged.</red>

; End EUF Tooltip 10.5cm gun
Whats the best way to handle this configuration?

Is this mod compatible with the generic patcher and the EUF mod?

I will document the answers to help others in the sober mod list thread as these mods are all common to his profile
Bathrone is offline   Reply With Quote
Old 04-20-13, 05:29 AM   #9
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Hi TDW

Always wanted to ask but forgot every time, now after a short break returned to the game and remembered
Is it possible to set impact detonators as default in the next version? Maybe via OptionsEditorFileViewer? Because now magnetic detonators are by default and so many torpedoes been lost by premature detonation in the rough seas..
Another question - are there any changes in the OptionsEditorFileViewer in the version 7.3.0? I have made Russian manual for this app and would like to keep it updated..

Thank you
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 04-20-13, 02:39 PM   #10
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default

Quote:
Originally Posted by Bathrone View Post
Q: With the menu.txt file, how does this work with the mod enabler tool? Does the mod enabler actually overwrite the menu.txt file or does it parse it and put whatevers different only?

And I added the following lines to the OEM menu.txt in the SH5 dir tree:

Code:
; Start TDW Generic Patcher Entries

; Independent engine controls patch
10025=Shafts
10026=Click to enable/disable speed commands for the port shaft
10027=Click to enable/disable speed commands for the starboard shaft

; Contact report wolfpack patch
11000=Dispatching available submarines to your patrol area|Remain undetected and in a favorable position|Send status reports| |Bdu
11001=All available submarines have been dispatched to your patrol area
11002=Submarines in your area have received instructions to join your attack|Stay in front of contact/convoy, remain undetected, and send regular status reports| | |B.d.u
11003=Remain undetected and continue following contact/convoy|Available submarines are heading to your patrol area
11004=Attain favorable position and shadow contact/convoy until reinforcements arrive

; possible messages from Bdu when can not dispatch subs
11010=No boats are within your patrol area|Act as lone boat| |Bdu
11011=No support within range|Be more aggressive| |Bdu
11012=Contact report received|Act on own data| |BdU
11013=Be more aggressive!| |Bdu
11014=Attack contact| |Bdu

; Reports from dispatched subs
11020=Contact keeper continue to send bearing signals|Group act on own data|Take every opportunity to attack
11021=Convoy in sight|Signal bearing sent|Moving to attack port side
11022=I believe to have made contact with the convoy|Sending bearing signals|Act according to own data|Attacking at full speed
11023=Requesting bearing signal from contact keeper
11024=Beacon signals lie in the line of approach according to dead reckoning.|Attacking far side of convoy

; End TDW Generic Patcher Entries

; Start EUF Tooltip 10.5cm gun
6936=10.5 cm Deck Gun
6937=<b>10.5 cm Deck Gun</b>|<orange>Good vs. unarmed ships</orange>|It can be most effective against unarmed ships and for coup de grace hits to conserve the limited torpedo supply. The safest way to use the gun is to position the boat at the stern of the target and pointed towards it in order to reduce the exposed surface and minimize the boat's rolling and pitching. The gun is useless against most warships, their arsenal can easily outgun the U-boat.|<green>Left click to use the 10.5 cm Deck Gun.</green><red>Cannot use when submerged.</red>

; End EUF Tooltip 10.5cm gun
Whats the best way to handle this configuration?

Is this mod compatible with the generic patcher and the EUF mod?

Did you mean to write these items in numerical order to the menu.txt of NewUIs with TDC, version 7.3.0, not the OEM menu.txt? I was thinking along the same issues to write to TDW. Otherwise, the JSGME with NewUIs with TDC, version 7.3.0 would overwrite what you are trying to accomplish.

@TDW
Ref from code box section above:
Is menu.txt item #s from 11000 to 11024 supposed to be in your present version Multiple UIs Version 7.3.0? These items (11000 to 11024) were added to the bottom of post #1 notes for [TEC] SH5.exe patches to fix bugs and add functionality for version 1.0.74 was released. If menu.txt needs to be added as mentioned, then Maxstrings= has to be increased in the menu.txt file, too.

Code:
Required menu.txt entries for versions >= v1.0.74.0:
 Edit this line in your menu.txt file:
MaxStrings=11100
Menu.txt reference for (EUF tooltp), [REL]Equipment Upgrades Fix by TheBeast

Last edited by Mikemike47; 05-06-13 at 05:04 PM.
Mikemike47 is offline   Reply With Quote
Old 04-20-13, 02:58 PM   #11
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default

Quote:
Originally Posted by Bathrone View Post
Q: With the menu.txt file, how does this work with the mod enabler tool? Does the mod enabler actually overwrite the menu.txt file or does it parse it and put whatevers different only?
The mod enabler overwrites the complete file. I use winmerge to parse files like menu.txt.

The following works for ini files, I do not know if .txt files of this size are too big for the textenabler to work:

[REL] JTxE - Textenabler to merge lines in ini-Files

For other great tools by Jimimadrid, go to post #23 of this link. I have used his tools for SH3 to SH5 files.
Mikemike47 is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 04:26 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.