PDA

View Full Version : OrdersBar.cfg file question


lexloma
08-22-16, 09:06 AM
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?

CapnScurvy
08-22-16, 10:52 AM
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?

As far as I know, those "modifying" commands are in the hard coded areas of the game.....we don't have access to them. We don't really know how many there are either (could be a few more), we only know of their existence by seeing them used in the OrdersBar.cfg.

The entire list of possible button/keyboard commands (not the modifiers) can be found if you use jimimadrid's "SH 4 Menumaker (http://www.subsim.com/radioroom/showthread.php?t=131625)". 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.

lexloma
08-22-16, 11:20 AM
As far as I know, those "modifying" commands are in the hard coded areas of the game.....we don't have access to them. We don't really know how many there are either (could be a few more), we only know of their existence by seeing them used in the OrdersBar.cfg.

Many thanks, CapnScurvy; I was afraid of that. Appreciate your reply!