Advertisement
Shockley

cfgSurfaces

Aug 15th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.06 KB | None | 0 0
  1.  class CfgSurfaces
  2. {
  3.     class Default {};
  4.         class Water{};
  5.         class grassSurface : Default
  6.     {  
  7.          files = "shy_grass_green_*";
  8.          rough = 0.1;
  9.          dust = 0.1;
  10.          soundEnviron = "grass";
  11.          character = "shy_grassClutter";
  12. };
  13.  
  14.      class beachSurface : Default
  15.     {  
  16.          files = "shy_desert_*";
  17.          rough = 0.1;
  18.          dust = 0.1;
  19.          soundEnviron = "sand";
  20.          character = "shy_beachClutter";
  21.     };
  22.  
  23.     class seaSurface : Default
  24.     {  
  25.          files = "shy_strdeepsea_*";
  26.          rough = 0.1;
  27.          dust = 0.1;
  28.          soundEnviron = "sand";
  29.          character = "shy_seaClutter";
  30.     };
  31. };
  32.  
  33. class CfgSurfaceCharacters
  34. {
  35.  class shy_grassClutter
  36.  {
  37.        probability[] = {0.95,0.02,0.02,0.01};
  38.        names[] = {"Shy_GrassGreenGroup","Shy_GrassGreen","Shy_FlowerLowYellow2","Shy_ThistlePurpleSmall"};
  39.  };
  40.  
  41.  class shy_beachClutter
  42.  {
  43.     probability[] = {0.01};
  44.     names[] = {"Shy_GrassDesertGroupSoft"};
  45.  };
  46.  
  47.  class shy_seaClutter
  48.  {
  49.     probability[] = {0.4,0.4,0.1,0.3,0.1};
  50.     names[] = {"Shy_SeaWeed1","Shy_SeaWeed2","Shy_Coral4","Shy_CoralPlantSet","Shy_CoralPinkSet"};
  51.  };
  52. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement