PDA

View Full Version : How to disable submarine & torpedo owner in MP game?


Pasterz
05-10-2009, 06:00 AM
Is there a way to disable submarine and torpedo owner in MP game? I'm not talking about the options available in GAMEPLAY SETTINGS, but some kind of mod (or adjustment in cfg files), which would disable this feature permanently... Any ideas and suggestions would be greatly appreciated...

Graf Paper
05-10-2009, 10:36 AM
This is based on Windows XP but the procedures should be similar for Vista...

If you have started a career, your overall game settings are stored in the folder where your career files are saved. By default, this is located in My Documents in a folder labeled SH4. Look for a file named GameplaySettings.cfg. Typically, you'll find it at:

C:\Documents and Settings\XXXXX\My Documents\SH4\data\cfg

...where the XXXXX is your user name for Windows, if you have a named account for yourself. Otherwise the XXXXX would be replaced by Default User.

If you have not started a career, then you will need to edit the GameplaySettings.cfg file located in your SH4 installation directory. By default, this is usually located in Program Files:

C:\Program Files\Ubisoft\Silent Hunter Wolves of the Pacific\Data\Cfg

Once you have located GameplaySettings.cfg, open it using Notepad or a similar plain text editor. Do not use MS Word or Wordpad! You need an editor that will save the file ad plain text, without adding special formatting characters or it can break your file.

Here's a listing of the file in my editor:

[Current]
LimitedBatteries=true
LimitedCompressedAir=true
LimitedO2=true
LimitedFuel=true
RealisticRepairTime=true
ManualTargetingSystem=false
NoMapUpdate=true
RealisticSensors=true
DudTorpedoes=true
RealisticReload=true
NoEventCamera=true
NoExternalView=false
NoStabilizeView=false
MPShowPlayerNames=true <----| Change both of these settings to false
MPShowTorpedoes=true <---- | to disable name tags in multiplayer.

[MiscSettings]
CurrentNation=American
MeasurementUnits=authentic

After making your changes, simply save the file (make sure you save it with the .cfg extension, not .txt).

If that doesn't help you can make the same changes to main.cfg. Look for the text block near the bottom of the file listed like this:

[Multiplayer]
GamePort=19000
ShowPlayersNames=true <----------| Set both of these
ShowNamesOnTorpedos=true <-----| to false.
ServerName=COMSUBSPAC SH4
LANName=GrafPaper
ONLINEName=GrafPaper


Now you're ready to play without all those names flying about!

Good hunting! :salute:

Pasterz
05-10-2009, 11:13 AM
Thanks for your reply but it seems we misunderstood each other. I am aware that torpedo and submarine owner settings are store in GameplaySettings.cfg. Changing these values to false won't do much as these features can still be enabled through GAMEPLAY SETTINGS menu...

Maybe it will be better if I explain the reason of this request: I am currently woking on a multiplayer tournament for POLISHSEAMEN community... Our competition is based on Trigger Maru mod (with several adjustments and additional missions implemented by our own addon). We're playing on 100% realism only, therefore it's recommended to disable torpedo and submarine owner in MP games. The goal is to disable these features through JSGME mod, but as already mentioned, these settings are stored in a separate location... Modifications done in Main.cfg don't work either (Main.cfg shows false value even if you enable these two options in GAMEPLAY SETTINGS menu). That prooves the fact, that the only file stored inisde SH4 installation folder is not linked directly with these settings...

I checked all possible torpedo settings (dat files etc.), but I am not able to find the parameter responsible for displaying torpedo and submarine owner... Any ideas?

Graf Paper
05-11-2009, 09:52 AM
If you mean modifying the game files so sub and torpedo player labels are completely removed, you're out of luck. That feature is hard-coded into the game engine.

Best you can hope for is that everyone in your tournament is honest enough to comply with disabling player name labels in their settings.

Pasterz
05-11-2009, 10:48 AM
Thanks. Just as I thought. I considered different options, including font modifications (color, size) but I am not sure which settings control these values and how to modify them...