This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arma2:terrain:class_names [2011-07-03 18:03] snakeman created class_names initial page. |
arma2:terrain:class_names [2012-09-03 08:13] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Class Names ====== | ||
- | In terrains you can name locations / positions, usually cities and other important populated places. Also these locations can help scripts to find out flat areas and such. | ||
- | |||
- | These are in your terrain's config.cpp under the name "class names". | ||
- | |||
- | ArmA class names types: | ||
- | <code cpp> | ||
- | type = "BorderCrossing"; | ||
- | type = "Hill"; | ||
- | type = "NameCity"; | ||
- | type = "NameCityCapital"; | ||
- | type = "NameLocal"; | ||
- | type = "NameMarine"; | ||
- | type = "NameVillage"; | ||
- | type = "RockArea"; | ||
- | type = "VegetationBroadleaf"; | ||
- | type = "VegetationFir"; | ||
- | type = "VegetationPalm"; | ||
- | type = "VegetationVineyard"; | ||
- | type = "ViewPoint"; | ||
- | </code> | ||
- | |||
- | These locations also are affiliated with radius to define the size. | ||
- | <code cpp> | ||
- | radiusA = 100; | ||
- | radiusB = 100; | ||
- | </code> | ||
- | |||
- | ArmA 2 class names types: | ||
- | <code cpp> | ||
- | type = "Airport"; | ||
- | type = "CityCenter"; | ||
- | type = "FlatArea"; | ||
- | type = "FlatAreaCity"; | ||
- | type = "FlatAreaCitySmall"; | ||
- | type = "Hill"; | ||
- | type = "NameCity"; | ||
- | type = "NameCityCapital"; | ||
- | type = "NameLocal"; | ||
- | type = "NameMarine"; | ||
- | type = "NameVillage"; | ||
- | type = "StrongpointArea"; | ||
- | type = "VegetationBroadleaf"; | ||
- | type = "VegetationFir"; | ||
- | </code> |