Shadows and lights. Created 17 years ago2006-09-05 21:54:07 UTC by DarthRevan DarthRevan

Created 17 years ago2006-09-05 21:54:07 UTC by DarthRevan DarthRevan

Posted 17 years ago2006-09-05 21:54:07 UTC Post #195742
Hi !
I?m having a problem with shadows in my map.
I wanna make like the light in Half life 2: Loast Coast
( the churc one that shows when you break the window)
So i have added a window with a few wooden breakeble brushes, enabeling shadows, but look, the wooden shadows are not showing !!
http://img516.imageshack.us/img516/2478/pool0000kr7.jpg

And i?m not getting a nice effect when i destroy the blocks.
The only effect i get is the sun, but i whant a light sorce to enter in the room and iluminate it , just like in HF2 LC.

Map editor Screenshoot:
http://img334.imageshack.us/img334/5350/imagemyx3.png
( you can see a top nodrawtexture , they are my dustmotes :P )
Posted 17 years ago2006-09-06 04:53:00 UTC Post #195751
Posted 17 years ago2006-09-06 09:22:32 UTC Post #195762
thanks but...... in the tutorial tjey tech how to use the light, but u need to build blocks for shadows , but i want the shadows to disapear when destroy the blocks
Posted 17 years ago2006-09-06 14:27:00 UTC Post #195787
SO tie the blocks to breakable ;(
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-09-06 14:58:04 UTC Post #195789
but then the shadows won't change when he breaks the window
Posted 17 years ago2006-09-06 17:30:01 UTC Post #195806
from my point of view,( i took a quick glance at the tut.) shouldnt you just tie one func_brush to each of the planks? the shadow should change when one or several are broken?
Posted 17 years ago2006-09-06 18:14:29 UTC Post #195811
how can i tie a func_brush to the wood blocks , plz make a step in step tutorial
Posted 17 years ago2006-09-07 02:41:45 UTC Post #195839
No cause in the tut the window is just one big func_brush with tools/blocklight where the planks are.
Posted 17 years ago2006-09-07 11:28:14 UTC Post #195870
Who knows if this can be done...You may have to wait till dynamic lighting is available.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-09-07 11:36:42 UTC Post #195875
Currently it can't be done as lighting is never recalculated in-game. And the fact that the wood planks aren't casting shadows to begin with is due to them being func_details or func_brush (whatever you are using) as they don't cast shadows, i think.

This should be possible with Ep2 tech, though judging by those recently released movies it's only PROPS/MODELS that cast dynamic shadows that blend with the pre-calculated lighting. Either way it's too long a wait for Ep2 lighting, and it will probably take it even longer to come to Counter-Strike: Source.

You can mimic the light entering the room like in Lost Coast though, i beleive this is done with a model (for the light shining in the windows) and a triggered light (to brighten up the room a little).
Strider StriderTuned to a dead channel.
Posted 17 years ago2006-09-07 15:42:59 UTC Post #195892
but how can i do the mimic light ?
Posted 17 years ago2006-09-07 15:49:58 UTC Post #195894
My idea:

Just make the outside area glow, but not give off light. Then make it so when you break all the boards, it triggers a light which is in the window.
Luke LukeLuke
Posted 17 years ago2006-09-07 21:12:36 UTC Post #195930
I?m not good at triggers , so i simple deleted all my boards and now i have a awsome light effect that i achived comnining 4 lighting entites =D
Posted 17 years ago2006-09-08 11:03:30 UTC Post #195972
K but no offence...When will you be good at triggers? Not now? Not later? Practice now and then you don't have any excuses.
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-09-09 00:17:20 UTC Post #196028
Ok, but no time.............
The light is so wesome that triggers are not need.
Ill post some screenshots laster.
You must be logged in to post a response.