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

Reply
 
Thread Tools Display Modes
Old 09-07-09, 11:12 AM   #16
sharkbit
The Old Man
 
Join Date: Apr 2008
Location: Denver, CO
Posts: 1,529
Downloads: 334
Uploads: 0
Default

Quote:
Originally Posted by danlisa View Post
OMG!

Modding 101. LOL
We all have to start somewhere!

Thanks!!!

__________________
“Prejudice is blind. There will always be someone who says you aren’t welcome at the table. Stop apologizing for who you are and using all your energy trying to change their minds. Yes, you will lose friends, maybe even family. But you will gain your self-respect. You will know your worth. Once you have that, nothing can stop you.”
sharkbit is offline   Reply With Quote
Old 09-07-09, 11:51 AM   #17
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Quote:
Originally Posted by danlisa View Post
OK, cut me some slack, doing this from memory.

Where were the Command cfg file located when you did the search?

Was there a version in My Documents?

Are you trying to register changes to a file using a mid patrol save location? Have you tried a new patrol/career?
* The 'main' one is in /data/cfg/controls.cfg. The others are stored in mod folders and such.

* No version in my docs.

* Yes tried starting a new carrier.

now even more curious other edits got put back in the config as well as camera changes.

So I just copy / pasted my original controls.cfg (backup) and the camera and other commands are back to where they were so thats the file

It seems as if the dive and surface keys are bound to some internal code and cannot be changed.
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-07-09, 12:32 PM   #18
donut
The Old Man
 
Join Date: Apr 2004
Location: The Shifting, Whispering Sands, NM
Posts: 1,463
Downloads: 10
Uploads: 0
Modding Mod's

Hi Mates,
Now I don't use RFB, but if RFB has a Commands.cfg, That is overwriting SH4 commands.cfg, in JSGME. You will need to disable RFB, Change Commands there, & renable RFB to see changes.
Otherwise; as Danlisa suggested, make your own Mod by creating,
Mod name file, Example: (.cfg changes) in that file create a Data folder. In the Data folder, create Commands.cfg folder with changes you want. When you install your new Mod it will overwrite any previous changes introduced by other JSGME changes.

Danlisa;
Quote:
Make a copy of the default Commands.cfg file (or the one from the main mod you are using) and create a JSGME ready file structure for it.

Make your changes and then enable that mod after everything else. This will make your edited file the active/master version.

Other mods are overwriting your changes.

Last edited by donut; 09-07-09 at 12:47 PM.
donut is offline   Reply With Quote
Old 09-07-09, 01:04 PM   #19
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Quote:
Originally Posted by donut View Post
Hi Mates,
Now I don't use RFB, but if RFB has a Commands.cfg, That is overwriting SH4 commands.cfg, in JSGME. You will need to disable RFB, Change Commands there, & renable RFB to see changes.
Otherwise; as Danlisa suggested, make your own Mod by creating,
Mod name file, Example: (.cfg changes) in that file create a Data folder. In the Data folder, create Commands.cfg folder with changes you want. When you install your new Mod it will overwrite any previous changes introduced by other JSGME changes.

Danlisa;
See post #14
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-07-09, 01:21 PM   #20
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Before I have to curse you for making me install SH4, how do yo know that Binary Key designations you have in your OP are correct for the CTRL + Key combinations? As far as I can see they are for the single Key orders i.e S = Surface & D = Dive
__________________
danlisa is offline   Reply With Quote
Old 09-07-09, 01:38 PM   #21
donut
The Old Man
 
Join Date: Apr 2004
Location: The Shifting, Whispering Sands, NM
Posts: 1,463
Downloads: 10
Uploads: 0
Default Work around

Steamy
Quote:
Ive been trying to edit the command.cfg file to alter the S and D keys due to untimely accidental deaths of my crew (hitting D while at high time compression = death)
Quote:
See post #14
Workaround; Use Depth meter to set/preset dive depth limit. All Crash Dive is, is crush depth + flank speed. Setting PD., Will prevent broaching, coming up in TC.
donut is offline   Reply With Quote
Old 09-07-09, 01:47 PM   #22
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Try this - http://rapidshare.com/files/276924511/Commands_Mod.rar

Extract and check folder structure, ad to MODS folder and enable.

I disabled the default S & D keys and left only the CTRL combos.
__________________
danlisa is offline   Reply With Quote
Old 09-07-09, 02:02 PM   #23
Munchausen
Commodore
 
Join Date: Jul 2002
Posts: 608
Downloads: 25
Uploads: 1
Default

Quote:
Originally Posted by danlisa View Post
...how do yo know that Binary Key designations you have in your OP are correct for the CTRL + Key combinations? As far as I can see they are for the single Key orders i.e S = Surface & D = Dive
That would be my question. Also, I don't remember what the "C" stands for in that line ... but it's worth investigating. Because the entire line must reflect your new binding.

However, if SW tested the file by deleting the command(s), and even that didn't work ... well, perhaps he needs to make the exact same change(s) to every version on the file on his computer. But I don't suggest deleting any command(s) ... it's better to just disable the command(s) with a semicolon.
Munchausen is offline   Reply With Quote
Old 09-07-09, 04:01 PM   #24
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Quote:
Originally Posted by danlisa View Post
Try this - http://rapidshare.com/files/276924511/Commands_Mod.rar

Extract and check folder structure, ad to MODS folder and enable.

I disabled the default S & D keys and left only the CTRL combos.
This disabled the default s and d keys thank you, however the ctrl comobos dont work.

I tried correcting the syntax from 'CTRL D' to 'Ctrl+D' still doesent work.

But its a step in the right direction thanks.
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-08-09, 06:27 AM   #25
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by SteamWake View Post
...
Anyhow I edited the following
Quote:
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key0=0x44,Cc,"Ctrl+D"

[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key0=0x53,Cc,"Ctrl+S"
...
All are very simply ... look above and below:

C - it's Crew Command (... ,C, ...);
c - it's additional key Ctrl (... ,c, ...) or (... ,Cc, ...);
s - it's additional key Shift (... ,s, ...) or (... ,Cs, ...);
R - to keep key of pressed (... ,R, ...) and so on ...

Quote:
I tried correcting the syntax from 'CTRL D' to 'Ctrl+D' still doesent work.
It's only comments for you ...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 09-08-09, 06:34 AM   #26
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Quote:
Originally Posted by Anvart View Post
All are very simply:
C - it's Crew Command (... ,C, ...);
c - it's additional key Ctrl (... ,c, ...) or (... ,Cc, ...);
s - it's additional key Shift (... ,s, ...) or (... ,Cs, ...);
R - to keep key of pressed (... ,R, ...) and so on ...

It's only comments for you ...
Something stupidly simple, I had to forget that.
__________________
danlisa is offline   Reply With Quote
Old 09-08-09, 09:42 AM   #27
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Thanks for the help everyone.

Unfortunatly I'm back at work now. Ill give this edit a try when I get home.

Ill let you know.

Thanks again.
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-08-09, 05:27 PM   #28
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Quote:
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key0=0x44,Cc,"Ctrl+D"

[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key0=0x53,Cc,"Ctrl+S"
This syntax does not work. I also tried

Quote:
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key0=0x44,cC,"Ctrl+D"

[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key0=0x53,cC,"Ctrl+S"
The D & S keys are still disabled but the ctrl+ does not work.
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-09-09, 03:23 AM   #29
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by SteamWake View Post
...
Key0=0x44,Cc,"Ctrl+D"
...
This syntax does not work. I also tried
...
Key0=0x44,cC,"Ctrl+D"
...
The D & S keys are still disabled but the ctrl+ does not work.
:rotfl:
The order of the specified symbols is not important ...
...
Syntax is absolutely correct!
...
You have other problems... may be at you keys are duplicated ... may be something another ...
may be you have not enough numbers of commands ... in Commands.cfg ... look:
"[Commands]
CommandsNb=600
MaxKeyCommandsNb=190; Keys number shoud be smaller than this value (in order to accelerate the loading)"

__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 09-09-09, 03:13 PM   #30
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Again Im at work but Ill check it tonight...

I do know that the changes were applied as the fire torpedo button is back to the 'enter' key again

That I can fix :rotfl:

I dont think the keys are duplicated as S & D are the default keys. I just want to change that to ctrl+s like I did with the fire torpedo thing.
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Reply


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 10:08 AM.


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