admiral\admiral.h gbW description.ext Sb hull3\briefing\blufor.sqf ob hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf b hull3\briefing\opfor.sqf b hull3\hull3.h :_b hull3\LICENSE *qn^8 hull3\SI_G.h
_b hull3\SI_U.h _b
init.sqf u@bu initPlayerLocal.sqf db initServer.sqf b mission.sqm brw plank.h seb 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 = "GMX_CHDKZ";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "GMX_CHDKZ";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "GMX_CHDKZ";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class GMX_CHDKZ {
technicals[] = {"gmx_chdkz_uaz469_dshkm_wdr", "gmx_chdkz_uaz469_dshkm_wdr", "gmx_chdkz_uaz469_spg9_wdr"};
armour[] = {"gmx_chdkz_brdm2_wdr", "gmx_chdkz_btr60pb_wdr", "gmx_chdkz_ot64a_wdr", "gmx_chdkz_bmp1sp2_wdr", "gmx_chdkz_pt76b_wdr", "gmx_chdkz_t55_wdr", "gmx_chdkz_zsu234v1_wdr"};
th[] = {"gmx_chdkz_mi2t_wdl"};
ah[] = {"gmx_chdkz_mi2urn_wdl"};
};
};
};
#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 = "severe ionisation";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 43;
};
respawn = 0;
respawndelay = 3;
respawnTemplates[] = {"Hull3_RespawnHandler"};
class Params {
class Hull3_Date {
title = "Moon Phase";
values[] = {0,1};
texts[] = {"New Moon", "Full Moon"};
default = 0;
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};
texts[] = {"Random", "Clear (Calm)", "Clear (Light Winds)", "Clear (Strong Winds)", "Overcast (Calm)", "Overcast (Light Winds)", "Overcast (Strong Winds)", "Rain (Light Winds)", "Rain (Strong Winds)", "Storm"};
default = 1;
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 PMC detachment was hired to provide security for reconstruction following the Chernarus Civil War, however in recent days tensions have flared and ChDKZ elements have taken up arms again.
This morning our routine supply flight was shot down and we have been under sporadic attack since, a supporting gunship is being prepared whilst extraction can be arranged.
ENEMY FORCES
ChDKZ Rebels armed with outdated stolen CDF equipment and vehicles.
FRIENDLY FORCES
An extraction force is preparing, it will be some time until they can set off however..
"]];
// Mission
player createDiaryRecord ["Diary", ["Mission","
Defend the indicated area for as long as possible, call for extraction when it is available.
Expect attack from all sides.
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
Remain within the indicated AO perimeter at all times.
FORTIFICATION PLAN
An ammunition dump has been prepared in the requisitioned school reception, team leaders have smaller Plank placeable ammo boxes.
GUNSHIP + JIP EXTRACT
Given the shoot down of our supply Ka-60 this morning air assets should expect both MANPAD and SPAAG AA threats.
The V-44 X Blackfish is crewed by a pilot, co-pilot observer with access to surveillance optics as well as a laser designator and finally two gunners.
Left seat gunner controls the dual 105mm HEAT-MP cannon and the 20mm HE minigun. The Right seat controls the dual feed 40mm APFSDS-T GPR-T autocannon, note both guns are mounted to the aircraft port side.
Each Merlin has a lift capacity of twenty seven.
Extract must wait to be called in before moving off.
"]];
// 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","
The Rachmaninoff Group has been employed by the legitimate Government of Niakala to provide security and training, whilst en-route to our forward operating base we have somehow run out of fuel on the outskirts of Pala.
The locals fled as we approached the town and are likely to be informing of our presence to the rebels in the area.
ENEMY FORCES
Anti Government Rebels armed with AK47s and no shoes, they will be no threat.
FRIENDLY FORCES
An extraction force two Mi-8 and two Mi-24 are preparing, it will be some time until they can set off however..
"]];
// Mission
player createDiaryRecord ["Diary", ["Mission","
Defend the indicated area for as long as possible, call for extraction when it is available.
Given we are surrounded, defend in all directions.
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
Remain within the indicated AO perimeter at all times.
FORTIFICATION PLAN
Ammunition dumps have been established in the Church and Hotel
JIP EXTRACT
Extract must wait to be called in before moving off.
Our two Kamaz trucks and the two ammo dumps should be destroyed as we extract to prevent the munitions and vehicles from falling into the hands of the rebels, plus we can bill the client for replacements anyway..
"]];
// Credits
player createDiaryRecord ["Diary", ["Credits", "
Made by dancemoox
"]];
class Hull3 {
isEnabled = 1;
class MissionParams {
date[] = {
{2035, 24, 11},
{2035, 24, 11}
};
time[] = {
{3, 30},
{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_ION_PMC {
gear = "SI_G";
uniform = "SI_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "SI_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "SI_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 SI_G {
class Rifleman {
primaryWeapon = "CUP_arifle_HK416_CQB_Black";
primaryWeaponItems[] = {"CUP_optic_Elcan_SpecterDR_RMR_black", "CUP_muzzle_mfsup_Flashhider_556x45_Black", "CUP_acc_LLM01_L"};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "hgun_P07_blk_F";
handgunItems[] = {"16Rnd_9x21_Mag"};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"HandGrenade", 2},
{"MiniGrenade", 2},
{"ACE_Chemlight_HiRed", 2},
{"SmokeShellRed", 2},
{"16Rnd_9x21_Mag", 2}
};
vestMagazines[] = {
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 6},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 4},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 2}
};
basicAssignItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "CUP_NVG_GPNVG_black"};
assignItems[] = {};
binocular = "";
uniformItems[] = {
{"ACE_Flashlight_XL50", 1},
{"ACE_wirecutter", 1},
{"ACE_IR_Strobe_Item", 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 = "CUP_arifle_HK416_CQB_AG36";
vestMagazines[] = {
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 4},
{"CUP_1Rnd_HE_M203", 4},
{"CUP_1Rnd_HEDP_M203", 4},
{"CUP_1Rnd_SmokeRed_M203", 2},
{"CUP_1Rnd_StarFlare_Red_M203", 2},
{"CUP_1Rnd_StarCluster_Red_M203", 2},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 6},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 2},
{"CUP_1Rnd_HE_M203", 2},
{"CUP_1Rnd_SmokeRed_M203", 2},
{"CUP_1Rnd_StarCluster_Red_M203", 2},
{"CUP_1Rnd_StarFlare_Red_M203", 2}
};
assignItems[] = {"ItemGPS"};
binocular = "Binocular";
};
class Officer : Leader {
assignItems[] = {"ItemGPS"};
binocular = "ACE_Vector";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 4}};
backpackMagazines[] = {};
assignItems[] = {"ItemGPS"};
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
vestMagazines[] = {
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 6},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 2},
{"SmokeShellRed", 4}
};
backpackMagazines[] = {
{"SmokeShellRed", 4},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 2}
};
assignItems[] = {"ItemGPS"};
binocular = "ACE_Vector";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
backpackMedicalItems[] = {
{"ACE_fieldDressing", 30},
{"ACE_morphine", 30},
{"ACE_epinephrine", 30},
{"ACE_bloodIV_500", 24},
{"ACE_splint", 4}
};
};
class FTL : Leader {
};
class AR : Rifleman {
primaryWeapon = "CUP_lmg_MG3_rail";
primaryWeaponItems[] = {"CUP_optic_ElcanM145_3D"};
vestMagazines[] = {{"CUP_120Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", 2}};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"CUP_120Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", 4}
};
};
class AAR : Rifleman {
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"CUP_120Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", 4}
};
binocular = "ACE_Vector";
};
class RAT : Rifleman {
secondaryWeapon = "CUP_launch_M136";
vestMagazines[] = {
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 6},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 4}
};
};
class P : Crew {
};
class PCM : P {
};
class Vehicle {
weapons[] = {{"CUP_launch_M136", 25}};
magazines[] = {
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL", 150},
{"CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 100},
{"CUP_120Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", 150},
{"CUP_1Rnd_HE_M203", 25},
{"CUP_1Rnd_HEDP_M203", 25},
{"CUP_1Rnd_StarCluster_Red_M203", 25},
{"CUP_1Rnd_StarFlare_Red_M203", 25},
{"CUP_1Rnd_SmokeRed_M203", 25},
{"HandGrenade", 25},
{"MiniGrenade", 25},
{"SmokeShellRed", 25},
{"16Rnd_9x21_Mag", 25},
{"SatchelCharge_Remote_Mag", 1}
};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
};
class SI_U {
class Rifleman {
headGear = "acp_Solid_Black_H_HelmetHBK_F_Solid_Black";
goggles = "";
uniform = "acp_Solid_Black_U_B_CombatUniform_Solid_Black";
vest = "acp_Solid_Black_V_CarrierRigKBT_01_light_Solid_Black_F_ARM";
backpack = "ark_backpack_med";
insignia = "USP_PATCH_PMC_CRAFT_TAN";
};
class Leader : Rifleman {
headGear = "acp_Solid_Black_H_HelmetHBK_headset_F_Solid_Black";
uniform = "acp_Solid_Black_U_B_CombatUniform_vest_Solid_Black";
vest = "acp_Solid_Black_V_CarrierRigKBT_01_heavy_Solid_Black_F_ARM";
};
class Officer : Leader {
headGear = "acp_Solid_Black_H_HelmetHBK_ear_F_Solid_Black";
};
class Crew : Rifleman {
headGear = "H_PilotHelmetHeli_B";
uniform = "acp_Solid_Black_U_BG_Guerrilla_6_Solid_Black";
vest = "acp_Solid_Black_V_CarrierRigKBT_01_Solid_Black_F_ARM";
backpack = "ark_backpack_small";
};
class CO : Officer {
};
class XO : CO {
backpack = "ark_backpack_large";
};
class SL : Officer {
};
class Medic : Rifleman {
backpack = "ark_backpack_large";
};
class FTL : Leader {
};
class AR : Rifleman {
uniform = "acp_Solid_Black_U_B_CombatUniform_tshirt_Solid_Black";
};
class AAR : Rifleman {
backpack = "ark_backpack_large";
};
class RAT : Rifleman {
};
class P : Crew {
};
class PCM : P {
};
};
if (isServer) then {
{_x forceFlagTexture "\A3\Data_F\Flags\flag_ion_CO.paa"} forEach [car_1, car_2, car_3];
};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, 6, 2, 4, 0, 0, 0, 1, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["FTL"]) exitWith {[_unit, [0, 6, 0, 4, 0, 1, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Rifleman", "AR", "AAR"]) exitWith {[_unit, [0, 6, 0, 4, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Medic"]) exitWith {[_unit, [0, 6, 2, 4, 0, 0, 1, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["RAT"]) exitWith {[_unit, [0, 6, 0, 4, 1, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
};
_unit setVariable ["plank_areFortsAssigned", true, true];
};
};
ark_fnc_plank_fill_SMAW_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_weapons"];
_weapons = [
["CUP_launch_M136", 25]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addWeaponCargoGlobal _x;} foreach _weapons;
};
ark_fnc_plank_fill_MMG_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines", "_weapons"];
_magazines = [
["CUP_30Rnd_556x45_PMAG_BLACK_RPL", 50],
["CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 25],
["CUP_120Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", 50],
["CUP_1Rnd_HE_M203", 10],
["CUP_1Rnd_HEDP_M203", 10],
["CUP_1Rnd_StarCluster_Red_M203", 10],
["CUP_1Rnd_StarFlare_Red_M203", 10],
["CUP_1Rnd_SmokeRed_M203", 10],
["HandGrenade", 15],
["MiniGrenade", 15],
["SmokeShellRed", 15],
["ACE_Chemlight_HiRed", 15],
["SatchelCharge_Remote_Mag", 1]
];
_weapons = [
["CUP_launch_M136", 15]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
{_box addWeaponCargoGlobal _x;} foreach _weapons;
//_box call ark_fnc_plank_setBoxColour_t4;
};
ark_fnc_plank_fill_Ammo = {
private _box = _this select 1;
private ["_magazines", "_weapons", "_items"];
_magazines = [
["CUP_30Rnd_556x45_PMAG_BLACK_RPL", 100],
["CUP_30Rnd_556x45_PMAG_BLACK_RPL_Tracer_Red", 50],
["CUP_120Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M", 100],
["CUP_1Rnd_HE_M203", 25],
["CUP_1Rnd_HEDP_M203", 25],
["CUP_1Rnd_StarCluster_Red_M203", 25],
["CUP_1Rnd_StarFlare_Red_M203", 25],
["CUP_1Rnd_SmokeRed_M203", 25],
["HandGrenade", 25],
["MiniGrenade", 25],
["SmokeShellRed", 25],
["ACE_Chemlight_HiRed", 25],
["SatchelCharge_Remote_Mag", 1]
];
_weapons = [
["CUP_launch_M136", 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_fill_medic_box = {
private _box = _this select 1;
private ["_items"];
_items = [
["ACE_fieldDressing", 90],
["ACE_morphine", 60],
["ACE_epinephrine", 60],
["ACE_bloodIV_500", 48],
["ACE_splint", 16]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addItemCargoGlobal _x;} foreach _items;
_box call ark_fnc_plank_setBoxColour_t4;
};
//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;
//};
if (!didJIP) then {
[player] call ark_fnc_plank_assignFortifications;
["mission.safetytimer.ended", {[player] call plank_api_fnc_forceRemoveAllFortifications;}] call hull3_event_fnc_addEventHandler;
};ark_script_fnc_fireArty = {
params ["_vehicle","_target"];
private _gunner = effectiveCommander _vehicle;
{_gunner disableAI _x} forEach ["AUTOTARGET","FSM","AUTOCOMBAT"];
private _roundCount = 4; // How many shots fired in one cycle
private _delay = 60; // How long between cycles
[
{
params ["_args", "_id"];
_args params ["_gunner","_target","_roundCount"];
if (!alive _gunner) exitWith {_id call CBA_fnc_removePerFrameHandler};
[_gunner, _target, _roundCount] call ark_script_fnc_doFireArty;
},
_delay,
[_gunner,_target,_roundCount]
] call CBA_fnc_addPerFrameHandler;
};
ark_script_fnc_doFireArty = {
params ["_gunner","_target","_roundCount"];
private _veh = vehicle _gunner;
private _mag = currentMagazine _veh;
private _targetPos = getMarkerPos _target;
if ((_targetPos inRangeOfArtillery [[_gunner], _mag]) isEqualTo false) exitWith {
systemChat format ["ARK Arty: Error target %1 is out of range of %2",_target,_gunner];
};
_gunner doArtilleryFire [_targetPos, _mag, _roundCount];
_veh setVehicleAmmoDef 1;
_veh setVehicleAmmo 1;
}; raP nw
version 6 EditorData H sourceName ark_co42_severe_ionisation addons A3_Ui_F A3_Structures_F_Enoch_Military_Training CUP_BaseConfigs A3_Props_F_Enoch_Military_Wrecks A3_Structures_F_Argo_Commercial_Billboards A3_Props_F_Enoch_Infrastructure_Traffic CUP_AirVehicles_HC3 CUP_WheeledVehicles_NewM998 plp_containers A3_Air_F_Exp_VTOL_01 CUP_WheeledVehicles_Van02 A3_Modules_F_Curator_Curator ark_ace_rearm ark_clear_cargo A3_Modules_F_Effects Admiral ark_rotor ark_chase_ai gmx_chdkz_characters gmx_chdkz_vehicles_air_helicopters_mi2 gmx_chdkz_vehicles_land_tracked_ural375d A3_Characters_F ace_nouniformrestrictions A3_Modules_F AddonsMetaData dlcs Enoch Argo CUP_Vehicles Expansion Orange gm gmx_chdkz randomSeed ScenarioData 3 CustomAttributes Mission J nw moveGridStep ?angleGridStep ?scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider MarkerIDProvider LayerIndexProvider " Camera 5 nextID nextID $ " nextID X 5 pos FUCHFdir Ƥ>z+Rup b0>a?aside \n ѵ List 3 items Item0 Item1 " Item2 Item3 Item4 Item5 4 Item6 u Item7 Item8 Item9 s Item10 Item11 p
Item12
Item13 J Item14 Item15 Item16 c Item17 Item18
Item19
Item20 ' Item21 3 className A3_Ui_F name Arma 3 - User Interface author Bohemia Interactive url https://www.arma3.com " className A3_Structures_F_Enoch_Military name Arma 3 Contact Platform - Military Buildings and Structures author Bohemia Interactive url https://www.arma3.com className CUP_BaseConfigs name CUP_BaseConfigs className A3_Props_F_Enoch name Arma 3 Contact Platform - Decorative and Mission Objects author Bohemia Interactive url https://www.arma3.com className A3_Structures_F_Argo name Arma 3 Malden - Buildings and Structures author Bohemia Interactive url https://www.arma3.com 4 className CUP_AirVehicles_HC3 name CUP_AirVehicles_HC3 u className CUP_WheeledVehicles_NewM998 name CUP_WheeledVehicles_NewM998 className plp_containers name plp_containers className A3_Air_F_Exp name Arma 3 Apex - Aircraft author Bohemia Interactive url https://www.arma3.com s className CUP_WheeledVehicles_Van02 name CUP_WheeledVehicles_Van02 author Community Upgrade Project className A3_Modules_F_Curator name Arma 3 Zeus Update - Scripted Modules author Bohemia Interactive url https://www.arma3.com p
className ark_ace_rearm name ARK Inhouse - ACE Rearm author ARK url http://www.ark-group.org
className ark_clear_cargo name ARK Inhouse - Clear Cargo author ARK url http://www.ark-group.org J className A3_Modules_F name Arma 3 Alpha - Scripted Modules author Bohemia Interactive url https://www.arma3.com className Admiral name Admiral author Kami className ark_rotor name ARK Inhouse - Rotor author ARK url http://www.ark-group.org c className ark_chase_ai name ARK Inhouse - Chase AI author ARK url http://www.ark-group.org className gmx_chdkz_characters name gmx_chdkz_characters
className gmx_chdkz_vehicles_air_helicopters_mi2 name gmx_chdkz_vehicles_air_helicopters_mi2 author Global Mobilization Extra
className gmx_chdkz_vehicles_land_tracked_ural375d name gmx_chdkz_vehicles_land_tracked_ural375d author Global Mobilization Extra ' className A3_Characters_F name Arma 3 Alpha - Characters and Clothing author Bohemia Interactive url https://www.arma3.com className ace_nouniformrestrictions name ACE3 - No Uniform Restrictions author ACE-Team url https://ace3.acemod.org/ 3 author dancemoox Header X gameType Coop minPlayers maxPlayers / Category0 J name Multiplayer Attribute0 Attribute1 nAttributes J property RespawnTemplates expression true Value / data ? type Z value n type ARRAY n items Item0 data type value None type STRING property RespawnButton expression true Value J data J type 5 value ?J type SCALAR J Intel z Entities Connections m nw briefingName ark_co42_severe_ionisation overviewText ION PMC a desperate defence | Extract JIP resistanceWest timeOfChanges FstartWeather >startWind forecastWeather >forecastWind forecastWaves forecastLightnings =wavesForced windForced year month day hour minute startFogDecay T<forecastFogDecay T< "items ! Item0 Item1 p Item2 D Item3 Item4 g Item5 " Item6 w Item7 Item8 Item9 N Item10 Item11 Item12 Item13 > Item14 Item15 Item16 Item17 Item18 p! Item19 ' Item20 . Item21 1 Item22 8 Item23 u> Item24 D Item25 P Item26 \ Item27 _ Item28 zc Item29 1d Item30 gf Item31 h Item32 j m dataType Layer name Time Triggers Entities id atlOffset e_p items Item0 ] Item1 3 Item2 ! Item3 Item4 Item5 $ Item6 9 Item7 & p dataType Trigger position ^
LEBkE Attributes id type EmptyDetector atlOffset ai3 name tgr_safety_off condition call{hull3_mission_safetyTimerAbort} sizeA sizeB 3 dataType Trigger position KEBѭE Attributes id type EmptyDetector atlOffset e! name tgr_time_10 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout D D D! dataType Trigger position 2LE\*BgE Attributes id type EmptyDetector atlOffset ^ name tgr_time_15 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout aD aD aD dataType Trigger position *LE~o1BE Attributes id type EmptyDetector atlOffset [ name tgr_time_20 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout D D D dataType Trigger position >LE-B4E Attributes n id type EmptyDetector atlOffset %]$ name tgr_time_25 condition call{triggeractivated tgr_safety_off;} onActivation call{heli_1 setfuel 1; heli_2 setfuel 1;} sizeA sizeB timeout D D D$ dataType Trigger position 6LE*BVE Attributes id type EmptyDetector atlOffset A=b9 name tgr_time_30 condition call{triggeractivated tgr_safety_off;} onActivation call{heli_1 setfuel 1;} sizeA sizeB timeout D D D9 dataType Trigger position KEBE Attributes id type EmptyDetector atlOffset h& name tgr_time_5 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout C C C& dataType Trigger position *LEQ/BE Attributes id M type EmptyDetector atlOffset egp name tgr_time_40 condition call{triggeractivated tgr_safety_off;} onActivation call{if (isServer) then {[arty_1,"mkr_tgt"] call ark_script_fnc_fireArty;};} sizeA sizeB timeout E E Ep
dataType Marker position FwB
.HF name mkr_ao markerType RECTANGLE type ellipse colorName ColorWEST fillName Border a 1Bb BBangle BdrawBorder id atlOffset 휿D dataType Marker position GFBHF name mkr_tgt type Empty id l dataType Layer name Player Bits & Set Dressing Entities id atlOffset g items Item0 / Item1 Item2 ! Item3 " Item4 }# Item5 J$ Item6 % Item7 % Item8 &