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 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-10-10, 10:01 AM   #1
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 902
Downloads: 10
Uploads: 1
Default [TEC]Depth under Keel

Moin,

now that I had a first glance at SHV I´m starting to browse the folders to become familiar with the newborn. The first button/command I was missing was 'GetDepthUnderKeel'. I´m not that much into GUI programming and haven´t been for SH3 either, but I had a brief look into the corresponding files. Maybe I´m a bit late and somebody else has posted something similar already but here´s how to easily make the 'GetDepthUnderKeel' command working on key command.
  1. open ...\SHV\data\cfg\Commands.cfg
  2. browse to [Cmd130]
  3. add the red line
    [Cmd130]
    Name=Get_depth_under_sub_keel
    Contexts=1,15
    Key0=0x55,,"U"
    MnID=0x3F250005

Now the command will be executed on pressing "U". If you wish to attach another key to this command, search the internet for an ASCII code table. You´ll find a hex code referring to every key on your keyboard. Replace '0x55' by your desired hex code. If you like to use a key whilst pressing SHIFT or CTRL, place a 's' or 'c' between the commas.

Btw, it looks as if all commands known from good old SH3 are still present in the commands.cfg files. The *.act files in the game´s root folder do indicate the same. So, I´m pretty much sure some GUI guru will provide a SHIII like interface sooner or later.

Regards,
DD
DivingDuck is offline   Reply With Quote
 


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 01:11 AM.


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.