Search the Community
Showing results for tags 'parked'.
Found 1 result
-
Engima's Parked Vehicles v1.0 Overview Engima's Parked Vehicles is a script that adds empty vehicles in garages and next to buildings across the map in an Arma 3 mission. Description To "complete" my Engima's Traffic script I have also created a general script to place empty vehicles near or in Buildings across a map. Vehicles are created when a player gets within spawn distance, and they are removed again (and remembered), when all players get beyond spawn radius. You can customize types of buildings and types of vehicles, spawn radius, and use callbacks for when vehicles spawn and despawn. For a vehicle to spawn in or outside a building there has to be a garage definition entry for that building in the file Engima\ParkedVehicles\GarageDefinitions.sqf. Garages and other buildings for islands Stratis, Altis, Malden and Tanoa are supported out of the box. Anyone can add more garage definitions when needed. Download Using the TypeSqf Editor (recommended for Windows users) From Github Installation TypeSqf: Open the CPack Console and type "install Engima.ParkedVehicles". Manual: Copy the folder Engima and the file initserver.sqf to the root of your mission. (If you already have the initserver.sqf file in your mission, copy the content from my file into yours). Usage Configure/Customize the script by altering the parameter list for the main function call. File "Engima\ParkedVehicles\ConfigAndStart": // Set custom parameters here private _parameters = [ ["BUILDING_TYPES", ["Land_FuelStation_02_workshop_F","Land_GarageShelter_01_F", "Land_FuelStation_01_shop_F", ...]], ["VEHICLE_CLASSES", ["C_Offroad_01_F", "C_Offroad_01_repair_F", "C_Quadbike_01_F]], ["SPAWN_RADIUS", 750], ["PROBABILITY_OF_PRESENCE", 1], ["ON_VEHICLE_CREATED", {}], ["ON_VEHICLE_REMOVING", {}], ["DEBUG", false] ]; // Run script _parameters call PARKEDVEHICLES_PlaceVehiclesOnMap; Script can also be extended to contain support for more garages/buildings. This may be important if you want to use the script on maps for which the default package was not intended. In that case you want to add building definitions to the file "Engima\ParkedVehicles\GarageDefinitions". Vehicles for building classes that do not exist as a building definition will not be spawned. Licence MIT. Version History Version 1.0 -First version. Other releases Engima's Traffic (script) Engima's Civilians (script) Escape Tanoa (mission)