![]() |
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 |
L4D2: How to Attach Breakable Glass to a DoorFebruary 03, 2010
|
||||||||||||||||||||||||||

L4D2 Tutorial covers:
- Creating breakable glass
- Attaching breakable glass to a rotating door
- Building cubemaps
*compatible with L4D1
![]()
1. Creating Glass
Use simple brushes and position where your glass is going to be.
Assign nodraw texture on all of the glass surface faces. The entire brush needs to be in nodraw texture.
Depth of the glass is best at 2 units.

2. Assign Glass Material
Texture browser choose the glass you want for your window. I chose glass/urban_glass_03


Assign the glass texture only to one face.
3. Func_breakable_surf
Now that you have the glass positioned where you like it and have the texture applied to the single face with the rest of the faces as nodraw texture.
Select the glass brush and press Cntr+T.
Tie to Entity = func_breakable_surf

Do this for each of the brushes that are glass.

4. Attaching the glass to a moving object (door)
Open up the door's properties and under name, name your door.
Name: doorglass
Name can be anything you want.

Now open up the func_breakable_surf properties and where it says Parent, type in the door's name.
Parent: doorglass

Final step inside the editor is to insert an entity, env_cubemap in front of the door/window.

5. Buildcubemaps
Compile your map and when the game starts go into console and type buildcubemaps


Now you are done. The door rotates and the glass stays attached with it.
|
|
Comments are Closed. Please Join & Discuss this post in the World of Level Design Forums
|
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 |
|
|
||||||
|
|