ArmA 2 Ambient Civilian Vehicles

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

System for Including Land Vehicles Into Environment (SILVIE) is, as said in title, system for spawning empty cars in villages and towns. All vehicles are created on mission start and are constantly replaced when some of the is destroyed.

Initialization

Paths

Editor:

Units (F1) > Game Logic > Modules > Ambient Civilian Vehicles

Data:

ca\modules\silvie

Startup

Place SILVIE manager on map. No additional synchronizing needed.

Optional parameters

Set variables to BIS_silvie_mainscope with desired values:

Example: this setvariable [“townlist”,[bis_loc_acityc_mogilevka,[position this,3000],trigger1]];
Default value: Whole island.

Example: BIS_silvie_mainscope setvariable [“blackList”,[“house1”,“house2”]];
Default value: not yet defined

Example: BIS_silvie_mainscope setvariable [“vehicleRarity”,[“skodaRed”,10,“skodaBlue”,0.8]];
Default value: empty array

Example: BIS_silvie_mainscope setvariable [“vehicleCount”,“round (%1 / 10)”];
Default value (and recommended): “round ((sqrt %1) * 1.5)”

Example: BIS_silvie_mainscope setvariable [“vehicleInit”,{_this lock true}];
Default value: {}

Example: BIS_silvie_mainscope setvariable [“roadDistance”,30];
Default value: 25

Example: BIS_silvie_mainscope setvariable [“attempts”,20];
Default value: 10

Stored variables

These variables are only for checking values. Do not edit them!

BIS_SILVIE_Mainscope

Cars