.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 1 SDK (http://forums.bots-united.com/forumdisplay.php?f=33)
-   -   HTML/JPG/GIF display in HL1 Goldsrc (http://forums.bots-united.com/showthread.php?t=7497)

Thothie 31-01-2010 00:08

HTML/JPG/GIF display in HL1 Goldsrc
 
I've seen mods that can display HTML content on panels in-game. Presumably that includes JPG and/or GIF image display capability.

Has anyone seen the source code for this capability?

We have a mod that can display TGA images on panels, and want to use them to make lore books, however, TGA images are FAR too large, disk-space-wise, for this purpose. JPG or GIF would certainly be more acceptable.

It maybe this ability is the result of an AMX plugin or such, in which case, I should likely go searching at the ModX forums. >_>

Thanks in advance,
- Thothie

The Storm 31-01-2010 16:46

Re: HTML/JPG/GIF display in HL1 Goldsrc
 
The mods that display html use the VGUI that comes with HL, I think the MOTD panel is the only one that can display html. You can show it to each player by constructing the right paramters for it( message_begin, meessage_end ). I can't give you more technical details sinse I haven't look at that stuff from very long time.


All times are GMT +2. The time now is 13:31.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.