admiral\admiral.h VAHeG description.ext ?He hull3\briefing\blufor.sqf :Ie hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf b hull3\briefing\opfor.sqf Ee hull3\hull3.h Ie hull3\LICENSE *qn^8 hull3\MITM_G.h 6Ie hull3\MITM_U.h Ie@ init.sqf ?He initPlayerLocal.sqf 7Ie initServer.sqf b mission.sqm ;Ie 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 = "CUP_RU_RATNIK_WD";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "CUP_RU_RATNIK_WD";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "CUP_RU_RATNIK_WD";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class CUP_RU_RATNIK_WD {
side = "east";
camouflage[] = {"woodland"};
infantry[] = {"CUP_O_RU_Soldier_GL_Ratnik_Summer", "CUP_O_RU_Soldier_GL_Ratnik_Summer", "CUP_O_RU_Soldier_Ratnik_Summer", "CUP_O_RU_Soldier_Ratnik_Summer", "CUP_O_RU_Soldier_AR_Ratnik_Summer", "CUP_O_RU_Soldier_MG_Ratnik_Summer", "CUP_O_RU_Soldier_AT_Ratnik_Summer", "CUP_O_RU_Soldier_Medic_Ratnik_Summer"};
crewmen[] = {"CUP_O_RU_Crew_M_EMR"};
pilots[] = {"CUP_O_RU_Pilot_M_EMR"};
technicals[] = {"CUP_O_BTR90_RU", "CUP_O_GAZ_Vodnik_BPPU_RU", "CUP_O_BTR80_GREEN_RU", "CUP_O_BTR80A_GREEN_RU", "CUP_O_GAZ_Vodnik_PK_RU", "CUP_O_GAZ_Vodnik_AGS_RU", "CUP_O_GAZ_Vodnik_KPVT_RU"};
armour[] = {"CUP_O_BMP2_RU", "CUP_O_BMP3_RU", "CUP_O_T72_RU", "CUP_O_T90_RU"};
th[] = {"CUP_O_Mi8AMT__kord_RU"};
ah[] = {"CUP_O_Mi8_RU"};
};
};
};
#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 = "malinovka in the middle";
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 = 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 = 2;
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 CDF patrol has penetrated the Russian defences and recaptured this fortified complex. We are to hold in place, disrupt the Russian counter attack before withdrawing.
ENEMY FORCES
Russians, lots and lots of badly trained Russians.
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 in the eastern outbuilding.
JIP EXTRACT
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 GMX_CDF_DIGITAL {
gear = "MITM_G";
uniform = "MITM_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "MITM_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "MITM_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 MITM_G {
class Rifleman {
primaryWeapon = "arifle_Velko_lxWS";
primaryWeaponItems[] = {"optic_r1_high_lxWS", "saber_light_lxWS"};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"HandGrenade", 2},
{"MiniGrenade", 2},
{"ACE_Chemlight_HiRed", 2},
{"SmokeShellRed", 2}
};
vestMagazines[] = {
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 4},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 6},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 2}
};
basicAssignItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "CUP_NVG_1PN138"};
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 = "arifle_VelkoR5_GL_lxWS";
handgunWeapon = "hgun_Rook40_F";
vestMagazines[] = {
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 4},
{"CUP_1Rnd_HE_M203", 4},
{"CUP_1Rnd_HEDP_M203", 4},
{"CUP_1Rnd_StarFlare_Red_M203", 2},
{"CUP_1Rnd_SmokeRed_M203", 2},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 2},
{"16Rnd_9x21_Mag", 3}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 6},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 2},
{"CUP_1Rnd_StarFlare_Red_M203", 2},
{"CUP_1Rnd_SmokeRed_M203", 2}
};
assignItems[] = {"ItemGPS"};
binocular = "Binocular";
};
class Officer : Leader {
assignItems[] = {"ItemGPS"};
binocular = "ACE_Vector";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
primaryWeapon = "arifle_VelkoR5_lxWS";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 4}};
backpackMagazines[] = {};
assignItems[] = {"ItemGPS"};
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
primaryWeapon = "arifle_VelkoR5_lxWS";
vestMagazines[] = {
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 6},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 2},
{"SmokeShellRed", 4}
};
backpackMagazines[] = {
{"SmokeShellRed", 4},
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 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 = "LMG_S77_lxWS";
primaryWeaponItems[] = {"optic_r1_low_lxWS", "saber_light_lxWS"};
vestMagazines[] = {{"100Rnd_762x51_S77_Red_Tracer_lxWS", 1}};
backpackMagazines[] = {{"100Rnd_762x51_S77_Red_Tracer_lxWS", 4}};
};
class AAR : Rifleman {
vestMagazines[] = {
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 6},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 4}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"100Rnd_762x51_S77_Red_Tracer_lxWS", 4}
};
binocular = "Binocular";
};
class RAT : Rifleman {
primaryWeapon = "arifle_VelkoR5_lxWS";
secondaryWeapon = "launch_RPG32_green_F";
secondaryWeaponItems[] = {"RPG32_F"};
vestMagazines[] = {
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 6},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 4},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 2},
{"RPG32_F", 2},
{"RPG32_HE_F", 1}
};
};
class SN : Rifleman {
primaryWeapon = "srifle_LRR_F";
handgunWeapon = "hgun_Rook40_F";
primaryWeaponItems[] = {"optic_Nightstalker"};
vestMagazines[] = {
{"7Rnd_408_Mag", 10},
{"16Rnd_9x21_Mag", 3}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShellRed", 1},
{"7Rnd_408_Mag", 10}
};
assignItems[] = {"ItemGPS"};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class SP : Rifleman {
binocular = "ACE_Vector";
};
class P : Crew {
};
class PCM : P {
};
class Vehicle {
weapons[] = {};
magazines[] = {
{"35Rnd_556x45_Velko_reload_tracer_red_lxWS", 100},
{"35Rnd_556x45_Velko_tracer_red_lxWS", 50},
{"100Rnd_762x51_S77_Red_Tracer_lxWS", 100},
{"7Rnd_408_Mag", 25},
{"CUP_1Rnd_HE_M203", 25},
{"CUP_1Rnd_HEDP_M203", 25},
{"CUP_1Rnd_StarFlare_Red_M203", 5},
{"CUP_1Rnd_SmokeRed_M203", 5},
{"ACE_Chemlight_HiRed", 25},
{"HandGrenade", 5},
{"MiniGrenade", 25},
{"SmokeShellRed", 25}
};
items[] = {};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
class AT_BOX {
weapons[] = {};
magazines[] = {
{"RPG32_F", 50},
{"RPG32_HE_F", 25}
};
items[] = {};
medicalItems[] = {};
};
};class MITM_U {
class Rifleman {
headGear = "gmx_cdf2022_army_headgear_m92_digittsko";
goggles = "";
uniform = "gmx_cdf2022_army_uniform_soldier_digittsko";
vest = "gmx_cdf2022_army_vest_armor_90_rifleman_digittsko_ARM";
backpack = "ark_backpack_med";
insignia = "";
};
class Leader : Rifleman {
uniform = "gmx_cdf2022_army_uniform_soldier_rolled_digittsko";
vest = "gmx_cdf2022_army_vest_armor_90_leader_digittsko_ARM";
};
class Officer : Leader {
headGear = "gmx_cdf2022_army_beret_grn";
};
class Crew : Rifleman {
headGear = "gm_gc_headgear_zsh3_wht";
uniform = "gmx_cdf2022_army_uniform_crew_digittsko";
vest = "gm_ge_army_vest_pilot_oli_ARM";
backpack = "ark_backpack_small";
};
class CO : Officer {
};
class XO : CO {
backpack = "ark_backpack_large";
};
class SL : Officer {
};
class Medic : Rifleman {
vest = "gmx_cdf2022_army_vest_armor_90_medic_digittsko_ARM";
backpack = "ark_backpack_large";
};
class FTL : Leader {
headGear = "gmx_cdf2022_army_headgear_m92_glasses_digittsko";
goggles = "G_Headset_lxWS";
};
class AR : Rifleman {
vest = "gmx_cdf2022_army_vest_armor_90_machinegunner_digittsko_ARM";
};
class AAR : Rifleman {
headGear = "gmx_cdf2022_army_headgear_m92_glasses_digittsko";
backpack = "ark_backpack_large";
};
class RAT : Rifleman {
goggles = "gm_ge_facewear_dustglasses";
};
class SN : Rifleman {
headGear = "gmx_cdf2022_army_beret_grn";
backpack = "ark_backpack_small";
};
class SP : SN {
};
class P : Crew {
};
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, 0, 1, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Rifleman", "AR", "AAR", "SP"]) 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, [0, 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 = [
["35Rnd_556x45_Velko_reload_tracer_red_lxWS", 50],
["35Rnd_556x45_Velko_tracer_red_lxWS", 25],
["CUP_1Rnd_HE_M203", 10],
["CUP_1Rnd_HEDP_M203", 10],
["CUP_1Rnd_StarFlare_Red_M203", 10],
["CUP_1Rnd_SmokeRed_M203", 10],
["100Rnd_762x51_S77_Red_Tracer_lxWS", 50],
["HandGrenade", 15],
["MiniGrenade", 15],
["SmokeShellRed", 15],
["ACE_Chemlight_HiRed", 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 = [
["RPG32_F", 25],
["RPG32_HE_F", 10]
];
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 = [
["35Rnd_556x45_Velko_reload_tracer_red_lxWS", 150],
["35Rnd_556x45_Velko_tracer_red_lxWS", 50],
["CUP_1Rnd_HE_M203", 25],
["CUP_1Rnd_HEDP_M203", 25],
["CUP_1Rnd_StarFlare_Red_M203", 25],
["CUP_1Rnd_SmokeRed_M203", 25],
["100Rnd_762x51_S77_Red_Tracer_lxWS", 150],
["HandGrenade", 25],
["MiniGrenade", 25],
["SmokeShellRed", 25],
["ACE_Chemlight_HiRed", 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
version 6 EditorData sourceName ark_co42_malinovka_in_the_middle addons A3_Ui_F gm_weapons_ammoboxes A3_Structures_F_Households_WIP CUP_AirVehicles_Mi8 CUP_AirVehicles_Mi24 gm_structures_euro_80 CUP_Misc_e_Config A3_Structures_F_Dominants_WIP A3_Structures_F_Enoch_Military_Barracks gm_objects_fortification A3_Modules_F_Curator_Curator ark_ace_rearm A3_Modules_F ark_clear_cargo Admiral ark_rotor ark_chase_ai CUP_Creatures_Military_Russia CUP_WheeledVehicles_Ural A3_Characters_F ace_explosives ace_nouniformrestrictions ace_parachute AddonsMetaData dlcs gm CUP_Vehicles Enoch CUP_Units randomSeed ScenarioData CustomAttributes w Mission moveGridStep ?angleGridStep ?scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider MarkerIDProvider LayerIndexProvider Camera nextID nextID $ nextID P pos 53FrC6;Edir FRɾ-m@?up g
ak?>aside HQ? rn? List 0 items Item0 L Item1 Item2 < Item3 Item4 Item5 = Item6 Item7 Item8 ~ Item9 + Item10 Item11 >
Item12
Item13 ( Item14 Item15 Item16 1 Item17 Item18 Item19 :
Item20
Item21 . Item22 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_Households name Arma 3 - Houses author Bohemia Interactive url https://www.arma3.com className CUP_AirVehicles_Mi8 name CUP_AirVehicles_Mi8 className CUP_AirVehicles_Mi24 name CUP_AirVehicles_Mi24 = className gm_structures_euro_80 name gm_structures_euro_80 author Global Mobilization url global-mobilization.com className CUP_Misc_e_Config name CUP_Misc_e_Config className A3_Structures_F name Arma 3 - Buildings and Structures 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 gm_objects_fortification name gm_objects_fortification author Global Mobilization url global-mobilization.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 ark_clear_cargo name ARK Inhouse - Clear Cargo author ARK url http://www.ark-group.org className Admiral name Admiral author Kami className ark_rotor name ARK Inhouse - Rotor author ARK url http://www.ark-group.org 1 className ark_chase_ai name ARK Inhouse - Chase AI author ARK url http://www.ark-group.org className CUP_Creatures_Military_Russia name CUP_Creatures_Military_Russia className CUP_WheeledVehicles_Ural name CUP_WheeledVehicles_Ural :
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/ className ace_parachute name ACE3 - Parachute author ACE-Team url https://ace3.acemod.org/ author dancemoox Header ? w gameType Coop minPlayers maxPlayers * w Category0 name Multiplayer Attribute0 Attribute1 nAttributes property RespawnTemplates expression true Value data & singleType ARRAY value J items Item0 g data w singleType STRING value None property RespawnButton expression true Value data singleType SCALAR value ? Intel @ Entities Connections t briefingName ark_co42_malinovka_in_the_middle overviewText CDF Troops defend against a Russian attack | Extract JIP resistanceWest timeOfChanges FstartWeather >startWind forecastWeather >forecastWind forecastWaves forecastLightnings =wavesForced windForced year month day hour minute startFogDecay T<forecastFogDecay T< items Item0 W Item1 ' Item2 Item3 B Item4 8 Item5 M Item6 Item7 Item8 { Item9 + Item10 4 Item11 aD Item12 #Q Item13 W Item14 W Item15 HX Item16 ^ Item17 ]b Item18 h Item19 Eo Item20 u Item21 ly Item22 Item23 Item24 k Item25 O Item26 Item27 Item28 Item29 t dataType Layer name Time Triggers Entities id atlOffset ʢ' items Item0 Item1 Item2 Item3 Item4 Item5 Item6 Item7 ' dataType Trigger position FFRB$zF Attributes id type EmptyDetector atlOffset s name tgr_safety_off condition call{hull3_mission_safetyTimerAbort} sizeA sizeB dataType Trigger position rF\BB=yF Attributes [ id type EmptyDetector atlOffset Z+ name tgr_time_10 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout D D D dataType Trigger position F(BxF Attributes I id type EmptyDetector atlOffset * name tgr_time_15 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout aD aD aD dataType Trigger position FOB&axF