setstats

Available for Download: How to Plan Game Environments and Level Designs

New Challenge 2012: Storytelling Level Design/Game Environment Challenge - Enter Here

View Cart  

Top Tutorial Topics


LevelDesign


UDK©


3D Modeling/
Maya®


CryEngine 3 SDK


L4D2


L4D1


Get Started


Challenges

L4D2: How to Attach Breakable Glass to a Door

February 03, 2010
Category: SourceSDK/Authoring Tools, L4D2 Mapping, L4D Mapping

<--11-Day Level Design Contest Winter Completed

L4D2: Survival Gamemode Part 1-->

L4D2 How to Attach Breakable Glass to a Door

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.

L4D2 How to Attach Breakable Glass to a Door

 

2. Assign Glass Material

Texture browser choose the glass you want for your window. I chose glass/urban_glass_03

L4D2 How to Attach Breakable Glass to a Door

L4D2 How to Attach Breakable Glass to a Door

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

L4D2 How to Attach Breakable Glass to a Door

Do this for each of the brushes that are glass.

L4D2 How to Attach Breakable Glass to a Door

 

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.

L4D2 How to Attach Breakable Glass to a Door

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

Parent: doorglass

L4D2 How to Attach Breakable Glass to a Door

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

L4D2 How to Attach Breakable Glass to a Door

 

5. Buildcubemaps

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

L4D2 How to Attach Breakable Glass to a Door

L4D2 How to Attach Breakable Glass to a Door

Now you are done. The door rotates and the glass stays attached with it.

 

© 2008-2011. All articles on World of Level Design™ are copyrighted.
Not to be reproduced without prior written consent.

Preproduction Blueprint - How to Plan Your Game Environments and Level Designs

 

PREPRODUCTION BLUEPRINT

PREPRODUCTION BLUEPRINT

How to Plan Your Game Environments and Level Designs

- Ebooks (235+ pages)

- 18 videos (2+ hours)

- Instant Digital Download

Read More...

Regular Price: $67
(Save $8) Sale: $59

Add to Cart

SPECIAL DEAL: Save $29

Ebook Deal

Preproduction Blueprint + UDK 11 Day Level Design

- Buy Both Guides and Save

- Total: 63 videos and 735 pages

- Instant Digital Download

- Read more about Preproduction Blueprint

- Read more about UDK 11 Day Level Design

Regular Price: $118
(Save $29) Sale: $89

Add to Cart

POPULAR AND RECENT POSTS

LEVEL DESIGN TOPICS

3D Modeling

CryEngine 3 SDK

Game Environment Design

Left 4 Dead Mapping

Left 4 Dead 2 Mapping

Architecture

Level Design Tutorials/Workflow

Level Design Challenges

Productivity & Goal Setting

Source SDK/Authoring Tools

UDK

Interviews

World of Level Design Social Network

3D Environment Design.com

WoLD March Game Env. Challenge:

Free Downloads of Ready-to-Use Game Environments and Models
Jump Over to 3DED