Talk:Manipulating the game menu items

From Valve Developer Community
Revision as of 04:07, 2 June 2007 by Winston (talk | contribs) (Added info on running map)
Jump to navigation Jump to search

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)


In reference to the above, to run a map directly from a menu command, an entry of the type "command" "engine map mymap" will do the trick, and can be used for (eg) training maps, or just to bypass the chapter selection screen. --Winston 11:02, 2 Jun 2007 (UTC)