This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
arma3:terrain:config.cpp [2018-06-10 15:47] snakeman added note about clutter config.pp |
arma3:terrain:config.cpp [2019-01-21 20:42] snakeman new info on maparea and mapzone, they are obsolete. |
||
---|---|---|---|
Line 18: | Line 18: | ||
class tut_tutorial_terrain | class tut_tutorial_terrain | ||
{ | { | ||
- | units[] = | + | units[] = {}; |
- | { | + | |
- | "tut_tutorial_terrain" | + | |
- | }; | + | |
weapons[] = {}; | weapons[] = {}; | ||
requiredVersion = 1; | requiredVersion = 1; | ||
Line 109: | Line 106: | ||
</code> | </code> | ||
- | 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" | + | |
- | }; | + | |
</code> | </code> | ||
Line 327: | Line 321: | ||
===== mapZone ===== | ===== mapZone ===== | ||
- | No idea, must be the UTM northing/easting zone stuff? | + | mapZone is obsolete, not used in ArmA 3. |
- | <code cpp> | + | |
- | mapZone = 35; | + | |
- | </code> | + | |
===== mapArea[] ===== | ===== mapArea[] ===== | ||
- | Again no idea, must be UTM latitude / longitude coordinates on edges of terrain? | + | mapArea[] is obsolete, not used in ArmA 3. |
- | <code cpp> | + | |
- | mapArea[] = {25.011957,39.718452,25.481527,40.094578}; | + | |
- | </code> | + | |
===== Lat / Lon ===== | ===== Lat / Lon ===== |