Bullet hole is blood instead of hole?

Got problems with your models? Struggling with textures? Get help with your custom assets.

Bullet hole is blood instead of hole?

Postby killercanuck on Wed Sep 07, 2011 10:22 pm

Hi all! I was hoping someone knows what's going on with my $surfaceprop error. I have 3 .vtfs and 2 blend .vmts. For some reason $surfaceprop Grass doesn't want to work properly. It's showing blood instead of a bullet hole on both blends, like this:

Image

Image

my blend .vmts look like this:
Code: Select all
"LightmappedGeneric"
{
   "$basetexture2" "l4d_beach/cust_deadgrass"
   "$basetexture" "l4d_beach/cust_soil"
   "$surfaceprop2" "Grass"
   "$surfaceprop" "Dirt"
}

and

"LightmappedGeneric"
{
   "$basetexture" "l4d_beach/cust_cliff_01"
   "$basetexture2" "l4d_beach/cust_deadgrass"
   "$surfaceprop" "Rock"
   "$surfaceprop2" "grass"
}



This is in L4D btw, does the grass surfaceprop just not work?

Thanks for your time.
killercanuck
Dumpling
Dumpling
 
Joined: Wed Sep 07, 2011 9:53 pm

Re: Bullet hole is blood instead of hole?

Postby crazycarl on Thu Sep 29, 2011 5:33 am

You should use WorldVertexTransition as the shader, not LightmappedGeneric.
crazycarl
Been Here A While
Been Here A While
 
Joined: Tue Jan 12, 2010 9:12 pm

Re: Bullet hole is blood instead of hole?

Postby killercanuck on Tue Oct 04, 2011 3:59 pm

Thanks, the blend looks a lot better now. $surfaceprop "Grass" still likes to bleed, ah well. Dirt sound is:
Image
killercanuck
Dumpling
Dumpling
 
Joined: Wed Sep 07, 2011 9:53 pm

Re: Bullet hole is blood instead of hole?

Postby Zecrah on Tue Oct 04, 2011 5:23 pm

Please, no more of those images. God. :P

I believe it's case sensitive. Try lowercase 'Dirt' and 'Rock' for your surface prop.
http://developer.valvesoftware.com/wiki ... properties
Major Banter wrote:Zecrah, you've come from nowhere yet have rapidly become a Hammer God.

Wtf.


Check out my weapons tutorial
Zecrah
Design Section Moderator
 
Joined: Sat Sep 27, 2008 10:56 am

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users

cron