arma3:terrain:config.cpp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
arma3:terrain:config.cpp [2017/03/13 21:37] – added description length. snakeman | arma3:terrain:config.cpp [2024/08/02 17:20] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ArmA 3 Terrain Config ====== | ====== ArmA 3 Terrain Config ====== | ||
+ | |||
+ | [[https:// | ||
**Everything you need to know about ArmA 3 Terrain WRP Config.cpp file** | **Everything you need to know about ArmA 3 Terrain WRP Config.cpp file** | ||
Line 7: | Line 9: | ||
**Fully working config.cpp example** ready to be copy-pasted and used in your terrain, only thing you need to do is replace " | **Fully working config.cpp example** ready to be copy-pasted and used in your terrain, only thing you need to do is replace " | ||
+ | |||
+ | Important note: if you use pboProject later than v1.73 you must start the GUI, go to Setup and untick "-W warnings are errors" | ||
<code cpp> | <code cpp> | ||
Line 13: | Line 17: | ||
class tut_tutorial_terrain | class tut_tutorial_terrain | ||
{ | { | ||
- | units[] = | + | units[] = {}; |
- | { | + | |
- | " | + | |
- | }; | + | |
weapons[] = {}; | weapons[] = {}; | ||
requiredVersion = 1; | requiredVersion = 1; | ||
Line 72: | Line 73: | ||
vehicles[] = {}; | vehicles[] = {}; | ||
}; | }; | ||
+ | |||
+ | minTreesInForestSquare = 2; | ||
+ | minRocksInRockSquare = 2; | ||
class Subdivision{}; | class Subdivision{}; | ||
Line 82: | Line 86: | ||
====== Tips ====== | ====== Tips ====== | ||
- | Veteran tip: don't take config.cpp from altis, stratis, tanoa or user made terrains, dont take it from outdated random tutorials. Take it only from PMC Editing Wiki! // | + | Veteran tip: don't take config.cpp from altis, stratis, tanoa or user made terrains, dont take it from outdated random tutorials. Take it only from PMC Editing Wiki! // |
Line 101: | Line 105: | ||
</ | </ | ||
- | Units is list of unit classes that this addon brings to the game. This is the name of your terrain. | + | Units is list of unit classes that this addon brings to the game, **it is not used for terrains**. |
<code cpp> | <code cpp> | ||
- | units[] = | + | units[] = { "name_of_my_character" }; |
- | { | + | |
- | "tut_tutorial_terrain" | + | |
- | }; | + | |
</ | </ | ||
Line 280: | Line 281: | ||
}; | }; | ||
</ | </ | ||
+ | |||
+ | See also [[arma3: | ||
+ | |||
===== Clutter ===== | ===== Clutter ===== | ||
Line 319: | Line 323: | ||
===== mapZone ===== | ===== mapZone ===== | ||
- | No idea, must be the UTM northing/ | + | mapZone |
- | <code cpp> | + | |
- | mapZone | + | |
- | </ | + | |
===== mapArea[] ===== | ===== mapArea[] ===== | ||
- | Again no idea, must be UTM latitude / longitude coordinates on edges of terrain? | + | mapArea[] |
- | <code cpp> | + | |
- | mapArea[] | + | |
- | </ | + | |
===== Lat / Lon ===== | ===== Lat / Lon ===== | ||
Line 453: | Line 451: | ||
minRocksInRockSquare = 3; | minRocksInRockSquare = 3; | ||
</ | </ | ||
+ |
arma3/terrain/config.cpp.1489441060.txt.gz · Last modified: 2017/03/13 21:37 by snakeman