Talk:VGUI HTML Screen
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.
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)
First, thanks for the tutorial. It's a bit confusing for noobs like me but I somehow managed to make it.
As I see it, this HTML Screen uses Internet Explorer as the browser. But in my mod I will not use intnernet pages, so I wonder is it possible to make it with a built-in browser, something to just open html files. I want to use HTML screen for other purposes so, explorer kind of kills the mood. Is there any other way than IE? Fast and easy?
Also I'm not sure if there is any other easier way to make this than HTML screen. I just neeed windows that shows what I put in it. It could be pictures or htmls, doesn't matter. Something that doesn't require coding.
using the cl_htmltarget function doesnt work either, an errors that says "Not escaping url:" appears in console --Mikes852 15:02, 20 April 2009 (UTC)
when i compile i get this error and it failes to compile
HTMLView.obj : error LNK2019: unresolved external symbol "public: __thiscall vgui::EntHTML::EntHTML(class vgui::Panel *,char const *,bool)" (??0EntHTML@vgui@@QAE@PAVPanel@1@PBD_N@Z) referenced in function "public: __thiscall CHTMLView_Panel::CHTMLView_Panel(unsigned int)" (??0CHTMLView_Panel@@QAE@I@Z)