====== ArmA 2 Ambient Modules For Custom Terrain ====== [[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]] Class names is used to add ambient modules like ALICE and Ambient Civilian Vehicles for terrains. if you want to add Ambient Civilians and Ambient Vehicles modules to your custom user made terrain, you need to add these lines to your class names: class Names { class MyCity { name = "My Nice City"; position[] = {9845.5293, 24297.6719, 0}; type = "NameCity"; radiusA = 100; radiusB = 100; angle = 0; }; class ACityC_MyCity { name = ""; position[] = {9845.5293, 24297.6719, 0}; type = "CityCenter"; neighbors[] = { "ACityC_WarmCity", "ACityC_ColdCity", "ACityC_CoolCity" }; demography[] = { "CIV", 1.0, "CIV_RU", 0.0 }; radiusA = 100; radiusB = 100; angle = 0; }; class **MyCity** is the name of our real city in the terrain. class **ACityC_MyCity** is the name of this "CityCenter" thing which makes the modules work. The "type" needs to be "CityCenter", its unknown if the class name has to be prefixed "ACityC_" but it doesn't hurt. The neighbors[] array is classes of those nearest cities (CityCenter) to this current one. We don't know what specifies "nearest" city, is it the logical path using road to a nearest city, or just nearest by distance or is there distance limit to this city, we don't know. The demography[] array is the factions used to create characters there. The values of 1.0 or 0.0 most likely mean probability of presence (we don't know at the moment). ====== Custom Buildings ====== Ambient Civilian Modules do not work unless you have buildings memory points setup properly. ^ Engine ^ Memory Point ^ | ArmA2 | AIDoor0 | | Operation Arrowhead | AIspawnpos0 | Check if bis buildings the digits start actually start from 1 and not 0.