User talk:UncleB: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 30: Line 30:
         // Controls whether sprites rotate if bumped
         // Controls whether sprites rotate if bumped
         // 0 - No Orientation  
         // 0 - No Orientation  
         // 1 - Sprites fold and rotate if bumped  
         // 1 - Sprites fold and rotate if bumped
                //Probably used in HL2 single player
         // 2 - Sprites rotate if bumped, but not fold.
         // 2 - Sprites rotate if bumped, but not fold.
                // Used mostly in CS:S
       }  
       }  
        
        

Revision as of 17:00, 10 November 2005

Intro

This describes what each function performs in the "Detail.vbsp" located in the cstrike directory. If your not sure what the Detail.vbsp is used for, relocate back to Detail Props.

"material"
{ 
   "density" "100.0" //600.0 Default
   Group1 
   { 
      "alpha" "1" 
      Model1 
      { 
         "sprite" "288 0 128 128 512" 
         "spritesize" "0.5 0.0 40 40"
         // 19 & 35 Default
         // Size of each sprite
         // W * H = A
         
         "spriterandomscale" "0.5"
         // 0.2 Random sprite sizes
         
         "amount" "0.2"
         // 0.2 Default
         // Sprites to spawn. Random
         // "0" - none

         "detailOrientation" "1"
         // 2 Default
         // Controls whether sprites rotate if bumped
         // 0 - No Orientation 
         // 1 - Sprites fold and rotate if bumped
                //Probably used in HL2 single player
         // 2 - Sprites rotate if bumped, but not fold.
                // Used mostly in CS:S
      } 
       
   } 
}