Custom detail props [L4D2]

Any aspects of level design for the Source engine.

Custom detail props [L4D2]

Postby Dr.Boo on Wed Jul 13, 2011 10:47 pm

I'm having problems making custom detail props appear in a L4D2 map. I have a material with this as vmt:
Code: Select all
"WorldVertexTransition"
{
   "$basetexture"    "boo_textures/boo_blend_bluegrass_stones"
   "$basetexture2" "nature/milrock002"
   "%detailtype"    "boo_redgrassdetail"
   "$surfaceprop"    "grass"
   "$surfaceprop2"   "rock"
}


The boo_redgrassdetail section in my detail.vbsp (located in the left4dead2 folder) looks like this:
Code: Select all
boo_redgrassdetail
   {
      "density" "200.0"

      Group1
      {
         "alpha" "1.0"

         Model1
         {
            "model" "models/props_foliage/grass3.mdl"
            "amount" "1"
         }

      }
      
      Group2
      {
         "alpha" "0.0"

      }
   }


And I have the model grass3.mdl in the correct folder in the left4dead2 directory. In my map itself, the properties look like this:
Detail vbsp file: detail.vbsp
Detial Material File: detail/detailsprites

So as far as I know, everything is properly set up right?
Yet the detail props still dont show up after a compile. I don't even get the red ERROR models or something, just nothing.
Anyone knows what could be wrong?
User avatar
Dr.Boo
Member
Member
 
Joined: Tue Jun 09, 2009 4:58 pm

Return to Hammer Editor Help

Who is online

Users browsing this forum: No registered users