Opening a webpage via the menu

Grab your favourite IDE and tinker with the innards of game engines

Opening a webpage via the menu

Postby Fearlezz on Wed Nov 10, 2010 10:25 pm

Lets start off by saying that this is for a portal mod, which means that coding is completly out of question since you cant code for portal.

I have button in my menu that I want to open a webpage in any way possible, either in the steam overlay or minimize the game if needed. Or even better, open a window in the game with the webpage inside it.

Ive checked out few other mods and they all have coded it. So is there another way to do this? Ive also checked out different source console commands but none which worked.

All help is appriciated, thanks!
Image
User avatar
Fearlezz
Regular
Regular
 
Joined: Tue Jun 10, 2008 12:11 pm

Re: Opening a webpage via the menu

Postby omnicoder on Wed Nov 10, 2010 10:49 pm

I've looked into this for Blue Portals and it isn't possible.
Image
If only the future implemented IForeseeable...
"whats threading? does it have to do with strings?" - stegarootbeer
User avatar
omnicoder
Been Here A While
Been Here A While
 
Joined: Sun Feb 07, 2010 8:35 am

Re: Opening a webpage via the menu

Postby Jman on Wed Nov 10, 2010 11:16 pm

You can do it with sourcemod, it just replaces the motd with the webpage you want.
User avatar
Jman
Veteran
Veteran
 
Joined: Wed Mar 30, 2005 11:01 pm

Re: Opening a webpage via the menu

Postby omnicoder on Thu Nov 11, 2010 12:21 am

Jman wrote:You can do it with sourcemod, it just replaces the motd with the webpage you want.

Portal doesn't have a motd or code access.
Image
If only the future implemented IForeseeable...
"whats threading? does it have to do with strings?" - stegarootbeer
User avatar
omnicoder
Been Here A While
Been Here A While
 
Joined: Sun Feb 07, 2010 8:35 am

Re: Opening a webpage via the menu

Postby Fearlezz on Thu Nov 11, 2010 9:50 pm

Bummers.. oh well, thanks.
Image
User avatar
Fearlezz
Regular
Regular
 
Joined: Tue Jun 10, 2008 12:11 pm

Return to Programming

Who is online

Users browsing this forum: No registered users

cron