PDA

View Full Version : Question About Un-mapped commands


buzzinbill
06-08-07, 07:10 PM
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 ;)
Button6Command=Report_time_to_course_end
Button6IconRowColumn=2,6
Button6Tooltip=5617
http://www.subsim.com/radioroom/showthread.php?t=114903&highlight=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/virtualkeycodes.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.
[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
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
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 ;)
Button6Command=Report_time_to_course_end
Button6IconRowColumn=2,6
Button6Tooltip=5617
http://www.subsim.com/radioroom/showthread.php?t=114903&highlight=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/virtualkeycodes.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.
[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
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 ;)
Button6Command=Report_time_to_course_end
Button6IconRowColumn=2,6
Button6Tooltip=5617
http://www.subsim.com/radioroom/showthread.php?t=114903&highlight=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/virtualkeycodes.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.
[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