![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Watch
![]() Join Date: Jan 2009
Location: San Diego CA
Posts: 17
Downloads: 33
Uploads: 0
|
![]()
Here's a snippet of code from OrdersBar.cfg:
Button10Type=Checkbox Button10CommandWhenClicked=Toggle_silent_running Button10CommandToCheckIfIsChecked=Is_Silent_mode_A ctive Button10CommandToCheckIfIsEnabled=Is_Underwater I searched and found that the commands used in OrdersBar.cfg are defined in SH4\Data\Cfg\commands.cfg file (for instance, "Toggle_silent_running", above). My question is: where are the commands such as "Is_Silent_mode_Active" and "Is_Underwater" stored? These are the commands that let you test whether a given command is checked, enabled, etc., but for the life of me I cannot find where they are stored/defined. Anyone know?
__________________
Silent Hunter 4 v1.5, TMO v2.5 |
![]() |
![]() |
![]() |
#2 | ||
Admiral
![]() |
![]() Quote:
The entire list of possible button/keyboard commands (not the modifiers) can be found if you use jimimadrid's "SH 4 Menumaker". By using the mod you can see what the stock game has for those commands. He doesn't tell us what they do, or how/where their used (we pretty much have to find out on our own), but the entire list is there. As with the modifiers, we can't change them (their function is also set in the hard coded files), we only have the option to use them or not.
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
||
![]() |
![]() |
![]() |
#3 | |
Watch
![]() Join Date: Jan 2009
Location: San Diego CA
Posts: 17
Downloads: 33
Uploads: 0
|
![]() Quote:
__________________
Silent Hunter 4 v1.5, TMO v2.5 |
|
![]() |
![]() |
![]() |
|
|