![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Ocean Warrior
![]() Join Date: Sep 2008
Location: Notify command we have entered the Grass Sea
Posts: 2,822
Downloads: 813
Uploads: 0
|
![]()
Can anyone from SH3 convert Setkeys into a program that can be used in SH4. Also, a tutorial is requested, as I cannot locate one.
|
![]() |
![]() |
![]() |
#2 |
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,750
Downloads: 51
Uploads: 26
|
![]()
Changing Setkeys is well outside my ability, but I've created a mod for SH4 that maps SH3 keys across: http://www.mediafire.com/?zdte0dcdm0y5g25
__________________
![]() All my mods are available at MediaFire: SH3 Mods Other modders SH3 mods SH4 Mods ...you can't please all of the people all of the time... |
![]() |
![]() |
![]() |
#3 |
Ocean Warrior
![]() Join Date: Sep 2008
Location: Notify command we have entered the Grass Sea
Posts: 2,822
Downloads: 813
Uploads: 0
|
![]()
I want to add things to SH4 such as a command to open all of the torpedoe tube doors, fire salvos, etc. Those commands do not exist in the SH4 program. Either Setkey or AutoHotKey should make it possible, but I have no idea how to work eithter of those programs.
|
![]() |
![]() |
![]() |
#4 |
Chief
![]() Join Date: Feb 2011
Location: In the past...
Posts: 321
Downloads: 89
Uploads: 1
|
![]()
I'm relatively certain setkeys will work for sh4, just be aware that there are more commands available for sh4.
Also, this thread could be put in the sh3 mods or the sh4 mods sections...
__________________
God is a comedian playing to an audience too afraid to laugh. -Voltaire |
![]() |
![]() |
![]() |
#5 | |
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,750
Downloads: 51
Uploads: 26
|
![]() Quote:
You could also try postalbyke's suggestion, as Setkeys should work in SH4 as it's (mostly) the same file structure.
__________________
![]() All my mods are available at MediaFire: SH3 Mods Other modders SH3 mods SH4 Mods ...you can't please all of the people all of the time... |
|
![]() |
![]() |
![]() |
#6 |
Ocean Warrior
![]() Join Date: Sep 2008
Location: Notify command we have entered the Grass Sea
Posts: 2,822
Downloads: 813
Uploads: 0
|
![]()
I am trying to figure out how to read the cfg files. I do not know the code for the key strokes in the game. How can I modify the keystrokes if I do not know that? I can't obviously, nor can I program new functions. Where do I get started on figuring it out. There is no tutorial for Setkeys that I can locate. I need some basic guidance to get started.
|
![]() |
![]() |
![]() |
#7 |
Ocean Warrior
![]() Join Date: Sep 2008
Location: Notify command we have entered the Grass Sea
Posts: 2,822
Downloads: 813
Uploads: 0
|
![]()
I downloaded your mod. Here are some cfg entries that hopefully you can explain to me. I am not sure where you figured any of this out, but maybe if it is explained, I can get strarted. What I am interested in doing is firing salvos in SH4. Currently it is not possible. There are several other changes, as well, such going to maximum TC in one keystroke. Here is a portion of the cfg file that I copied.
;WB's SH3 commands for SH4 17 Sep 11 [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=Edic Context9=Replay Context10=ModalMsg Context11=AdversarialMode Context12=DeathEffect [Commands] CommandsNb=600 MaxKeyCommandsNb=170; 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 +" Key1=0x6A,R,"NumPad *" ;WB [Cmd6] Name=Time_compr_normal Ctxt=1,2,6,9 Key0=0x0D,,"Enter" ;WB ;______________________________________ [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=0x7B,,"F12" ;WB Key0=0x7A,,"F11" Key1=0x7B,c,"" ;WB Key1=0x7A,c,"" Key2=0x7B,s,"" ;WB Key2=0x7A,s,"" [Cmd10] Name=Interior_fore_camera Ctxt=1,12 MnID=0x3F020001 Key0=0x71,,"F2" Page=0x33000000,3703 |
![]() |
![]() |
![]() |
|
|