![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Loader
![]() Join Date: Aug 2005
Posts: 87
Downloads: 0
Uploads: 0
|
![]()
Right, I have been playing the game for a while, and decided to make a change to the key config as it was bugging me...
Note: I have UK keyboard layout My "All-Stop" command key is the apostrophe key ('), which is near the return key, so I decided to put it where it supposed to be, to the left of the "1" key... The key on my keyboard is "`", which is ASCII Code 96, which is Hex 60, so I amended the All_Stop order in the command.cfg file to this... [Cmd171] Name=All_stop Ctxt=1 Str=1010 Key0=0x60,C,"`" But this does not work. What am I doing wrong? Thanks PS. I tried to search for a solution on this forum, as I thought all UK people would have this problem, and would have asked to fix it - but I found nothing - (I searched for "all stop", but the search decides to only search for "stop" - I find searching on this forum does not work very well ![]()
__________________
a l i e n m o o n s d i g i t a l s t u d i o s "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched c-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time, like tears in the rain. Time to die" |
![]() |
![]() |
![]() |
#2 |
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]()
Try this line instead:
Key0=0xC0,C,"~" I think the game looks for the upper case equivalent of the key and this is the line that is entered in my commands.cfg file (which mod it came from, I don't know:rotfl ![]() As for the search function, the one here doesn't like 3 letter words. I use the "search site" function of google to search here and it works much better and allows the advanced functions (quotes around several words to look for the exact group of words, etc.). The disadvantage there is that you can't search one forum or one thread, it searches the whole site. |
![]() |
![]() |
![]() |
#3 | |
Loader
![]() Join Date: Aug 2005
Posts: 87
Downloads: 0
Uploads: 0
|
![]() Quote:
![]() Thanks ![]()
__________________
a l i e n m o o n s d i g i t a l s t u d i o s "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched c-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time, like tears in the rain. Time to die" |
|
![]() |
![]() |
![]() |
#4 | |
Loader
![]() Join Date: Aug 2005
Posts: 87
Downloads: 0
Uploads: 0
|
![]() Quote:
Thanks anyway ![]()
__________________
a l i e n m o o n s d i g i t a l s t u d i o s "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched c-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time, like tears in the rain. Time to die" |
|
![]() |
![]() |
![]() |
#5 |
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]()
Oops, my bad, I didn't think about the difference in layout on a UK keyboard.
![]() Edit : perhaps try the keycode for the character above the ` on your keyboard? Since the default keyboard command is for the upper character on the key on the US keyboard, perhaps it's for the upper character on the UK keyboard also. |
![]() |
![]() |
![]() |
#6 | |
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]()
Someone else evidently was having the same problem while trying to trap that keypress in a program and came up with the following
Quote:
Edit : Link to the page that I found this answer on http://www.vbmonster.com/Uwe/Forum.a...01/vbkey-codes |
|
![]() |
![]() |
![]() |
#7 |
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]()
This is what's in my Commands.cfg (1.5 version):
[Cmd171] Name=All_stop Ctxt=1 Str=1010 Key0=0xC0,C,"~" ;Key1=0x30,C,"0" If you take out the semi-colon on the bottom line and put it in front of the line above it, "All Stop" will become the zero key, which in a way makes sense.
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. |
![]() |
![]() |
![]() |
#8 | ||
Loader
![]() Join Date: Aug 2005
Posts: 87
Downloads: 0
Uploads: 0
|
![]() Quote:
My command.cfg now looks like this: [Cmd171] Name=All_stop Ctxt=1 Str=1010 Key0=0xDF,C,"¬" ![]() This was driving me insane!! I was using Microsoft Excel to obtain the ASCII and HEX codes of characters, using the CHAR(), CODE(), and DEC2HEX(), and HEX2DEC() functions, but I just was not able to get the correct character - I was fighting a losing battle... I was putting in the "¬" character in Excel, and it was returning ASCII 172, and HEX AC. I even went through changing my keyboard settings to U.S, trying SHIFT etc - but I was getting nowhere. If I put HEX "DF" into my Excel sheet, I get ASCII 223, and the "BETA" character - "ß"!! So I had no chance in finding the character! Again, thank you very much ![]()
__________________
a l i e n m o o n s d i g i t a l s t u d i o s "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched c-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time, like tears in the rain. Time to die" |
||
![]() |
![]() |
![]() |
#9 | |
Loader
![]() Join Date: Aug 2005
Posts: 87
Downloads: 0
Uploads: 0
|
![]() Quote:
![]() Thanks for taking the time to post this ![]()
__________________
a l i e n m o o n s d i g i t a l s t u d i o s "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched c-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time, like tears in the rain. Time to die" |
|
![]() |
![]() |
![]() |
#10 |
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]()
Glad it's working out for you, DT
![]() |
![]() |
![]() |
![]() |
#11 | |
Loader
![]() Join Date: Aug 2005
Posts: 87
Downloads: 0
Uploads: 0
|
![]() Quote:
![]() ![]()
__________________
a l i e n m o o n s d i g i t a l s t u d i o s "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched c-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time, like tears in the rain. Time to die" |
|
![]() |
![]() |
![]() |
#12 | |
Commodore
![]() Join Date: Jul 2008
Posts: 611
Downloads: 0
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]() Quote:
![]() ![]() ![]() ![]()
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. |
|
![]() |
![]() |
![]() |
#15 | ||
Loader
![]() Join Date: Aug 2005
Posts: 87
Downloads: 0
Uploads: 0
|
![]() Quote:
![]() "If you take out the semi-colon on the bottom line and put it in front of the line above it, "All Stop" will become the zero key, which in a way makes sense." ![]()
__________________
a l i e n m o o n s d i g i t a l s t u d i o s "I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched c-beams glitter in the dark near the Tannhauser gate. All those moments will be lost in time, like tears in the rain. Time to die" |
||
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|