admiral\admiral.h qhi description.ext ۱&d hull3\briefing\blufor.sqf S&d6 hull3\briefing\civilian.sqf qn^ hull3\briefing\indfor.sqf qn^ hull3\briefing\opfor.sqf qn^ hull3\hull3.h qn^ hull3\LICENSE qn^8 hull3\RACS_P_G.h LjeD! hull3\RACS_P_U.h qhc init.sqf qn^ initPlayerLocal.sqf (NjeZ initServer.sqf qn^ mission.sqm qh8 plank.h &dj zone_spawned_unit.sqf qn^ class Admiral {
isEnabled = 1;
isBehaviorEnabled = 0;
groupSpawnDelay = 2;
class Events {
zone_spawned_unit = "zone_spawned_unit.sqf";
};
sideRelations[] = {
{"west", "resistance", "enemy"},
{"resistance", "west", "enemy"}
};
class ZoneTemplates {
class Camp {
infFireteamSize = 1;
infWaypointAmount = 4;
techWaypointAmount = 3;
armourWaypointAmount = 3;
waypointBehaviours[] = {"AWARE"};
canSpawnFfvCrew = 0;
aimingAccuracy = 0.2;
aimingShake = 0.2;
aimingSpeed = 0.5;
spotDistance = 0.65;
spotTime = 1;
courage = 1;
reloadSpeed = 1;
commanding = 1;
general = 0.7;
};
};
class Camp {
defaultUnitTemplate = "WB_SLA";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "WB_SLA";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "WB_SLA";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class WB_SLA {
side = "east";
infantry[] = {"wb_sla_army_squadleader_mpikm72_p2a1_wdl", "wb_sla_army_reserve_mpikm72_wdl", "wb_sla_army_radioman_mpikm72_wdl", "wb_sla_army_rifleman_mpikm72_wdl", "wb_sla_army_antitank_mpikm72_rpg7_wdl", "wb_sla_army_machinegunner_hmgpkm_wdl", "wb_sla_army_machinegunner_rpk_wdl", "wb_sla_army_marksman_svd_wdl", "wb_sla_army_medic_mpikm72_wdl", "wb_sla_army_machinegunner_assistant_mpikm72_rpk_wdl", "wb_sla_army_antitank_assistant_mpikm72_rpg7_wdl", "wb_sla_army_machinegunner_assistant_mpikm72_pkm_wdl"};
crewmen[] = {"wb_sla_army_crew_mpikm72_wdl"};
pilots[] = {"wb_sla_airforce_pilot_pm_wdl"};
technicals[] = {"wb_sla_army_brdm2_oli", "wb_sla_army_btr60pb_oli", "wb_sla_army_uaz469_dshkm_oli", "wb_sla_army_uaz469_spg9_oli"};
armour[] = {"wb_sla_army_pt76b_oli", "wb_sla_army_t55_oli", "wb_sla_army_t55a_oli", "wb_sla_army_t55ak_oli"};
th[] = {"CUP_O_Mi8_SLA_1"};
ah[] = {"CUP_O_Mi24_D_SLA"};
};
};
};
#include "admiral\admiral.h"
#include "hull3\hull3.h"
#include "plank.h"
allowProfileGlasses = 0;
enableDebugConsole = 1;
disableChannels[]={{2,true,true},{4,true,true},{6,true,true}};
onLoadName = "diplomatic immunity";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 35;
};
respawn = 0;
respawndelay = 3;
respawnTemplates[] = {"Hull3_RespawnHandler"};
class Params {
class Hull3_Date {
title = "Moon Phase";
values[] = {0,1};
texts[] = {"New Moon", "Full Moon"};
default = 1;
code = "hull3_mission_date = %1";
};
class Hull3_TimeOfDay {
title = "Time of Day";
values[] = {0,1,2,3,4,5,6,7};
texts[] = {"Dawn", "Early Morning", "Morning", "Noon", "Afternoon", "Evening", "Dusk", "Night"};
default = 7;
code = "hull3_mission_timeOfDay = %1";
};
class Hull3_Fog {
title = "Fog";
values[] = {0,1,2};
texts[] = {"None", "Light", "Heavy"};
default = 0;
code = "hull3_mission_fog = %1";
};
class Hull3_Weather {
title = "Weather";
values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12};
texts[] = {"Random", "Clear (Calm)", "Clear (Light Winds)", "Clear (Strong Winds)", "Overcast (Calm)", "Overcast (Light Winds)", "Overcast (Strong Winds)", "Rain (Light Winds)", "Rain (Strong Winds)", "Rain (Storm)", "Snow (Light Winds)", "Snow (Strong Winds)", "Snow (Storm)"};
default = 5;
code = "hull3_mission_weather = %1";
};
class Hull3_SafetyTimer {
title = "Safety Timer";
values[] = {9999,0};
texts[] = {"On", "Off"};
default = 9999;
code = "hull3_mission_safetyTimerEnd = %1";
};
};
class CfgDebriefingSections {
class acex_killTracker {
title = "Acex Killed Events";
variable = "acex_killTracker_outputText";
};
};// BLUFOR Notes
// Situation
player createDiaryRecord ["Diary", ["Situation","
Our Embassy in Northern Sahrani has come under siege by Communist SLA forces intent on capturing it and us. The last of the Embassy staff including the Ambassador were extracted just before the declaration of hostilities was announced.
Our DPS detachment remained behind to destroy the remaining documents and now await extraction.
ENEMY FORCES
Northern Communist SLA troops. Expect them to hit us with everything they've got.
FRIENDLY FORCES
Extraction helicopters are fuelling up currently but it will be some time until they can extract us.
"]];
// Mission
player createDiaryRecord ["Diary", ["Mission","
Defend the Embassy until extraction arrives.
Ensure the remaining secret documents and computer tape are extracted from the Intel Bungalow safes.
Rig provided plastic explosive charges from the Intel Bungalow on the computer banks and transmission towers, destroy these on extraction.
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
Dig in and hold. The steep cliff face to the west means approach from the direction is unlikely.
FORTIFICATION PLAN
Ammunition has has been prepared in the ammo dump.
Once the shooting starts remain within the indicated perimeter until extract.
Plank ammo boxes can be placed by command level leaders as well as AT riflemen and weapon attachments. Weapon attachment boxes can be used as static weapon resupply as required.
EXTRACT
Extract via the two UH-60L transports whilst the AH-6J gunships provide cover.
Charges must be rigged and detonated once we begin our extract.
"]];
// Credits
player createDiaryRecord ["Diary", ["Credits", "
Made by dancemoox
"]];
// CIVFOR Notes
// Situation
player createDiaryRecord ["Diary", ["Situation","
*** Insert general information about the situation here.***
ENEMY FORCES
*** Insert information about enemy forces here.***
FRIENDLY FORCES
*** Insert information about friendly forces here.***
"]];
// Mission
player createDiaryRecord ["Diary", ["Mission","
*** Insert the mission here. ***
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
*** Insert very short summary of plan here. ***
MOVEMENT PLAN
*** Insert movement instructions here. ***
FIRE SUPPORT PLAN
*** Insert fire support instructions here. ***
SPECIAL TASKS
*** Insert instructions for specific units here. ***
"]];
// Administration
player createDiaryRecord ["Diary", ["Administration","
*** Insert information on administration and logistics here. ***
"]];
// Credits
player createDiaryRecord ["Diary", ["Credits", "
Made by
"]];
// INDFOR Notes
// Situation
player createDiaryRecord ["Diary", ["Situation","
*** Insert general information about the situation here.***
ENEMY FORCES
*** Insert information about enemy forces here.***
FRIENDLY FORCES
*** Insert information about friendly forces here.***
"]];
// Mission
player createDiaryRecord ["Diary", ["Mission","
*** Insert the mission here. ***
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
*** Insert very short summary of plan here. ***
MOVEMENT PLAN
*** Insert movement instructions here. ***
FIRE SUPPORT PLAN
*** Insert fire support instructions here. ***
SPECIAL TASKS
*** Insert instructions for specific units here. ***
"]];
// Administration
player createDiaryRecord ["Diary", ["Administration","
*** Insert information on administration and logistics here. ***
"]];
// Credits
player createDiaryRecord ["Diary", ["Credits", "
Made by
"]];
// OPFOR Notes
// Situation
player createDiaryRecord ["Diary", ["Situation","
*** Insert general information about the situation here.***
ENEMY FORCES
*** Insert information about enemy forces here.***
FRIENDLY FORCES
*** Insert information about friendly forces here.***
"]];
// Mission
player createDiaryRecord ["Diary", ["Mission","
*** Insert the mission here. ***
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
*** Insert very short summary of plan here. ***
MOVEMENT PLAN
*** Insert movement instructions here. ***
FIRE SUPPORT PLAN
*** Insert fire support instructions here. ***
SPECIAL TASKS
*** Insert instructions for specific units here. ***
"]];
// Administration
player createDiaryRecord ["Diary", ["Administration","
*** Insert information on administration and logistics here. ***
"]];
// Credits
player createDiaryRecord ["Diary", ["Credits", "
Made by
"]];
class Hull3 {
isEnabled = 1;
class MissionParams {
date[] = {
{2035, 24, 11},
{2035, 24, 11}
};
time[] = {
{5, 15},
{5, 50},
{9, 0},
{12, 0},
{15, 0},
{17, 50},
{18, 50},
{0, 0}
};
};
class Briefing {
blufor = "hull3\briefing\blufor.sqf";
opfor = "hull3\briefing\opfor.sqf";
indfor = "hull3\briefing\indfor.sqf";
civilian = "hull3\briefing\civilian.sqf";
};
class Faction {
class CUP_RACS_URB {
gear = "RACS_P_G";
uniform = "RACS_P_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "RACS_P_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "RACS_P_U.h"
unitBaseClass = "Rifleman";
};
};The MIT License (MIT)
Copyright (c) 2014 László Major
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.class RACS_P_G {
class Rifleman {
primaryWeapon = "gm_g3a3_blk";
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"gm_handgrenade_frag_dm51", 2},
{"ACE_HandFlare_White", 1},
{"ACE_HandFlare_Red", 1},
{"gm_smokeshell_wht_dm25", 1}
};
vestMagazines[] = {
{"gm_20Rnd_762x51mm_B_DM41_g3_blk", 6},
{"gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 1}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm51", 1},
{"gm_smokeshell_wht_dm25", 1},
{"gm_20Rnd_762x51mm_B_DM41_g3_blk", 5},
{"gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 2},
{"gm_1rnd_67mm_heat_dm22a1_g3", 1}
};
basicAssignItems[] = {"ItemMap", "ItemCompass", "gm_watch_kosei_80"};
assignItems[] = {};
binocular = "";
uniformItems[] = {
{"ACE_Flashlight_MX991", 1},
{"ACE_wirecutter", 1},
{"ACE_EntrenchingTool", 1}
};
vestItems[] = {};
backpackItems[] = {};
uniformRadios[] = {"ACRE_PRC343"};
vestRadios[] = {};
backpackRadios[] = {};
uniformMedicalItems[] = {
{"ACE_fieldDressing", 10},
{"ACE_tourniquet", 2}
};
vestMedicalItems[] = {};
backpackMedicalItems[] = {};
code = "";
headGear = "";
uniform = "";
goggles = "";
vest = "";
backpack = "";
};
class Leader : Rifleman {
primaryWeapon = "gm_mpm85_blk";
primaryWeaponItems[] = {};
handgunWeapon = "gm_p2a1_blk";
vestMagazines[] = {
{"gm_30Rnd_556x45mm_B_DM11_hk33_blk", 4},
{"gm_30Rnd_556x45mm_B_T_DM21_hk33_blk", 4}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm51", 1},
{"gm_smokeshell_wht_dm25", 1},
{"gm_30Rnd_556x45mm_B_DM11_hk33_blk", 6},
{"gm_30Rnd_556x45mm_B_T_DM21_hk33_blk", 3},
{"gm_1Rnd_265mm_flare_single_wht_DM15", 5},
{"gm_1Rnd_265mm_flare_single_red_DM13", 5},
{"gm_1Rnd_265mm_flare_multi_wht_DM25", 1},
{"gm_1Rnd_265mm_flare_multi_red_DM23", 1}
};
assignItems[] = {};
binocular = "gm_ferod16_oli";
};
class Officer : Leader {
assignItems[] = {};
binocular = "gm_ferod16_oli";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
primaryWeapon = "CUP_smg_MP5A5";
primaryWeaponItems[] = {"CUP_muzzle_fh_MP5", "CUP_acc_Flashlight_MP5"};
uniformMagazines[] = {
{"CUP_30Rnd_9x19_MP5", 4},
{"CUP_30Rnd_Red_Tracer_9x19_MP5", 1}
};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"gm_32Rnd_9x19mm_B_DM51_mp2_blk", 4}};
backpackMagazines[] = {};
assignItems[] = {};
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
primaryWeapon = "gm_mpm85_blk";
primaryWeaponItems[] = {};
vestMagazines[] = {
{"gm_30Rnd_556x45mm_B_DM11_hk33_blk", 4},
{"gm_30Rnd_556x45mm_B_T_DM21_hk33_blk", 4},
{"gm_smokeshell_wht_dm25", 4}
};
backpackMagazines[] = {{"gm_30Rnd_556x45mm_B_T_DM21_hk33_blk", 4}};
assignItems[] = {};
binocular = "gm_ferod16_oli";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
backpackMedicalItems[] = {
{"ACE_fieldDressing", 30},
{"ACE_morphine", 30},
{"ACE_epinephrine", 30},
{"ACE_bloodIV_500", 24},
{"ACE_splint", 4}
};
};
class FTL : Rifleman {
binocular = "gm_ferod16_oli";
};
class AR : Rifleman {
primaryWeapon = "gm_mg8a2_blk";
vestMagazines[] = {{"gm_100Rnd_762x51mm_B_T_DM21_mg8_oli", 2}};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm51", 1},
{"gm_smokeshell_wht_dm25", 1},
{"gm_100Rnd_762x51mm_B_T_DM21_mg8_oli", 4}
};
};
class AAR : Rifleman {
primaryWeapon = "gm_g3a4_blk";
backpackMagazines[] = {
{"gm_handgrenade_frag_dm51", 1},
{"gm_smokeshell_wht_dm25", 1},
{"gm_100Rnd_762x51mm_B_T_DM21_mg8_oli", 4}
};
binocular = "gm_ferod16_oli";
};
class RAT : Rifleman {
primaryWeapon = "gm_g3a4_blk";
secondaryWeapon = "CUP_launch_MAAWS";
secondaryWeaponItems[] = {"CUP_optic_MAAWS_Scope", "CUP_MAAWS_HEAT_M"};
vestMagazines[] = {
{"gm_20Rnd_762x51mm_B_DM41_g3_blk", 5},
{"gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm51", 1},
{"gm_smokeshell_wht_dm25", 1},
{"gm_20Rnd_762x51mm_B_DM41_g3_blk", 2},
{"CUP_MAAWS_HEAT_M", 2},
{"CUP_MAAWS_HEDP_M", 1}
};
};
class HMGG : Rifleman {
primaryWeapon = "gm_g3a4_oli";
secondaryWeapon = "CUP_m2_carry";
backpackMagazines[] = {{"ace_csw_100Rnd_127x99_mag_red", 1}};
};
class HMGAG : HMGG {
primaryWeapon = "gm_g3a4_blk";
secondaryWeapon = "ace_csw_m3CarryTripod";
backpackMagazines[] = {{"ace_csw_100Rnd_127x99_mag_red", 1}};
binocular = "gm_ferod16_oli";
};
class HMGAC : Rifleman {
primaryWeapon = "gm_g3a4_oli";
backpackMagazines[] = {{"ace_csw_100Rnd_127x99_mag_red", 4}};
};
class SN : Rifleman {
primaryWeapon = "gm_msg90a1_blk";
handgunWeapon = "gm_p1_blk";
primaryWeaponItems[] = {"gm_suppressor_atec150_762mm_long_blk"};
vestMagazines[] = {
{"gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 4},
{"gm_8Rnd_9x19mm_B_DM51_p1_blk", 3}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm51", 1},
{"gm_smokeshell_wht_dm25", 1},
{"gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 3}
};
assignItems[] = {};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class SP : Rifleman {
binocular = "gm_ferod16_oli";
vestMagazines[] = {
{"gm_20Rnd_762x51mm_B_DM41_g3_blk", 4},
{"gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 2}
};
};
class P : Crew {
};
class PCM : P {
};
class Vehicle {
weapons[] = {
{"gm_fim43_oli", 1},
{"CUP_launch_M72A6", 15}
};
magazines[] = {
{"gm_30Rnd_556x45mm_B_DM11_hk33_blk", 100},
{"gm_30Rnd_556x45mm_B_T_DM21_hk33_blk", 50},
{"gm_20Rnd_762x51mm_B_DM41_g3_blk", 100},
{"gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 50},
{"gm_100Rnd_762x51mm_B_T_DM21_mg8_oli", 150},
{"gm_1rnd_67mm_heat_dm22a1_g3", 10},
{"gm_1Rnd_265mm_flare_single_wht_DM15", 25},
{"gm_1Rnd_265mm_flare_single_red_DM13", 25},
{"gm_1Rnd_265mm_flare_multi_wht_DM25", 25},
{"gm_1Rnd_265mm_flare_multi_red_DM23", 25},
{"ACE_HandFlare_White", 25},
{"ACE_HandFlare_Red", 25},
{"gm_handgrenade_frag_dm51", 25},
{"gm_smokeshell_wht_dm25", 25},
{"gm_smokeshell_red_dm23", 25},
{"gm_1Rnd_70mm_he_m585_fim43", 1},
{"CUP_MAAWS_HEAT_M", 10},
{"CUP_MAAWS_HEDP_M", 5}
};
items[] = {};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
class Safe {
items[] = {
{"gm_computer_magnettape", 1},
{"FilesSecret", 1},
{"DocumentsSecret", 1}
};
};
class Explosives {
magazines[] = {{"gm_explosive_petn_charge", 10}};
items[] = {
{"ACE_Clacker", 2},
{"ACE_DefusalKit", 2}
};
};
};
class RACS_P_U {
class Rifleman {
headGear = "wb_south_policia_headgear_m38_72_blu";
goggles = "";
uniform = "wb_royal_guard_uniform_soldier_blugry";
vest = "gm_ge_army_vest_80_rifleman_ARM";
backpack = "ark_backpack_med";
insignia = "";
};
class Leader : Rifleman {
vest = "gm_ge_army_vest_80_leader_smg_ARM";
};
class Officer : Leader {
headGear = "wb_south_policia_beret_officer_blu";
};
class Crew : Rifleman {
headGear = "gm_ge_headgear_sph4_oli";
vest = "gm_ge_army_vest_80_crew_ARM";
backpack = "ark_backpack_small";
};
class CO : Officer {
};
class XO : CO {
headGear = "wb_south_policia_cap_blu";
};
class SL : Officer {
};
class Medic : Rifleman {
goggles = "CUP_G_TK_RoundGlasses_blk";
vest = "gm_ge_army_vest_80_medic_ARM";
backpack = "ark_backpack_large";
};
class FTL : Leader {
};
class AR : Rifleman {
vest = "gm_ge_army_vest_80_machinegunner_ARM";
};
class AAR : Rifleman {
};
class RAT : Rifleman {
vest = "gm_ge_army_vest_80_demolition_ARM";
};
class HMGG : Rifleman {
vest = "gm_ge_army_vest_80_demolition_ARM";
};
class HMGAG : AAR {
};
class HMGAC : AAR {
};
class SN : Rifleman {
headGear = "wb_south_policia_beret_officer_blu";
backpack = "ark_backpack_small";
};
class SP : SN {
};
class P : Crew {
};
class PCM : P {
};
};
ark_fnc_plank_assignFortifications = {
private _unit = _this select 0;
private _gearClass = _unit getVariable "hull3_gear_class";
if (isNil {_unit getVariable "plank_areFortsAssigned"}) then {
call {
if (_gearClass in ["CO", "XO", "SL"]) exitWith {[_unit, [1, 0, 4, 0, 2, 0, 0, 0, 0, 1]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["FTL"]) exitWith {[_unit, [0, 0, 4, 0, 2, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["HMGAG", "HMGG"]) exitWith {[_unit, [0, 0, 4, 2, 2, 1, 0, 2, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Medic", "AR", "AAR", "Rifleman", "SP", "HMGAC"]) exitWith {[_unit, [0, 0, 4, 0, 2, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["SN"]) exitWith {[_unit, [0, 0, 4, 0, 2, 0, 0, 0, 1, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["RAT"]) exitWith {[_unit, [0, 0, 4, 0, 2, 0, 1, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
};
_unit setVariable ["plank_areFortsAssigned", true, true];
};
};
ark_fnc_plank_fill_HMG = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_weapons"];
_weapons = [
["CUP_m2_carry", 1],
["ace_csw_m3CarryTripod", 1],
["ace_csw_m3CarryTripodLow", 1]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addWeaponCargoGlobal _x;} foreach _weapons;
_box call ark_fnc_plank_setBoxColour_t3;
};
ark_fnc_plank_fill_AT_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["CUP_MAAWS_HEAT_M", 50],
["CUP_MAAWS_HEDP_M", 25]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
_box call ark_fnc_plank_setBoxColour_t4;
};
ark_fnc_plank_fill_HMG_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["ace_csw_100Rnd_127x99_mag_red", 150]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
_box call ark_fnc_plank_setBoxColour_t2;
};
ark_fnc_plank_fill_SN_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 50],
["gm_8Rnd_9x19mm_B_DM51_p1_blk", 25]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
_box call ark_fnc_plank_setBoxColour_t4;
};
ark_fnc_plank_fill_Ammo = {
private _box = _this select 1;
private ["_magazines", "_weapons", "_items"];
_magazines = [
["gm_30Rnd_556x45mm_B_DM11_hk33_blk", 100],
["gm_30Rnd_556x45mm_B_T_DM21_hk33_blk", 50],
["gm_20Rnd_762x51mm_B_DM111_g3_blk", 100],
["gm_20Rnd_762x51mm_B_T_DM21_g3_blk", 50],
["gm_1rnd_67mm_heat_dm22a1_g3", 10],
["gm_100Rnd_762x51mm_B_T_DM21_mg8_oli", 150],
["gm_1Rnd_265mm_flare_single_wht_DM15", 25],
["gm_1Rnd_265mm_flare_single_red_DM13", 25],
["gm_1Rnd_265mm_flare_multi_wht_DM25", 25],
["gm_1Rnd_265mm_flare_multi_red_DM23", 25],
["gm_handgrenade_frag_dm51", 25],
["gm_smokeshell_wht_dm25", 25],
["gm_smokeshell_red_dm23", 25],
["ACE_HandFlare_White", 25],
["ACE_HandFlare_Red", 25],
["gm_1Rnd_70mm_he_m585_fim43", 1]
];
_weapons = [
["gm_fim43_oli", 1],
["CUP_launch_M72A6", 25]
];
_items = [
["ACE_fieldDressing", 150]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
{_box addWeaponCargoGlobal _x;} foreach _weapons;
{_box addItemCargoGlobal _x;} foreach _items;
_box call ark_fnc_plank_setBoxColour_t3;
};
ark_fnc_plank_setBoxColour_t3 = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "\gm\gm_weapons\gm_ammoboxes\data\wud\gm_ammobox_wood_03_ext_01_wud_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_t4 = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "\gm\gm_weapons\gm_ammoboxes\data\wud\gm_ammobox_wood_04_ext_01_wud_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_t2 = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "\gm\gm_weapons\gm_ammoboxes\data\wud\gm_ammobox_wood_02_ext_01_wud_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
if (!didJIP) then {
[player] call ark_fnc_plank_assignFortifications;
["mission.safetytimer.ended", {[player] call plank_api_fnc_forceRemoveAllFortifications;}] call hull3_event_fnc_addEventHandler;
};ark_tgc_fnc_nwController = {
params ["_nw"];
private _gunner = gunner _nw;
{_gunner disableAI _x} forEach ["AUTOTARGET","FSM","AUTOCOMBAT"];
[
{
params ["_args", "_id"];
_args params ["_gunner"];
if (!alive _gunner) exitWith {_id call CBA_fnc_removePerFrameHandler};
[_gunner, getMarkerPos "mkr_tgt"] call ark_tgc_fnc_nwDoFire;
},
60,
[_gunner]
] call CBA_fnc_addPerFrameHandler;
};
ark_tgc_fnc_nwDoFire = {
params ["_unit","_target"];
_unit doArtilleryFire [_target, "CUP_30Rnd_122mmHE_D30_M", 5];
private _nw = vehicle _unit;
_nw setVehicleAmmoDef 1;
_nw setVehicleAmmo 1;
}; raP 4
version 6 EditorData a sourceName ark_co34_diplomatic_immunity addons - Admiral ark_rotor A3_Ui_F A3_Characters_F ace_explosives ace_nouniformrestrictions ace_parachute CUP_Creatures_Military_SLA CUP_Creatures_StaticWeapons ark_chase_ai A3_Modules_F A3_Modules_F_Curator_Curator ark_ace_rearm ark_clear_cargo plp_urban_barriers A3_Signs_F_Signs_Ad A3_Structures_F_System gm_structures_euro_80 A3_Structures_F_Ind_Transmitter_Tower OPXmisc gm_objects_searchlight_gc_bgs_searchlight CUP_Misc3_Config cba_xeh gm_objects_computers A3_Structures_F_Enoch_Industrial_Sawmills A3_Structures_F_Naval_Piers A3_Structures_F_Items_Vessels CUP_CAMisc A3_Structures_F_Enoch_Commercial_FuelStation_03 ace_refuel A3_Structures_F_Oldman_Decals A3_Structures_F_Enoch_Civilian_Accessories A3_Structures_F_EPB_Civ_Graffiti gm_core plp_containers A3_Structures_F_Enoch_Decals_Horizontal A3_Structures_F_Enoch_Military_Barracks gm_weapons_ammoboxes CUP_AirVehicles_UH60 CUP_WheeledVehicles_MTVR CUP_AirVehicles_AH6 gm_vehicles_land_wheeled_p601_gc_civ_p601 gm_vehicles_land_wheeled_ural375d_gc_civ_ural375d wb_racs_vehicles_land_wheeled_typ1200 wb_racs_vehicles_land_wheeled_typ251 AddonsMetaData dlcs CUP_Units gm Enoch Oldman CUP_Vehicles randomSeed ScenarioData CustomAttributes Mission 4 moveGridStep ?angleGridStep
>scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider MarkerIDProvider ( LayerIndexProvider ; Camera N nextID
( nextID ; nextID G N pos BkF?,C@GFdir lԌx>up v?!=aside > hbv? List +items * Item0 Item1 Item2 Item3 Item4 {
Item5
Item6 i Item7 Item8 ! Item9 r Item10 Item11 Z
Item12
Item13 R Item14 Item15 Item16 l Item17 Item18 p Item19 Item20 Item21 Item22 Item23 Item24 " Item25 Q Item26 Item27 V Item28 Item29 Item30 Item31 Item32 Item33 S Item34 Item35 ~ Item36 Item37 Item38 M Item39 Item40 Item41 % className Admiral name ARK Inhouse - Admiral author Kami url https://github.com/kami- className ark_rotor name ARK Inhouse - Rotor author ARK url http://www.ark-group.org className A3_Ui_F name Arma 3 - User Interface author Bohemia Interactive url https://www.arma3.com className A3_Characters_F name Arma 3 Alpha - Characters and Clothing author Bohemia Interactive url https://www.arma3.com {
className ace_explosives name ACE3 - Explosives author ACE-Team url https://ace3.acemod.org/
className ace_nouniformrestrictions name ACE3 - No Uniform Restrictions author ACE-Team url https://ace3.acemod.org/ i className ace_parachute name ACE3 - Parachute author ACE-Team url https://ace3.acemod.org/ className CUP_Creatures_Military_SLA name CUP_Creatures_Military_SLA ! className CUP_Creatures_StaticWeapons name CUP_Creatures_StaticWeapons r className ark_chase_ai name ARK Inhouse - Chase AI author ARK url http://www.ark-group.org className A3_Modules_F name Arma 3 Alpha - Scripted Modules author Bohemia Interactive url https://www.arma3.com Z
className A3_Modules_F_Curator name Arma 3 Zeus Update - Scripted Modules author Bohemia Interactive url https://www.arma3.com
className ark_ace_rearm name ARK Inhouse - ACE Rearm author ARK url http://www.ark-group.org R className ark_clear_cargo name ARK Inhouse - Clear Cargo author ARK url http://www.ark-group.org className plp_urban_barriers name plp_urban_barriers className A3_Signs_F name Arma 3 - Signs author Bohemia Interactive url https://www.arma3.com l className A3_Structures_F name Arma 3 - Buildings and Structures author Bohemia Interactive url https://www.arma3.com className gm_structures_euro_80 name gm_structures_euro_80 author Global Mobilization url global-mobilization.com p className A3_Structures_F_Ind name Arma 3 - Industrial Structures author Bohemia Interactive url https://www.arma3.com className OPXmisc name OPXmisc className gm_objects_searchlight_gc_bgs_searchlight name gm_objects_searchlight_gc_bgs_searchlight author Global Mobilization url global-mobilization.com className CUP_Misc3_Config name CUP_Misc3_Config className gm_objects_computers name gm_objects_computers author Global Mobilization url global-mobilization.com className A3_Structures_F_Enoch_Industrial name Arma 3 Contact Platform - Industrial Structures author Bohemia Interactive url https://www.arma3.com " className CUP_CAMisc name CUP_CAMisc Q className A3_Structures_F_Enoch_Commercial name Arma 3 Contact Platform - Commercial Buildings author Bohemia Interactive url https://www.arma3.com className ace_refuel name ACE3 - Refuel author ACE-Team url https://ace3.acemod.org/ V className A3_Structures_F_Oldman name Arma 3 Old Man - Buildings and Structures author Bohemia Interactive url https://www.arma3.com className A3_Structures_F_Enoch_Civilian name Arma 3 Contact Platform - Civilian Buildings author Bohemia Interactive url https://www.arma3.com className A3_Structures_F_EPB name Arma 3 Adapt Episode - Buildings and Structures author Bohemia Interactive url https://www.arma3.com className gm_core name gm_core author Global Mobilization url global-mobilization.com className plp_containers name plp_containers className A3_Structures_F_Enoch name Arma 3 Contact Platform - Buildings and Structures author Bohemia Interactive url https://www.arma3.com S className A3_Structures_F_Enoch_Military name Arma 3 Contact Platform - Military Buildings and Structures author Bohemia Interactive url https://www.arma3.com className gm_weapons_ammoboxes name gm_weapons_ammoboxes author Global Mobilization url global-mobilization.com ~ className CUP_AirVehicles_UH60 name CUP_AirVehicles_UH60 className CUP_WheeledVehicles_MTVR name CUP_WheeledVehicles_MTVR className CUP_AirVehicles_AH6 name CUP_AirVehicles_AH6 M className gm_vehicles_land_wheeled_p601_gc_civ_p601 name gm_vehicles_land_wheeled_p601_gc_civ_p601 author Global Mobilization url global-mobilization.com className gm_vehicles_land_wheeled_ural375d_gc_civ_ural375d name gm_vehicles_land_wheeled_ural375d_gc_civ_ural375d author Global Mobilization url global-mobilization.com className wb_racs_vehicles_land_wheeled_typ1200 name wb_racs_vehicles_land_wheeled_typ1200 author Weissbrot % className wb_racs_vehicles_land_wheeled_typ251 name wb_racs_vehicles_land_wheeled_typ251 author Weissbrot author dancemoox Header gameType Coop minPlayers maxPlayers / Category0
name Multiplayer Attribute0 X Attribute1 nAttributes property RespawnButton expression true Value data singleType SCALAR value ? property RespawnTemplates expression true Value data singleType ARRAY value = items Item0 Z data j singleType STRING value None Intel Entities Connections Z 4 briefingName ark_co34_diplomatic_immunity overviewText Royal Sahrani Diplomatic Protection Service defend their embassy | Slot extract TH + AH resistanceWest timeOfChanges FstartWeather >startWind forecastWeather >forecastWind forecastWaves forecastLightnings =wavesForced windForced year month day hour minute startFogDecay T<forecastFogDecay T< items Item0 Item1 ) Item2 Item3 T Item4 Item5 Item6 1 Item7 @ Item8 A Item9 _H Item10 L Item11 R Item12 Y Item13 \ Item14 /c Item15 i Item16 o Item17 u Item18 1| Item19 Item20 \ Item21 Item22 V Item23 Item24 Item25 L Item26 Item27 _ Item28 ' Item29 Item30 Z dataType Layer name Time Triggers Entities R! id atlOffset `@) items Item0 ! Item1 " Item2 # Item3 n$ Item4 \% Item5 &