Creating Paint Alpha 1

Tutorial collection, comprehensive listings on main site.

Creating Paint Alpha 1

Postby Tutorial on Mon Mar 07, 2005 5:53 pm

category
Texture Creation

description
We have two guides on creating Paint Alpha, this being the first.

keywords
paint, alpha, texture, textures.


Creating a custom texture blend between any two HL2 textures.

Its a lot easier than you'd think!

Right, load up hammer, and take a look at what textures you want to blend. For this example we shall use:

brick/brickfloor001a
concrete/concretefloor005a

Now, we make a VMT file, called whatever.vmt and in it we put:


"WorldVertexTransition"
Code: Select all
{
   "$basetexture"    "brick/brickfloor001a"
   "$basetexture2" "concrete/concretefloor005a"
   "%tooltexture" "nature/blendsandgrass008a_tooltexture"
   "$detail" "overlays/macro01a"
   "$detailscale" .1
   "$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
        "$basetexturetransform2" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
        "%detailtype" "smiff_test"
}


Now;

$basetexture is the first texture
$basetexture2 is the second texture
%tooltexture is what texture will show up in the hammer material viewer thing (you could make your own custom one)

%detailtype is used for random placement of sprites and the such, which I shall explain in a tutorial later on today!

The rest you just leave as default.

Now, place the texture in the correct places;

Firstly, in you materials dir for Hammer (mine is d:\steam\steamapps\my@address.com\sourcesdk\sdkcontent\hl2mp_sample_content\materials\) and in your HL2 mod dir (D:\Steam\SteamApps\my@address.comk\half-life 2 deathmatch\hl2mp\materials\).
Of course, these depend on what game you are mapping for, but you should get the idea.

Make a displacement brush with your new texture, and paint some alpha. With any luck you will get something like:

Image

Have fun!

supersmithy
- Don't send PM's to this user -
Tutorial
Not A Real User
 
Joined: Sun Mar 06, 2005 11:00 pm

Postby smeerkat on Tue Apr 19, 2005 12:15 am

Is this how they blend textures in de_dust, just outside the T side of the tunnel?
über dumpling.
User avatar
smeerkat
Regular
Regular
 
Joined: Sun Apr 03, 2005 5:36 pm
Location: Babylon 4

Postby yellowpatrol on Tue Apr 19, 2005 7:24 pm

Can you post a pic of what you're talking about with Dust please?
yellowpatrol
Member
Member
 
Joined: Tue Apr 19, 2005 6:50 pm

Postby smeerkat on Tue Apr 19, 2005 10:34 pm

Image
über dumpling.
User avatar
smeerkat
Regular
Regular
 
Joined: Sun Apr 03, 2005 5:36 pm
Location: Babylon 4

Postby Blink on Tue Apr 19, 2005 10:43 pm

Most probably yes.
User avatar
Blink
Cool 'n that
Cool 'n that
 
Joined: Fri Oct 08, 2004 4:16 pm
Location: UK

Postby Pureferret on Tue Jun 21, 2005 7:48 pm

My steam Dir isn't like yours :(

"d:\steam\steamapps\my@address.com\sourcesdk\sdkcontent\*stops here*hl2mp_sample_content\materials\"

I don't have a Hl2mp_sample just: Bin, hl2, launcher, maya, platform, xsi.

Can you help?
Pureferret
Member
Member
 
Joined: Mon Jun 13, 2005 12:35 pm

Postby Simon on Thu Jun 29, 2006 8:02 am

Pureferret wrote:My steam Dir isn't like yours :(

"d:\steam\steamapps\my@address.com\sourcesdk\sdkcontent\*stops here*hl2mp_sample_content\materials"

I don't have a Hl2mp_sample just: Bin, hl2, launcher, maya, platform, xsi.

Can you help?

just create it yourself
Simon
Pheropod
Pheropod
 
Joined: Wed Jul 20, 2005 11:00 am
Location: Belgium

Postby Rooster on Sun Oct 01, 2006 10:06 pm

in Hammer it turns into the purple and black squares, how i fix this?
Visit my village today!
Rooster
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Thu Jun 08, 2006 6:57 pm
Location: Somewhere Over The Rainbow

Postby firebug80 on Wed Nov 29, 2006 2:14 am

ive got same problem rooster bro...

"WorldVertexTransition"
{
"$basetexture" "condomap/sand1"
"$basetexture2" "condomap/sand2"
"%tooltexture" "nature/blendsandgrass008a_tooltexture"
"$detail" "overlays/macro01a"
"$detailscale" .1
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
"$basetexturetransform2" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
"%detailtype" "smiff_test"
}
firebug80
Regular
Regular
 
Joined: Mon Jul 03, 2006 1:25 am

Postby kccool2 on Mon May 21, 2007 5:36 pm

Wow, I cannot thank you enough, this worked first time, and is awesome, now I can have blended snowy cliffs for my latest map! :D

Thanks again!!
kccool2
Member
Member
 
Joined: Mon May 21, 2007 3:33 pm

Postby Knights on Mon May 21, 2007 6:25 pm

Good stuff.. Good tutorial. It was always easy making this..
Image
Random gallery... Knights_Stuff.
Home page --> http://www.knights.interlopers.net/
User avatar
Knights
May Contain Skills
May Contain Skills
 
Joined: Tue Aug 01, 2006 4:35 pm
Location: In a van down by the river

Re: Creating Paint Alpha 1

Postby waisted menkey on Mon May 19, 2008 12:32 am

ok. somethings got to be wrong with my blend.

whenever i follow this tut or tuts from other sites things are always backwards in hammer.

http://img.photobucket.com/albums/v671/ ... mblend.jpg

(can't use [img] tags)
User avatar
waisted menkey
1337 p0st3r
1337 p0st3r
 
Joined: Sun Nov 11, 2007 12:03 am
Location: Blowtorch, AZ

Re: Creating Paint Alpha 1

Postby Megadude on Mon May 19, 2008 12:46 am

That can happen for some people. To fix it, paint your alpha how you would like it to appear in-game, then select the displacement, and in the Displacement tab in the Face Edit Sheet window, click on Invert Aplha. It will now look weird in Hammer, but it will look normal in-game.
User avatar
Megadude
Veteran
Veteran
 
Joined: Tue Sep 20, 2005 6:20 pm
Location: UK

Re: Creating Paint Alpha 1

Postby waisted menkey on Mon May 19, 2008 7:00 pm

ok, so this is "normal" to experience?
User avatar
waisted menkey
1337 p0st3r
1337 p0st3r
 
Joined: Sun Nov 11, 2007 12:03 am
Location: Blowtorch, AZ

Re: Creating Paint Alpha 1

Postby ixin on Mon May 19, 2008 7:30 pm

No it's not normal cause that's not what it should do. Try a Reinstall?
User avatar
ixin
Been Here A While
Been Here A While
 
Joined: Mon Jun 12, 2006 1:51 pm

Return to Tutorials

Who is online

Users browsing this forum: No registered users