Talk:Manipulating the game menu items: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(question about menu)
 
(question about where commands map to)
Line 1: Line 1:
You can use: "OnlyInGame" "1" to make a menu entry only appear when a game is launched.  Is there any way to implement the opposite effect (i.e. a menu entry only appears before when a game is not launched)?  --[[User:Daktor|Daktor]] 10:55, 6 Sep 2006 (PDT)
You can use: "OnlyInGame" "1" to make a menu entry only appear when a game is launched.  Is there any way to implement the opposite effect (i.e. a menu entry only appears before when a game is not launched)?  --[[User:Daktor|Daktor]] 10:55, 6 Sep 2006 (PDT)
In GameMenu.res, an entry of this type: "command" "engine xxx" will launch the con_command "xxx".  Other entries are of the type: "command" "OpenServerBrowser", where is the implementation for "OpenServerBrowser".  It doesn't seem to map to a con_command, so what does it map to? --[[User:Daktor|Daktor]] 11:36, 6 Sep 2006 (PDT)

Revision as of 11:36, 6 September 2006

You can use: "OnlyInGame" "1" to make a menu entry only appear when a game is launched. Is there any way to implement the opposite effect (i.e. a menu entry only appears before when a game is not launched)? --Daktor 10:55, 6 Sep 2006 (PDT)


In GameMenu.res, an entry of this type: "command" "engine xxx" will launch the con_command "xxx". Other entries are of the type: "command" "OpenServerBrowser", where is the implementation for "OpenServerBrowser". It doesn't seem to map to a con_command, so what does it map to? --Daktor 11:36, 6 Sep 2006 (PDT)