Dear Drak,

Yes, you can use VGUI1 in HL1 third party mods.

Several of Valve's native mods use a VGUI2 GoldSrc version (a earlier stage 
/ branch of that one used in the Source engine), you could use that 
theoretically too, however the interfaces are not public.
In some of those mods (i.e. Counter-Strike 1.6) the VGUI1 is not available 
(the GamePanel has not actiavated this function), however for third party 
mods (and HL1) it should be enabled afaik.

I suggest you first update your hlsdk to hlsdk-p3, available on 
http://metamod.org/

You need to include ( hlsdk\multiplayer\utils\vgui ) the required headers
and link ( hlsdk\multiplayer\utils\vgui\lib\win32_vc6\vgui.lib ) the library 
to your project.

Look into the
hlsdk\multiplayer\cl_dll\vgui_*
source and header files for examples how to use it.


With kind regards
Dominik


----- Original Message ----- 
From: "Drak" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, April 06, 2008 6:53 AM
Subject: [hlcoders] VGUI Hud (HL 1 SDK)


> I'm trying to make a VGUI "overlay" on the HUD.
>
> Example: http://img246.imageshack.us/img246/9138/c4a10000xh6.jpg
>
>
>
> I want to have a small VGUI box where the text is located on that picture,
> is this even possible?
>
> I'm only wanting it to show simple text. (Date, Time, Month).
>
> Is there some method other than using VGUI to accomplish this? (TRI-API?)
>
> I don't know too much about the HL1 SDK VGUI stuff. As opposed to Source
> VGUI.
>
> _______________________________________________
> 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

Reply via email to