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 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-19-13, 12:55 PM   #1
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default [REL] SH3 Log Mod; Beta testers required.

Hi,

I have created a new SH3 Log mod. Here's the link and the readme:

http://www.subsim.com/radioroom/down...o=file&id=4107

Edit: Version 1.0 corrects a bug and allows special letters like ä, ü, ö in names.

SH3 Log Tool Readme

Version 1.0

Written by LGN1, Feb. 2015

Hi,

have you ever wondered how your crew in SH3 can tell you that you have just sunken a ship although the ship is more than 10km away and you are heavily depth-charged? Probably not, because it's obviously completely unrealistic that your crew knows exactly which ships you have sunken, how large these were, of what kind they were,...

The aim of the present mod/app is to change this unrealistic aspect of SH3 by removing/hiding your successes as much as possible during a patrol. Now it's you (instead of the spy-sat log) who has to pay attention which ships sink, how large they are,... Now YOU must properly identify the targets, witness the sinking, keep a log, and...report to BdU after the patrol via the mod/app. BdU will then check your report...and decide what to believe. Here's an example:








How it works:
-------------
The mod removes/hides your results during a patrol as good as possible. In addition, the information is hidden in the menu screens, i.e., you cannot accidently see the results in a menu screen. During a patrol you must keep notes about your sinkings,... After a patrol you start the app and enter your data (see Pic1.jpg and Pic2.jpg). After submitting the data, your claimed results are checked and (internally) compared to the true results. Depending on the difference, BdU will accept or reject the claims.


Installation:
-------------
The app is a perl script converted to an executable. If you want you can open the executable (e.g., with 7zip) and see what the script does. You must copy the executable to the directory where SH3 stores the save-games/careers (usually ...\Documents\SH3\data\cfg). It should be in the same directory as, e.g., GameplaySettings.cfg, main.cfg, and the Careers folder. I recommend to send a link to your desktop to easily start/access the app.

To hide the information from your SH3 installation, you have to do the following (for stock GWX and NYGM the changes are included in a jsgme-ready mod):


1.) Remove command for accessing captain's log. The standard key is 'k' (players with enough self-discipline can skip this):

[Cmd65]
Name=Toggle_captain_log
Ctxt=1
;Key0=0x4B,,"K" <-- put a semicolon in front of this line


2.) Remove icons for sunken/destroyed units. Copy the files AirDestroyed.tga and ShipDestroyed.tga to ...\data\Menu\Gui\Units.


3.) Change the text entries 582,583(Screen when ending patrol); 4140,4141,4142(Crew message for sinking),
4173,4174,4175,4176(Status reports):

de_menu.txt:
582=Einsatz beendet|||||||Anfangsbesatzung:|Endbesatzung:
583=;%d|%d|%d|%d|%d|%d
4140=Folge festgelegtem Kurs! ;Feindliche Einheit zerstört
4141=Folge festgelegtem Kurs! ;Verbündete Einheit zerstört
4142=Folge festgelegtem Kurs! ;Neutrale Einheit zerstört
4173=Tanker versenkt. ;Versenkte Tanker: %d
4174=Frachter versenkt. ;Versenkte Frachter: %d
4175=Kriegsschiff(e) versenkt. ;Versenkte Kriegsschiffe: %d
4176=;Gesamttonnage: %d

en_menu.txt:
582=Mission ended|||||||Starting crew:|Ending crew:
583=;%d|%d|%d|%d|%d|%d
4140=Following plotted course!;She's going down!
4141=Following plotted course!;She's going down!
4142=Following plotted course!;She's going down!
4173=Tanker(s) sunk.;: %d
4174=Cargo ship(s) sunk.;: %d
4175=Warship(s) sunk.;: %d
4176=;Total tonnage: %d


4.) Adjust positions in menu.ini:

[G08 I2]
Name=Hist
Type=1040;Scroll text
ItemID=0x8000002
ParentID=0x8000000
;Pos=623,589,389,468
Pos=623,589,389,180

5.) The following two entries remove the renown value on the main campaign screen.
NYGM players can see on this screen their true tonnage value (probably only critical for first patrol).

[G04 I2]; (Not required for players using renown system, i.e., non-NYGM players)
Name=Layer
Type=1030;Static bmp
ItemID=0x4000009
ParentID=0x4000000
;Pos=57,270,233,270
Pos=1157,270,233,270

[G04 I3]; (Not required for players using renown system, i.e., non-NYGM players)
Name=Desc
Type=1029;Static text
ItemID=0x400000A
ParentID=0x4000000
;Pos=85,260,188,250
Pos=85,90,188,100

6.) Players who use the ship-name feature in SH3 Commander should open the file 'Ship names.cfg' (located in the cfg folder in their SH3 Commander installation) and use the following parameters:

[SETTINGS]
...
AddText=1

[TEXT]
AddAsNewLine=1

If only ship names should be added (and no cargo information and losses), set 'AddText=0'. In case of 'AddText=1' always choose 'AddAsNewLine=1'.

For the ship-name feature to work properly it is neccessary to use exactly the same name for the type as in the EnglishNames.cfg/GermanNames.cfg in the Sea folder of the SH3 installation. I recommend to put a copy of the EnglishNames.cfg/GermanNames.cfg into the same folder as the executable. The log executable will read this file and offer all the names in a drop-down menu (the included EnglishNames.cfg/GermanNames.cfg is from GWX).


**************************************
Some important notes:
---------------------

1) This script is probably not 100% foolproof. Unreasonable input parameters may lead to messed-up output.
It is not checked whether the input parameters make sense. I recommend to leave the backup-option always ticked.

2) Feel free to modify/improve the script as you wish. If you do so, please share it with others. The script is probably not very elegant, but straight-forward. If you have any question don't hesitate to ask.

3) Use at own risk! Please post any feedback here at Subsim:


Thanks to sublynx and to BigWalley for testing.


Cheers, LGN1

Not for comercial use!

Last edited by LGN1; 02-26-15 at 04:40 PM.
LGN1 is offline   Reply With Quote
 

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 03:20 PM.


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.