HLFX.Ru Forum
Показать все 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)


Отправлено supra36 30-10-2010 в 16:05:

Question VGUI in HTML ?

Dear community,

is there any way to use HTML code in VGUI`s ?


Отправлено XaeroX 30-10-2010 в 16:17:

There is no mention of "html" keyword in HL SDK, so it seems that answer is "no".

__________________

xaerox on Vivino


Отправлено Ku2zoff 30-10-2010 в 17:05:

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.


Отправлено XaeroX 30-10-2010 в 17:07:

Ku2zoff
How do you suppose to render parsed HTML within VGUI panel? This is the most complicated part actually.

__________________

xaerox on Vivino


Отправлено Ku2zoff 30-10-2010 в 17:19:

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.


Отправлено supra36 30-10-2010 в 19:00:

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 ?


Отправлено NameLesS 30-10-2010 в 19:03:

supra36 in paranoia mod they have vgui ScrollBar , and its open source


Отправлено XaeroX 30-10-2010 в 19:24:

Цитата:
supra36 писал:
Actually we need HTML for sliders

How will you use HTML for slider?

__________________

xaerox on Vivino


Отправлено supra36 30-10-2010 в 19:55:

I mean browser sliders like in CS MOTD.


Отправлено Government-Man 30-10-2010 в 20:41:

Цитата:
supra36 писал:
We`re making mod called go-mod, it`s recreation of Garry`s Mod on GoldSource engine.


Do you have official site for your mod? How many people you have in your team? How much do you have completed?


Отправлено XaeroX 30-10-2010 в 21:32:

Цитата:
supra36 писал:
I mean browser sliders like in CS MOTD

Would you mind give a screenshot please?
I don't play CS.

__________________

xaerox on Vivino


Отправлено supra36 31-10-2010 в 06:46:

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) :


Отправлено Alex_Gordon 31-10-2010 в 07:20:

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:

C++ Source Code:
1
"0" "Detail Textures"
2
{
3
  "1" "On"      "r_detailtextures 1"
4
  "2" "Off"      "r_detailtextures 0"
5
}


And write into "autoexec.cfg"
"bind g +commandmenu"

Then start game and press "J".
Of course, this is not HTML. But this is simple in-game menu for graphics settings.
But opportunities of this file are limited.

__________________
Ха, тюремный автомобиль!!!

Ιερά λάμδα

Quisque moritur Gordon sinistram. Alex Gordon.



Отправлено supra36 31-10-2010 в 07:30:

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.


Отправлено XaeroX 31-10-2010 в 11:47:

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.

__________________

xaerox on Vivino


Временная зона GMT. Текущее время 18:04.
Показать все 15 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024