admiral\admiral.h %oe description.ext 5'Re hull3\briefing\blufor.sqf :Ie hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf ype hull3\briefing\opfor.sqf Ee hull3\hull3.h M)Re hull3\LICENSE *qn^8 hull3\OG_G.h fpe hull3\OG_U.h =pe init.sqf ?He initPlayerLocal.sqf
pe9 initServer.sqf b mission.sqm pe; plank.h pe0 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 = "GM_PRL_80_WD";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "GM_PRL_80_WD";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "GM_PRL_80_WD";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class GM_PRL_80_WD {
side = "east";
infantry[] = {"gm_pl_army_grenadier_akm_pallad_80_moro", "gm_pl_army_grenadier_akm_pallad_80_moro", "gm_pl_army_rifleman_akm_80_moro", "gm_pl_army_rifleman_akm_80_moro", "gm_pl_army_antitank_akm_rpg7_80_moro", "gm_pl_army_machinegunner_rpk_80_moro", "gm_pl_army_machinegunner_pk_80_moro", "gm_pl_army_medic_akm_80_moro"};
crewmen[] = {"gm_pl_army_crew_pm63_80_moro"};
pilots[] = {"gm_pl_airforce_pilot_pm_80_gry"};
technicals[] = {"gm_pl_army_uaz469_dshkm"};
armour[] = {"gm_pl_army_brdm2", "gm_pl_army_ot64a", "gm_pl_army_bmp1sp2", "gm_pl_army_pt76b", "gm_pl_army_t55"};
th[] = {"gm_pl_airforce_mi2t"};
ah[] = {"gm_pl_airforce_mi2urn"};
};
};
};
#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 = "obrona grobu";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 40;
};
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 = 2;
code = "hull3_mission_timeOfDay = %1";
};
class Hull3_Fog {
title = "Fog";
values[] = {0,1,2};
texts[] = {"None", "Light", "Heavy"};
default = 1;
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 = 7;
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","
Government forces have tracked us down to our rally point and are advancing in force upon our position.
ENEMY FORCES
Forces loyal to the Communist and Soviet backed Government.
FRIENDLY FORCES
We are the Polish Democratic Underground fighting to overthrow the Communist Government. We all wear the symbol of the old Home Army.
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 small chapel.
JIP EXTRACT
Extract must wait to be called in before moving off.
The transport plane is capable of short take off and landing but will still require an area clear of obstructions in order to land and taxi before taking off again.
"]];
// Credits
player createDiaryRecord ["Diary", ["Credits", "
Made by dancemoox
"]];// 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},
{7, 30},
{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 GM_PRL_80_WD {
gear = "OG_G";
uniform = "OG_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "OG_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "OG_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 OG_G {
class Rifleman {
primaryWeapon = "gm_akmn_wud";
primaryWeaponItems[] = {};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"ACE_HandFlare_White", 2},
{"gm_smokeshell_wht_gc", 1}
};
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 4},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2}
};
basicAssignItems[] = {"ItemMap", "gm_gc_compass_f73", "gm_watch_kosei_80"};
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 = "gm_akm_pallad_wud";
handgunWeapon = "gm_pm_blk";
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 6},
{"1Rnd_HE_Grenade_shell", 4},
{"UGL_FlareWhite_F", 2},
{"1Rnd_Smoke_Grenade_shell", 2},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_8Rnd_9x18mm_B_pst_pm_blk", 3}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 4},
{"UGL_FlareWhite_F", 2},
{"1Rnd_Smoke_Grenade_shell", 2},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2}
};
assignItems[] = {};
binocular = "gm_df7x40_blk";
};
class Officer : Leader {
assignItems[] = {};
binocular = "gm_df7x40_blk";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
primaryWeapon = "gm_pm63_blk";
uniformMagazines[] = {
{"ACE_HandFlare_White", 2},
{"gm_smokeshell_wht_gc", 1}
};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"gm_25Rnd_9x18mm_B_pst_pm63_blk", 4}};
backpackMagazines[] = {};
assignItems[] = {};
};
class CO : Officer {
};
class XO : CO {
backpackRadios[] = {"ACRE_PRC117F"};
};
class SL : Officer {
};
class Medic : Rifleman {
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_smokeshell_wht_gc", 4}
};
backpackMagazines[] = {
{"gm_smokeshell_wht_gc", 4},
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 2}
};
assignItems[] = {};
binocular = "gm_df7x40_blk";
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 = "gm_rpkn_wud";
vestMagazines[] = {{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 2}};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 4}
};
};
class AAR : Rifleman {
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 4}
};
binocular = "gm_df7x40_blk";
};
class RAT : Rifleman {
secondaryWeapon = "CUP_launch_RPG7V";
secondaryWeaponItems[] = {"CUP_PG7VL_M"};
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 4},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"CUP_PG7VM_M", 2}
};
};
class SN : Rifleman {
primaryWeapon = "gm_svd_wud";
handgunWeapon = "gm_pm_blk";
primaryWeaponItems[] = {"gm_pso1_gry"};
uniformMagazines[] = {
{"ACE_HandFlare_White", 2},
{"gm_smokeshell_wht_gc", 1}
};
vestMagazines[] = {
{"gm_10Rnd_762x54mmR_B_T_7t2_svd_blk", 4},
{"gm_8Rnd_9x18mm_B_pst_pm_blk", 3}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 1},
{"gm_smokeshell_wht_gc", 1},
{"gm_10Rnd_762x54mmR_B_T_7t2_svd_blk", 3}
};
assignItems[] = {};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class P : Crew {
backpackMedicalItems[] = {};
};
class PCM : P {
};
class Vehicle {
weapons[] = {{"CUP_launch_RPG26", 15}};
magazines[] = {
{"gm_30Rnd_762x39mm_B_M43_ak47_blk", 100},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 50},
{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 100},
{"CUP_PG7V_M", 15},
{"1Rnd_HE_Grenade_shell", 25},
{"UGL_FlareWhite_F", 25},
{"1Rnd_Smoke_Grenade_shell", 25},
{"gm_10Rnd_762x54mmR_B_T_7t2_svd_blk", 25},
{"ACE_HandFlare_White", 25},
{"gm_handgrenade_frag_rgd5", 25},
{"gm_smokeshell_wht_gc", 25}
};
items[] = {};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
};class OG_U {
class Rifleman {
headGear = "gm_pl_army_headgear_wz67_oli";
goggles = "";
uniform = "gm_pl_army_uniform_soldier_80_frog";
vest = "gm_pl_army_vest_80_rifleman_gry_ARM";
backpack = "ark_backpack_med";
insignia = "USP_PATCH_POL_ARMY_GROM_SF";
};
class Leader : Rifleman {
uniform = "gm_pl_army_uniform_soldier_rolled_80_frog";
vest = "gm_pl_army_vest_80_leader_gry_ARM";
};
class Officer : Leader {
headGear = "gm_pl_army_headgear_cap_80_frog";
};
class Crew : Rifleman {
headGear = "gm_gc_headgear_zsh3_wht";
uniform = "gm_gc_civ_uniform_pilot_80_blk";
vest = "gm_pl_army_vest_80_crew_gry_ARM";
backpack = "ark_backpack_small";
};
class CO : Officer {
};
class XO : CO {
backpack = "ark_backpack_large";
};
class SL : Officer {
};
class Medic : Rifleman {
headGear = "gm_pl_army_headgear_wz67_net_oli";
uniform = "gm_pl_army_uniform_soldier_rolled_80_frog";
backpack = "ark_backpack_large";
};
class FTL : Leader {
};
class AR : Rifleman {
uniform = "gm_pl_army_uniform_soldier_rolled_80_frog";
vest = "gm_pl_army_vest_80_mg_gry_ARM";
};
class AAR : Rifleman {
headGear = "gm_pl_army_headgear_wz67_net_oli";
backpack = "ark_backpack_large";
};
class RAT : Rifleman {
headGear = "gm_pl_army_headgear_wz67_net_oli";
uniform = "gm_pl_army_uniform_soldier_rolled_80_frog";
vest = "gm_pl_army_vest_80_at_gry_ARM";
};
class SN : Rifleman {
headGear = "gm_xx_headgear_headwrap_01_frog";
vest = "gm_pl_army_vest_80_marksman_gry_ARM";
backpack = "ark_backpack_small";
};
class SP : SN {
};
class P : Crew {
headGear = "gm_gc_headgear_zsh3_wht";
uniform = "gm_pl_airforce_uniform_pilot_80_gry";
};
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"]) 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, 1, 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 ["_magazines"];
_magazines = [
["gm_10Rnd_762x54mmR_B_T_7t2_svd_blk", 50]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
};
ark_fnc_plank_fill_MMG_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["gm_30Rnd_762x39mm_B_57N231_ak47_blk", 50],
["gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 25],
["1Rnd_HE_Grenade_shell", 10],
["UGL_FlareWhite_F", 10],
["1Rnd_Smoke_Grenade_shell", 10],
["gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk", 50],
["gm_handgrenade_frag_rgd5", 15],
["gm_smokeshell_wht_gc", 15],
["ACE_HandFlare_White", 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_PG7V_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 = [
["gm_30Rnd_762x39mm_B_57N231_ak47_blk", 150],
["gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 50],
["1Rnd_HE_Grenade_shell", 25],
["UGL_FlareWhite_F", 25],
["1Rnd_Smoke_Grenade_shell", 25],
["gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk", 150],
["gm_handgrenade_frag_rgd5", 25],
["gm_smokeshell_wht_gc", 25],
["ACE_HandFlare_White", 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 f sourceName ark_co39_obrona_grobu addons A3_Ui_F A3_Structures_F_Enoch_Walls_Brick A3_Structures_F_Enoch_Cultural_Church_04 A3_Structures_F_Enoch_Decals_Horizontal A3_Structures_F_Argo_Decals_Horizontal gm_vehicles_air_planes_l410_gc_civ_l410 gm_weapons_ammoboxes gm_vehicles_air_helicopters_mi2_pl_airforce_mi2 gm_structures_euro_80 gm_vehicles_land_wheeled_p601_gc_civ_p601 A3_Structures_F_Oldman_Decals gm_vehicles_land_wheeled_ural375d_gc_civ_ural375d A3_Modules_F_Curator_Curator ark_ace_rearm A3_Modules_F ark_clear_cargo Admiral ark_rotor ark_chase_ai gm_characters_pl_characters gm_vehicles_land_tracked_2s1_pl_army_2s1 A3_Characters_F ace_nouniformrestrictions AddonsMetaData dlcs Enoch Argo gm Oldman randomSeed ScenarioData b CustomAttributes Mission X ; moveGridStep ?angleGridStep ?scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider MarkerIDProvider - LayerIndexProvider @ Camera S nextID - nextID $ @ nextID S pos 8+FJB6Edir 55?up 5?5? List b items Item0 Item1 ) Item2 Item3 b Item4 Item5 Item6 Item7 Item8 H
Item9
Item10 Item11 ; Item12 Item13 3
Item14
Item15 ! Item16 X Item17 Item18 $ Item19 Item20 V Item21 b className A3_Ui_F name Arma 3 - User Interface author Bohemia Interactive url https://www.arma3.com ) className A3_Structures_F_Enoch name Arma 3 Contact Platform - Buildings and Structures author Bohemia Interactive url https://www.arma3.com className A3_Structures_F_Enoch_Cultural name Arma 3 Contact Platform - Cultural Buildings author Bohemia Interactive url https://www.arma3.com b className A3_Structures_F_Argo name Arma 3 Malden - Buildings and Structures author Bohemia Interactive url https://www.arma3.com className gm_vehicles_air_planes_l410_gc_civ_l410 name gm_vehicles_air_planes_l410_gc_civ_l410 author Global Mobilization url global-mobilization.com className gm_weapons_ammoboxes name gm_weapons_ammoboxes author Global Mobilization url global-mobilization.com className gm_vehicles_air_helicopters_mi2_pl_airforce_mi2 name gm_vehicles_air_helicopters_mi2_pl_airforce_mi2 author Global Mobilization url global-mobilization.com className gm_structures_euro_80 name gm_structures_euro_80 author Global Mobilization url global-mobilization.com H
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 A3_Structures_F_Oldman name Arma 3 Old Man - Buildings and Structures author Bohemia Interactive url https://www.arma3.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 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 3
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 X 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 gm_characters_pl_characters name gm_characters_pl_characters author Global Mobilization url global-mobilization.com className gm_vehicles_land_tracked_2s1_pl_army_2s1 name gm_vehicles_land_tracked_2s1_pl_army_2s1 author Global Mobilization url global-mobilization.com V 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/ b author dancemoox Header gameType Coop minPlayers maxPlayers ' Category0 X name Multiplayer Attribute0 Attribute1 nAttributes X property RespawnButton expression true Value [ data k singleType SCALAR value ? property RespawnTemplates expression true Value X data X singleType ARRAY value X items Item0 ! X data 1 X singleType STRING value None X Intel Entities 9 Connections x2 ; briefingName ark_co39_obrona_grobu overviewText Polish resistance fighters hold out against a government attack | Extract JIP resistanceWest timeOfChanges FstartWeather >startWind forecastWeather >forecastWind forecastWaves forecastLightnings =wavesForced windForced year month day hour minute startFogDecay T<forecastFogDecay T<9 items Item0 Item1 y Item2 M Item3 Item4 Item5 Item6 D Item7 b Item8 Item9 Item10 m Item11 1 Item12 Item13 Item14 Item15 n Item16 r Item17 9 Item18 Item19 Item20 Item21
Item22 Item23 Item24 Item25 -# Item26 & Item27 y* Item28 @+ Item29 . x2 dataType Layer name Time Triggers Entities id atlOffset ^By items Item0 f Item1 < Item2 * Item3 Item4 Item5 - Item6 B Item7 / y dataType Trigger position FFRB$zF Attributes id type EmptyDetector atlOffset B< name tgr_safety_off condition call{hull3_mission_safetyTimerAbort} sizeA sizeB < dataType Trigger position rF\BB=yF Attributes id type EmptyDetector atlOffset J6B* name tgr_time_10 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout D D D* dataType Trigger position F(BxF Attributes id type EmptyDetector atlOffset rB name tgr_time_15 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout aD aD aD dataType Trigger position FOB&axF