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

Reply
 
Thread Tools Display Modes
Old 08-20-13, 01:16 AM   #1
Santini
Medic
 
Join Date: Dec 2009
Posts: 168
Downloads: 389
Uploads: 1
Default [REQ] Time compression hotkeys

Is there a way to set time compression hotkeys?

Like, press x for tc 16, or y for tc 128?
Santini is offline   Reply With Quote
Old 08-20-13, 11:59 AM   #2
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

no, you can reset which of the keys are used for things but you cant change the action caused by them
  Reply With Quote
Old 08-20-13, 12:32 PM   #3
oakdesign
A-ganger
 
Join Date: Sep 2007
Posts: 76
Downloads: 65
Uploads: 0
Default

Quote:
Originally Posted by Webster View Post
no, you can reset which of the keys are used for things but you cant change the action caused by them
No, is not 100% true.

If you are using TDW New UI's you might use your own Automation script using with the

PHP Code:
Set_Time_Compression,x,0,0,0,0,0,set time compression to x value (x must be a power of 2!) 
command and then set a hotkey for executing the automation script
__________________
----------------------------------------------------------------
Seemann prüf dein Sackgewicht an Backbord kommt Laboe in Sicht
----------------------------------------------------------------
oakdesign is offline   Reply With Quote
Old 08-20-13, 12:37 PM   #4
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by oakdesign View Post
No, is not 100% true.

If you are using TDW New UI's you might use your own Automation script using with the

PHP Code:
Set_Time_Compression,x,0,0,0,0,0,set time compression to x value (x must be a power of 2!) 
command and then set a hotkey for executing the automation script
I guess, he was looking for a more simply way ..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 08-20-13, 12:44 PM   #5
Santini
Medic
 
Join Date: Dec 2009
Posts: 168
Downloads: 389
Uploads: 1
Default

Quote:
Originally Posted by volodya61 View Post
I guess, he was looking for a more simply way ..
Seems fairly simple. Will report back with findings
Santini is offline   Reply With Quote
Old 08-20-13, 12:59 PM   #6
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 995
Downloads: 1078
Uploads: 6
Default

There is a definite way to due it without New UIs. I have done it with remapping for voice recognition. That way I not to override New UIs and any other mod(s) (if applicable) I use. I do use New UIs for TDC myself.

I'll be back at my game computer in 4-8 hours to get the data for you about time compression. I'll need a modlist of what you use. Please do a search for any commands.cfg in your SH5 mods folder and tell me what mods has a commands.cfg.
Mikemike47 is offline   Reply With Quote
Old 08-20-13, 01:44 PM   #7
Santini
Medic
 
Join Date: Dec 2009
Posts: 168
Downloads: 389
Uploads: 1
Default

Okay. Might take me a bit, I need to cram in an hour or three of sleep, then graveyard shift, but will update
Santini is offline   Reply With Quote
Old 08-20-13, 02:13 PM   #8
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by oakdesign View Post
No, is not 100% true.

If you are using TDW New UI's you might use your own Automation script using with the

PHP Code:
Set_Time_Compression,x,0,0,0,0,0,set time compression to x value (x must be a power of 2!) 
command and then set a hotkey for executing the automation script
that's great info
  Reply With Quote
Old 08-20-13, 04:54 PM   #9
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 995
Downloads: 1078
Uploads: 6
Default

Quote:
Originally Posted by Mikemike47 View Post
There is a definite way to due it without New UIs. I have done it with remapping for voice recognition. That way I not to override New UIs and any other mod(s) (if applicable) I use. I do use New UIs for TDC myself.

I'll be back at my game computer in 4-8 hours to get the data for you about time compression. I'll need a modlist of what you use. Please do a search for any commands.cfg in your SH5 mods folder and tell me what mods has a commands.cfg.
Quote:
Originally Posted by Santini View Post
Okay. Might take me a bit, I need to cram in an hour or three of sleep, then graveyard shift, but will update
I'm a little mistaken here. I only created a fix in my voice recognition, not the commands.cfg.

In voice recognition, I use (*.xml). Starting in a pause state, TC16 would be:
<command name="Time Compression 16" phrase="Compress">
<key type="Numpad+" repeat="5" pause="20"/>
</command>

So a similar commands.cfg entry for TC16 would start with:
[Cmd5]
Name=Time_compr_increase
Contexts=1,2,6,9,15
MnID=0x3F010001
Key0=0x6B,R,"Npad +"

Any help out there? I bet someone knows exactly how to get the key to repeat a total of 5 times in commands.cfg? ,R,R,R,R,???????? Got to be a very simple syntax fix!

Thank you Jimimadrid. Jimimadrid SH keymapper program works great for binding keys to commands.cfg. I have used it from SH3 to SH5, it gives you a great visual representation.

Winmerge, in subsim utilities download section, is Open Source differencing and merging tool for Windows which I have used for commands.cfg issues, too.
Mikemike47 is offline   Reply With Quote
Old 08-20-13, 10:38 PM   #10
Santini
Medic
 
Join Date: Dec 2009
Posts: 168
Downloads: 389
Uploads: 1
Default

Speech fixes and additions is the one that mods my commands

An x16 and an x512 would be superb!

num / and num * perhaps?
Santini is offline   Reply With Quote
Old 08-21-13, 04:09 AM   #11
oakdesign
A-ganger
 
Join Date: Sep 2007
Posts: 76
Downloads: 65
Uploads: 0
Default

Quote:
Originally Posted by Mikemike47 View Post

So a similar commands.cfg entry for TC16 would start with:
[Cmd5]
Name=Time_compr_increase
Contexts=1,2,6,9,15
MnID=0x3F010001
Key0=0x6B,R,"Npad +"

Any help out there? I bet someone knows exactly how to get the key to repeat a total of 5 times in commands.cfg? ,R,R,R,R,???????? Got to be a very simple syntax fix!
This is not gonna work. The Repeat Flag indicates that this command is executed continiously as long as the assigned key is pressed.

Have a look at the move_forward command
Code:
[Cmd92]
Name=Move_forward
Contexts=1,2,3,5,9,11,13,14,15
Key0=0x57,R,"W";SH5
as long as you hold down "W" you'll move forward.
If you remove the "R" flag from this command and press "W"
you'll do only one single step forward.
In order to move you would have to press, release the "W" continiously
__________________
----------------------------------------------------------------
Seemann prüf dein Sackgewicht an Backbord kommt Laboe in Sicht
----------------------------------------------------------------
oakdesign 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 09:37 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.