User Tools

Site Tools


arma:modeling:grass_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arma:modeling:grass_tutorial [2008-01-05 17:21]
snakeman typos
arma:modeling:grass_tutorial [2017-10-06 21:23] (current)
snakeman http to https switch.
Line 5: Line 5:
 Create a little 3x3m grass block, something like this: Create a little 3x3m grass block, something like this:
  
-{{ http://tactical.nekromantix.com/images/wiki/​grass_tutorial1.jpg }}+{{ https://pmc.editing.wiki/​images/​grass_tutorial1.jpg }}
  
 The model must only have some res LODs and Geometry LOD empty, with property names The model must only have some res LODs and Geometry LOD empty, with property names
Line 12: Line 12:
 shadow hybrid shadow hybrid
 </​code>​ </​code>​
- 
  
  
Line 18: Line 17:
  
 Here I'll post an example of what should be to have your own clutters: Here I'll post an example of what should be to have your own clutters:
-<​code>​+<​code ​cpp>
 class DefaultLighting;​ class DefaultLighting;​
 class DefaultLighting_CA : DefaultLighting {}; class DefaultLighting_CA : DefaultLighting {};
Line 25: Line 24:
 ///the definition of my own ground textures\\\ ///the definition of my own ground textures\\\
 //​+++++++++++++++++++++++++++\\ //​+++++++++++++++++++++++++++\\
-class CfgSurfaces ​      ​+class CfgSurfaces
 { {
  class Default {};  class Default {};
  class water {};  class water {};
- class citysand : Default  + class citysand : Default 
-+ {
  access = ReadOnly;  access = ReadOnly;
  files = "​citysand_*";​  files = "​citysand_*";​
- rough = 0.01; + rough = 0.01;
  dust = 0.8;  dust = 0.8;
  soundEnviron = "​road";​  soundEnviron = "​road";​
Line 84: Line 83:
 /////////​--island simple definition part--\\\\\\\\\ /////////​--island simple definition part--\\\\\\\\\
 //​+++++++++++++++++++++++++++\\ //​+++++++++++++++++++++++++++\\
-class CfgWorlds ​+class CfgWorlds
 { {
  class DefaultClutter  class DefaultClutter
Line 141: Line 140:
  ilsPosition[] = {2545, 3000};  ilsPosition[] = {2545, 3000};
  ilsDirection[] = {0, 0.08, 1};  ilsDirection[] = {0, 0.08, 1};
- ilsTaxiIn[] = {  + ilsTaxiIn[] = { 
- 2495, 2725, 2495, 2850, 2508, 2860, 2508, + 2495, 2725, 2495, 2850, 2508, 2860, 2508,
  3000, 2520, 3010, 2545, 3000  3000, 2520, 3010, 2545, 3000
  };  };
Line 177: Line 176:
  scaleMax = 1.0;  scaleMax = 1.0;
  };  };
- class grassdryLong:​ GrassGeneral ​  //my first definition of grass clutters, ​+ class grassdryLong:​ GrassGeneral ​  //my first definition of grass clutters,
  // see the first part, and find the corrispondence of these classes  // see the first part, and find the corrispondence of these classes
  {  {
Line 272: Line 271:
 ====== Notes ====== ====== Notes ======
  
-hope it will be a good explanation,​ for any problems, [[http://tactical.nekromantix.com/​forum/​privmsg.php?​mode=post&​u=2318|send a PM]]!  +hope it will be a good explanation,​ for any problems, [[https://www.pmctactical.org/​forum/​privmsg.php?​mode=post&​u=2318|send ​Linker Split private message]]
- +
-Linker Split  +
arma/modeling/grass_tutorial.1199553706.txt.gz · Last modified: 2008-01-05 17:21 by snakeman