Ambient Civilian Vehicles

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