.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > SDK Programming discussions > Half-Life 1 SDK
Half-Life 1 SDK For developments focused around Half-Life (and its mods) Half-Life

Reply
 
Thread Tools
HTML/JPG/GIF display in HL1 Goldsrc
Old
  (#1)
Thothie
Member
 
Status: Offline
Posts: 1
Join Date: Jan 2010
Question HTML/JPG/GIF display in HL1 Goldsrc - 31-01-2010

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
  
Reply With Quote
Re: HTML/JPG/GIF display in HL1 Goldsrc
Old
  (#2)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: HTML/JPG/GIF display in HL1 Goldsrc - 31-01-2010

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.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com