SHARE
TWEET

Untitled

a guest Aug 10th, 2018 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define false 0
  2. #define true !false
  3.  
  4. class CfgPatches
  5. {
  6.     class myfirstmap
  7.     {
  8.         units[] =
  9.         {
  10.             "myfirstmap"
  11.         };
  12.         weapons[] = {};
  13.         requiredVersion = 1;
  14.         requiredAddons[] =
  15.         {
  16.             "myfirstmap"
  17.         };
  18.     };
  19. };
  20.  
  21. class CfgWorldList
  22. {
  23.     class myfirstmap_{};
  24. };
  25.  
  26. class CfgWorlds
  27. {
  28.     class Stratis;
  29.     class myfirstmap: Stratis
  30.     {
  31.         cutscenes[] = {};
  32.         description = "myfirstmap Terrain";
  33.         worldName = "myfirstmap.wrp";
  34.         author = "PMC";
  35.         pictureMap = "myfirstmap\data\yourtag_yourproject_pictureMap.paa";
  36.         pictureShot = "";
  37.  
  38.         newRoadsShape = "";
  39.  
  40.         centerPosition[] =
  41.         {
  42.             2560, 2560
  43.         };
  44.         ilsDirection[] =
  45.         {
  46.             0, 0.08, 1
  47.         };
  48.         ilsPosition[] =
  49.         {
  50.             0, 0
  51.         };
  52.         ilsTaxiIn[] = {};
  53.         ilsTaxiOff[] = {};
  54.         drawTaxiway = false;
  55.         class SecondaryAirports{};
  56.         class ReplaceObjects{};
  57.  
  58.         class Sounds
  59.         {
  60.             sounds[] = {};
  61.         };
  62.  
  63.         class Animation
  64.         {
  65.             vehicles[] = {};
  66.         };
  67.  
  68.         minTreesInForestSquare = 2;
  69.         minRocksInRockSquare = 2;
  70.  
  71.         class Subdivision{};
  72.         class Names{};
  73.     };
  74. };
  75. #include "cfgClutter.hpp"
  76. class clutter
  77.         {
  78.             class myfirstmap_summerflowers: myfirstmap
  79.             {
  80.                 model = "c_summer_flowers.p3d";
  81.                 affectedByWind = 0.4;
  82.                 swLighting = 1;
  83.                 scaleMin = 0.7;
  84.                 scaleMax = 1.0;
  85.             };
  86.             class myfirstmap_grasscrooked: myfirstmap
  87.             {
  88.                 model = "c_grasscrooked_summer.p3d";
  89.                 affectedByWind = 0.3;
  90.                 swLighting = 1;
  91.                 scaleMin = 0.7;
  92.                 scaleMax = 1.3;
  93.             };
  94.             class myfirstmap_grasscrookedgreen: myfirstmap
  95.                 model = "c_grasscrookedgreen_summer.p3d";
  96.                 affectedByWind = 0.3;
  97.                 swLighting = 1;
  98.                 scaleMin = 0.9;
  99.                 scaleMax = 1.3;
  100.             };
  101.             class myfirstmap_weeddead: myfirstmap
  102.             {
  103.                 model = "c_weeddead.p3d";
  104.                 affectedByWind = 0.3;
  105.                 swLighting = 1;
  106.                 scaleMin = 0.75;
  107.                 scaleMax = 1.1;
  108.             };
  109.             class myfirstmap_grassdrylong: myfirstmap
  110.             {
  111.                 model = "c_grassdrylong.p3d";
  112.                 affectedByWind = 0.35;
  113.                 swLighting = 1;
  114.                 scaleMin = 0.5;
  115.                 scaleMax = 1.0;
  116.             };
  117.             class myfirstmap_grassdrylongbunch: myfirstmap
  118.             {
  119.                 model = "c_grassdrylongbunch.p3d";
  120.                 affectedByWind = 0.35;
  121.                 swLighting = 1;
  122.                 scaleMin = 0.6;
  123.                 scaleMax = 1.1;
  124.             };
  125.             class myfirstmap_caluna.p3d: myfirstmap
  126.             {
  127.                 model = "c_caluna.p3d";
  128.                 affectedByWind = 0.15;
  129.                 swLighting = 1;
  130.                 scaleMin = 0.8;
  131.                 scaleMax = 1.8;
  132.             };
  133.             class myfirstmap_weeddead2: myfirstmap
  134.             {
  135.                 model = "c_weeddead2.p3d";
  136.                 affectedByWind = 0.2;
  137.                 swLighting = 1;
  138.                 scaleMin = 0.5;
  139.                 scaleMax = 0.85;
  140.             };
  141.             class myfirstmap_grasstall: myfirstmap
  142.             {
  143.                 model = "c_grasstall.p3d";
  144.                 affectedByWind = 0.3;
  145.                 swLighting = 1;
  146.                 scaleMin = 0.8;
  147.                 scaleMax = 1.1;
  148.             }; 
  149.             class myfirstmap_fern: myfirstmap
  150.             {
  151.                 model = "c_fern.p3d";
  152.                 affectedByWind = 0.1;
  153.                 scaleMin = 0.6;
  154.                 scaleMax = 1.2;
  155.             };
  156.             class myfirstmap_ferntall_summer: myfirstmap
  157.                 model = "c_ferntall_summer.p3d";
  158.                 affectedByWind = 0.15;
  159.                 scaleMin = 0.75;
  160.                 scaleMax = 1;
  161.             };
  162.             class myfirstmap_grasscrookedforest: myfirstmap
  163.             {
  164.                 model = "c_grasscrookedforest.p3d";
  165.                 affectedByWind = 0.3;
  166.                 swLighting = 1;
  167.                 scaleMin = 0.8;
  168.                 scaleMax = 1.4;
  169.             };
  170.         };
  171.  
  172. #include "cfgSurfaces.hpp"
  173. class CfgSurfaces
  174. {
  175.     class Default {};
  176.     class myfirstmap_beach_co_Surface:Default
  177.     {    
  178.          files = "myfirstmap_beach_co*";
  179.          rough = 0.09;
  180.          maxSpeedCoef = 0.9;
  181.          dust = 0.5;
  182.          soundEnviron = "dirt";
  183.          character = "Empty";
  184.          soundHit = "soft_ground";
  185.          lucidity = 1;
  186.          grassCover = 0.03;
  187.     };
  188.     class myfirstmap_grass_green_co2_dry_grass_Surface:Default
  189.     {    
  190.          files = "myfirstmap_grass_green_co2_dry_grass*";
  191.          rough = 0.08;
  192.          maxSpeedCoef = 0.9;
  193.          dust = 0.75;
  194.          soundEnviron = "drygrass";
  195.          character = "Empty";
  196.          soundHit = "soft_ground";
  197.          lucidity = 2;
  198.          grassCover = 0.1;
  199.     };
  200.     class myfirstmap_gravel_co_Surface:Default
  201.     {    
  202.          files = "myfirstmap_gravel_co*";
  203.          rough = 0.12;
  204.          maxSpeedCoef = 0.8;
  205.          dust = 0.4;
  206.          soundEnviron = "drygrass";
  207.          character = "Empty";
  208.          soundHit = "soft_ground";
  209.          lucidity = 3.5;
  210.          grassCover = 0.04;
  211.     };
  212.     class myfirstmap_marsh_co_Surface:Default
  213.     {    
  214.          files = "myfirstmap_marsh_co*";
  215.          rough = 0.08;
  216.          maxSpeedCoef = 0.9;
  217.          dust = 0.15;
  218.          soundEnviron = "grass";
  219.          character = "Empty";
  220.          soundHit = "soft_ground";
  221.          lucidity = 4;
  222.          grassCover = 0.05;
  223.     };
  224.     class myfirstmap_mud_co_Surface:Default
  225.     {    
  226.          files = "myfirstmap_mud_co*";
  227.          rough = 0.09;
  228.          maxSpeedCoef = 0.9;
  229.          dust = 0.5;
  230.          soundEnviron = "dirt";
  231.          character = "Empty";
  232.          soundHit = "hard_ground";
  233.          lucidity = 1;
  234.          grassCover = 0.0;
  235.     };
  236.     class myfirstmap_rock_co_Surface:Default
  237.     {    
  238.          files = "myfirstmap_rock_co*";
  239.          rough = 0.09;
  240.          maxSpeedCoef = 0.9;
  241.          dust = 0.5;
  242.          soundEnviron = "dirt";
  243.          character = "Empty";
  244.          soundHit = "hard_ground";
  245.          lucidity = 1;
  246.          grassCover = 0.0;
  247.     };
  248.     class myfirstmap_seabed_co_Surface : Default
  249.     {    
  250.          files = "myfirstmap_seabed_co*";
  251.          rough = 0.09;
  252.          maxSpeedCoef = 0.9;
  253.          dust = 0.5;
  254.          soundEnviron = "dirt";
  255.          character = "Empty";
  256.          soundHit = "hard_ground";
  257.          lucidity = 1;
  258.          grassCover = 0.0;
  259.     };
  260.     class myfirstmap_strconcrete_co_Surface : Default
  261.     {    
  262.          files = "myfirstmap_strconcrete_co*";
  263.          rough = 0.09;
  264.          maxSpeedCoef = 0.9;
  265.          dust = 0.5;
  266.          soundEnviron = "dirt";
  267.          character = "Empty";
  268.          soundHit = "hard_ground";
  269.          lucidity = 1;
  270.          grassCover = 0.0;
  271.     };
  272.     class myfirstmap_strforest_pine_co_Surface : Default
  273.     {    
  274.          files = "myfirstmap_strforest_pine_co*";
  275.          rough = 0.09;
  276.          maxSpeedCoef = 0.9;
  277.          dust = 0.5;
  278.          soundEnviron = "dirt";
  279.          character = "Empty";
  280.          soundHit = "hard_ground";
  281.          lucidity = 1;
  282.          grassCover = 0.0;
  283.     };
  284. };
  285.  
  286. class CfgSurfacecharacters
  287. {
  288.     class myfirstmap_grassclutter
  289.     {
  290.         probability[] = {0.7,0.1,0.1,0.01};
  291.         names[] = {"c_summerflowers","c_grasscrookedgreen","c_grassdrylong","c_grassdrylongbunch","c_grasstall","c_ferntall_summer"};
  292.     };
  293.     class myfirstmap_marshclutter
  294.     {
  295.         probability[] = {0.1,0.3,0.05,0.03,0.02};
  296.         names[] = {"c_grassdrylongbunch"};
  297.     };
  298.     class myfirstmap_beachclutter
  299.     {
  300.         probability[] = {};
  301.         names[] = {};
  302.     };
  303.     class myfirstmap_forestclutter
  304.     {
  305.         names[] = {}"c_ferntall_summer","c_grasscrookedgreen","c_grassdrylong","c_grassdrylongbunch","c_weeddead","c_caluna","c_weeddead2","c_fern","c_grasscrookedforest"};
  306.         probability[] = {0.2,0.1,0.2,0.001,0.003};
  307.     };
  308. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top