cfgMarkerBrushes

From Bohemia Interactive Community
Jump to navigation Jump to search

VERY DRAFT - UNFORMATTED

cfgMarkerBrushes

Config section containing information about marker brushes.

configFile >> "cfgMarkerBrushes"

  >> <MarkerName>
      >> name (text )
      >> texture ( number )
      >> drawBorder ( number )
      >> scope ( number)

cfgMarkerBrushes {

 class SOLID {
   name="Solid";
   texture="";    // "special"
   drawBorder=0;
   scope=2;       // "special"
 }
 class GRID {
   name="Grid";
   texture="\ca\ui\data\marker_brush_grid_ca.paa";
   drawBorder=0;
   scope=0;
  };
 class BORDER {
   name="Border";
   texture="#(argb,8,8,3)color(0,0,0,0)"; // special
   drawBorder=1;
   scope=0;
  };

};

in the sample above the border class uses a procedural texture more information can be found here: http://www.google.com/custom?hl=de&cof=&domains=/community.bistudio.com&q=procedural&sitesearch=/community.bistudio.com thanks to kju for the link