Talk:VGUI HTML Screen: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(using VGUI screen on a viewmodel?)
Line 23: Line 23:


Codewise I'm way out of my depth here, but the mention of the 'clipboard' prop as the VGUI surface reminded me of an idea to have "info_props" like maps, keypad-codes, etc as portable viewmodels, ie can be carried around in the player's inventory (scrapbook?) and referred to when necessary. Using an HTML page to store the static 2d media would make life so much easier for mappers to incorporate text/image clues without having to compile a new viewmodel & weapon script for every scrap of paper! Any potential? thoughts? --[[User:Beeswax|Beeswax]] 08:25, 31 Jan 2008 (PST)
Codewise I'm way out of my depth here, but the mention of the 'clipboard' prop as the VGUI surface reminded me of an idea to have "info_props" like maps, keypad-codes, etc as portable viewmodels, ie can be carried around in the player's inventory (scrapbook?) and referred to when necessary. Using an HTML page to store the static 2d media would make life so much easier for mappers to incorporate text/image clues without having to compile a new viewmodel & weapon script for every scrap of paper! Any potential? thoughts? --[[User:Beeswax|Beeswax]] 08:25, 31 Jan 2008 (PST)
:That would definitely be a great feature! No idea if it's possible, but since we're talking about the ''sauce'' engine, it just might be :) --[[User:Etset|Etset]] 13:54, 31 Jan 2008 (PST)

Revision as of 14:54, 31 January 2008

Very nice thanks :D Unsigned comment added by JamieLea (talkcontribs) Always sign your posts with four tildes (~~~~)

I'm getting a couple of errors when I had compiled! Help is much appreciated!

d:\hl2fp\src\cl_dll\IHTMLView.h(45): error C2501: 'CHTMLView_Panel::EntHTML' : missing storage-class or type specifiers
d:\hl2fp\src\cl_dll\IHTMLView.h(45): error C2501: 'CHTMLView_Panel::m_HTML' : missing storage-class or type specifiers
d:\hl2fp\src\cl_dll\HTMLView.cpp(68): error C2065: 'm_HTML' : undeclared identifier
d:\hl2fp\src\cl_dll\HTMLView.cpp(68): error C2061: syntax error : identifier 'EntHTML'
d:\hl2fp\src\cl_dll\IHTMLView.h(45): error C2501: 'CHTMLView_Panel::EntHTML' : missing storage-class or type specifiers
d:\hl2fp\src\cl_dll\IHTMLView.h(45): error C2501: 'CHTMLView_Panel::m_HTML' : missing storage-class or type specifiers

--Bnewsom 15:06, 27 May 2007 (PDT)

Did you add the EntHTML.h file to the appropriate directory?
I'm going to rewrite the tutorial soon to use the updated code in VGUI HTML Screen In Multiplayer, so if the above link doesn't help, sit tight and I'll have the new tutorial up soonish.
In fact, try the above link if you can't get it to work. It may be a little harder to follow, and it doesn't include the extras this article gives, but it might help to follow the code part of that one. --Daedalus 06:04, 28 May 2007 (PDT)

Code

Hey, nice tut! But whats the <a href Code for the multiplayer version?

Same as in the singleplayer version --Daedalus 07:38, 11 Jun 2007 (PDT)

using VGUI screen on a viewmodel?

Codewise I'm way out of my depth here, but the mention of the 'clipboard' prop as the VGUI surface reminded me of an idea to have "info_props" like maps, keypad-codes, etc as portable viewmodels, ie can be carried around in the player's inventory (scrapbook?) and referred to when necessary. Using an HTML page to store the static 2d media would make life so much easier for mappers to incorporate text/image clues without having to compile a new viewmodel & weapon script for every scrap of paper! Any potential? thoughts? --Beeswax 08:25, 31 Jan 2008 (PST)

That would definitely be a great feature! No idea if it's possible, but since we're talking about the sauce engine, it just might be :) --Etset 13:54, 31 Jan 2008 (PST)