admiral\admiral.h |ܬdL description.ext *߬d hull3\briefing\blufor.sqf d! hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf b hull3\briefing\opfor.sqf b hull3\hull3.h Iud~ hull3\LICENSE *qn^8 hull3\SS_G.h 2d hull3\SS_U.h vd$ init.sqf kpd initPlayerLocal.sqf dd< initServer.sqf b mission.sqm Tdif plank.h d 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_RU"};
ah[] = {"CUP_O_Mi24_V_Dynamic_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 = "stawianie smoka";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 52;
};
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 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 LDF {
gear = "SS_G";
uniform = "SS_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "SS_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "SS_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 SS_G {
class Rifleman {
primaryWeapon = "arifle_SLR_V_lxWS";
primaryWeaponItems[] = {};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "CUP_hgun_CZ75";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"HandGrenade", 2},
{"MiniGrenade", 2},
{"ACE_Chemlight_HiGreen", 2},
{"gm_smokeshell_grn_gc", 1},
{"CUP_16Rnd_9x19_cz75", 3}
};
vestMagazines[] = {
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 6},
{"30Rnd_762x51_slr_tracer_green_lxWS", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"gm_smokeshell_grn_gc", 1},
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 4},
{"30Rnd_762x51_slr_tracer_green_lxWS", 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 = "arifle_SLR_V_GL_lxWS";
vestMagazines[] = {
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 4},
{"30Rnd_762x51_slr_tracer_green_lxWS", 2},
{"1Rnd_40mm_HE_lxWS", 4},
{"1Rnd_50mm_Smoke_lxWS", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"gm_smokeshell_grn_gc", 1},
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 6},
{"30Rnd_762x51_slr_tracer_green_lxWS", 2},
{"1Rnd_40mm_HE_lxWS", 4},
{"1Rnd_50mm_Smoke_lxWS", 2}
};
assignItems[] = {"ItemGPS"};
binocular = "Binocular";
};
class Officer : Leader {
assignItems[] = {"ItemGPS"};
binocular = "ACE_Vector";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
primaryWeapon = "CUP_smg_EVO";
primaryWeaponItems[] = {};
uniformMagazines[] = {
{"HandGrenade", 1},
{"ACE_Chemlight_HiGreen", 2},
{"gm_smokeshell_grn_gc", 1}
};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"CUP_30Rnd_9x19_EVO", 4}};
backpackMagazines[] = {};
assignItems[] = {"ItemGPS", "CUP_NVG_1PN138"};
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
handgunWeapon = "gm_wz78_blk";
uniformMagazines[] = {
{"HandGrenade", 1},
{"ACE_Chemlight_HiGreen", 2},
{"gm_smokeshell_grn_gc", 1},
{"gm_1Rnd_265mm_flare_single_wht_gc", 4},
{"gm_1Rnd_265mm_flare_multi_wht_DM25", 2}
};
vestMagazines[] = {
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 6},
{"30Rnd_762x51_slr_tracer_green_lxWS", 2},
{"gm_smokeshell_grn_gc", 4}
};
backpackMagazines[] = {
{"gm_smokeshell_grn_gc", 4},
{"30Rnd_762x51_slr_reload_tracer_green_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 = "CUP_lmg_FNMAG_RIS_modern";
primaryWeaponItems[] = {};
vestMagazines[] = {{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 2}};
backpackMagazines[] = {
{"HandGrenade", 1},
{"gm_smokeshell_grn_gc", 1},
{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 6}
};
};
class AAR : Rifleman {
backpackMagazines[] = {
{"HandGrenade", 1},
{"gm_smokeshell_grn_gc", 1},
{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 4}
};
binocular = "Binocular";
};
class RAT : Rifleman {
primaryWeapon = "arifle_SLR_V_GL_lxWS";
secondaryWeapon = "gm_pzf44_2_oli";
secondaryWeaponItems[] = {"gm_feroz2x17_pzf44_2_blk", "gm_1Rnd_44x537mm_heat_dm32_pzf44_2"};
vestMagazines[] = {
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 6},
{"30Rnd_762x51_slr_tracer_green_lxWS", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"gm_smokeshell_grn_gc", 1},
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 4},
{"gm_1Rnd_44x537mm_heat_dm32_pzf44_2", 2},
{"1Rnd_58mm_AT_lxWS", 4}
};
};
class MATG : Rifleman {
secondaryWeapon = "ace_dragon_super";
secondaryWeaponItems[] = {"CUP_optic_SMAW_Scope", "CUP_SMAW_HEAA_M", "CUP_SMAW_Spotting"};
binocular = "ace_dragon_sight";
};
class MATAG : Rifleman {
secondaryWeapon = "ace_dragon_super";
binocular = "ACE_Vector";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class MATAC : MATAG {
assignItems[] = {};
binocular = "ace_dragon_sight";
uniformRadios[] = {"ACRE_PRC343"};
};
class VC : Crew {
binocular = "ACE_Vector";
};
class VG : Crew {
};
class VD : Crew {
};
class P : Crew {
};
class Vehicle {
weapons[] = {};
magazines[] = {
{"30Rnd_762x51_slr_reload_tracer_green_lxWS", 100},
{"30Rnd_762x51_slr_tracer_green_lxWS", 50},
{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 100},
{"1Rnd_40mm_HE_lxWS", 25},
{"1Rnd_58mm_AT_lxWS", 25},
{"1Rnd_50mm_Smoke_lxWS", 25},
{"CUP_16Rnd_9x19_cz75", 15},
{"ACE_Chemlight_HiGreen", 25},
{"MiniGrenade", 25},
{"HandGrenade", 25},
{"gm_smokeshell_grn_gc", 25},
{"gm_1Rnd_265mm_flare_single_wht_gc", 25},
{"gm_1Rnd_265mm_flare_multi_wht_DM25", 25},
{"gm_1Rnd_44x537mm_heat_dm32_pzf44_2", 25}
};
items[] = {};
medicalItems[] = {
{"ACE_fieldDressing", 150},
{"ACE_splint", 12}
};
};
};
class SS_U {
class Rifleman {
headGear = "acp_POL_wz93_H_PASGT_basic_POL_wz93_F";
goggles = "G_Combat_lxWS";
uniform = "acp_POL_wz93_U_O_R_Gorka_01_POL_wz93_F";
vest = "acp_POL_wz93_V_SmershVest_01_POL_wz93_F_ARM";
backpack = "ark_backpack_med";
insignia = "EAF_5thRegiment";
};
class Leader : Rifleman {
vest = "acp_POL_wz93_V_SmershVest_01_radio_POL_wz93_F_ARM";
};
class Officer : Leader {
headGear = "H_Beret_EAF_01_F";
goggles = "";
};
class Crew : Rifleman {
headGear = "H_Tank_eaf_F";
goggles = "";
vest = "acp_POL_wz93_V_TacVest_POL_wz93_ARM";
backpack = "ark_backpack_small";
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
backpack = "ark_backpack_large";
};
class FTL : Leader {
goggles = "G_Headset_lxWS";
};
class AR : Rifleman {
backpack = "ark_backpack_large";
};
class AAR : Rifleman {
backpack = "ark_backpack_large";
};
class RAT : Rifleman {
};
class MATG : RAT {
backpack = "ark_backpack_med";
};
class MATAG : AAR {
goggles = "G_Headset_lxWS";
};
class MATAC : MATAG {
};
class VC : Crew {
};
class VG : Crew {
};
class VD : Crew {
};
class P : Crew {
headGear = "H_PilotHelmetHeli_I_E";
};
};
if (isServer) then {
{_x forceFlagTexture "\A3\Data_F_Enoch\Flags\flag_Enoch_CO.paa"} forEach [tank_1, tank_2, car_1, car_2, ifv_1, ifv_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", "MATAC", "MATG"]) 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 ["MATAG"]) exitWith {[_unit, [0, 4, 2, 4, 2, 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 = [
["ace_dragon_super", 50]
];
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 = [
["30Rnd_762x51_slr_reload_tracer_green_lxWS", 50],
["30Rnd_762x51_slr_tracer_green_lxWS", 25],
["1Rnd_40mm_HE_lxWS", 10],
["1Rnd_50mm_Smoke_lxWS", 10],
["CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 50],
["gm_1Rnd_265mm_flare_single_wht_gc", 15],
["gm_1Rnd_265mm_flare_multi_wht_DM25", 15],
["HandGrenade", 15],
["MiniGrenade", 15],
["gm_smokeshell_grn_gc", 15],
["ACE_Chemlight_HiGreen", 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 = [
["gm_1Rnd_44x537mm_heat_dm32_pzf44_2", 25],
["1Rnd_58mm_AT_lxWS", 50]
];
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 = [
["30Rnd_762x51_slr_reload_tracer_green_lxWS", 150],
["30Rnd_762x51_slr_tracer_green_lxWS", 50],
["1Rnd_40mm_HE_lxWS", 25],
["1Rnd_50mm_Smoke_lxWS", 25],
["CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 150],
["gm_1Rnd_265mm_flare_single_wht_gc", 25],
["gm_1Rnd_265mm_flare_multi_wht_DM25", 25],
["HandGrenade", 25],
["MiniGrenade", 25],
["gm_smokeshell_grn_gc", 25],
["ACE_Chemlight_HiGreen", 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\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 ef
version 6 EditorData sourceName ark_co51_stawianie_smoka addons ' A3_Ui_F A3_Soft_F_Enoch_Truck_02 A3_Air_F_Enoch_Heli_Light_03 A3_Soft_F_Enoch_Offroad_01 ark_vehicle_textures CUP_TrackedVehicles_M1A2Abrams A3_Armor_F_Enoch_APC_Tracked_03 gm_structures_euro_80 CUP_Editor_Structures_Config plp_beachobjects A3_Props_F_Orange_Furniture structures_F_lxWS_Furniture_Misc A3_Props_F_Enoch_Civilian_Camping CUP_Editor_Signs_Config A3_Props_F_Enoch_Items_Documents A3_Structures_F_Civ_InfoBoards A3_Structures_F_Orange_Signs_Special plp_containers CUP_Editor_Buildings_Config A3_Structures_F_Enoch_Military_Camps A3_Structures_F_Mil_Helipads A3_Structures_F_Enoch_Military_Flags plp_urban_barriers A3_Structures_F_Enoch_Civilian_Accessories ace_sitting A3_Structures_F_Enoch_Infrastructure_Lamps A3_Supplies_F_Enoch_Ammoboxes A3_Modules_F_Curator_Curator ark_ace_rearm ark_clear_cargo Admiral ark_rotor ark_chase_ai CUP_Creatures_Military_Russia CUP_AirVehicles_Mi24 CUP_WheeledVehicles_Ural A3_Modules_F A3_Characters_F ace_nouniformrestrictions AddonsMetaData . dlcs Enoch CUP_Vehicles ORANGE ws CUP_Units randomSeed ScenarioData CustomAttributes H Mission ef moveGridStep ?angleGridStep ?scaleGridStep ?autoGroupingDist Atoggles
ItemIDProvider MarkerIDProvider LayerIndexProvider Camera . nextID l nextID $ nextID pos #EC@nEdir %>]3Oup SW>e6?[V
aside $qE .". List > %items $ Item0 Item1 h Item2 Item3 u Item4 Item5
Item6
Item7 Item8 n Item9 Item10 < Item11 Item12 m
Item13
Item14 : Item15 Item16 Item17 T Item18 Item19 Item20 Item21 o Item22 Item23 | Item24 Item25 Item26 Item27 z Item28 Item29 Item30 } Item31 Item32 Item33 ` Item34 Item35 h className A3_Ui_F name Arma 3 - User Interface author Bohemia Interactive url https://www.arma3.com h className A3_Soft_F_Enoch name Arma 3 Contact Platform - Unarmored Land Vehicles author Bohemia Interactive url https://www.arma3.com className A3_Air_F_Enoch name Arma 3 Enoch - Aircraft author Bohemia Interactive url https://www.arma3.com u className ark_vehicle_textures name ark_vehicle_textures author ARK className CUP_TrackedVehicles_M1A2Abrams name CUP_TrackedVehicles_M1A2Abrams
className A3_Armor_F_Enoch name CFGPATCHES_A3_Armor_F_Enoch author Bohemia Interactive url https://www.arma3.com
className gm_structures_euro_80 name gm_structures_euro_80 author Global Mobilization url global-mobilization.com className CUP_Editor_Structures_Config name CUP_Editor_Structures_Config n className plp_beachobjects name plp_beachobjects className A3_Props_F_Orange name Arma 3 Orange - Decorative and Mission Objects author Bohemia Interactive url https://www.arma3.com < className structures_F_lxWS name Arma 3 Western Sahara - Buildings and Structures author Rotators Collective url https://www.arma3.com className A3_Props_F_Enoch name Arma 3 Contact Platform - Decorative and Mission Objects author Bohemia Interactive url https://www.arma3.com m
className CUP_Editor_Signs_Config name CUP_Editor_Signs_Config
className A3_Structures_F name Arma 3 - Buildings and Structures author Bohemia Interactive url https://www.arma3.com : className A3_Structures_F_Orange name Arma 3 Orange - Buildings and Structures author Bohemia Interactive url https://www.arma3.com className plp_containers name plp_containers className CUP_Editor_Buildings_Config name CUP_Editor_Buildings_Config T className A3_Structures_F_Enoch_Military name Arma 3 Contact Platform - Military Buildings and Structures author Bohemia Interactive url https://www.arma3.com className A3_Structures_F_Mil name Arma 3 - Military Buildings and Structures author Bohemia Interactive url https://www.arma3.com className plp_urban_barriers name plp_urban_barriers className A3_Structures_F_Enoch_Civilian name Arma 3 Contact Platform - Civilian Buildings author Bohemia Interactive url https://www.arma3.com o className ace_sitting name ACE3 - Sitting author ACE-Team url https://ace3.acemod.org/ className A3_Structures_F_Enoch_Infrastructure name Arma 3 Contact Platform - Infrastructure Objects author Bohemia Interactive url https://www.arma3.com | className A3_Supplies_F_Enoch name Arma 3 Contact Platform - Ammoboxes and Supplies 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 ark_clear_cargo name ARK Inhouse - Clear Cargo author ARK url http://www.ark-group.org z 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 CUP_Creatures_Military_Russia name CUP_Creatures_Military_Russia className CUP_AirVehicles_Mi24 name CUP_AirVehicles_Mi24 className CUP_WheeledVehicles_Ural name CUP_WheeledVehicles_Ural ` className A3_Modules_F name Arma 3 Alpha - Scripted Modules author Bohemia Interactive url https://www.arma3.com className A3_Characters_F name Arma 3 Alpha - Characters and Clothing author Bohemia Interactive url https://www.arma3.com h className ace_nouniformrestrictions name ACE3 - No Uniform Restrictions author ACE-Team url https://ace3.acemod.org/ author dancemoox Header H gameType Coop minPlayers maxPlayers 3 H Category0 ] name Multiplayer Attribute0 Attribute1 nAttributes property RespawnButton expression true Value data singleType SCALAR value ? property RespawnTemplates expression true Value Y data i singleType ARRAY value items Item0 data singleType STRING value None Intel Entities Connections X ef briefingName ark_co51_stawianie_smoka overviewText LDF Reservists defend a crossroad | 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 s&