admiral\admiral.h Ee description.ext qDe hull3\briefing\blufor.sqf d! hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf b hull3\briefing\opfor.sqf Ee hull3\hull3.h Ee hull3\LICENSE *qn^8 hull3\M_G.h
Ee hull3\M_U.h Ee init.sqf De~ initPlayerLocal.sqf Fed initServer.sqf b mission.sqm FeJ plank.h Fe* 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 = "AAF_WOODLAND";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "AAF_WOODLAND";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "AAF_WOODLAND";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class AAF_WOODLAND {
side = "resistance";
infantry[] = {"I_Soldier_GL_F", "I_Soldier_GL_F", "I_soldier_f", "I_soldier_f", "I_soldier_AT4_F", "I_Soldier_AR_F", "I_SOldier_AR_F", "I_medic_F"};
crewmen[] = {"I_crew_F"};
pilots[] = {"I_helipilot_F"};
technicals[] = {"CUP_I_LR_SF_GMG_AAF", "CUP_I_LR_SF_HMG_AAF", "CUP_I_LR_SF_HMG_AAF", "gmx_aaf_luchsa2_wdl"};
armour[] = {"gmx_aaf_m113a1g_apc_wdl", "gmx_aaf_m113a2dk_wdl", "gmx_aaf_marder1a1plus_wdl", "gmx_aaf_leopard1a5_wdl"};
th[] = {"CUP_I_412_MIl_Transport_AAF"};
ah[] = {"CUP_I_412_dynamicLoadout_AAF"};
};
};
};
#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 = "mummification";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 53;
};
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};
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 = 4;
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","
Russian forces are advancing into Livonia, our reservist detachment has been tasked as a blocking force to slow down the Russian spearhead.
Given the scale of the invasion we must hold out until its our turn for extraction.
ENEMY FORCES
Russian armed forces, expect both light and heavy armour in addition to some rotory air assets.
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 the east.
"]];
// 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 pub beer garden, Squad and Fireteam leaders have large and smaller Plank placeable ammo boxes.
The Dragon team have additional launchers in a Plank placed pair of boxes, avoid blocking sight lines along the MSR.
AT Rifleman and Medics have additional Plank placeable supplies.
JIP EXTRACT
Extract WY-55 Czapla is capable of transporting seven in a single lift.
Extract FV-720 Odyniec is capable of transporting seven in a single run.
M1A2 Abramsa is incapable of transporting troops.
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 Altian civil war has been raging for years with no clear victor in sight. The AAF continue to topple weak governments whilst competing officers fight each other as well as the rebels.
Given the instability a United Nations peace keeping mission (UN Mission Altis) was established in an attempt to bring stability to the Mediterranean island. One of the larger force contributors was Egypt who obviously have their own reasons for a secure Mediterranean.
However given time some factions of the AAF have begun to see the UN Mission in Altis as a hindrance and outright enemy.
ENEMY FORCES
Altis Armed Forces most likely a splinter element rather than the legitimate army itself.
FRIENDLY FORCES
An extraction force 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
An ammunition dump has been established on the western ground floor.
UAV SUPPORT
If slotted we have a UAV operator with control of several armed K40 Ababil-3 Hellfire equipped drones.
These can be utilised for reconnaissance as well as fire support, they can however not be rearmed. Additionally the UAV operator should manually pilot the drones into the air.
JIP EXTRACT
Extract must wait to be called in before moving off.
"]];
// 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_CHKDZ {
gear = "M_G";
uniform = "M_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "M_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "M_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 M_G {
class Rifleman {
primaryWeapon = "CUP_arifle_AK103_railed";
primaryWeaponItems[] = {"optic_r1_low_lxWS", "saber_light_lxWS"};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"HandGrenade", 1},
{"MiniGrenade", 1},
{"ACE_Chemlight_HiYellow", 2},
{"SmokeShellYellow", 1}
};
vestMagazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 4},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellYellow", 1},
{"CUP_30Rnd_762x39_AK103_bakelite_M", 6},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 2}
};
basicAssignItems[] = {"ItemMap", "ItemCompass", "ItemWatch"};
assignItems[] = {};
binocular = "";
uniformItems[] = {
{"ACE_Flashlight_KSF1", 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 = "CUP_arifle_AK103_GL_railed";
handgunWeapon = "CUP_hgun_M9";
vestMagazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 4},
{"CUP_1Rnd_HE_GP25_M", 4},
{"CUP_1Rnd_SmokeYellow_GP25_M", 2},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 2},
{"CUP_15Rnd_9x19_M9", 3}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellYellow", 1},
{"CUP_30Rnd_762x39_AK103_bakelite_M", 6},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 2},
{"CUP_1Rnd_SmokeYellow_GP25_M", 2},
{"CUP_FlareYellow_GP25_M", 2}
};
assignItems[] = {"ItemGPS"};
binocular = "Binocular";
};
class Officer : Leader {
assignItems[] = {"ItemGPS"};
binocular = "ACE_Vector";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
primaryWeapon = "CUP_arifle_AK104_railed";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"CUP_30Rnd_762x39_AK103_bakelite_M", 4}};
backpackMagazines[] = {};
assignItems[] = {"ItemGPS", "CUP_NVG_1PN138"};
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
primaryWeapon = "CUP_arifle_AK104_railed";
vestMagazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 6},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 2},
{"SmokeShellYellow", 4}
};
backpackMagazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 2}
};
assignItems[] = {"ItemGPS"};
binocular = "Binocular";
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_Pecheneg_top_rail_B50_vfg";
primaryWeaponItems[] = {"optic_r1_low_lxWS", "saber_light_lxWS"};
vestMagazines[] = {{"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Yellow_M", 1}};
backpackMagazines[] = {{"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Yellow_M", 4}};
};
class AAR : Rifleman {
vestMagazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 6},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 4}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellYellow", 1},
{"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Yellow_M", 4}
};
binocular = "Binocular";
};
class RAT : Rifleman {
primaryWeapon = "CUP_arifle_AK104_railed";
secondaryWeapon = "CUP_launch_RPG7V";
secondaryWeaponItems[] = {"CUP_optic_PGO7V3", "CUP_PG7VL_M"};
vestMagazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 6},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellYellow", 1},
{"CUP_30Rnd_762x39_AK103_bakelite_M", 4},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 2},
{"CUP_PG7VL_M", 2}
};
};
class SN : Officer {
assignItems[] = {"O_UavTerminal"};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class VC : Crew {
binocular = "ACE_Vector";
};
class VG : Crew {
};
class VD : Crew {
};
class P : Crew {
};
class PCM : P {
};
class Vehicle {
weapons[] = {{"CUP_launch_M72A6", 25}};
magazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 50},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 25},
{"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Yellow_M", 50},
{"CUP_1Rnd_HE_GP25_M", 25},
{"CUP_1Rnd_SmokeYellow_GP25_M", 25},
{"CUP_FlareYellow_GP25_M", 25},
{"ACE_HandFlare_Yellow", 25},
{"ACE_Chemlight_HiYellow", 25},
{"HandGrenade", 25},
{"MiniGrenade", 25},
{"SmokeShellYellow", 25}
};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
class AT_BOX {
weapons[] = {};
magazines[] = {
{"CUP_PG7VL_M", 50},
{"CUP_PG7VR_M", 25},
{"CUP_OG7_M", 15},
{"CUP_TBG7V_M", 5}
};
items[] = {};
medicalItems[] = {};
};
class Extract {
weapons[] = {
{"CUP_launch_M72A6", 5}
};
magazines[] = {
{"CUP_30Rnd_762x39_AK103_bakelite_M", 10},
{"CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 5},
{"CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Yellow_M", 10},
{"ACE_HandFlare_Yellow", 10},
{"ACE_Chemlight_HiYellow", 10},
{"HandGrenade", 10},
{"MiniGrenade", 10},
{"SmokeShellYellow", 10}
};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
};class M_U {
class Rifleman {
headGear = "lxWS_H_PASGT_basic_UN_F";
goggles = "";
uniform = "acp_EG_Egg_U_I_E_Uniform_EG_Egg_01_F";
vest = "V_lxWS_UN_Vest_Lite_F_ARM";
backpack = "ark_backpack_med";
insignia = "USP_PATCH_FLAG_EGYPT";
};
class Leader : Rifleman {
goggles = "G_Headset_lxWS";
uniform = "acp_EG_Egg_U_I_E_Uniform_shortsleeve_EG_Egg_01_F";
vest = "V_lxWS_UN_Vest_F_ARM";
};
class Officer : Leader {
headGear = "lxWS_H_Beret_Colonel";
goggles = "";
};
class Crew : Rifleman {
headGear = "lxWS_H_HelmetCrew_Blue";
uniform = "acp_EG_Egg_U_I_E_Uniform_EG_Egg_01_F";
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 {
headGear = "lxWS_H_PASGT_goggles_UN_F";
};
class AR : Rifleman {
goggles = "G_Combat_lxWS";
};
class AAR : Rifleman {
backpack = "ark_backpack_large";
};
class RAT : Rifleman {
headGear = "lxWS_H_PASGT_goggles_UN_F";
};
class SN : Officer {
};
class VC : Crew {
};
class VG : Crew {
};
class VD : Crew {
};
class P : Crew {
headGear = "gm_gc_headgear_zsh3_blu";
};
class PCM : P {
};
};if (isServer) then {
{_x forceFlagTexture "\A3\Data_F\Flags\Flag_uno_CO.paa"} forEach [tank_1, tank_2, apc_1, apc_2];
};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, 4, 0, 4, 0, 0, 0, 1, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["FTL"]) exitWith {[_unit, [0, 4, 0, 4, 1, 1, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Rifleman", "AR", "AAR"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Medic"]) exitWith {[_unit, [0, 4, 2, 4, 0, 0, 1, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["RAT"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 0, 0, 1]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["SN"]) exitWith {[_unit, [1, 4, 0, 4, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
};
_unit setVariable ["plank_areFortsAssigned", true, true];
};
};
ark_fnc_plank_fill_dragon = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_weapons"];
_weapons = [
["CUP_launch_M72A6", 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"];
_magazines = [
["CUP_30Rnd_762x39_AK103_bakelite_M", 50],
["CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 25],
["CUP_1Rnd_HE_GP25_M", 10],
["CUP_1Rnd_SmokeYellow_GP25_M", 10],
["CUP_FlareYellow_GP25_M", 10],
["CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Yellow_M", 50],
["HandGrenade", 15],
["MiniGrenade", 15],
["SmokeShellYellow", 15],
["ACE_Chemlight_HiYellow", 15]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
//_box call ark_fnc_plank_setBoxColour_t4;
};
ark_fnc_plank_fill_SN_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["CUP_PG7VL_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_Ammo = {
private _box = _this select 1;
private ["_magazines", "_items"];
_magazines = [
["CUP_30Rnd_762x39_AK103_bakelite_M", 150],
["CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", 50],
["CUP_1Rnd_HE_GP25_M", 25],
["CUP_1Rnd_SmokeYellow_GP25_M", 25],
["CUP_FlareYellow_GP25_M", 25],
["CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Yellow_M", 150],
["HandGrenade", 25],
["MiniGrenade", 25],
["SmokeShellYellow", 25],
["ACE_Chemlight_HiYellow", 25]
];
_items = [
["ACE_fieldDressing", 150]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
{_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\oli\gm_ammobox_aluminium_01_medic_oli_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 J
version 6 EditorData sourceName ark_co52_mummification addons A3_Ui_F gm_weapons_ammoboxes A3_Structures_F_Mil_Flags data_f_lxWS CUP_Misc_e_Config CUP_TrackedVehicles_NewM113 CUP_TrackedVehicles_M1Abrams CUP_AirVehicles_Mi8 CUP_AirVehicles_Mi24 A3_Structures_F_Households_WIP A3_Modules_F_Curator_Curator ark_ace_rearm A3_Modules_F Admiral ark_rotor ark_chase_ai A3_Characters_F CUP_AirVehicles_412 gmx_aaf_vehicles_land_tracked_m109 ace_nouniformrestrictions ace_parachute A3_Characters_F_Common A3_Drones_F_Air_F_Gamma_UAV_02 AddonsMetaData dlcs gm ws CUP_Vehicles gmx_aaf randomSeed ScenarioData C CustomAttributes Mission 9 J moveGridStep ?angleGridStep ?scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider ~ MarkerIDProvider LayerIndexProvider Camera nextID nextID $ nextID - pos t2FaAL^Fdir ?a%Jup ?iiC?Ǿaside & FK List " C items Item0 2 Item1 Item2 " Item3 Item4 < Item5 y Item6 Item7 Item8 ^ Item9 Item10 Item11 Item12
Item13
Item14
Item15 / Item16 Item17 ! Item18 b Item19 Item20 g
Item21
C className A3_Ui_F name Arma 3 - User Interface author Bohemia Interactive url https://www.arma3.com className gm_weapons_ammoboxes name gm_weapons_ammoboxes author Global Mobilization url global-mobilization.com " className A3_Structures_F_Mil name Arma 3 - Military Buildings and Structures author Bohemia Interactive url https://www.arma3.com className data_f_lxWS name Arma 3 Western Sahara - Main Configuration author Rotators Collective url https://www.arma3.com < className CUP_Misc_e_Config name CUP_Misc_e_Config y className CUP_TrackedVehicles_NewM113 name CUP_TrackedVehicles_NewM113 className CUP_TrackedVehicles_M1Abrams name CUP_TrackedVehicles_M1Abrams className CUP_AirVehicles_Mi8 name CUP_AirVehicles_Mi8 ^ className CUP_AirVehicles_Mi24 name CUP_AirVehicles_Mi24 className A3_Structures_F_Households name Arma 3 - Houses author Bohemia Interactive url https://www.arma3.com 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
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 / className ark_chase_ai name ARK Inhouse - Chase AI author ARK url http://www.ark-group.org className A3_Characters_F name Arma 3 Alpha - Characters and Clothing author Bohemia Interactive url https://www.arma3.com ! className CUP_AirVehicles_412 name CUP_AirVehicles_412 b className gmx_aaf_vehicles_land_tracked_m109 name gmx_aaf_vehicles_land_tracked_m109 author Global Mobilization Extra className ace_nouniformrestrictions name ACE3 - No Uniform Restrictions author ACE-Team url https://ace3.acemod.org/ g
className ace_parachute name ACE3 - Parachute author ACE-Team url https://ace3.acemod.org/
className A3_Drones_F name Arma 3 Beta - Drones author Bohemia Interactive url https://www.arma3.com C author dancemoox Header h gameType Coop minPlayers maxPlayers 4 Category0 9 name Multiplayer Attribute0 Attribute1 r nAttributes 9 property RespawnButton expression true Value < r data L r singleType SCALAR value ?r property RespawnTemplates expression true Value 9 data 9 singleType ARRAY value 9 items Item0 9 data 9 singleType STRING value None 9 Intel i Entities Connections ? J briefingName ark_co52_mummification overviewText Egyptian UN Peace Keepers hold against Altian attack | Extract JIP resistanceWest timeOfChanges FstartWeather >startWind forecastWeather >forecastWind forecastWaves forecastLightnings =wavesForced windForced year month day hour minute startFogDecay T<forecastFogDecay T< +items * Item0 Item1 ` Item2 4 Item3 Item4 v Item5 0 Item6 Item7 \@ Item8 ~^ Item9 n Item10 w Item11 t Item12 " Item13 ߫ Item14 : Item15 Item16 Ŵ Item17 Item18 / Item19 Item20 Item21 Item22 M Item23 Item24 Item25 Item26 Item27 Item28 Item29 * Item30 r Item31 Item32 Item33 ! Item34 z$ Item35 % Item36 ( Item37 ) Item38 , Item39 . Item40 0 Item41 ?2 ? dataType Layer name Time Triggers Entities c id atlOffset $2` items Item0 Item1 Item2 q Item3 O Item4 - Item5 D Item6 I Item7 & ` dataType Trigger position FFRB$zF Attributes . id type EmptyDetector name tgr_safety_off condition call{hull3_mission_safetyTimerAbort} sizeA sizeB dataType Trigger position rF\BB=yF Attributes id type EmptyDetector q name tgr_time_10 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout D D Dq dataType Trigger position F(BxF Attributes id type EmptyDetector O name tgr_time_15 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout aD aD aDO dataType Trigger position FOB&axF