PDA

View Full Version : Opening multiple torpedo tubes?


Nisse_thepear
06-19-21, 12:38 PM
As the title says - is there a way/mod that let's the player open multiple torpedo tubes without them closing after switching tube.
I know there is a workaround where you select the tubes as a salvo and then open all of them at the same time. But i find this quite annoying due to the fact that there's just a few salvo combinations.

I have seen a feature like this being implemented in Onealex version of the game, is there a way for me to implement this to my own install?

Aktungbby
06-19-21, 08:29 PM
Nisse_thepear!:Kaleun_Salute:

John Pancoast
06-20-21, 03:09 PM
As the title says - is there a way/mod that let's the player open multiple torpedo tubes without them closing after switching tube.
I know there is a workaround where you select the tubes as a salvo and then open all of them at the same time. But i find this quite annoying due to the fact that there's just a few salvo combinations.

I have seen a feature like this being implemented in Onealex version of the game, is there a way for me to implement this to my own install?


Yes, a simple edit of the commands_*.cfg files found in path data\cfg. Look for the following commands and edit as needed.
Your command numbers may be different. #'s 309 and 312 are normally the ones to edit as 310 and 311 usually don't need to be changed.


;[Cmd309]
;Name=Close_torpedo_tube
;Ctxt=1

[Cmd310]
Name=Open_sel_torpedo_tube
Ctxt=1
Key0=0x51,,"Q"
MnID=0x3F070013

[Cmd311]
Name=Close_sel_torpedo_tube
Ctxt=1
MnID=0x3F070014
Key0=0x57,,"W"
Str=4529

;[Cmd312]
;Name=Toggle_open_close_torpedo_tube
;Ctxt=1

Nisse_thepear
06-22-21, 06:48 PM
Yes, a simple edit of the commands_*.cfg files found in path data\cfg. Look for the following commands and edit as needed.
Your command numbers may be different. #'s 309 and 312 are normally the ones to edit as 310 and 311 usually don't need to be changed.


;[Cmd309]
;Name=Close_torpedo_tube
;Ctxt=1

[Cmd310]
Name=Open_sel_torpedo_tube
Ctxt=1
Key0=0x51,,"Q"
MnID=0x3F070013

[Cmd311]
Name=Close_sel_torpedo_tube
Ctxt=1
MnID=0x3F070014
Key0=0x57,,"W"
Str=4529

;[Cmd312]
;Name=Toggle_open_close_torpedo_tube
;Ctxt=1

This worked! Thanks alot man!:subsim: