SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   Question About Un-mapped commands (https://www.subsim.com/radioroom/showthread.php?t=116413)

buzzinbill 06-08-07 07:10 PM

Question About Un-mapped commands
 
I was looking through the commands.cfg and came across this entry
"[Cmd257]
Name=Report_time_to_turn
Ctxt=1
MnID=0x3F250002" Question : How would one go about enabling this command or assigning it some sort of key combo ... Seems to me this would be a handy command to have if playing at 100% realism , and not always having to keep going to the nav map to look at route end times... I'm not a "modder" or do I know hex coding keyboard strokes ....any idea's or a crooked finger pointing me in the right direction would be helpful ....If not educational :know:

CaptainCox 06-09-07 12:27 AM

You could add that to all stations pretty easy...if that is what you mean?
This thread pretty much covers that...if that is what you wanted ;)
Quote:

Button6Command=Report_time_to_course_end
Button6IconRowColumn=2,6
Button6Tooltip=5617
http://www.subsim.com/radioroom/show...light=Stations

Or if you want to try to add a "Hex" value to that function by yourself to create a hot key (did not try myself) here is a list with all the virtual key codes
http://api.farmanager.com/en/winapi/...lkeycodes.html

What you are looking for is the "Value (HEX)"

For example lets say you would like to have "Y" as the key, the hex value for Y= 59, the code would look like this.
Quote:

[Cmd257]
Name=Report_time_to_turn
Ctxt=1
MnID=0x3F250002
Key0=0x59,,"Y"
But like I said, I have not tried this myself.

I think my 1st comment is not valid as that particular command is not even in the list. As for the hot key...should work, but again I never saw that function in game...try it out and tell us if it works.

Actually I am pretty interested in the "Weather Report" command...has this been done yet?

ReallyDedPoet 06-09-07 07:29 AM

Quote:

Originally Posted by CaptainCox
Actually I am pretty interested in the "Weather Report" command...has this been done yet?

070521: Added weather report to bridge station toolbar and removed Ctrl+W keystroke. Weather reports are now only available when the sub is surfaced. Mod by Beery (Data\Cfg\Commands.cfg; Data\Menu\cfg\OrdersBar.cfg; Data\Menu\Gui\Layout\HUD.dds; Data\Menu\menu.txt).

From Beery's Mod, he did this with Version 1.27 I think.

RDP

buzzinbill 06-09-07 08:09 AM

Thats pretty much hitting the nail on the head
 
Quote:

Originally Posted by CaptainCox
You could add that to all stations pretty easy...if that is what you mean?
This thread pretty much covers that...if that is what you wanted ;)
Quote:

Button6Command=Report_time_to_course_end
Button6IconRowColumn=2,6
Button6Tooltip=5617
http://www.subsim.com/radioroom/show...light=Stations

Or if you want to try to add a "Hex" value to that function by yourself to create a hot key (did not try myself) here is a list with all the virtual key codes
http://api.farmanager.com/en/winapi/...lkeycodes.html

What you are looking for is the "Value (HEX)"

For example lets say you would like to have "Y" as the key, the hex value for Y= 59, the code would look like this.
Quote:

[Cmd257]
Name=Report_time_to_turn
Ctxt=1
MnID=0x3F250002
Key0=0x59,,"Y"
But like I said, I have not tried this myself.

I think my 1st comment is not valid as that particular command is not even in the list. As for the hot key...should work, but again I never saw that function in game...try it out and tell us if it works.

Actually I am pretty interested in the "Weather Report" command...has this been done yet?

Thank you much for the info.... thats what i wondering about ..I'd noticed no one had talked about useing this command , I'd imagine there's a "boat load" of stuff thats in this sim , that's not being used...

CaptainCox 06-09-07 08:11 AM

@reallydedpoet. Man you learn something new every day. Cheers :up:

buzzinbill 06-10-07 11:33 PM

Quote:

Originally Posted by buzzinbill
Quote:

Originally Posted by CaptainCox
You could add that to all stations pretty easy...if that is what you mean?
This thread pretty much covers that...if that is what you wanted ;)
Quote:

Button6Command=Report_time_to_course_end
Button6IconRowColumn=2,6
Button6Tooltip=5617
http://www.subsim.com/radioroom/show...light=Stations

Or if you want to try to add a "Hex" value to that function by yourself to create a hot key (did not try myself) here is a list with all the virtual key codes
http://api.farmanager.com/en/winapi/...lkeycodes.html

What you are looking for is the "Value (HEX)"

For example lets say you would like to have "Y" as the key, the hex value for Y= 59, the code would look like this.
Quote:

[Cmd257]
Name=Report_time_to_turn
Ctxt=1
MnID=0x3F250002
Key0=0x59,,"Y"
But like I said, I have not tried this myself.

I think my 1st comment is not valid as that particular command is not even in the list. As for the hot key...should work, but again I never saw that function in game...try it out and tell us if it works.

Actually I am pretty interested in the "Weather Report" command...has this been done yet?

Thank you much for the info.... thats what i wondering about ..I'd noticed no one had talked about useing this command , I'd imagine there's a "boat load" of stuff thats in this sim , that's not being used...

Thought I'd let ya know I tried binding a key to the "Report_time_to_turn" command... From what I can tell it gave the same responce as the "Time To Course End" .... So who knows.... I'm pretty sure i did it right ... maybe not if anyone else has any luck at enableing dis-abled commands let me know


All times are GMT -5. The time now is 12:24 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.