====== ArmA 3 RoadsLib.cfg ======
[[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]]
**2020-01-01**
These are altis, malden, stratis and tanoa RoadsLib.cfg files as is from december 2019 A3\ addon dirs.
Note; widths of real world vehicle lanes typically vary from 2.7 to 4.6 meters.
**map_altis:**
class RoadTypesLibrary
{
class Road0001
{
width = 14;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway.rvmat";
map = "main road";
AIpathOffset = 1;
};
class Road0002
{
width = 10;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road.rvmat";
map = "road";
AIpathOffset = 1.5;
};
class Road0003
{
width = 10;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roaddirt_road_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roaddirt_road_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roaddirt_road.rvmat";
map = "track";
AIpathOffset = 2;
};
class Road0004
{
width = 10;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadconcrete_city_road_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadconcrete_city_road_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadconcrete_city_road.rvmat";
map = "track";
AIpathOffset = 1.5;
};
class Road0005
{
width = 7;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roaddirt_path_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roaddirt_path_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roaddirt_path.rvmat";
map = "track";
AIpathOffset = 2.5;
};
class Road0006
{
width = 10;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roaddirt_trans_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roaddirt_trans_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roaddirt_trans.rvmat";
map = "road";
AIpathOffset = 2;
};
};
**map_stratis:**
class RoadTypesLibrary
{
class Road0001
{
width = 14;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway.rvmat";
map = "main road";
AIpathOffset = 1;
};
class Road0002
{
width = 10;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road.rvmat";
map = "road";
AIpathOffset = 1.5;
};
class Road0003
{
width = 10;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roaddirt_road_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roaddirt_road_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roaddirt_road.rvmat";
map = "track";
AIpathOffset = 2.0;
};
class Road0004
{
width = 10;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadconcrete_city_road_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadconcrete_city_road_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadconcrete_city_road.rvmat";
map = "track";
AIpathOffset = 1.5;
};
class Road0005
{
width = 7;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roaddirt_path_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roaddirt_path_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roaddirt_path.rvmat";
map = "track";
AIpathOffset = 2.5;
};
};
**map_malden:**
class RoadTypesLibrary
{
class Road0001
{
width = 12;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadtarmac_highway.rvmat";
map = "main road";
AIpathOffset = 1;
};
class Road0002
{
width = 9;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roadtarmac_main_road.rvmat";
map = "road";
AIpathOffset = 1.5;
};
class Road0003
{
width = 7;
mainStrTex = "a3\roads_f\roads_ae\data\surf_roaddirt_path_ca.paa"; // lowercase!
mainTerTex = "a3\roads_f\roads_ae\data\surf_roaddirt_path_end_ca.paa";
mainMat = "a3\roads_f\roads_ae\data\surf_roaddirt_path.rvmat";
map = "track";
AIpathOffset = 2.5;
};
};
**map_tanoabuka:**
class RoadTypesLibrary
{
class Road0001
{
width = 10;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_road_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_road_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_road.rvmat";
map = "road";
AIpathOffset = 1.5;
color[] = {1.0,0.0,1.0,1.0}; //"FF00FF"; alpha channel ignored // road color in costmap TGA
};
class Road0002
{
width = 10;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_road_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_road_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_road.rvmat";
map = "track";
AIpathOffset = 2.5;
color[] = {1.0,0.5,0.0,1.0}; //"FF8000";
};
class Road0003
{
width = 7;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_path_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_path_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_path.rvmat";
map = "track";
AIpathOffset = 2.5;
color[] = {1.0,1.0,0.0,1.0}; //"FFFF00";
};
class Road0004
{
width = 16;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_city_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_city_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_city.rvmat";
map = "main road";
AIpathOffset = 1;
color[] = {0.0,0.5,1.0,1.0}; //"0080FF";
};
class Road0005
{
width = 16;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_cityparking_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_cityparking_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_cityparking.rvmat";
map = "main road";
AIpathOffset = 2.5;
color[] = {0.0,0.5,1.0,1.0}; //"0080FF";
};
class Road0006
{
width = 10;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_main_road_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_main_road_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_main_road.rvmat";
map = "road";
AIpathOffset = 1.5;
color[] = {0.0,1.0,1.0,1.0}; //"FF00FF";
};
class Road0007
{
width = 10;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_harbour_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_harbour_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_harbour.rvmat";
map = "road";
AIpathOffset = 1.5;
color[] = {1.0,1.0,1.0,1.0}; //"FF00FF";
};
class Road0008
{
width = 10;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_mine_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_mine_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roaddirt_mine.rvmat";
map = "track";
AIpathOffset = 3.5;
color[] = {1.0,0.0,0.0,1.0}; //"FF0000";
};
class Road0009
{
width = 1.6;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_traildirt_trail_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_traildirt_trail_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_traildirt_trail.rvmat";
map = "trail"; // new map style; for disabling entirely use "hide"
AIpathOffset = 0;
color[] = {1.0,1.0,1.0,1.0};
pedestriansOnly = true;
};
class Road0010 // DO NOT DELETE - main road variant of tarmac road for 2D map
{
width = 10;
mainStrTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_main_road_ca.paa"; // lowercase!
mainTerTex = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_main_road_end_ca.paa";
mainMat = "a3\structures_f_exp\data\roads\surf_exp_roadtarmac_main_road.rvmat";
map = "main road";
AIpathOffset = 1.5;
color[] = {0.0,1.0,1.0,1.0}; //"FF00FF";
};
};