Log in

View Full Version : Disabling the Enter key


usafadam
10-04-05, 06:44 AM
I absolutely MUST kill the enter key's torpedo firing function and thought there was a mod around here to do just that but now I can't find it.

Does anybody know how I can disable the enter key?

Thanks!

Kaleun
10-04-05, 06:58 AM
hi,

In your commands_en.cfg or commands_de.cfg you can change the firing key by

[Cmd313]
Name=Fire_torpedo
Ctxt=1
Key0=0x0D,c,"Enter" Changed from Key0=0x0D,,"Enter"


Use a c for Ctrl or an s for shift

Kaleun

Soviet_Warlord
10-04-05, 07:16 AM
I changed enteri to drop back/speed up to normal time compression. :up:

Gizzmoe
10-04-05, 07:26 AM
Also download SetKey, with it you can customize the key commands.

http://www.subsim.com/subsim_files05/patches05/SetKey1_11.rar

Syxx_Killer
10-04-05, 08:17 AM
I used SetKey and am glad I did! I hardly ever fired a torpedo by accident, but when I did I sure got mad. I used SetKEy to make my Enter key go back to 1x TC. That is SO useful. I wonder why the devs didn't do that in the first place? To fire a torpedo I made it Ctrl + Enter

Kpt. Lehmann
10-04-05, 10:40 AM
Thanks Kaleun... I was looking for that too and didn't want to use the set-key tool. :up:

Sturgeon
10-04-05, 02:36 PM
Several people have mentioned that they use Enter to set TC to 1 (ala Aces of the Deep). How is this done? Can it be done with a .cfg file edit, or does it require something like SetKey?

Now that I think about it, RUB 1.44 changes the fire command from 'Enter' to 'Ctrl-Enter'. Does it also use 'Enter' to change TC to 1? (Note to self: RTFM)

OneTinSoldier
10-04-05, 03:51 PM
In case you don't feel like using the SetKey utility, here's how you edit the commands_en.cfg file(or whatever language you play in) to drop to 1x with the 'Enter' key. Make sure you back up your old config first!



In the Data/Cfg folder you will find the 'commands_en.cfg' file.

At the top are the 6 commands for time commpression. Change command 6 to :

[Cmd6]
Name=Time_compr_normal
Ctxt=1,2,6,9
Key0=0x0D,,"Enter"

Then about 3/4 down the page there are the commands for firing, tube selection, ect... change command 313 to

[Cmd313]
Name=Fire_torpedo
Ctxt=1
;Key0=0x0D,,"Enter"

Putting the ; infront of a line stops the game from using that line. Then you can just delete the ; if you ever want it back.

That should stop torps firing except when you click the red button in-game. If you want to change it to another key make sure its not already taken and fill it in. I prefer to press the red button though.

Hope that helps!!

usafadam
10-04-05, 03:51 PM
Oh, thank God for y'all's help! I just could not stand how firing a torp would drive me nuts during missions.

Thanks!