Ravage Wikia
Advertisement

FAQ[]

Prevent vehicles from being a part of the mission start vehicle destruction.[]

this setVariable ["rvg_owned", true, true];

in the init of the vehicle in the editor

Set texture for self placed vehicles[]

First u need the damaged or destruct texture from the vehicle you wanna use in your Mission. Right click in Eden Editor on the Vehicle and choose "find in Config Viewer". A new window will open, and the desired vehicle should be marked on the left side (Scroll down a bit if u cant see a marked Vehicle). Double Click on it and another window will open wich shows the different types of Texture assets for the vehicle condition. Choose damage and look for something like "...damage.rvmat" or "destruct.rvmat".

(you can also copy the whole code into a textfile with ctrl+c, it is easier to search then!)

Place this Code into the Init of the Vehicle:

this setObjectMaterialGlobal [0, "*Your desired texture Path here*"];      

(Example with Quadbike below)

this setObjectMaterialGlobal [0, "\A3\soft_F\Quadbike_01\Data\quadbike_01_base_destruct.rvmat"];

////////////////////////////////////////////////////////////////////////////////////////////

The below code was summarized by 2LT Rell. Thanks!

/////////////////////////////////////////////////////////////////////////////////////////////

Random Starting loadout[]

Add the following code to the init of the unit in the editor or called via script

0 = [this] call rvg_fnc_equip; 

Bandit Camps[]

  1. Place a trigger - (with a size that is 200x200 or larger)
  2. Set the trigger's activation to (any player, anybody or one of the factions your player is in)
  3. Set the activation type to present (when player walks into the trigger the bandit camps will spawn)
  4. Do not check the repeatable box.
  5. Under trigger expression - (Copy and paste the codes below into the following trigger fields)

Condition:

(vehicle player) in thislist;

On Act:

_nul = [thistrigger] spawn rvg_fnc_spawnBanditCamp;

Make Traders[]

-add this to the init of the unit you want as a trader in the editor.

-be sure you have placed the Ravage Ambient AI module for this to work. If you dont want AI spawning besides the trader set the probability of the factions to 0.

Supply Trader

this setVariable ["isTrader", "rvg_supplies_s", true];

Gear Trader

this setVariable ["isTrader", "rvg_gear_s", true];

Arms trader

this setVariable ["isTrader", "rvg_arms_s", true];

Random trader

this setVariable ["isTrader", selectRandom ["rvg_supplies_s", "rvg_arms_s", "rvg_arms_s"], true];

Fill boxes[]

-add this to the init field of a crate you have placed in the editor

nul = [this] execVM "scripts\system\rvgFill_weap.sqf";
nul = [this] execVM "scripts\system\rvgfill.sqf";

Make Survivor[]

-add this to the init of a placed unit in the editor you want to be recruitable.

this addaction ["Recruit Unit", "\ravage\actions\recruit.sqf","", 1, false, true, "", "alive _target && {group _target != group _this}"];
 this addaction ["Dismiss Unit", "\ravage\actions\dismiss.sqf","", 1, false, true, "", "alive _target && {group _target == group _this}"];

can also be called i a script with _unit be the reference to your object etc

[_unit, _x] remoteExec ["addAction", 0, true];} forEach [["Recruit Unit", "\ravage\actions\recruit.sqf",[_unit], 1, false, true, "", "alive _target && {group _target != group _this}"],["Dismiss Unit", "\ravage\actions\dismiss.sqf",[_unit], 1, false, true, "", "alive _target && {group _target == group _this}"]];

Create fire/smoke effect[]

Add the following code to the init of an object in the editor or called via script.

-Will create small,medium,big fire and smoke particles on a given object:

0 = [getPosATL this,"FIRE_SMALL"] spawn RVG_fnc_createFireEffect;
0 = [getPosATL this,"FIRE_MEDIUM"] spawn RVG_fnc_createFireEffect;
0 = [getPosATL this,"FIRE_BIG"] spawn RVG_fnc_createFireEffect;

-Will create small,medium,big smoke particles on a given object:

0 = [getPosATL this,"SMOKE_SMALL"] spawn RVG_fnc_createFireEffect;
0 = [getPosATL this,"SMOKE_MEDIUM"] spawn RVG_fnc_createFireEffect;
0 = [getPosATL this,"SMOKE_BIG"] spawn RVG_fnc_createFireEffect;

How to control lights with any object[]

1.Place any object on the map such as a Generator.

2.Paste the code down below into the Init field of the object you placed this will add a addaction to the object allowing players control specific lights within a set radius. The object if destroyed will disable any of the defined lights within the set radius.


this call { _radiusLights = 3000; _lights = nearestObjects [ _this,["Lamps_base_F","PowerLines_base_F","PowerLines_Small_base_F"],_radiusLights]; _lamps = ("_x == (configFile >> 'CfgVehicles' >> 'Land_Runway_PAPI') or (inheritsFrom _x) == (configFile >> 'CfgVehicles' >> 'Land_Runway_PAPI') or _x == (configFile >> 'CfgVehicles' >> 'Land_NavigLight') or (inheritsFrom _x) == (configFile >> 'CfgVehicles' >> 'Land_NavigLight') or (inheritsFrom (inheritsFrom _x)) == (configFile >> 'CfgVehicles' >> 'Land_NavigLight')" configClasses (configFile >> "CfgVehicles")) apply {tolower(getText (_x >> "model")splitString "\" joinString "\")}; _lampouz = (nearestTerrainObjects [_this,[],_radiusLights]) select {((getModelInfo _x) select 1) in _lamps}; _this addAction ["switch off lights",{ params ["_gene","_caller","_id","_lux"]; private _geneMenu = (_gene actionParams _id) select 0; if (_geneMenu isEqualTo "switch off lights") then { _geneMenu = "switch on lights"; { [_x,false] call BIS_fnc_switchLamp; false; } count (_lux select 0); {_x hideObjectGlobal true} forEach (_lux select 1); } else { _geneMenu = "switch off lights"; { [_x,true] call BIS_fnc_switchLamp; false; } count (_lux select 0); {_x hideObjectGlobal false} forEach (_lux select 1); }; _gene setUserActionText [_id,_geneMenu]; },[_lights,_lampouz],0.8,false,true,"", "!(_target getvariable ['destroyed',false])"]; _this addEventHandler ["hit", { params ["_gene"]; if (damage _gene > 0.2) then { _gene setVariable ["destroyed",true]; _gene setDamage 1; _radiusLights = 3000; _lights = nearestObjects [ _gene,["Lamps_base_F","PowerLines_base_F","PowerLines_Small_base_F"],_radiusLights]; _lamps = ("_x == (configFile >> 'CfgVehicles' >> 'Land_Runway_PAPI') or (inheritsFrom _x) == (configFile >> 'CfgVehicles' >> 'Land_Runway_PAPI') or _x == (configFile >> 'CfgVehicles' >> 'Land_NavigLight') or (inheritsFrom _x) == (configFile >> 'CfgVehicles' >> 'Land_NavigLight') or (inheritsFrom (inheritsFrom _x)) == (configFile >> 'CfgVehicles' >> 'Land_NavigLight')" configClasses (configFile >> "CfgVehicles")) apply {tolower(getText (_x >> "model")splitString "\" joinString "\")}; _lampouz = (nearestTerrainObjects [_gene,[],_radiusLights]) select {((getModelInfo _x) select 1) in _lamps}; { [_x,false] call BIS_fnc_switchLamp; false; } count _lights; {_x hideObjectGlobal true} forEach _lampouz; _gene removeEventHandler ["hit",_thisEventHandler]} }]; };

How to earn banknotes for killing Zombies[]

1. Place down the Ambient Zombie Module.

2. Paste the script below into the KilledEvent Handler section of the Ambient Zombie module this will give a player one banknote per zombie killed.


player addItemToUniform "rvg_money";

GF Drop Loot Script[]

Enemies , will drop items or add to their inventory , when killed.[]

The script was created by [1] GEORGE FLOROS GR .

You can add to the enemy , anything you want to be dropped or carried in uniform or vest etc,

or even add a vest , or map , nvg's , money or anything you want . ( zombies with loot )

and can be found here:

[2] GF Drop Loot Script   



List of Classnames[]

"rvg_plasticBottleEmpty",
 "rvg_canteenEmpty",
 "rvg_canOpener",
 "rvg_plasticBottle",
 "rvg_plasticBottlePurified",
 "rvg_spirit",
 "rvg_franta",
 "rvg_beans",
 "rvg_bacon",
 "rvg_milk",
 "rvg_rice",
 "rvg_rustyCan",
 "rvg_hose",
 "rvg_guttingKnife",
 "rvg_tire",
 "rvg_purificationTablets",
 "rvg_flare",
 "rvg_rustyCanEmpty",
 "rvg_beansEmpty",
 "rvg_baconEmpty",
 "rvg_spiritEmpty",
 "rvg_frantaEmpty"
 "rvg_rustyCanEmpty",
 "rvg_beansEmpty",
 "rvg_baconEmpty",
 "rvg_spiritEmpty",
 "rvg_frantaEmpty",
 "rvg_matches",
 "rvg_canisterFuel_Empty",
"rvg_canisterFuel",
 "rvg_Geiger",
 "rvg_docFolder",
 "rvg_toolkit",
 "rvg_antiRad",
 "rvg_sleepingBag_Blue",
 "rvg_foldedTent",
 "rvg_money",
 "rvg_notepad",
 "rvg_docFolder",
 "rvg_rustyCanEmpty",

Ravage Weapon Classnames[]

"Rusty_srifle_EBR_F",
"Rusty_srifle_DMR_02_F",
"Rusty_srifle_DMR_03_F",
"Rusty_srifle_DMR_04_F",
"Rusty_DMR_05_base_F",
"Rusty_MMG_01_tan_F",
"Rusty_MMG_02_black_F",
"Rusty_LMG_Zafir_F"   

Adding random loadout on player respawn - MP[]

- credit to BB and Haleks and Jimmakos

-Create a file in the main mission folder where the init.sqf is and name it onPlayerRespawn.sqf

-Add this code to it and the player will respawn in the same way with the random kit from the start.

_unit = _this select 0;
_unit spawn 
{
    sleep 2;
   [_this] call rvg_fnc_equip; 
};

-A bit more complex code but also works great (it's also updated to latest Ravage functions).

waitUntil {!isNull player};
_unit = _this select 0;
//comment "Remove existing items";
removeAllWeapons _unit;
removeAllItems _unit;
removeAllAssignedItems _unit;
removeUniform _unit;
removeVest _unit;
removeBackpack _unit;
removeHeadgear _unit;
removeGoggles _unit;
//comment "Add containers";
[_unit] call RVG_fnc_AddGear;
_unit addVest (selectRandom rvg_vests);
//comment "Add weapons";
if !(rvg_weapons isEqualTo []) then {
	_weapon = [_unit, rvg_weapons select (((floor random [(((count rvg_weapons) - 1)*1.25)*-1,((count rvg_weapons) - 1)*0.5,((count rvg_weapons) - 1)*1.5]) max 0) min ((count rvg_weapons) - 1)), 2] call BIS_fnc_addWeapon;
} else {
	_weapon = [_unit, rvg_weaponsA3 select (((floor random [(((count rvg_weaponsA3) - 1)*1.25)*-1,((count rvg_weaponsA3) - 1)*0.5,((count rvg_weaponsA3) - 1)*1.5]) max 0) min ((count rvg_weaponsA3) - 1)), 2] call BIS_fnc_addWeapon;
};
//comment "Add items";
[_unit] call RVG_fnc_AddLoot;
if(true) exitWith{};

Things you can't do currently[]

-add custom uniforms directly to units by side. May be added by Haleks in future iterations.

currently it is only possible to add equipment to the pool used the spawn scripts.

Custom Lootlists[]

I have pulled this info down as it was causing more consternation then it was solving.[]

An easier system for this will come in future updates.[]

Thanks for your patience.[]

Simple Lootspawn Method[]

1.Place down a Invisible Helipad where you want loot to spawn.

2.Place one of the Scripts into init Section of the Helipad.

3. Weapons Script.

gun = ["arifle_MX_F", "arifle_MX_GL_F", "arifle_MXC_F", "arifle_TRG20_F", "arifle_TRG21_F", "arifle_TRG21_GL_F", "arifle_MXM_F", "srifle_EBR_F", "LMG_Mk200_F", "hgun_P07_F", "arifle_Khaybar_F", "arifle_Khaybar_C_F", "arifle_Khaybar_GL_F", "hgun_rook40_F"] call BIS_fnc_selectRandom; 
Waffe1 = "groundweaponholder" createVehicle getpos this;
Waffe1 addWeaponCargo [gun,1];
Waffe1 setPos [getPos this select 0,getPos this select 1,0.00];

4. Item Scripts

itemw = ["muzzle_snds_H", "muzzle_snds_L", "muzzle_snds_B", "muzzle_snds_H_MG", "optic_Arco", "optic_Hamr", "optic_Aco", "optic_ACO_grn", "optic_Holosight", "acc_flashlight", "acc_pointer_IR", "FirstAidKit", "Toolkit"] call BIS_fnc_selectRandom;
Waffe1 = "groundweaponholder" createVehicle getpos this;
Waffe1 additemcargo [itemw,1];
Waffe1 setPos [getPos this select 0,getPos this select 1,0.00];

5. Ammo Scripts

ammov = ["30Rnd_65x39_Caseless_mag", "100Rnd_65x39_Caseless_mag", "30Rnd_65x39_caseless_mag_Tracer", "100Rnd_65x39_caseless_mag_Tracer", "30Rnd_65x39_case_mag", "20Rnd_762x45_Mag", "16Rnd_9x21_Mag", "30Rnd_9x21_Mag", "20Rnd_556x45_UW_Mag", "30RND_556x45_Stanag", "200RND_65x39_Cased_box_Tracer", "RPG32_F", "ATMine_Range_Mag", "APERSMine_Range_Mag", "ClaymoreDirectionalMine_Remote_Mag", "DemoCharge_Remote_Mag", "APERSBoundingMine_Range_Mag", "SLAMDirectionalMine_Wire_Mag", "APERSTripMine_Wire_Mag", "1Rnd_HE_Grenade_shell", "1Rnd_Smoke_Grenade_shell", "1Rnd_SmokeGreen_Grenade_shell", "1Rnd_SmokeYellow_Grenade_shell", "1Rnd_SmokePurple_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell", "SmokeShellRed", "SmokeShell", "SmokeShellGreen", "SmokeShellYellow", "SmokeShellPurple", "SmokeShellBlue", "SmokeShellOrange"] call BIS_fnc_selectRandom; Waffe1 = "groundweaponholder" createVehicle getpos this; Waffe1 addmagazinecargo [ammov,2]; Waffe1 setPos [getPos this select 0,getPos this select 1,0.00];

6. vest Scripts

vestx = ["V_Rangemaster_belt", "V_BandollierB_khk", "V_BandollierB_rgr", "V_BandollierB_cbr", "V_PlateCarrier1_rgr", "V_PlateCarrier1_cbr", "V_PlateCarrier2_rgr", "V_PlateCarrierGL_rgr", "V_Chestrig_khk", "V_ChestrigB_rgr", "V_TacVest_khk", "V_TacVest_brn", "V_TacVest_oli", "V_HarnessO_brn", "V_HarnessOGL_brn", "V_RebreatherB", "V_RebreatherIR"] call BIS_fnc_selectRandom;
Waffe1 = "groundweaponholder" createVehicle getpos this;
Waffe1 additemcargo [vestx,1];
Waffe1 setPos [getPos this select 0,getPos this select 1,0.00];

Custom Map Loot lists[]

There are two arrays you need:

  • Building_list
  • Building_registr lists

The first one only needs the classnames. The second needs an array in an array as follows

["Land_majak,0,[1,2,3,4]],

["ClassnameOfBuilding",LootType,[numberArrayOfTotalBuildingPositions]],

LootType numbers are as follows

  • 0 - Civilian
  • 1 - Military
  • 2 - Industrial
  • 3 - Research


Taviana[]

​//----Add classnames Here ---


waitUntil {!isNil "Building_list"};

{

0 = Building_list pushBack _x;

} 

forEach [

"Land_Majak",

"Land_Ss_hangar",

"Land_Mil_House",

"Land_Mil_ControlTower",

"Land_telek1",

"Land_Ind_IlluminantTower",

"Land_Vysilac_FM",

"Land_Majak_podesta",

"Land_water_tank",

"Land_shopping_sab5",

"Land_hospoda",

"Land_rail_station_big",

"Land_Barn_W_02",

"Land_tav_houseblock_b1",

"Land_Nasypka",

"Land_tav_houseblock_b4_in",

"Land_komin",

"Land_Ind_SawMill",

"Land_A_statue02",

"Land_Tav_Panelak3",

"Land_rails_bridge_40",

"Land_Vez",

"Land_fortified_nest_small",

"Land_Misc_deerstand",

"Land_Kulna",

"Land_stodola_old_open",

"Land_A_Castle_Stairs_A",

"Land_A_Castle_Bergfrit",

"Land_Misc_Cargo1Bo",

"Land_Hangar_2",

"Land_Misc_Cargo1Ao",

"Land_A_BuildingWIP",

"Land_A_CraneCon",

"Land_A_Crane_02a",

"land_nav_pier_c2_end",

"Land_A_Crane_02b",

"Land_tav_HouseBlock_D1_ex1",

"Land_Ind_Vysypka",

"Land_Bulding_r",

"Land_HouseBlock_A3",

"Land_A_Pub_01",

"Land_HouseBlock_A1",

"Land_Hlidac_budka",

"Land_garaz_mala",

"Land_dum_rasovna",

"Land_dum_mesto2",

"Land_sara_Domek_sedy",

"Land_dum_mesto_in",

"Land_HouseV_1L1",

"Land_Barrack2",

"Land_Garaz_bez_tanku",

"Land_tav_guardhouse",

"Land_stodola_open",

"Land_Church_05R",

"Land_HouseV_1I4",

"Land_Farm_Cowshed_c",

"Land_Farm_Cowshed_b",

"Land_Farm_Cowshed_a",

"Land_GuardShed",

"Land_tav_HouseV_2L",

"Land_deutshe_mini",

"Land_trafostanica_velka",

"Land_Dum_mesto3",

"Land_A_Castle_Wall1_20",

"Land_A_Castle_Gate",

"Land_HouseV2_03",

"Land_a_stationhouse",

"Land_Church_03",

"Land_Domek_zluty_BEZ",

"Land_dirthump03",

"Land_Watertower1",

"Land_Molo_beton",

"Land_Misc_Scaffolding",

"Land_zachytka",

"Land_Tav_Panelak2",

"Land_Misc_PowerStation",

"Land_A_FuelStation_Shed",

"Land_A_FuelStation_Build",

"Land_HouseB_Tenement",

"Land_Ind_Stack_Big",

"Land_tav_Ind_Pec_02_v3s",

"Land_A_GeneralStore_01",

"Land_hokej_stadion",

"Land_Ind_MalyKomin",

"Land_tav_Ind_Pec_03",

"Land_budova4_in_ori",

"Land_Kasarna_prujezd",

"Land_Church_01",

"Land_Dum_zboreny_total",

"Land_leseni2x",

"Land_sara_hasic_zbroj",

"Land_Rail_House_01",

"Land_Shed_Ind02",

"Land_Ind_Expedice_1",

"Land_Ind_Mlyn_01",

"Land_Ind_Mlyn_04",

"Land_Ind_Mlyn_02",

"Land_Ind_Mlyn_03",

"Land_sara_domek_podhradi_1",

"Land_HouseV2_02_Interier_dam",

"Land_A_TVTower_Base",

"Land_Tav_Panelak",

"Land_zachytka_nov",

"Land_Ind_Garage01",

"Land_leseni4x",

"Land_tav_Ind_Pec_02_mig",

"Land_Tovarna2",

"Land_Climbing_Obstacle",

"Land_Barn_Metal",

"Land_HouseV2_03_dam",

"Land_HouseV2_04_interier_dam",

"Land_Ind_SawMillPen",

"Land_tav_Ind_Pec_02_tanky",

"Land_ind_expedice_3",

"Land_domek05",

"Land_konecna",

"Land_fortified_nest_big",

"Land_Ind_Coltan_Main_EP1",

"Land_HouseV2_05",

"Land_Ind_Oil_Tower_EP1",

"Land_IndPipe1_stair_EP1",

"Land_Helfenburk_cimburi",

"Land_Helfenburk_budova2",

"Land_Helfenburk",

"Land_Helfenburk_brana",

"Land_Plot_istan1_rovny_gate",

"Land_Hotel",

"Land_Barn_W_01_dam",

"Land_Dum_zboreny",

"Land_Ind_Quarry",

"Land_HouseV2_03B_dam",

"Land_tav_hut_old02",

"Land_repair_center",

"Land_tav_Ind_SawMill",

"Land_domek_radnice",

"Land_Hotel_riviera2",

"Land_Hotel_riviera1",

"Land_Ind_SiloVelke_01",

"Land_IndPipe1_stair",

"Land_Nav_Boathouse",

"Land_bus_depo",

"Land_pbstade",

"Land_bufet",

"Land_pbstadrscore",

"Land_pbstadr",

"Land_ZalChata",

"Land_tav_bunker_b1",

"Land_HouseV_1L2",

"Land_HouseV_1I1",

"Land_Dum_mesto2l",

"Land_Kostel",

"land_nav_pier_c2",

"Land_Molo_drevo_bs",

"Land_tav_cargo_container",

"Land_podloubi_end_low_2",

"Land_podloubi_end_low_1",

"Land_dirthump02",

"Land_Pier_F",

"Land_x",

"Land_tav_cinzak_long_centr",

"Land_Banka",

"Land_autosalon",

"Land_nabrezi_1",

"Land_hotel_marcomio",

"Land_shopping_sab2",

"Land_big_church",

"Land_Molo_drevo_end",

"Land_ori_tmz_top",

"Land_ori_tmz_base",

"Land_ori_tmz_back",

"Land_tav_cernja_basnja",

"Land_Mil_Barracks_i",

"Land_Kostel_trosky",

"land_nav_pier_M_fuel",

"Land_Mil_Guardhouse"

];


//---Classname Building Positions here ---


waitUntil {!isNil "Building_registr"};

{

0 = Building_registr pushBack _x;

} 

forEach [


["Land_Majak",0,[0,1,2,3]],

["Land_Ss_hangar",2,[0,1,2,3,4,5,6,7,8,9]],

["Land_Mil_House",3,[0,1]],

["Land_Mil_ControlTower",2,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]],

["Land_telek1",1,[0,1,2]],

["Land_Ind_IlluminantTower",2,[0]],

["Land_Vysilac_FM",1,[0,1,2,3,4]],

["Land_Majak_podesta",1,[0,1,2,3,4,5,6,7,8,9]],

["Land_water_tank",1,[0,1,2,3,4]],

["Land_shopping_sab5",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66]],

["Land_hospoda",0,[0,1,2,3,4]],

["Land_rail_station_big",2,[0,1,2,3,4,5,6,7,8,9]],

["Land_Barn_W_02",1,[0,1,2,3]],

["Land_tav_houseblock_b1",0,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_Nasypka",0,[0,1,2,3,4]],

["Land_tav_houseblock_b4_in",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33]],

["Land_komin",0,[0,1,2,3,4]],

["Land_Ind_SawMill",0,[0,1,2,3,4,5]],

["Land_A_statue02",2,[0,1,2,3,4,5,6,7]],

["Land_Tav_Panelak3",1,[0,1,2,3,4,5,6,7]],

["Land_rails_bridge_40",2,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_Vez",0,[0,1,2]],

["Land_fortified_nest_small",0,[0,1,2]],

["Land_Misc_deerstand",1,[0,1,2,3]],

["Land_Kulna",0,[0]],

["Land_stodola_old_open",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]],

["Land_A_Castle_Stairs_A",0,[0,1,2,3,4,5]],

["Land_A_Castle_Bergfrit",0,[0,1]],

["Land_Misc_Cargo1Bo",1,[0,1,2,3]],

["Land_Hangar_2",1,[0,1,2,3,4,5,6,7]],

["Land_Misc_Cargo1Ao",2,[0,1,2,3]],

["Land_A_BuildingWIP",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60]],

["Land_A_CraneCon",2,[0,1,2,3]],

["Land_A_Crane_02a",0,[0,1,2,3,4,5,6,7]],

["land_nav_pier_c2_end",0,[0,1,2,3,4,5,6,7]],

["Land_A_Crane_02b",2,[0,1,2,3,4,5,6,7]],

["Land_tav_HouseBlock_D1_ex1",1,[0,1,2]],

["Land_Ind_Vysypka",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_Bulding_r",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63]],

["Land_HouseBlock_A3",1,[0,1]],

["Land_A_Pub_01",1,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_HouseBlock_A1",1,[0]],

["Land_Hlidac_budka",0,[0,1,2,3,4]],

["Land_garaz_mala",0,[0,1,2,3,4]],

["Land_dum_rasovna",1,[0,1,2,3,4,5,6]],

["Land_dum_mesto2",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]],

["Land_sara_Domek_sedy",1,[0,1,2,3,4,5,6,7]],

["Land_dum_mesto_in",0,[0,1,2,3,4,5,6,7,8]],

["Land_HouseV_1L1",1,[0,1,2]],

["Land_Barrack2",3,[0,1,2,3,4,5]],

["Land_Garaz_bez_tanku",2,[0,1,2,3,4,5,6,7,8,9]],

["Land_tav_guardhouse",3,[0,1,2,3,4,5,6,7,8,9]],

["Land_stodola_open",0,[0,1,2,3,4]],

["Land_Church_05R",1,[0,1,2,3,4,5,6,7,8,9,10,11]],

["Land_HouseV_1I4",0,[0,1]],

["Land_Farm_Cowshed_c",0,[0,1]],

["Land_Farm_Cowshed_b",0,[0]],

["Land_Farm_Cowshed_a",1,[0,1,2,3,4,5,6,7,8,9]],

["Land_GuardShed",2,[0]],

["Land_tav_HouseV_2L",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]],

["Land_deutshe_mini",1,[0,1,2,3,4,5,6,7,8,9]],

["Land_trafostanica_velka",0,[0,1,2,3,4,5,6,7]],

["Land_Dum_mesto3",0,[0,1,2,3,4,5,6,7,8,9,10,11]],

["Land_A_Castle_Wall1_20",1,[0,1]],

["Land_A_Castle_Gate",0,[0,1]],

["Land_HouseV2_03",0,[0,1,2,3,4]],

["Land_a_stationhouse",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]],

["Land_Church_03",1,[0,1,2,3,4,5,6,7]],

["Land_Domek_zluty_BEZ",0,[0,1,2,3,4,5,6,7,8,9]],

["Land_dirthump03",1,[0,1]],

["Land_Watertower1",1,[0,1,2,3,4,5,6]],

["Land_Molo_beton",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],

["Land_Misc_Scaffolding",0,[0,1,2,3,4,5]],

["Land_zachytka",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79]],

["Land_Tav_Panelak2",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13]],

["Land_Misc_PowerStation",2,[0,1,2]],

["Land_A_FuelStation_Shed",2,[0,1]],

["Land_A_FuelStation_Build",0,[0,1]],

["Land_HouseB_Tenement",0,[0,1,2,3,4,5,6,7]],

["Land_Ind_Stack_Big",1,[0,1,2,3,4,5,6,7]],

["Land_tav_Ind_Pec_02_v3s",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]],

["Land_A_GeneralStore_01",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]],

["Land_hokej_stadion",0,[0,1,2,3,4]],

["Land_Ind_MalyKomin",0,[0,1,2,3,4,5]],

["Land_tav_Ind_Pec_03",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]],

["Land_budova4_in_ori",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]],

["Land_Kasarna_prujezd",0,[0,1,2,3,4,5]],

["Land_Church_01",2,[0,1]],

["Land_Dum_zboreny_total",0,[0,1,2,3,4,5]],

["Land_leseni2x",1,[0,1,2]],

["Land_sara_hasic_zbroj",0,[0,1,2,3,4,5,6]],

["Land_Rail_House_01",0,[0,1,2]],

["Land_Shed_Ind02",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]],

["Land_Ind_Expedice_1",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],

["Land_Ind_Mlyn_01",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_Ind_Mlyn_04",1,[0,1,2]],

["Land_Ind_Mlyn_02",0,[0,1,2]],

["Land_Ind_Mlyn_03",1,[0,1,2,3,4,5,6,7]],

["Land_sara_domek_podhradi_1",0,[0,1,2,3]],

["Land_HouseV2_02_Interier_dam",1,[0,1,2,3,4,5,6,7]],

["Land_A_TVTower_Base",2,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_Tav_Panelak",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],

["Land_zachytka_nov",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79]],

["Land_Ind_Garage01",1,[0,1]],

["Land_leseni4x",0,[0,1,2,3,4,5,6,7]],

["Land_tav_Ind_Pec_02_mig",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]],

["Land_Tovarna2",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]],

["Land_Climbing_Obstacle",0,[0]],

["Land_Barn_Metal",0,[0,1,2,3,4,5,6,7,8,9,10,11]],

["Land_HouseV2_03_dam",1,[0,1,2,3,4]],

["Land_HouseV2_04_interier_dam",0,[0,1,2,3,4,5,6,7]],

["Land_Ind_SawMillPen",0,[0,1,2,3,4,5,6]],

["Land_tav_Ind_Pec_02_tanky",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]],

["Land_ind_expedice_3",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],["Land_domek05",0,[0,1,2,3,4,5]],

["Land_konecna",1,[0,1,2,3,4,5,6,7,8,9]],["Land_fortified_nest_big",0,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_Ind_Coltan_Main_EP1",0,[0,1,2,3,4,5,6,7]],["Land_HouseV2_05",0,[0,1]],

["Land_Ind_Oil_Tower_EP1",0,[0,1,2,3,4]],["Land_IndPipe1_stair_EP1",0,[0]],

["Land_Helfenburk_cimburi",0,[0,1,2]],["Land_Helfenburk_budova2",0,[0,1,2,3,4]],

["Land_Helfenburk",1,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_Helfenburk_brana",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],

["Land_Plot_istan1_rovny_gate",0,[0]],

["Land_Hotel",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98]],

["Land_Barn_W_01_dam",0,[0]],

["Land_Dum_zboreny",0,[0,1,2,3,4,5,6,7,8]],

["Land_Ind_Quarry",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],

["Land_HouseV2_03B_dam",0,[0,1,2]],

["Land_tav_hut_old02",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],

["Land_repair_center",0,[0,1,2,3]],

["Land_tav_Ind_SawMill",0,[0,1,2,3,4,5,6,7,8,9]],

["Land_domek_radnice",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]],

["Land_Hotel_riviera2",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]],

["Land_Hotel_riviera1",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]],

["Land_Ind_SiloVelke_01",1,[0,1,2,3,4,5,6,7]],

["Land_IndPipe1_stair",0,[0]],

["Land_Nav_Boathouse",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_bus_depo",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],

["Land_pbstade",1,[0,1,2]],

["Land_bufet",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13]],

["Land_pbstadrscore",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]],

["Land_pbstadr",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]],

["Land_ZalChata",0,[0,1,2]],

["Land_tav_bunker_b1",0,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_HouseV_1L2",1,[0,1,2]],

["Land_HouseV_1I1",0,[0]],

["Land_Dum_mesto2l",1,[0,1,2,3,4,5,6,7]],

["Land_Kostel",0,[0,1,2,3,4]],

["land_nav_pier_c2",0,[0,1,2,3,4,5,6,7]],

["Land_Molo_drevo_bs",1,[0,1,2,3,4]],

["Land_tav_cargo_container",0,[0,1,2,3]],

["Land_podloubi_end_low_2",0,[0]],

["Land_podloubi_end_low_1",1,[0]],

["Land_dirthump02",0,[0,1]],

["Land_Pier_F",2,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],

["Land_x",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98]],

["Land_tav_cinzak_long_centr",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]],

["Land_Banka",0,[0,1,2,3,4,5,6]],

["Land_autosalon",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]],

["Land_nabrezi_1",1,[0,1,2,3,4]],

["Land_hotel_marcomio",0,[0,1,2]],

["Land_shopping_sab2",1,[0,1,2,3,4,5,6,7,8,9,10,11]],

["Land_big_church",0,[0,1,2,3,4,5,6,7]],

["Land_Molo_drevo_end",0,[0,1,2]],

["Land_ori_tmz_top",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]],

["Land_ori_tmz_base",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98]],

["Land_ori_tmz_back",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98]],

["Land_tav_cernja_basnja",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]],

["Land_Mil_Barracks_i",3,[0,1,2,3,4,5,6,7,8]],

["Land_Kostel_trosky",0,[0,1,2,3,4,5,6]],

["land_nav_pier_M_fuel",3,[0,1,2]],

["Land_Mil_Guardhouse",3,[0,1,2]]

];

Australia[]

//----Add classnames Here ---


waitUntil {!isNil "Building_list"};

{

0 = Building_list pushBack _x;

} 

forEach [

"Land_Molo_beton",

"Land_Cargo_House_V1_F",

"Land_Cargo_Patrol_V1_F",

"Land_MilOffices_V1_F",

"Land_Pier_F",

"Land_i_Shed_Ind_F",

"Land_Misc_Cargo1Bo",

"Land_Misc_Cargo1Ao",

"Land_dp_bigTank_F",

"Land_Ind_Workshop01_01",

"Land_Ind_Expedice_3",

"Land_Ind_MalyKomin",

"Land_Ind_Workshop01_04",

"Land_Ind_Expedice_1",

"Land_A_Crane_02b",

"Land_A_Crane_02a",

"Land_Hangar_2",

"Land_Podesta_1_stairs4",

"Land_i_Barracks_V2_F",

"Land_Hut_old02",

"Land_HouseA",

"Land_HouseB1",

"Land_i_Stone_Shed_V1_F",

"Land_HouseB",

"Land_Hlidac_budka",

"Land_Budova4_in",

"Land_Ind_Workshop01_02",

"Land_Tovarna2",

"Land_Komin",

"Land_A_BuildingWIP",

"Land_Metal_Shed_F",

"Land_HouseC_R",

"Land_i_Stone_Shed_V2_F",

"Land_Ind_SawMillPen",

"Land_HouseA1",

"Land_Hotel",

"Land_Hut01",

"Land_Posed",

"Land_HouseC1_L",

"Land_Podesta_1_stairs2",

"Land_Nasypka",

"Land_Hut06",

"Land_Podesta_1_mid_cornp",

"Land_Dum_istan3_hromada2",

"Land_Hospital_main_F",

"Land_A_CraneCon",

"Land_Hospital_side2_F",

"Land_water_tank",

"Land_Hospital_side1_F",

"Land_A_BuildingWIP_EP1",

"Land_i_Stone_Shed_V3_F",

"Land_Coffee_DED_Coffee_03_F",

"Land_CarService_F",

"Land_Repair_center",

"Land_Unfinished_Building_01_F",

"Land_Hut04",

"Land_nav_pier_m_F",

"Land_2story",

"Land_ED4_Doughnut_Time_A3",

"Land_3story",

"Land_Kulna",

"Land_Offices_01_V1_F",

"Land_aus_hotel",

"Land_GH_Gazebo_F",

"Land_Pier_small_F",

"Land_Hangar_F",

"Land_Airport_Tower_F",

"Land_dp_mainFactory_F",

"Land_Factory_Main_F",

"Land_Ind_Stack_Big",

"Land_Ind_Quarry",

"Land_Crane_F",

"Land_Mil_Barracks_i_EP1",

"Land_Mil_ControlTower_EP1",

"Land_Mil_hangar_EP1",

"Land_Ind_Oil_Tower_EP1",

"Land_Ind_Coltan_Main_EP1",

"Land_Shed_Ind02",

"Land_Slum_House03_F",

"Land_Slum_House02_F",

"Land_Slum_House01_F",

"Land_cargo_house_slum_F",

"land_nav_pier_c_big",

"land_nav_pier_c_t20",

"Land_Army_hut_storrage",

"Land_Army_hut2_int",

"Land_Ss_hangar",

"Land_Cargo_HQ_V1_F",

"Land_Army_hut_int",

"Land_Medevac_HQ_V1_F",

"Land_Army_hut3_long_int",

"Land_Army_hut3_long",

"Land_Army_hut2",

"Land_Garaz_s_tankem",

"Land_spp_Tower_F",

"Land_Trafostanica_mala",

"Land_Ind_PowerStation_EP1",

"Land_Com_tower_ep1",

"Land_i_Barracks_V1_F",

"Land_Radar_F",

"Land_Ammostore2",

"Land_mobileradar",

"Land_LightHouse_F",

"Land_Ind_FuelStation_Build_EP1",

"Land_Ind_FuelStation_Shed_EP1",

"Land_Cargo_Tower_V3_F",

"Land_Cargo_HQ_V3_F",

"Land_Vysilac_FM2",

"Land_Ss_hangard",

"Land_Vysilac_FM",

"land_nav_pier_m_end",

"Land_nav_pier_m_2",

"Land_Coffee_DED_Coffee_01_F",

"land_nav_pier_M_fuel",

"Land_Barn_Metal",

"Land_WIP_F",

"Land_HouseA1_L",

"Land_Dum_istan3_pumpa",

"Land_Barrack2",

"Land_Airport_right_F",

"Land_Airport_left_F",

"Land_Cargo_Patrol_V3_F",

"Land_Cargo_House_V3_F",

"Land_Barrack2_EP1",

"Land_Hlaska",

"Land_Budova3",

"Land_Bouda2_vnitrek",

"Land_Barn_W_02",

"Land_Hut02",

"Land_Research_HQ_F",

"Land_Medevac_house_V1_F",

"Land_Vez_Silo",

"Land_Ind_Vysypka",

"Land_fortified_nest_small",

"Land_Ind_Workshop01_L",

"Land_Stadium_p9_F",

"Land_Stadium_p5_F",

"Land_Stadium_p4_F",

"Land_Leseni4x",

"Land_Leseni2x",

"Land_CraneBase",

"Land_Hotel_riviera2",

"Land_Hotel_riviera1",

"Land_HouseB1_L",

"Land_Plot_istan1_rovny_gate",

"Land_Nav_Boathouse",

"Land_FuelStation_Build_F",

"Land_u_Shed_Ind_F",

"Land_Ind_SawMill",

"Land_Fuelstation_army",

"Land_Garaz_bez_tanku",

"Land_Telek1",

"Land_Dirthump02_EP1",

"land_nav_pier_m_1",

"Land_Fuelstation",

"Land_Ind_Mlyn_03",

"Land_Ind_Mlyn_02",

"Land_Ind_Mlyn_04",

"Land_Ind_Mlyn_01",

"Land_A_TVTower_Base",

"Land_aus_stairs",

"Land_i_Addon_04_V1_F",

"Land_i_Addon_03mid_V1_F",

"Land_Unfinished_Building_02_F"

];


//---Classname Building Positions here ---


waitUntil {!isNil "Building_registr"};

{

0 = Building_registr pushBack _x;

} 

forEach [

["Land_Molo_beton",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],

["Land_Cargo_House_V1_F",0,[0]],

["Land_Cargo_Patrol_V1_F",1,[0,1]],

["Land_MilOffices_V1_F",3,[0,1,2,3,4,5,6,7,8]],

["Land_Pier_F",2,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],

["Land_i_Shed_Ind_F",2,[0,1,2,3,4,5,6,7,8,9]],

["Land_Misc_Cargo1Bo",1,[0,1,2,3]],

["Land_Misc_Cargo1Ao",2,[0,1,2,3]],

["Land_dp_bigTank_F",0,[0,1,2,3,4,5,6]],

["Land_Ind_Workshop01_01",2,[0,1]],

["Land_Ind_Expedice_3",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],

["Land_Ind_MalyKomin",0,[0,1,2,3,4,5]],

["Land_Ind_Workshop01_04",2,[0,1,2]],

["Land_Ind_Expedice_1",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],

["Land_A_Crane_02b",2,[0,1,2,3,4,5,6,7]],

["Land_A_Crane_02a",2,[0,1,2,3,4,5,6,7]],

["Land_Hangar_2",1,[0,1,2,3,4,5,6,7]],

["Land_Podesta_1_stairs4",0,[0]],

["Land_i_Barracks_V2_F",1,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49]],

["Land_Hut_old02",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],

["Land_HouseA",0,[0,1,2,3,4]],["Land_HouseB1",0,[0,1,2,3,4]],

["Land_i_Stone_Shed_V1_F",0,[0,1,2]],

["Land_HouseB",0,[0,1,2,3,4]],

["Land_Hlidac_budka",0,[0,1,2,3,4]],

["Land_Budova4_in",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],

["Land_Ind_Workshop01_02",2,[0,1]],

["Land_Tovarna2",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]],

["Land_Komin",0,[0,1,2,3,4]],

["Land_A_BuildingWIP",2,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60]],

["Land_Metal_Shed_F",0,[0,1,2,3,4,5,6]],

["Land_HouseC_R",0,[0,1,2,3,4]],

["Land_i_Stone_Shed_V2_F",2,[0,1,2]],

["Land_Ind_SawMillPen",0,[0,1,2,3,4,5,6]],

["Land_HouseA1",0,[0,1,2,3,4]],

["Land_Hotel",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265]],

["Land_Hut01",0,[0,1,2,3,4,5]],

["Land_Posed",0,[0,1]],

["Land_HouseC1_L",0,[0,1,2,3,4]],

["Land_Podesta_1_stairs2",0,[0,1,2]],

["Land_Nasypka",0,[0,1,2,3,4]],

["Land_Hut06",0,[0,1,2]],

["Land_Podesta_1_mid_cornp",0,[0,1,2,3,4,5]],

["Land_Dum_istan3_hromada2",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_Hospital_main_F",3,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_A_CraneCon",2,[0,1,2,3]],["Land_Hospital_side2_F",0,[0,1,2,3,4,5,6]],

["Land_water_tank",0,[0,1,2,3,4]],["Land_Hospital_side1_F",0,[0,1,2,3,4,5]],

["Land_A_BuildingWIP_EP1",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60]],

["Land_i_Stone_Shed_V3_F",0,[0,1,2]],

["Land_Coffee_DED_Coffee_03_F",0,[0,1,2,3,4,5]],

["Land_CarService_F",0,[0,1,2,3,4,5,6]],

["Land_Repair_center",2,[0,1,2,3]],

["Land_Unfinished_Building_01_F",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_Hut04",0,[0,1,2,3,4,5,6,7,8,9]],

["Land_nav_pier_m_F",2,[0,1,2]],

["Land_2story",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],

["Land_ED4_Doughnut_Time_A3",0,[0,1,2,3,4,5]],

["Land_3story",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13]],

["Land_Kulna",0,[0]],

["Land_Offices_01_V1_F",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]],

["Land_aus_hotel",0,[0,1,2,3,4,5,6,7]],

["Land_GH_Gazebo_F",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_Pier_small_F",0,[0,1,2,3,4]],

["Land_Hangar_F",1,[0,1,2,3,4,5,6,7,8,9]],

["Land_Airport_Tower_F",3,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],

["Land_dp_mainFactory_F",2,[0,1,2]],

["Land_Factory_Main_F",2,[0,1,2,3,4,5,6,7]],

["Land_Ind_Stack_Big",3,[0,1,2,3,4,5,6,7]],

["Land_Ind_Quarry",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]],

["Land_Crane_F",0,[0,1,2,3]],

["Land_Mil_Barracks_i_EP1",1,[0,1,2,3,4,5,6,7,8]],

["Land_Mil_ControlTower_EP1",3,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]],

["Land_Mil_hangar_EP1",1,[0,1,2,3,4,5,6,7,8,9]],

["Land_Ind_Oil_Tower_EP1",2,[0,1,2,3,4]],

["Land_Ind_Coltan_Main_EP1",0,[0,1,2,3,4,5,6,7]],

["Land_Shed_Ind02",2,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]],

["Land_Slum_House03_F",0,[0,1,2]],

["Land_Slum_House02_F",0,[0,1,2]],

["Land_Slum_House01_F",0,[0,1]],

["Land_cargo_house_slum_F",0,[0,1]],

["land_nav_pier_c_big",2,[0,1,2,3,4,5,6,7,8]],

["land_nav_pier_c_t20",0,[0,1]],

["Land_Army_hut_storrage",3,[0,1,2]],

["Land_Army_hut2_int",2,[0,1]],

["Land_Ss_hangar",3,[0,1,2,3,4,5,6,7,8,9]],

["Land_Cargo_HQ_V1_F",1,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_Army_hut_int",1,[0,1,2,3,4,5]],

["Land_Medevac_HQ_V1_F",2,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_Army_hut3_long_int",1,[0,1]],

["Land_Army_hut3_long",1,[0,1]],

["Land_Army_hut2",3,[0,1,2,3,4,5]],

["Land_Garaz_s_tankem",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]],

["Land_spp_Tower_F",2,[0,1,2,3,4,5,6,7]],

["Land_Trafostanica_mala",0,[0,1,2,3,4,5,6,7]],

["Land_Ind_PowerStation_EP1",2,[0,1,2]],

["Land_Com_tower_ep1",2,[0,1,2]],

["Land_i_Barracks_V1_F",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49]],

["Land_Radar_F",3,[0,1,2,3,4,5,6,7,8,9]],

["Land_Ammostore2",3,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_mobileradar",1,[0,1,2]],

["Land_LightHouse_F",2,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_Ind_FuelStation_Build_EP1",2,[0,1]],

["Land_Ind_FuelStation_Shed_EP1",2,[0,1]],

["Land_Cargo_Tower_V3_F",3,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],

["Land_Cargo_HQ_V3_F",2,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_Vysilac_FM2",0,[0,1,2,3,4]],

["Land_Ss_hangard",0,[0,1,2,3,4,5,6,7,8,9]],

["Land_Vysilac_FM",0,[0,1,2,3,4]],

["land_nav_pier_m_end",0,[0,1,2,3,4,5]],

["Land_nav_pier_m_2",0,[0,1,2]],

["Land_Coffee_DED_Coffee_01_F",0,[0,1,2,3,4,5]],["land_nav_pier_M_fuel",0,[0,1,2]],

["Land_Barn_Metal",0,[0,1,2,3,4,5,6,7,8,9,10,11]],

["Land_WIP_F",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60]],

["Land_HouseA1_L",0,[0,1,2,3,4]],

["Land_Dum_istan3_pumpa",0,[0,1,2,3,4,5]],

["Land_Barrack2",1,[0,1,2,3,4,5]],

["Land_Airport_right_F",2,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]],

["Land_Airport_left_F",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]],

["Land_Cargo_Patrol_V3_F",1,[0,1]],

["Land_Cargo_House_V3_F",0,[0]],

["Land_Barrack2_EP1",0,[0,1,2,3,4,5]],

["Land_Hlaska",0,[0,1,2,3,4,5]],

["Land_Budova3",0,[0,1,2,3,4,5,6]],

["Land_Bouda2_vnitrek",0,[0,1,2]],

["Land_Barn_W_02",0,[0,1,2,3]],

["Land_Hut02",0,[0,1,2]],

["Land_Research_HQ_F",3,[0,1,2,3,4,5,6,7,8]],

["Land_Medevac_house_V1_F",0,[0]],

["Land_Vez_Silo",0,[0]],

["Land_Ind_Vysypka",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_fortified_nest_small",0,[0,1,2]],

["Land_Ind_Workshop01_L",0,[0,1,2]],

["Land_Stadium_p9_F",0,[0,1,2,3,4,5,6,7,8,9,10,11]],

["Land_Stadium_p5_F",2,[0,1,2,3,4,5]],

["Land_Stadium_p4_F",0,[0,1,2,3,4,5]],

["Land_Leseni4x",0,[0,1,2,3,4,5,6,7]],

["Land_Leseni2x",0,[0,1,2]],

["Land_CraneBase",2,[0]],

["Land_Hotel_riviera2",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]],

["Land_Hotel_riviera1",0,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]],

["Land_HouseB1_L",0,[0,1,2,3,4]],

["Land_Plot_istan1_rovny_gate",0,[0]],

["Land_Nav_Boathouse",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_FuelStation_Build_F",2,[0,1]],

["Land_u_Shed_Ind_F",2,[0,1,2,3,4,5,6,7,8,9]],

["Land_Ind_SawMill",2,[0,1,2,3,4,5]],

["Land_Fuelstation_army",1,[0]],

["Land_Garaz_bez_tanku",0,[0,1,2,3,4,5,6,7,8,9]],

["Land_Telek1",0,[0,1,2]],

["Land_Dirthump02_EP1",0,[0,1]],

["land_nav_pier_m_1",0,[0,1,2]],

["Land_Fuelstation",2,[0]],

["Land_Ind_Mlyn_03",0,[0,1,2,3,4,5,6,7]],

["Land_Ind_Mlyn_02",0,[0,1,2]],

["Land_Ind_Mlyn_04",0,[0,1,2]],

["Land_Ind_Mlyn_01",0,[0,1,2,3,4,5,6,7,8,9,10]],

["Land_A_TVTower_Base",2,[0,1,2,3,4,5,6,7,8,9,10,11,12]],

["Land_aus_stairs",0,[0]],

["Land_i_Addon_04_V1_F",0,[0,1,2,3,4]],

["Land_i_Addon_03mid_V1_F",0,[0,1,2]],

["Land_Unfinished_Building_02_F",0,[0,1,2,3,4,5,6,7]]


];

Custom time acceleration for day/night time []

Ravage time scale is 4 by default.

Make sure "time acceleration" in Ravage Settings module is setted to 0.

-Create a .txt file in the main mission folder where the init.sqf is and name it time_cycle.sqf

-Use (!isServer) for singleplayer and (isDedicated) for multiplayer missions.

-Use >= for approximate time or > for precise time change.

-Use sleep for singleplayer and uiSleep for multiplayer missions.

if (!isServer) exitWith {};
while {true} do
{
    if (daytime >= 17.40 || daytime < 6) then
    {
        setTimeMultiplier 12 //for night time
    }
    else
    {
        setTimeMultiplier 4 //for day time
    };
    sleep 120;
};

Map center positions: (for various terrains)[]

-For various uses (more will be added in the future).

["altis",[15834.2,15787.8,0], 
["australia",[21966.2,22728.5,0], 
["bootcamp_acr",[1938.24,1884.16,0],
["caribou",[3938.9722,4195.7417,0], 
["chernarus",[7652.9634,7870.8076,0],
["chernarus_summer",[6669.88,9251.68,0],
["desert_e",[1034.26,1022.18,0], 
["esseker",[6206.94,5920.05,0], 
["fallujah",[5139.8008,4092.6797,0], 
["fdf_isle1_a",[10771.362,8389.2568,0]
["intro",[2914.44,2771.61,0], 
["isladuala",[4945.3438,4919.6616,0], 
["lingor",[5166.5581,5108.8301,0], 
["mbg_celle2",[6163.52,6220.3984,0]
["mountains_acr",[3223.09,3242.13,0], 
["namalsk",[5880.1313,8889.1045], 
["napf",[10725.096,9339.918], 
["oring",[5191.1069,5409.1938]
["panthera2",[5343.6953,4366.2534,0], 
["porto",[2641.45,2479.77,0], 
["sara",[12693.104,11544.386,0], 
["saralite",[5357.5,5000.67,0],
["sara_dbe1",[11995.3,11717.9,0], 
["sauerland",[12270.443,13632.132], 
["smd_sahrani_a2",[12693.104,11544.386], 
["stratis",[3937.6,4774.51,0],
["takistan",[6368.2764,6624.2744,0], 
["tavi",[10887.825,11084.657,0], 
["trinity",[7183.8403,7067.4727,0], 
["utes",[3519.8037, 3703.0649,0], 
["woodland_acr",[3884.41,3896.44,0], 
["zargabad",[3917.6201,3800.0376,0],
["Tanoa",[7680,7680,0]

An easier and universal way is to use this line, which finds the coords of the center of the current map:

_mapcenter = [worldSize / 2, worldSize / 2, 0];

Advertisement