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-09-09, 05:39 PM   #31
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Okay so I edited the

Quote:
"[Commands]
CommandsNb=600
MaxKeyCommandsNb=190; Keys number shoud be smaller than this value (in order to accelerate the loading)"
No change although I dont know why there would be cause Im not adding a key just modifying some. But whatever no change.

Now heres whats weird. I made an edit to the .cfg file to change fire torpedo from 'enter' to 'ctrl+enter' (had to add the C) and that worked.

So I tried to edit back the S & D keys back to their original values. They remained disabled

So then I replaced the commands.cfg with a back up and now the S & D keys are functional again however as before no edits effect them.

Now the file Danlisa posted does effect them. I compared the two and see no differences.

So Danlisa what did you do to disable the S & D keys. Maybe that bit of info will help me solve the ctrl problem.
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-10-09, 04:25 PM   #32
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

bumpity cause Im frustrated with this....

Im thinking somehow these keys are hooked to the code and cannot be altered.

But then again Danlisa was able to disable them while I cannot

I will post my entire commands.cfg for scrutiny.


Quote:
[Contexts]
ContextsNb=11; max contexts nb is 16
Context0=None; default - should not be changed
Context1=Game
Context2=Pause
Context3=Spectator
Context4=Console
Context5=Museum
Context6=Effects
Context7=Final
Context8=Edit
Context9=Replay
Context10=ModalMsg
[Commands]
CommandsNb=600
MaxKeyCommandsNb=190; Keys number shoud be smaller than this value (in order to accelerate the loading)
;Name = command name -> will be translated in command index
;Ctxt = command context(s) as indexes -> see [Contexts] section
;MnID = menu item id associated with this command
;Str = string id (from en_menu.txt) associated with this command
;KeyX = an entry containing <key_code>,<flags chars>,<help text id>; flags chars could be C=executed by the crew, R=repeat key, c=with control, s=with shift, m=only when mouse is captured (enabled), n=only when mouse is not captured (enabled)
;Page = <page_id>,<title_id>; associated page (only for user commands) and a title if is necessary
;______________________________________
;USER COMMANDS
[Cmd1]
Name=Help
Ctxt=1,2,3,4,5,6,7,8,9,10,11
Key0=0x70,,"F1(EN)"
[Cmd2]
Name=Console
Ctxt=1,2,3,4,6,11
Key0=0x91,,"ScrLock"
[Cmd3]
Name=Pause_game
Ctxt=1,2,6,9
MnID=0x3F010009
Key0=0x08,,"Backsp"
[Cmd4]
Name=Time_compr_reduce
Ctxt=1,2,6,9
MnID=0x3F010004
Key0=0x6D,,"Npad -"
[Cmd5]
Name=Time_compr_increase
Ctxt=1,2,6,9
MnID=0x3F010001
Key0=0x6B,,"Npad +"
[Cmd6]
Name=Time_compr_normal
Ctxt=1,2,6,9
;______________________________________
[Cmd7]
Name=Go_back_to_prev_cam
Ctxt=1,11
[Cmd8]
Name=Free_camera
Ctxt=1,2,9,11
Page=0x34000000,3701
[Cmd9]
Name=User_free_camera
Ctxt=1,2,9,11
MnID=0x3F02000B
Key0=0x7A,,"F11"
Key1=0x7A,c,""
Key2=0x7A,s,""
[Cmd10]
Name=Interior_fore_camera
Ctxt=1,12
MnID=0x3F020001
Key0=0x71,,"F2"
Page=0x33000000,3703
[Cmd11]
Name=Interior_aft_camera
Ctxt=1
Page=0x33000000,3704
GoBack=Interior_fore_camera
[Cmd12]
Name=Interior_radio_camera
Ctxt=1
MnID=0x3F020007
Page=0x33000000,3708
GoBack=Interior_fore_camera
[Cmd13]
Name=Conning_tower_camera
Ctxt=1
Page=0x33000000,3715
GoBack=Interior_fore_camera
[Cmd14]
Name=Conning_tower_periscope
Ctxt=1
Page=0x33000000,3716
GoBack=Conning_tower_camera
[Cmd15]
Name=Conning_deck_camera
Ctxt=1
MnID=0x3F020004
Key0=0x74,,"F5"
Page=0x34000000,3705
GoBack=Conning_tower_camera
[Cmd16]
Name=Periscope_camera
Ctxt=1
MnID=0x3F020003
Key0=0x73,,"F4"
Page=0x26000000,3702
GoBack=Conning_tower_camera
[Cmd17]
Name=UZO_camera
Ctxt=1
Key0=0x55,,"U"
Page=0x28000000,3718
GoBack=Conning_deck_camera
[Cmd18]
Name=Binocular_camera
Ctxt=1
Key0=0x42,,"B"
Page=0x27000000,3706
GoBack=Conning_deck_camera
[Cmd19]
Name=Deckgun_camera
Ctxt=1
MnID=0x3F020005
Key0=0x75,,"F6"
Page=0x38000000,3707
GoBack=Conning_deck_camera
[Cmd20]
Name=Flakgun_camera
Ctxt=1
Page=0x39000000,3709
GoBack=Conning_deck_camera
[Cmd21]
Name=A01gun_camera
Ctxt=1
Page=0x3A000000,3710
GoBack=Conning_deck_camera
[Cmd22]
Name=A02gun_camera
Ctxt=1
Page=0x3A000000,3711
GoBack=Conning_deck_camera
[Cmd23]
Name=Cycle_flak_cam
Ctxt=1
MnID=0x3F020006
Key0=0x76,,"F7"
[Cmd24]
Name=Final_page
Ctxt=1,6,10,12
Page=0x20000000
[Cmd25]
Name=Net_Final_page
Ctxt=1,2,3,6,7,10,11
Page=0x2D000000
[Cmd26]
Name=Net_Spectator_page
Ctxt=1,6,7,11
Page=0x55000000
[Cmd27]
Name=Activate_event_cam
Ctxt=1,10
Page=0x24000000
[Cmd28]
Name=Deactivate_event_cam
Ctxt=1,4,6,7,8,9,10
[Cmd29]
Name=Close_event_cam
Ctxt=1,10,11
Key0=0xBF,,"/"
[Cmd30]
Name=Focus_on_event_cam
Ctxt=1
Key0=0x56,,"V"
[Cmd31]
Name=Navigation_map
Ctxt=1
[Cmd32]
Name=Navigation_2D_map
Ctxt=1
MnID=0x3F020002
Key0=0x72,,"F3"
Page=0x31000000,3740
[Cmd33]
Name=Attack_map
Ctxt=1
[Cmd34]
Name=Attack_2D_map
Ctxt=1
MnID=0x3F020009
Page=0x32000000,3741
[Cmd35]
Name=Helmsman_view
Ctxt=1
Page=0x33000000,3721
GoBack=Interior_fore_camera
[Cmd36]
Name=Navigator_view
Ctxt=1
Page=0x33000000,3712
GoBack=Interior_fore_camera
[Cmd37]
Name=Weapons_officer_view
Ctxt=1
Page=0x33000000,3713
GoBack=Interior_fore_camera
[Cmd38]
Name=Hydrophone_view
Ctxt=1
Page=0x33000000,3722
GoBack=Conning_tower_camera
[Cmd39]
Name=Radar_view
Ctxt=1
Page=0x33000000,3723
GoBack=Conning_tower_camera
[Cmd40]
Name=Captains_bed_view
Ctxt=1
Page=0x33000000,3724
GoBack=Interior_radio_camera
[Cmd41]
Name=Crew_control
Ctxt=1
MnID=0x3F020008
Key0=0x79,,"F10"
Page=0x61000000,3742; SH3: 0x67000000,3742
[Cmd42]
Name=Mission_order
Ctxt=1
MnID=0x3F02000A
Page=0x36000000,3743
[Cmd43]
Name=Radio_messages
Ctxt=1
[Cmd44]
Name=Recognition_manual
Ctxt=1
Key0=0x4e,,"N"
[Cmd45]
Name=Activate_hydrophone
Ctxt=1
[Cmd46]
Name=Deactivate_hydrophone
Ctxt=1
[Cmd47]
Name=Toggle_hydrophone
Ctxt=1
[Cmd48]
Name=Rotate_hydrophone
Ctxt=1
[Cmd49]
Name=Camera_on_unit
Ctxt=1,12
[Cmd50]
Name=Camera_on_next_unit
Ctxt=1
Key0=0xBE,,">"
Page=0x34000000,3714
[Cmd51]
Name=Camera_on_prev_unit
Ctxt=1
Key0=0xBC,,"<"
Page=0x34000000,3714
[Cmd52]
Name=Remote_camera
Ctxt=1
Page=0x34000000
[Cmd53]
Name=Command_room_free_camera
Ctxt=1
Key0=0x71,s,""
Page=0x33000000,3700
GoBack=Interior_fore_camera
[Cmd54]
Name=Radio_room_free_camera
Ctxt=1
[Cmd55]
Name=Conning_tower_free_camera
Ctxt=1
[Cmd56]
Name=Museum_camera
Ctxt=5
[Cmd57]
Name=Watch_view
Ctxt=1
Page=0x34000000,3725
GoBack=Conning_deck_camera
[Cmd58]
Name=Obs_periscope_camera
Ctxt=1
Key0=0x4f,,"O"
Page=0x2B000000,3727
[Cmd59]
Name=Systems_control;Weapons_mng
Ctxt=1
[Cmd60]
Name=Captain_log
Ctxt=1
Page=0x35000000,3744
[Cmd61]
Name=Activate_radar
Ctxt=1
[Cmd62]
Name=Deactivate_radar
Ctxt=1
[Cmd63]
Name=Try_deactivate_event_cam
Ctxt=1,8,10
[Cmd64]
Name=Replay_camera
Ctxt=9
[Cmd65]
Name=Toggle_captain_log
Ctxt=1
Key0=0x4B,,"K"
[Cmd66]
Name=Toggle_radio_messages
Ctxt=1
Key0=0x4d,,"M"
[Cmd67]
Name=Toggle_hydrophone_view
Ctxt=1
Key0=0x77,,"F8"
[Cmd68]
Name=Toggle_radar_view
Ctxt=1
[Cmd69]
Name=Systems_control
Ctxt=1
Key0=0x59,,"Y"
Page=0x3E000000,3742
;-------------------
[Cmd70]
Name=Cam_zoom_in
Ctxt=1,11
[Cmd71]
Name=Cam_zoom_out
Ctxt=1,11
[Cmd72]
Name=Cam_zoom_cycle
Ctxt=1,11
Key0=0x09,,"Tab"
[Cmd73]
Name=Cam_wheel_zoom
Ctxt=1,11
[Cmd74]
Name=Cam_tight_toggle
Ctxt=1
[Cmd80]
Name=To_left
Ctxt=1,2,3,5,6,9,11
MnID=0x31000001
Key0=0x25,R,""
[Cmd81]
Name=To_left_fast
Ctxt=1,2,3,5,6,9,11
Key0=0x25,Rs,""
[Cmd82]
Name=To_left_slow
Ctxt=1,2,3,5,6,9,11
Key0=0x25,Rc,""
[Cmd83]
Name=To_right
Ctxt=1,2,3,5,6,9,11
MnID=0x31000003
Key0=0x27,R,""
Key1=0xb0,R,""
[Cmd84]
Name=To_right_fast
Ctxt=1,2,3,5,6,9,11
Key0=0x27,Rs,""
Key1=0xb0,Rs,""
[Cmd85]
Name=To_right_slow
Ctxt=1,2,3,5,6,9,11
Key0=0x27,Rc,""
Key1=0xb0,Rc,""
[Cmd86]
Name=To_up
Ctxt=1,2,3,5,6,9,11
MnID=0x31000002
Key0=0x26,R,""
[Cmd87]
Name=To_up_fast
Ctxt=1,2,3,5,6,9,11
Key0=0x26,Rs,""
[Cmd88]
Name=To_up_slow
Ctxt=1,2,3,5,6,9,11
Key0=0x26,Rc,""
[Cmd89]
Name=To_down
Ctxt=1,2,3,5,6,9,11
MnID=0x31000004
Key0=0x28,R,""
Key1=0xb1,R,""
[Cmd90]
Name=To_down_fast
Ctxt=1,2,3,5,6,9,11
Key0=0x28,Rs,""
Key1=0xb1,Rs,""
[Cmd91]
Name=To_down_slow
Ctxt=1,2,3,5,6,9,11
Key0=0x28,Rc,""
Key1=0xb1,Rc,""
[Cmd92]
Name=Move_forward
Ctxt=1,2,3,5,9,11
Key0=0x26,R,""
Key1=0x26,Rc,""
[Cmd93]
Name=Move_forward_fast
Ctxt=1,2,3,5,9,11
Key0=0x26,Rs,""
Key1=0x26,Rcs,""
[Cmd94]
Name=Move_backward
Ctxt=1,2,3,5,9,11
Key0=0x28,R,""
Key1=0x28,Rc,""
[Cmd95]
Name=Move_backward_fast
Ctxt=1,2,3,5,9,11
Key0=0x28,Rs,""
Key1=0x28,Rcs,""
[Cmd96]
Name=Strafe_left
Ctxt=1,2,3,5,9,11
Key0=0x25,Rc,""
Key1=0x25,Rm,""
[Cmd97]
Name=Strafe_left_fast
Ctxt=1,2,3,5,9,11
Key0=0x25,Rcs,""
Key1=0x25,Rsm,""
[Cmd98]
Name=Strafe_right
Ctxt=1,2,3,5,9,11
Key0=0x27,Rc,""
Key1=0x27,Rm,""
Key2=0xb0,Rc,""
[Cmd99]
Name=Strafe_right_fast
Ctxt=1,2,3,5,9,11
Key0=0x27,Rcs,""
Key1=0x27,Rsm,""
Key2=0xb0,Rcs,""
[Cmd100]
Name=Strafe_up
Ctxt=1,2,3,5,9,11
Key0=0x24,R,"Home"
Key1=0x24,Rc,""
Key2=0x67,R,""
Key3=0x67,Rc,""
[Cmd101]
Name=Strafe_up_fast
Ctxt=1,2,3,5,9,11
Key0=0x24,Rs,""
Key1=0x24,Rsc,""
Key2=0x67,Rs,""
Key3=0x67,Rcs,""
[Cmd102]
Name=Strafe_down
Ctxt=1,2,3,5,9,11
Key0=0x23,R,"End"
Key1=0xb1,Rc,""
Key2=0x61,R,""
Key3=0x61,Rc,""
[Cmd103]
Name=Strafe_down_fast
Ctxt=1,2,3,5,9,11
Key0=0x23,Rs,""
Key1=0xb1,Rcs,""
Key2=0x61,Rs,""
Key3=0x61,Rcs,""
[Cmd104]
Name=Rot_left
Ctxt=1,2,3,5,9,11
Key0=0x25,Rn,""
Key1=0x25,Rsn,""
Key2=0x64,Rn,""
Key3=0x64,Rsn,""
[Cmd105]
Name=Rot_right
Ctxt=1,2,3,5,9,11
Key0=0x27,Rn,""
Key1=0x27,Rsn,""
Key2=0xb0,R,""
Key3=0xb0,Rs,""
Key4=0x66,Rn,""
Key5=0x66,Rsn,""
[Cmd106]
Name=Rot_up
Ctxt=1,2,3,5,9,11
Key0=0x69,R,""
Key1=0x69,Rc,""
Key2=0x69,Rs,""
Key3=0x69,Rcs,""
[Cmd107]
Name=Rot_down
Ctxt=1,2,3,5,9,11
Key0=0x63,R,""
Key1=0x63,Rc,""
Key2=0x63,Rs,""
Key3=0x63,Rcs,""
Key4=0xb1,R,""
Key5=0xb1,Rs,""
[Cmd108]
Name=Guns_control
Ctxt=1
Key0=0x54,,"T"
Page=0x41000000,3742
[Cmd109]
Name=Toggle_Activate_Clock
Ctxt=1
Key0=0x58,,"X"
[Cmd110]
Name=Toggle_captain_panel
Ctxt=1
Key0=0x7B,,"F12"
Key1=0x7B,c,""
Key2=0x7B,s,""
[Cmd111]
Name=WeaponsAndSensors_control
Ctxt=1
MnID=0x3F020008
Page=0x4E000000,3749
[Cmd112]
Name=Crew_control_ForSpecialAbilities
Ctxt=1
Page=0x61000000,3742; SH3: 0x67000000,3742
;-------------------
[Cmd120]
Name=Rise_periscope
Ctxt=1
Key0=0x21,R,"PgUp"
[Cmd121]
Name=Rise_whole_periscope
Ctxt=1
Key0=0x21,c,"Ctl+PgUp"
[Cmd122]
Name=Lower_periscope
Ctxt=1
Key0=0x22,R,"PgDn"
[Cmd123]
Name=Lower_whole_periscope
Ctxt=1
Key0=0x22,c,"Ctl+PgDn"
[Cmd124]
Name=Stop_periscope
Ctxt=1
[Cmd125]
Name=Lock_target
Ctxt=1
[Cmd126]
Name=Unlock_target
Ctxt=1
[Cmd127]
Name=Toggle_lock_target
Ctxt=1
Key0=0x4c,,"L"
[Cmd128]
Name=Set_tgt_sel_value
Ctxt=1
[Cmd129]
Name=Set_telegraph
Ctxt=1
[Cmd130]
Name=Get_depth_under_sub_keel
Ctxt=1
MnID=0x3F250005
[Cmd131]
Name=Toggle_TDC_autoupdate
Ctxt=1
[Cmd132]
Name=Sonar_rotate
Ctxt=1
[Cmd133]
Name=Radar_rotate
Ctxt=1
[Cmd134]
Name=Rise_obs_periscope
Ctxt=1
Key0=0x2D,R,"Insert"
[Cmd135]
Name=Rise_whole_obs_periscope
Ctxt=1
Key0=0x2D,c,"Ctl+Ins"
[Cmd136]
Name=Lower_obs_periscope
Ctxt=1
Key0=0x2E,R,"Delete"
[Cmd137]
Name=Lower_whole_obs_periscope
Ctxt=1
Key0=0x2E,c,"Ctl+Del"
[Cmd138]
Name=Stop_obs_periscope
Ctxt=1
[Cmd139]
Name=Lock_guns_target
Ctxt=1
Key0=0x20,,"Space"
[Cmd140]
Name=WA_Engage_target
Ctxt=1
Str=2670
[Cmd141]
Name=Set_telegraph_by_off
Ctxt=1
[Cmd142]
Name=Radar_toggle_on_off
Ctxt=1
[Cmd143]
Name=Radar_toggle_sweep_focus
Ctxt=1
[Cmd144]
Name=Radar_toggle_range
Ctxt=1
[Cmd145]
Name=Order_maintain_depth
Ctxt=1
Key0=0x41,C,"A"
[Cmd146]
Name=Change_hydrophone_volume
Ctxt=1
[Cmd147]
Name=Sonar_ping
Ctxt=1
[Cmd148]
Name=Heading_to_view
Ctxt=1
Key0=0xBB,,"+"
[Cmd149]
Name=View_to_heading
Ctxt=1
Key0=0xBD,,"-"
;______________________________________
;MANEUVER OFFICER (CHIEF HELMSMAN)
[Cmd150]
Name=Maneuver_officer
Ctxt=1
GoBack=Interior_fore_camera
[Cmd151]
Name=Propulsion_standard
Ctxt=1
MnID=0x3F0F0001
Str=1001
[Cmd152]
Name=Propulsion_recharge
Ctxt=1
MnID=0x3F0F0002
[Cmd153]
Name=Rig_for_silent_running
Ctxt=1
MnID=0x3F0F0006
Str=1003
[Cmd154]
Name=Secure_from_silent_running
Ctxt=1
MnID=0x3F0F0007
Str=1004
[Cmd155]
Name=Toggle_silent_running
Ctxt=1
Key0=0x5A,,"Z"
[Cmd156]
Name=Rise_snorkel
Ctxt=1
MnID=0x3F0F0003
[Cmd157]
Name=Lower_snorkel
Ctxt=1
MnID=0x3F0F0005
[Cmd158]
Name=Toggle_snorkel
Ctxt=1
[Cmd159]
Name=Toggle_Propulsion_Recharging
Ctxt=1
;__________________
[Cmd160]
Name=Set_speed
Ctxt=1
[Cmd161]
Name=Set_throttle
Ctxt=1
[Cmd162]
Name=Ahead_slow
Ctxt=1
Str=1012
Key0=0x31,C,"1"
[Cmd163]
Name=Ahead_one_third
Ctxt=1
Str=1011
Key0=0x32,C,"2"
[Cmd164]
Name=Ahead_standard
Ctxt=1
Str=1013
Key0=0x33,C,"3"
[Cmd165]
Name=Ahead_full
Ctxt=1
Str=1014
Key0=0x34,C,"4"
[Cmd166]
Name=Ahead_flank
Ctxt=1
Str=1015
Key0=0x35,C,"5"
[Cmd167]
Name=Back_slow
Ctxt=1
Str=1016
Key0=0x36,C,"6"
[Cmd168]
Name=Back_standard
Ctxt=1
Str=1017
Key0=0x37,C,"7"
[Cmd169]
Name=Back_full
Ctxt=1
Str=1018
Key0=0x38,C,"8"
[Cmd170]
Name=Back_emergency
Ctxt=1
Str=1019
Key0=0x39,C,"9"
[Cmd171]
Name=All_stop
Ctxt=1
Str=1010
Key0=0xC0,C,"~"
;__________________
[Cmd180]
Name=Set_course
Ctxt=1
[Cmd181]
Name=Set_rudder
Ctxt=1
[Cmd182]
Name=Rudder_hard_to_port
Ctxt=1
Str=1026
Key0=0xDB,C,"Left bracket"
[Cmd183]
Name=Rudder_hard_to_starboard
Ctxt=1
Str=1027
Key0=0xDD,C,"Right bracket"
[Cmd184]
Name=Rudder_amidship
Ctxt=1
Key0=0xDE,C,"'"
;__________________
[Cmd190]
Name=Set_depth
Ctxt=1
Str=4427
[Cmd191]
Name=Maintain_current_depth
Ctxt=1
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key1=0x44,C,"D"
[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key1=0x53,C,"S"
[Cmd194]
Name=Periscope_depth
Ctxt=1
MnID=0x3F050009
Str=1032
Key0=0x50,C,"P"
[Cmd195]
Name=Snorkel_depth
Ctxt=1
Str=1033
[Cmd196]
Name=Knuckle_port
Ctxt=1
MnID=0x3F100002
Str=1038
[Cmd197]
Name=Double_knuckle_port
Ctxt=1
MnID=0x3F100003
Str=1039
[Cmd198]
Name=Knuckle_starboard
Ctxt=1
MnID=0x3F100004
Str=1040
[Cmd199]
Name=Double_knuckle_starboard
Ctxt=1
MnID=0x3F100005
Str=1041
[Cmd200]
Name=Deploy_decoys
Ctxt=1
MnID=0x3F100006
Str=1042
Key0=0x4A,C,"J"
[Cmd201]
Name=Crash_dive
Ctxt=1
MnID=0x3F230002
Str=1035
Key0=0x43,C,"C"
[Cmd202]
Name=Emergency_surface
Ctxt=1
MnID=0x3F230003
Str=1034
Key0=0x45,C,"E"
[Cmd203]
Name=Depth_changing
Ctxt=1
[Cmd204]
Name=Set_depth_dial_international
Ctxt=1
;______________________________________
;NAVIGATION OFFICER
[Cmd250]
Name=Navigation_officer
Ctxt=1
GoBack=Navigator_view
[Cmd251]
Name=Choose_destination_point
Ctxt=1
[Cmd252]
Name=Plot_course
Ctxt=1,11
MnID=0x3F060001
[Cmd253]
Name=Return_to_course
Ctxt=1
MnID=0x3F060004
[Cmd254]
Name=Search_pattern_1
Ctxt=1
MnID=0x3F240002
[Cmd255]
Name=Search_pattern_2
Ctxt=1
MnID=0x3F240003
[Cmd256]
Name=Search_pattern_3
Ctxt=1
MnID=0x3F240004
[Cmd257]
Name=Report_time_to_turn
Ctxt=1
MnID=0x3F250002
[Cmd258]
Name=Report_time_to_course_end
Ctxt=1
MnID=0x3F250003
[Cmd259]
Name=Report_range_to_course_end
Ctxt=1
MnID=0x3F250004
[Cmd260]
Name=Report_depth_under_keel
Ctxt=1
[Cmd261]
Name=Report_weather
Ctxt=1
MnID=0x3F250006
;______________________________________
;WEAPONS OFFICER
[Cmd300]
Name=Weapons_officer
Ctxt=1
GoBack=Weapons_officer_view
[Cmd301]
Name=Activate_deckgun
Ctxt=1
[Cmd302]
Name=Activate_flakgun
Ctxt=1
[Cmd303]
Name=Activate_A01gun
Ctxt=1
[Cmd304]
Name=Activate_A02gun
Ctxt=1
[Cmd305]
Name=Deactivate_gun
Ctxt=1
[Cmd306]
Name=Gun_manual_mode
Ctxt=1
[Cmd307]
Name=Fire_gun
Ctxt=1
Key0=0x20,R,"Space"
[Cmd308]
Name=Open_torpedo_tube
Ctxt=1
[Cmd309]
Name=Close_torpedo_tube
Ctxt=1
[Cmd310]
Name=Open_sel_torpedo_tube
Ctxt=1
[Cmd311]
Name=Close_sel_torpedo_tube
Ctxt=1
[Cmd312]
Name=Toggle_open_close_torpedo_tube
Ctxt=1
Key0=0x51,,"Q"
[Cmd313]
Name=Fire_torpedo
Ctxt=1
Key0=0x0D,c,"Ctrl+Enter"
[Cmd314]
Name=Select_torpedo_tube
Ctxt=1
[Cmd315]
Name=Select_tube_1
Ctxt=1
[Cmd316]
Name=Select_tube_2
Ctxt=1
[Cmd317]
Name=Select_tube_3
Ctxt=1
[Cmd318]
Name=Select_tube_4
Ctxt=1
[Cmd319]
Name=Select_tube_5
Ctxt=1
[Cmd320]
Name=Select_tube_6
Ctxt=1
[Cmd321]
Name=Select_single_tube_index
Ctxt=1
[Cmd322]
Name=Select_salvo_tube_index
Ctxt=1
[Cmd323]
Name=Cycle_torp_tube
Ctxt=1
Key0=0x57,,"W"
[Cmd324]
Name=Cycle_fore_torp_tube
Ctxt=1
Key0=0x59,s,""
[Cmd325]
Name=Cycle_aft_torp_tube
Ctxt=1
Key0=0x59,c,""
[Cmd326]
Name=Set_salvo_mode
Ctxt=1
[Cmd327]
Name=Set_torpedo_depth
Ctxt=1
[Cmd328]
Name=Set_torpedo_speed
Ctxt=1
[Cmd329]
Name=Set_torpedo_pistol
Ctxt=1
[Cmd330]
Name=Set_torpedo_straight_run
Ctxt=1
[Cmd331]
Name=Set_torpedo_2nd_gyroangle
Ctxt=1
[Cmd332]
Name=Set_torpedo_leg_length
Ctxt=1
[Cmd333]
Name=Set_torpedo_pattern_angle
Ctxt=1
[Cmd334]
Name=Set_TDC_bearing
Ctxt=1
[Cmd335]
Name=Set_TDC_target_range
Ctxt=1
[Cmd336]
Name=Set_TDC_angle_on_bow
Ctxt=1
[Cmd337]
Name=Set_TDC_target_speed
Ctxt=1
[Cmd338]
Name=Set_spread_angle
Ctxt=1
[Cmd339]
Name=WP_Target_nearest_merchant
Ctxt=1
MnID=0x3F140004
Str=1050
[Cmd340]
Name=WP_Target_nearest_warship
Ctxt=1
MnID=0x3F140003
Str=1051
[Cmd341]
Name=WP_Target_nearest_ship
Ctxt=1
MnID=0x3F140002
Str=1052
[Cmd342]
Name=WP_Target_recommended
Ctxt=1
MnID=0x3F140005
[Cmd343]
Name=WP_Identify_target
Ctxt=1
MnID=0x3F130002
Str=1073
[Cmd344]
Name=WP_Solution_to_target
Ctxt=1
MnID=0x3F130003
Str=1074
[Cmd345]
Name=WP_Fire_torpedo
Ctxt=1
MnID=0x3F130004
[Cmd346]
Name=WP_Compute_solution
Ctxt=1
Str=1076
[Cmd347]
Name=WP_Report_tubes_status
Ctxt=1
MnID=0x3F150002
[Cmd348]
Name=WP_Report_damage
Ctxt=1
MnID=0x3F150003
[Cmd349]
Name=WP_Solution_on_map
Ctxt=1
MnID=0x3F070003
[Cmd350]
Name=WP_Take_photo
Ctxt=1
[Cmd351]
Name=Set_realspread_angle
Ctxt=1
[Cmd352]
Name=Rescue_Survivors
Ctxt=1
[Cmd353]
Name=Set_torpedo_depth_international
Ctxt=1
;______________________________________
;WATCH OFFICER
[Cmd400]
Name=Watch_officer
Ctxt=1
GoBack=Watch_view
[Cmd401]
Name=WA_Target_nearest_merchant
Ctxt=1
MnID=0x3F170004
Str=1050
[Cmd402]
Name=WA_Target_nearest_warship
Ctxt=1
MnID=0x3F170003
Str=1051
[Cmd403]
Name=WA_Target_nearest_ship
Ctxt=1
MnID=0x3F170002
Str=1052
[Cmd404]
Name=WA_Target_recommended
Ctxt=1
MnID=0x3F170005
[Cmd409]
Name=DGuns_Fire_at_will
Ctxt=1
MnID=0x3F190005
Str=1054
[Cmd410]
Name=DGuns_Hold_fire
Ctxt=1
MnID=0x3F190006
Str=1055
[Cmd411]
Name=DGuns_Short_range
Ctxt=1
MnID=0x3F190007
Str=1056
[Cmd412]
Name=DGuns_Medium_range
Ctxt=1
MnID=0x3F190008
Str=1057
[Cmd413]
Name=DGuns_Long_range
Ctxt=1
MnID=0x3F190009
Str=1058
[Cmd414]
Name=DGuns_Aim_hull
Ctxt=1
MnID=0x3F19000D
Str=1059
[Cmd415]
Name=DGuns_Aim_cmd_deck
Ctxt=1
MnID=0x3F19000A
Str=1060
[Cmd416]
Name=DGuns_Aim_weapons
Ctxt=1
MnID=0x3F19000B
Str=1061
[Cmd417]
Name=DGuns_Aim_waterline
Ctxt=1
MnID=0x3F19000C
Str=1062
[Cmd418]
Name=DGuns_Update_target
Ctxt=1
[Cmd419]
Name=AAGuns_Fire_at_will
Ctxt=1
MnID=0x3F180006
Str=1063
[Cmd420]
Name=AAGuns_Hold_fire
Ctxt=1
MnID=0x3F180007
Str=1064
[Cmd421]
Name=AAGuns_Short_range
Ctxt=1
MnID=0x3F180008
Str=1065
[Cmd422]
Name=AAGuns_Medium_range
Ctxt=1
MnID=0x3F180009
Str=1066
[Cmd423]
Name=AAGuns_Long_range
Ctxt=1
MnID=0x3F18000A
Str=1067
[Cmd424]
Name=AAGuns_Aim_fighters
Ctxt=1
MnID=0x3F18000B
Str=1068
[Cmd425]
Name=AAGuns_Aim_bombers
Ctxt=1
MnID=0x3F18000C
Str=1069
[Cmd426]
Name=AAGuns_Aim_any
Ctxt=1
MnID=0x3F18000D
Str=1070
[Cmd427]
Name=AAGuns_Closing_targets
Ctxt=1
MnID=0x3F18000E
Str=1071
[Cmd428]
Name=AAGuns_Any_targets
Ctxt=1
MnID=0x3F18000F
Str=1072
[Cmd429]
Name=AAGuns_Update_target
Ctxt=1
[Cmd430]
Name=Man_the_deck_gun
Ctxt=1
MnID=0x3F2D0002
Str=2944
[Cmd431]
Name=Man_the_flak_gun
Ctxt=1
MnID=0x3F2D0003
Str=2945
[Cmd432]
Name=Man_the_deck_and_flak_guns
Ctxt=1
MnID=0x3F2D0004
Str=2946
[Cmd433]
Name=Watch_crew
Ctxt=1
MnID=0x3F2D0005
Str=2947
[Cmd434]
Name=Report_nearest_visual_contact
Ctxt=1
MnID=0x3F0A0008
[Cmd435]
Name=WA_Report_damage
Ctxt=1
MnID=0x3F2E0003
[Cmd436]
Name=Toggle_battle_stations
Ctxt=1
[Cmd437]
Name=Toggle_activate_damage_control_team
Ctxt=1
[Cmd438]
Name=Toggle_activate_aa_gun_team
Ctxt=1
[Cmd439]
Name=Toggle_activate_deck_gun_team
Ctxt=1
[Cmd440]
Name=Toggle_DGuns_Fire_at_will
Ctxt=1
[Cmd441]
Name=Toggle_DGuns_range
Ctxt=1
[Cmd442]
Name=Toggle_AAGuns_Fire_at_will
Ctxt=1
[Cmd443]
Name=Toggle_AAGuns_range
Ctxt=1
[Cmd444]
Name=Toggle_AAGuns_Closing_targets
Ctxt=1
[Cmd445]
Name=Activate_deck_gun_team
Ctxt=1
[Cmd446]
Name=Activate_aa_gun_team
Ctxt=1
;______________________________________
;RADIO OPERATOR
[Cmd450]
Name=Radio_operator
Ctxt=1
GoBack=Radar_view
[Cmd451]
Name=Report_nearest_radio_contact
Ctxt=1
MnID=0x3F290002
[Cmd452]
Name=Send_contact_report
Ctxt=1
MnID=0x3F290003
[Cmd454]
Name=Send_patrol_report
Ctxt=1
MnID=0x3F290005
[Cmd460]
Name=Radar_one_sweep
Ctxt=1
MnID=0x3F2B0002
[Cmd461]
Name=Radar_continuous_sweep
Ctxt=1
MnID=0x3F2B0003
[Cmd462]
Name=Radar_turn_off
Ctxt=1
MnID=0x3F2B0004
[Cmd465]
Name=Gramophone_toggle
Ctxt=1
[Cmd466]
Name=Gramophone_play
Ctxt=1
MnID=0x3F210002
[Cmd467]
Name=Gramophone_stop
Ctxt=1
MnID=0x3F210004
[Cmd468]
Name=Gramophone_prev
Ctxt=1
MnID=0x3F210003
[Cmd469]
Name=Gramophone_next
Ctxt=1
MnID=0x3F210005
;______________________________________
;SONAR OPERATOR
[Cmd480]
Name=Sonar_operator
Ctxt=1
GoBack=Hydrophone_view
[Cmd481]
Name=Repeat_last_report
Ctxt=1
MnID=0x3F260002
[Cmd482]
Name=Report_nearest_sound_contact
Ctxt=1
MnID=0x3F260003
[Cmd483]
Name=Report_nearest_warship_sound_contact
Ctxt=1
MnID=0x3F260004
[Cmd484]
Name=Hydrophone_normal_sweep
Ctxt=1
MnID=0x3F270002
Str=2885
[Cmd485]
Name=Follow_nearest_sound_contact
Ctxt=1
MnID=0x3F270003
[Cmd486]
Name=Follow_nearest_warship_sound_contact
Ctxt=1
MnID=0x3F270004
[Cmd487]
Name=Estimate_range_to_contact
Ctxt=1
MnID=0x3F280002
[Cmd488]
Name=Precise_range_to_contact
Ctxt=1
MnID=0x3F280003
[Cmd489]
Name=Camera_on_current_unit
Ctxt=1,6,11
Page=0x34000000
[Cmd490]
Name=Display_objectives
Ctxt=1,6
Page=0x20000000
[Cmd491]
Name=Set_escort_throttle
Ctxt=6,11
[Cmd492]
Name=Set_escort_course
Ctxt=6,11
[Cmd493]
Name=Set_escort_position_fore_far
Ctxt=6,11
[Cmd494]
Name=Set_escort_position_fore_near
Ctxt=6,11
[Cmd495]
Name=Set_escort_position_aft_far
Ctxt=6,11
[Cmd496]
Name=Set_escort_position_aft_near
Ctxt=6,11
[Cmd497]
Name=Set_escort_position_left_far
Ctxt=6,11
[Cmd498]
Name=Set_escort_position_left_near
Ctxt=6,11
[Cmd499]
Name=Set_escort_position_right_far
Ctxt=6,11
[Cmd500]
Name=Set_escort_position_right_near
Ctxt=6,11
[Cmd501]
Name=Set_escort_defensive_mode
Ctxt=6,11
[Cmd502]
Name=Set_escort_aggressive_mode
Ctxt=6,11
[Cmd503]
Name=Set_escort_search_mode_on
Ctxt=6,11
[Cmd504]
Name=Set_escort_search_mode_off
Ctxt=6,11
[Cmd505]
Name=Set_escort_attack_with_side_ASW
Ctxt=6,11
[Cmd506]
Name=Set_escort_attack_with_aft_ASW
Ctxt=6,11
[Cmd507]
Name=Set_convoy_zigzagging_on
Ctxt=6,11
[Cmd508]
Name=Set_convoy_zigzagging_off
Ctxt=6,11
[Cmd509]
Name=Set_convoy_throttle_slow
Ctxt=6,11
[Cmd510]
Name=Set_convoy_throttle_fast
Ctxt=6,11
[Cmd511]
Name=View_previous_convoy_unit
Ctxt=6,11
Key0=0x4e,,"N"
Page=0x34000000
[Cmd512]
Name=View_next_convoy_unit
Ctxt=6,11
Key0=0x4d,,"M"
Page=0x34000000
[Cmd513]
Name=Show_AdversarialMode_Dials
Ctxt=6,11
[Cmd514]
Name=Hide_AdversarialMode_Dials
Ctxt=6,11
[Cmd515]
Name=Enter_Adversarial_mode
Ctxt=1,6,11
[Cmd516]
Name=Send_sonar_range_to_TDC
Ctxt=1
[Cmd517]
Name=Send_sonar_bearing_to_TDC
Ctxt=1
[Cmd518]
Name=Sonar_pong
Ctxt=1
[Cmd519]
Name=CareerStartPatrol
Ctxt=1
[Cmd520]
Name=Set_tgt_mast_height_international
Ctxt=1
[Cmd530]
Name=Radar_view_ascope
Ctxt=1
Key0=0x78,,"F9"
Page=0x33000000,3725
GoBack=Conning_tower_camera
[Cmd539]
Name=Show_Player_Rank
Ctxt=1
[Cmd540]
Name=SaveGame
Ctxt=1
[Cmd541]
Name=LoadGame
Ctxt=1
[Cmd542]
Name=ShowOptionsPage
Ctxt=1
[Cmd543]
Name=LeaveCaptainRoom
Ctxt=1
[Cmd544]
Name=Adv_Binocular_camera
Ctxt=11
Key0=0x42,,"B"
Page=0x27000000,3706
GoBack=Camera_on_current_unit
[Cmd545]
Name=Show_Transfer_base
Ctxt=1
[Cmd546]
Name=Show_Top_aces
Ctxt=1
[Cmd547]
Name=Toggle_activate_torpedoes_auto_loading
Ctxt=1
[Cmd548]
Name=Toggle_RiseLower_whole_periscope
Ctxt=1
[Cmd549]
Name=Toggle_RiseLower_whole_obs_periscope
Ctxt=1
[Cmd550]
Name=Show_Intelligence_Units
Ctxt=1
[Cmd551]
Name=View_previous_escort_unit
Ctxt=6,11
Key0=0x43,,"C"
Page=0x34000000
[Cmd552]
Name=View_next_escort_unit
Ctxt=6,11
Key0=0x56,,"V"
Page=0x34000000
[Cmd553]
Name=Show_multiplayer_status
Ctxt=1,6,7,11
Key0=0x09,c,"Tab"
[Cmd554]
Name=ActivateEscortTab
Ctxt=11
Key0=0x71,,"F2"
[Cmd555]
Name=ActivateConvoyTab
Ctxt=11
Key0=0x72,,"F3"
[Cmd556]
Name=ActivateCameraTab
Ctxt=11
Key0=0x73,,"F4"
[Cmd557]
Name=Toggle_Escort_Defensive_Mode
Ctxt=11
[Cmd558]
Name=Toggle_Escort_Search_Mode
Ctxt=11
[Cmd559]
Name=Toggle_Convoy_Evasive_Course
Ctxt=11
[Cmd560]
Name=Toggle_Activate_Clock
Ctxt=1
[Cmd561]
Name=Toggle_Activate_UserRadio
Ctxt=1
[Cmd562]
Name=Toggle_Activate_Gramophone
Ctxt=1
[Cmd563]
Name=Adversarial_Navigation_2D_map
Ctxt=11
Key0=0x74,,"F5"
Page=0x31000000,3740
[Cmd564]
Name=Play_Death_Effect
Ctxt=1,2,10
[Cmd565]
Name=DisplayMedalDetails
Ctxt=1
[Cmd566]
Name=FinalPage_From_DeathEffect
Ctxt=1,12
;______________________________________
;don't forget to increase <CommandsNb> from [Commands] section when add new commands at the end
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-11-09, 02:07 AM   #33
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by SteamWake View Post
...
I will post my entire commands.cfg for scrutiny.
...
[Contexts]
ContextsNb=11; max contexts nb is 16
Context0=None; default - should not be changed
Context1=Game
Context2=Pause
Context3=Spectator
Context4=Console
Context5=Museum
Context6=Effects
Context7=Final
Context8=Edit
Context9=Replay
Context10=ModalMsg
????????????????????
[Commands]
...
and as part from much:
...
[Cmd552]
Name=View_next_escort_unit
Ctxt=6,11
...
[Cmd553]
Name=Show_multiplayer_status
Ctxt=1,6,7,11
...
[Cmd554]
Name=ActivateEscortTab
Ctxt=11
...
[Cmd566]
Name=FinalPage_From_DeathEffect
Ctxt=1,12
...
The first, what i see (look above) you have not sufficient number of the contexts ...
but in commands you use absent contexts ...
Must be:
...
[Contexts]
ContextsNb=13; max contexts nb is 16
Context0=None; default - should not be changed
Context1=Game
Context2=Pause
Context3=Spectator
Context4=Console
Context5=Museum
Context6=Effects
Context7=Final
Context8=Edit
Context9=Replay
Context10=ModalMsg
Context11=AdversarialMode
Context12=DeathEffect
[Commands]
...
May be it's the reason of your problem... may be is not ... i do not know... try ...

P.S.
Quote:
...
Im thinking somehow these keys are hooked to the code and cannot be altered.
...
I think, you is not right ...
I do not have any problems with commands Dive, Surface (with Ctrl, Shift or without)... :rotfl:
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 09-11-09 at 12:24 PM.
Anvart is offline   Reply With Quote
Old 09-11-09, 09:36 AM   #34
danlisa
Navy Seal
 
danlisa's Avatar
 
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,499
Downloads: 45
Uploads: 1
Default

Umm, dumb question time.

Does your CTRL key actually work?

These strings do work:

[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key1=0x44,c,"Ctl+D"

[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key1=0x53,c,"Ctl+S"

Next time you can check, try the other CTRL combos in game aka CTRL+Del or CTRL+Ins to fully raise lower the Obs scope.
__________________
danlisa is offline   Reply With Quote
Old 09-11-09, 12:19 PM   #35
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

If you ask me... you already have read my answer above ... yes works ...
Fragment of my file:
...
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key0=0x44,Cc,"D"

[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key0=0x53,Cc,"S"
...
If you ask not me... sorry ...

P.S.
And if you have one key for what it:
Quote:
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key1=0x44,c,"Ctl+D"

__________________
Alex ®


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

First of all thank you for your patience.

I am afraid to say I still cannot make it work.

Yes my Ctl key works I almost have worn out ctrl+pgup/down

I edited the header as advised.

I have no idea where the comments came from. Some mod I suppose.


Quote:
[Contexts]
ContextsNb=13; max contexts nb is 16
Context0=None; default - should not be changed
Context1=Game
Context2=Pause
Context3=Spectator
Context4=Console
Context5=Museum
Context6=Effects
Context7=Final
Context8=Edit
Context9=Replay
Context10=ModalMsg
Context11=AdversarialMode
Context12=DeathEffect
[Commands]
CommandsNb=600
MaxKeyCommandsNb=190; Keys number shoud be smaller than this value (in order to accelerate the loading)
;Name = command name -> will be translated in command index
;Ctxt = command context(s) as indexes -> see [Contexts] section
;MnID = menu item id associated with this command
;Str = string id (from en_menu.txt) associated with this command
;KeyX = an entry containing <key_code>,<flags chars>,<help text id>; flags chars could be C=executed by the crew, R=repeat key, c=with control, s=with shift, m=only when mouse is captured (enabled), n=only when mouse is not captured (enabled)
;Page = <page_id>,<title_id>; associated page (only for user commands) and a title if is necessary
and the Cmnd's

I tried both of these

Quote:
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key1=0x44,c,"Ctl+D"
[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key1=0x53,c,"Ctl+S"
Quote:
[Cmd192]
Name=Dive
Ctxt=1
Str=1030
Key1=0x44,cC,"Ctl+D"
[Cmd193]
Name=Surface
Ctxt=1
Str=1031
Key1=0x53,cC,"Ctl+S"

Maybe someone can put up a commands.cfg with Ctrl+S & Ctrl+D edited that works for them I can look at that.

Again thanks !
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-14-09, 04:22 PM   #37
SteamWake
Rear Admiral
 
Join Date: Mar 2005
Posts: 13,224
Downloads: 5
Uploads: 0
Default

Just to put closure on this.

I have decided its not worth the aggrivation and learn to live with the default keys

Its just strange that I can edit other sections of the commands.cfg and acheive success yet these two keys got the better of me.
__________________
Follow the progress of Mr. Mulligan : http://www.subsim.com/radioroom/showthread.php?t=147648
SteamWake is offline   Reply With Quote
Old 09-15-09, 12:53 PM   #38
Munchausen
Commodore
 
Join Date: Jul 2002
Posts: 608
Downloads: 25
Uploads: 1
Default

Perhaps some morning you'll wake up, having had a dream about it, and realize you finally figured it out.
Munchausen 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 03:40 PM.


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.