![]() |
TOP READ ARTICLES Level Design Workflow Tutorial |
Left 4 Dead 2 Mapping Tutorials Series |
3D Environment Design.com Free Downloads of Ready-to-Use Game Environments and Models |
L4D: Creating Breakable Glass in HammerJune 06, 2009
|
||||||||||||||||||||||||||||
Creating breakable glass in L4D tutorial that breaks into pieces upon shooting it.
Additional notes included below.
L4D Mapping: Creating Breakable Glass- Video Tutorial
Notes:
1. Build a space, window frame for your glass.

2. Create a brush with 'nodraw' texture into the window frame. Make it 2 units in depth.

3. Pull up the face edit sheet and select 'urban/glass03'

4. Apply this texture, 'urban/glass03' to a single face.

5. To receive proper reflections from your environment, place 'env_cubemap' in front of your glass.



6. When compiling, make sure you have HDR checked on. Otherwise you will have an error when trying to break the glass.

Here is what it will look like if you do not compile using HDR.

7. After compiling and when in game, you must build the cubemaps. Pull up your console and type in 'buildcubemaps' command.
It will run through your textures and kick you out to main screen. Pull up your console again and start your map by typing in 'map yourMapname'
|
|
|
Comments are Closed. Please Join & Discuss this post in the World of Level Design Forums
Comments
BB 17 Jan 2010, 16:46
If you're using L4D2, it appears that in L4D2 there isn't a regular
"materials/glass/offwndwb_break.vtf" texture, only the HDR version. So make
sure you compile your map using HDR. Also, you don't need a cubemap for
each and every window, just in regular area, and make sure you run the
buildcubemaps command.
Nate 09 Jan 2010, 14:21
Hey im just wondering do I need cubemaps infront of every window? Because
have multiple windows all over my building.
AlexG 03 Jan 2010, 04:52
I've had similar problems. I haven't found a solution but compiling and
running the map works fine. So don't worry about it. If the glass works
like it should when you final compile the map then you are good.
Anders 03 Jan 2010, 01:51
I get an "map error" when i do the brush to a (func_breakable_surf).
I can fix the problem with the fix-button, but the error comes back when i save the map. If i fix the problem before running map it works perfectly. The error says: " Entity (func_breakable_surf) has unused keyvalue "error"" and in the properties window of the brush some extra Keyvalues have showed up. Upperright, Upperleft. Lowerright and lowerleft. They seems to be some coordinates of the brush. These are the keyvalues that pops back on the brush when i save the map after a fix. What am i doing wrong?
AlexG 08 Nov 2009, 08:11
Thanks for the update Ethan. :) Glad it worked out.
Ethan.S 07 Nov 2009, 23:56
Watrianos,
Sorry for the late reply. I had the same problem, I had no idea what was causing it. I set the env_cubemap to the entity, and it stilled gave of the Pink and Black squares when shot. After careful deliberation I found it I needed a light source for the window to work when shot. Hope this helped.
Brute 26 Oct 2009, 21:29
To get it to work, you need to bind the env_cubemap to your window. Bring
up the evn_cubemap's object properties, and one of the options should be
'attached faces' or something along those lines. Click 'Pick' and then
click on the glass face of your window, and it should work properly.
Ilizane 25 Oct 2009, 08:00
Hello, i allso follow'ed this article, but ended up when breaking the glass
that it come up with the purple and black chessboard texture. could you
explain what i do wrong?
Watrianos 01 Sep 2009, 18:33
sorry for the double post internet messed up...
Watrianos 01 Sep 2009, 18:31
I have a problem with this I follow the guide exactly and it still shows up
in game as the black and pink blocks I have the HDR checked and the
env_cube and it still won't work any suggestions?
Powered by Scriptsmill Comments Script
|
Receive 2 FREE E-Books 11 Day Level Design: How I Created a Map in 11 Days
Your information will never be sold or rented. I respect your privacy and I hate SPAM ! |
TOPICS |
|
UDK© 11 Day Level Design |
|
How to Create a Full Playable Map from Beginning to End in 11 Days Using UDK©. UDK© 11 Day Level Design is a complete level design system that covers the entire process of creating a full playable level using UDK©. - 13 Ebooks (500+pages) - 45 videos (3 hours)
|
|
World of Level Design Tutorial Series |
|
|
||||||
|
|