Alfred tells me that to execute a console command from within a .res like this, you just need to preface it with "engine", like:
"label" "#Menu_ReadyRoom" "command" "engine readyroom" -Charlie -- Charlie Cleveland Game programmer and designer http://www.natural-selection.org http://overmind.org ----- Original Message ----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Manip > Sent: October 7, 2003 4:18 PM > To: [EMAIL PROTECTED] > Subject: Re: [hlcoders] GameMenu.res commands > > The GameUi source is already out... and the browser source.... > ----- Original Message ----- > From: "Tony "omega" Sergi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 07, 2003 8:09 PM > Subject: RE: [hlcoders] GameMenu.res commands > > > > Afaik, those commands aren't being executed from the game OR client > > dlls. > > > > They're hardcoded into GameUI.dll. > > > > So with that said, theres nothing we can do until valve releases new > SDK > > with gameui.dll source. > > > > > > -omega > > http://www.frontline2.com > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Charlie > > Cleveland > > Sent: October 7, 2003 12:26 PM > > To: hlcoder > > Subject: [hlcoders] GameMenu.res commands > > > > This is a multi-part message in MIME format. > > -- > > [ Picked text/plain from multipart/alternative ] > > Hey everyone, > > > > I am trying to customize my GameMenu.res (under Steam) to execute > custom > > commands. > > > > -- > > "GameMenu" > > { > > "1" > > { > > "label" "#GameUI_GameMenu_ResumeGame" > > "command" "ResumeGame" > > "OnlyInGame" "1" > > } > > "2" > > { > > "label" "#GameUI_GameMenu_Disconnect" > > "command" "Disconnect" > > "OnlyInGame" "1" > > } > > "3" > > { > > "label" "#Menu_ReadyRoom" > > "command" "readyroom" > > "OnlyInGame" "1" > > } > > <more> > > -- > > > > I entered block #3, but of course "readyroom" isn't a command > recognized > > by Half-life. It is in fact a client command. Does anyone know how > you > > execute client commands via this menu, or how you add your own custom > > commands? > > > > -Charlie > > -- > > Charlie Cleveland > > Game programmer and designer > > http://www.natural-selection.org > > http://overmind.org > > -- > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

