Показать все 15 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- VGUI in HTML ? (https://hlfx.ru/forum/showthread.php?threadid=2417)
VGUI in HTML ?
Dear community,
is there any way to use HTML code in VGUI`s ?
There is no mention of "html" keyword in HL SDK, so it seems that answer is "no".
__________________
There is only two ways:
1. If you have a lot of free time and high coding experience you may write your own HTML parser for VGUI.
2. Ask someone to do this job for you. Not for free of course.
Ku2zoff
How do you suppose to render parsed HTML within VGUI panel? This is the most complicated part actually.
__________________
Like in CS 1.6 & CS:CZ. But I have no idea how to implement this code Anyhow, I'm not interested in HTML support for Half-Life VGUI.
Actually we need HTML for sliders, etc. We`re making mod called go-mod, it`s recreation of Garry`s Mod on GoldSource engine. Maybe there is a way to implement some VGUI engine or something like that ?
supra36 in paranoia mod they have vgui ScrollBar , and its open source
__________________
I mean browser sliders like in CS MOTD.
__________________
We have completed a lot, but, go-mod 1 [much effects], go-mod 2 [much effects], go-mod 3 [less effects], go-mod 4 [actually recoding]. Go-Mod 4 will be based on sohl and we removed much because of entity limit, then we got amxx to work, uh... long story. We had forums but community leaked our project so we stop administrating it. Now we`re creating it again with "enhanced" rules. Also if you`ll look on images on our page you`ll see lot of kids (using non-steam) to play our mod. That`s why we`re making non-steam protection for checking authid ingame.
www.moddb.com/mods/go-mod
Do not worry about physics credits to Uncle Mike, we gave him already in source code, and we`ll give in go-mod 4 because go-mod 3 was just a test.
CS MOTD (This is not mine, but it shows what i mean) :
supra36, i don't know what do you want, but there is menu, which can activate and deactivate detail textures. Just create file "commandmenu.txt" in your mods directory and edit it:
1 | "0" "Detail Textures" |
2 | { |
3 | "1" "On" "r_detailtextures 1" |
4 | "2" "Off" "r_detailtextures 0" |
5 | } |
__________________
Ха, тюремный автомобиль!!!
Ιερά λάμδα
Quisque moritur Gordon sinistram. Alex Gordon.
We already have detailtextures.
No, it is HTML because txt file of CS MOTD is written in HTML.
From now i won`t be able to answer until tuesday, so do not wait for my answer.
Well, this looks like HTML page. So they probably have some HTML VGUI class in CS, but there is no such class in HL SDK 2.3.
And what about slider? I see only a standard VGUI scrollbar on the right.
__________________
Временная зона GMT. Текущее время 18:04. | Показать все 15 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024