HLFX.Ru Forum
Показать все 13 сообщений этой темы на одной странице

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- Model collision without using CLIP texture. (https://hlfx.ru/forum/showthread.php?threadid=2612)


Отправлено supra36 10-02-2011 в 12:16:

Model collision without using CLIP texture.

Hey that's me

I made tram model in max instead of brush work in VHE to save some BSP space, well it was easy and fast work.



I made it because i wanted to light it up a bit better with Highlander eLights instead of Radiosity. But there's one problem, Half-Life doesn't calculate model collision just like that, it's just not-solid and you can't do nothing with it when compilling a model (or do you ?). I know that with movewith function i can hook up clip brushes to model but if i will accidentaly block those brushes somehow then it will look crappy, i mean brushes won't fit model movement or inversely.

So, is there any way to build model collision ?

Cheers.

__________________
настоящий мужчина не нуждается в подписи.


Отправлено XaeroX 10-02-2011 в 12:28:

Цитата:
supra36 писал:
I made it because i wanted to light it up a bit better with Highlander eLights instead of Radiosity.

I havent seen Highlander's eLights, but I am sure they suck in compare with Radiosity. The only problem with the last one is that it is static.
Цитата:
supra36 писал:
So, is there any way to build model collision ?

For such complex and concave model - no way, I guess.

__________________

xaerox on Vivino


Отправлено supra36 10-02-2011 в 12:54:

Well so i guess i will be able to use this model only when player is not on board, i mean for static scenes or so. Нет проблемы.

Thx for your help anyway

Btw. Highlander eLights, affect only on models



@edit : Aha i wanted to ask one more thing, is it possible to prelight model somehow in max and save it to mdl, or it's just my imagination ?


__________________
настоящий мужчина не нуждается в подписи.


Отправлено FiEctro 10-02-2011 в 12:59:

>> I made it because i wanted to light it up a bit better with Highlander eLights instead of Radiosity.

Render to texture?

__________________
У котёнка мокрый нос и гладенькая шерсть, у него забавный хвост и быстрых лапок шесть. Две задних, две средних и две передних лапы, такая многоножка получилася у папы.
Он ученый — папа мой — зверушек изучает, гуляет по помойкам, ловит крыс и чаек. Две крысы белокрылые и чайки две унылые покрытые пупырчатою кожей лягушат без пёрышек тоскуют и ускакать спешат.
А ещё есть муравей большой размером с гуся он пугает всех зверей, и я его боюся, когда он ковыляет на лапках на своих.
И в двери ударяет, и начинает стих: Я — муравей, воды налей! Не меньше ведра, напиться мне пора!


Отправлено supra36 10-02-2011 в 13:01:

FiEctro well i quite do not understand you, but look on screenshot in my last post. If you mean that you see on pic then answer is yes, if not then i have completely no clue what you mean.

@Edit. Holy Jesus what the hell is this link you posted ? How this guy made it ?! It looks like another engine. So if he prerendered this scene on screenshot you posted then it's not my imagination only (look my last post)

__________________
настоящий мужчина не нуждается в подписи.


Отправлено XaeroX 10-02-2011 в 13:24:

supra36
This is a pre-rendered scene in max right what you wanted

__________________

xaerox on Vivino


Отправлено supra36 10-02-2011 в 13:35:

But wait, this prerendered scene comes from max and view model + hud come from ingame screenshot and it is just photoshoped or what i see is real playable prendered scene ? If it is, then how he made it ?

__________________
настоящий мужчина не нуждается в подписи.


Отправлено XaeroX 10-02-2011 в 13:40:

supra36
Did you know that you may insert mdls into HL map?
Did you know that you can create a whole map of a model (with pre-rendered light, bump-mapping, shadows etc) composed with clip brushes?
This is quite obvious

__________________

xaerox on Vivino


Отправлено supra36 10-02-2011 в 13:44:

I knew, but i didn't know it is possible with pre-rendered stuff o.O But how to save those all informations about lights, bump-mapping and stuff like that ?

Okay i will try to investigate it.

Thanks for your help guys, cheers.

__________________
настоящий мужчина не нуждается в подписи.


Отправлено FiEctro 10-02-2011 в 13:57:

supra36

__________________
У котёнка мокрый нос и гладенькая шерсть, у него забавный хвост и быстрых лапок шесть. Две задних, две средних и две передних лапы, такая многоножка получилася у папы.
Он ученый — папа мой — зверушек изучает, гуляет по помойкам, ловит крыс и чаек. Две крысы белокрылые и чайки две унылые покрытые пупырчатою кожей лягушат без пёрышек тоскуют и ускакать спешат.
А ещё есть муравей большой размером с гуся он пугает всех зверей, и я его боюся, когда он ковыляет на лапках на своих.
И в двери ударяет, и начинает стих: Я — муравей, воды налей! Не меньше ведра, напиться мне пора!


Отправлено supra36 10-02-2011 в 22:23:

Sorry for little offtopic but i do not want to make another thread with 'author supra36' because it looks "persistently" when it comes to ask questions. Can i use another IDE instead of VS6 for HLSDK or it will be totally incompatible ?

__________________
настоящий мужчина не нуждается в подписи.


Отправлено XaeroX 10-02-2011 в 22:49:

Yes, you may.
http://hlfx.ru/pub/HL1_src_vs2005.zip
This code is compatible with VC++ 2005 and (probably) higher.

__________________

xaerox on Vivino


Отправлено Wealth 11-02-2011 в 11:19:

I use this code and this great work change in fdg .



@PointClass base(Targetname) iconsprite("sprites/lightbulb.spr") size(-16 -16 -16, 16 16 16) = env_elight : "Model light"
[
target(string) : "Parent Entity"
impulse(string) : "Attachment Point"
renderamt(integer) : "Radius ( 1-255)" : 55
rendercolor(color255) : "Render Color" : "255 255 255"
spawnflags(flags) =
[
1 : "Start On" : 1
2 : "Don't Check PVS" : 2
]
]


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

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