setstats

Toolset to Becoming an Environment Artist and Game Level Designer
Main Page Archives Resources Search World of Level Design Forums   World of Level Design Store Contact About

TOP READ ARTICLES

Level Design Workflow Tutorial
UDK Basics Getting Started in 11 Steps
How To Plan Your Next Map
100 Level Design Ideas and Locations
Call of Juarez 2 Level Design Series
11 Day Mapping Challenge: Start to End
How to Get a Job with Epic Games
GDC 2010 Level Design Part 1, 2, 3, 4, 5

 

Left 4 Dead 2 Mapping Tutorials Series
Left 4 Dead Mapping Tutorials Series
Modeling Interior Environments in Maya Part 2/3
Level Designer Chris Kay Interivew
How to Become a Level Designer Part 1 & 2
L4D2 Level Design Tips Part 1 & 2
Level Design Challenges Series
11 Day Level Design Process Overview

3D Environment Design.com

WoLD March Game Env. Challenge:

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

Creating Custom Textures in Hammer Source

February 16, 2010
Category: WoLD Contributors, L4D1, L4D2

<-- How to Create/Manage Visgroups in Hammer

Detailing Buildings: Part 1 - Roof-->

Following tutorial was written and contributed by Keith Garry

Custom Textures Using VTF Edit

Table of Contents:
Getting Started
Blend Textures
Alpha Channel: Transparencies
Modifying Valve Textures to Fit Your Needs
FAQ

Tools:
GIMP
GCFScape
VTFEdit
PakRat<--When you release a map make sure you embed your materials into the bsp using PakRat. (Does NOT apply to L4D1/2. VPK takes care of it.)

Getting Started

Let's put a custom snow texture into our map.

Go to Nems Tools and get the installer. Installing it is quite easy.

 

Let's find a texture at cgtextures.

There's a large assortment of textures here. Some are easier to work with than others are.

 

This one should be good. Save it.

 

CTRL + i to Import our snow texture into VTF Edit.

 

Leave the settings the way they are and click OK.

 

There it is. Now we can work with it.

 

You'll want to save it to:

Steam\youremail\team fortress 2\tf\materials\mytextures

If you're mapping for a different game this is what it would look like:

Steam\youremail\nameofgame\abbreviatednameofgame\materials\mytextures

If the mytextures folder doesn't exist, create it. Better yet, create a shortcut on your desktop.

 

A good habit to get into is saving your custom textures with “custom_” so that you can quickly find your own textures in hammer.

 

Now that the VTF file is created we have to do one more step. We have to create the VMT file and then we should be done. Tools -> Create VMT File.

 

Click the Options tab and select Snow for Surface 1. Click Create. Save as custom_snow01.vmt. Notice our vtf and vmt have the exact same name. This is necessary.

 

Let's jump into steam and look for our texture now. There it is.

 

Our in-game texture.

 

Blend Textures

Custom alpha blends are easy. Find a grass or dirt texture from cgtextures and create it like we did in the first tutorial. Once you have both the vmt and the vtf saved then we are ready to begin.

 

Let's create another vmt.

 

Choose a texture for Base Texture 1 and Base Texture 2.

 

WorldVertexTransition worked as a shader for me. Add Snow to Surface 1 and Grass to Surface 2.

 

Create your brush and then create it into a displacement. Happy alpha drawing!

 

Ingame textures.

 

Alpha Layer: Transparencies

This tutorial will show you how to make transparent windows, overlays, and more generally speaking, create textures with transparencies.

Let's turn the panels into transparent glass.

 

Load the image into GIMP and add an Alpha Channel.


Click the eraser tool. Adjust the scale and opacity to your liking. Left click on the image to start adding transparencies.

 

Save the file as a targa.

 

Import it into VTF Edit, save it, and create a VMT like so. Leave the textures tab alone.

 

Here's our texture in hammer.

 

And here it is in game.

 

Modifying Valve Textures to Fit Your Needs

Sometimes valves textures will come very close to what you want, but not perfect. In many cases adjusting a texture's brightness or color can greatly increase the look of your level. Another case may be combining textures for alpha blends. We need to grab GCFScape to look at valves textures. Also, make sure you have GIMP or another image workshop.

First Load up GCFScape. Then do File->Open and head to your steamapps folder. This should contain the texture packs. For this tutorial I'm using the pack called "source materials.gcf".

 

And I'm going to use concretewall010b.vtf for this example. It's a stained concrete wall. Open it up in VTFEdit.

 

File -> Export -> Save As .tga

 

Open it in GIMP.

 

Color -> Hue-Saturation

 

Now we can make the same texture frosted over. In this case I turned the brightness up and added a light blue tint to it. Furthermore, you can rotate this image 180 degrees in hammer to create a different effect. Remember, that if your texture is surrounded by snow (which is usually bright) you should make your textures bright as well.

 

Here is another variation except with moss. I darkened it and added a green hue.

 

FAQ

Q: What are VMT Files?

A: VMT Files stores data such as how your footsteps will sound when you walk on certain textures, if the texture is slippery, if it shines, etc. It also contains shaders and bump mapping data.


Q: My Texture Wont Update!

A: You have to reload your materials. Bring up the console (~ key) and type:

sv_cheats 1

mat_reloadallmaterials

Then reload your level.

If all else fails restart the game.

 

Q: I cannot afford photoshop, etc. What should I do?

A: All is not lost. GIMP

 

Discuss this thread at WoLD Forums

Following tutorial was written and contributed by Keith Garry

 

Comments are Closed.

Please Join & Discuss this post in the World of Level Design Forums

Comments

No comments yet

 

Receive 2 FREE E-Books

11 Day Level Design: How I Created a Map in 11 Days
Illustrated Guide: Unreal DM-OrionsForest

Level Design 11-Day Mapping E-Book - 2 Ebooks. PDF files.
- Over 80 pages of level design tips, advice and workflow
- You will also receive newsletters with exclusive content
- Check your email for confirmation and a download link.

Your information will never be sold or rented. I respect your privacy and I hate SPAM !

Subscribe to Newsletter:


MOST READ ARTICLES

NEW ARTICLES

Level Design Workflow Tutorial

L4D Mapping Tutorials

L4D2 Mapping Tutorials

How To Plan Your Next Map

100 Level Design Ideas
and Locations

Photoshop Illustrator Paths to Maya Environments

60-60-30 of Level Design Productivity

Call of Juarez 2
Level Design Series

UDK Basics Getting
Started in 11 Steps

Modeling Interior Environments in Maya Part 2/3

Crytek's Level Designer
Chris Kay Interivew

How to get a job with
Epic Games

Game World Creation
with Inception

WoLD Survey: Challenges

WoLD Updates #1

How to Create a Playable Level in 11 Days

11 Day Level Design
Process Overview

UDK 11 Day Level Design

UDK Basics Part 1/3

UDK Basics Part 2/3

UDK Basics Part 3/3

L4D1-2 Campaign Design; Why Less is More

Level Design Gameplay Flow Challenge Results/Winner

Level Design Gameplay and Flow Challenge UPDATE

GDC 2010 Level Design Part 5

GDC 2010 Level Design Part 4

TOPICS

 

3D Environment Modeling

Architecture

Books and DVDs

Career/Getting a Job

Call of Juarez 2

Counter-Strike: Source

Design / Art Tutorials

Far Cry 2

Game Environment Design

Game Worlds

Interviews

Left 4 Dead Mapping

Left 4 Dead 2 Mapping

Level Design Tutorials / Tips

Level Design Challenges

Lighting & Texturing

Maya Level Design

News

Photography / Reference

Productivity & Goal Setting

UDK

Unreal Tournament 3

WoLD Contributors Tutorials

UDK© 11 Day Level Design

29 Ways to Become and Streamlined 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)

 

 

Click Here for More...

World of Level Design Tutorial Series

World of Level Design Twitter

 


Connect with World of Level Design Network

GameLevelDesign World of Level Design RSS

Alex Galuzin LinkedIn

World of Level Design Youtube

World of Level Design Steam