admiral\admiral.h ̨eG description.ext
e hull3\briefing\blufor.sqf KeG hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf e hull3\briefing\opfor.sqf Ee hull3\hull3.h e hull3\LICENSE *qn^8 hull3\RR_G.h գe hull3\RR_U.h 7'e init.sqf Sem initPlayerLocal.sqf (e# initServer.sqf b mission.sqm )e plank.h Pe 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_DE";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "CUP_RU_RATNIK_DE";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "CUP_RU_RATNIK_DE";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class CUP_RU_RATNIK_DE {
technicals[] = {"CUP_O_UAZ_MG_RU", "CUP_O_UAZ_MG_RU", "CUP_O_UAZ_AGS30_RU", "CUP_O_UAZ_SPG9_RU", "CUP_O_GAZ_Vodnik_PK_RU", "CUP_O_GAZ_Vodnik_AGS_RU"};
armour[] = {"CUP_O_GAZ_Vodnik_KPVT_RU", "CUP_O_GAZ_Vodnik_BPPU_RU", "CUP_O_BTR80_DESERT_RU", "CUP_O_BTR80A_DESERT_RU"};
th[] = {"CUP_O_Mi8MT_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 = "rissani resistance";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 56;
};
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 = 1;
code = "hull3_mission_weather = %1";
};
class Hull3_SafetyTimer {
title = "Safety Timer";
values[] = {9999,0};
texts[] = {"On", "Off"};
default = 9999;
code = "hull3_mission_safetyTimerEnd = %1";
};
};
class CfgDebriefingSections {
class acex_killTracker {
title = "Acex Killed Events";
variable = "acex_killTracker_outputText";
};
};
// BLUFOR Notes
// Situation
player createDiaryRecord ["Diary", ["Situation","
Russian forces have been building up on our northern border for some time. An attack into Takistan is expected imminently.
ENEMY FORCES
Intelligence indicates a light motorised Russian force across the border.
FRIENDLY FORCES
We are the Takistan Army tribal militia unit tasked with defending this northern desert border crossing.
A reinforcement 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 reinforcements when required.
Expect attacks from the west, north and east.
Once reinforcements have arrived remain within the area and continue to defending.
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
Remain within the indicated AO perimeter at all times.
FORTIFICATION PLAN
Ammunition can be found here.
Both Engineers and DHAT have additional Plank ammuniton and resupply boxes should they be required.
JIP REINFORCEMENT
Reinforcements must wait to be called in before moving off.
Once reinforcements arrive hold in place until the attack fizzles out.
"]];
// 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","
Anti Government forces have begun a massed uprising across the province, we must hold the southern coastal road at all costs.
ENEMY FORCES
Anti Government rebels armed with Soviet armour and captured AAF small arms.
FRIENDLY FORCES
We are the AAF platoon tasked with holding checkpoint five, the southern coastal road to the capital.
A reinforcement 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 reinforcements when required.
We are surrounded, defend in all directions apart from the sea.
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
Remain within the indicated AO perimeter at all times.
FORTIFICATION PLAN
An ammunition can be found in both storage buildings.
JIP REINFORCEMENT
Reinforcements must wait to be called in before moving off.
Once reinforcements arrive hold in place until the attack fizzles out.
"]];
// 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, 10, 06},
{2035, 10, 06}
};
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 GMX_TKA {
gear = "RR_G";
uniform = "RR_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "RR_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "RR_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 RR_G {
class Rifleman {
primaryWeapon = "arifle_SLR_lxWS";
primaryWeaponItems[] = {};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"ACE_HandFlare_White", 2},
{"gm_handgrenade_frag_dm41a1", 1},
{"gm_handgrenade_conc_dm51a1", 1},
{"gm_smokeshell_wht_dm25", 1}
};
vestMagazines[] = {
{"gm_handgrenade_frag_dm41a1", 1},
{"20Rnd_762x51_slr_lxWS", 6},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm41a1", 1},
{"gm_smokeshell_wht_dm25", 1},
{"20Rnd_762x51_slr_lxWS", 4},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2}
};
basicAssignItems[] = {"ItemMap", "ItemCompass", "ItemWatch"};
assignItems[] = {};
binocular = "";
uniformItems[] = {
{"ACE_Flashlight_MX991", 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_GL_lxWS";
primaryWeaponItems[] = {};
handgunWeapon = "CUP_hgun_Browning_HP";
vestMagazines[] = {
{"20Rnd_762x51_slr_lxWS", 2},
{"1Rnd_40mm_HE_lxWS", 4},
{"1Rnd_50mm_Smoke_lxWS", 4},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2},
{"CUP_13Rnd_9x19_Browning_HP", 3}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm41a1", 1},
{"gm_smokeshell_wht_dm25", 1},
{"20Rnd_762x51_slr_lxWS", 6},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2},
{"1Rnd_50mm_Smoke_lxWS", 4},
{"1Rnd_58mm_AT_lxWS", 2}
};
binocular = "gm_ferod16_des";
};
class Officer : Leader {
binocular = "gm_fero51_oli";
uniformRadios[] = {};
vestRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
primaryWeapon = "CUP_smg_UZI";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"CUP_32Rnd_9x19_UZI_M", 4}};
backpackMagazines[] = {};
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
primaryWeaponItems[] = {};
vestMagazines[] = {
{"20Rnd_762x51_slr_lxWS", 6},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2},
{"gm_smokeshell_wht_dm25", 2}
};
backpackMagazines[] = {
{"gm_smokeshell_wht_dm25", 4},
{"20Rnd_762x51_slr_lxWS", 2}
};
binocular = "gm_ferod16_des";
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 {
handgunWeapon = "gm_p2a1_blk";
vestMagazines[] = {
{"20Rnd_762x51_slr_lxWS", 2},
{"1Rnd_40mm_HE_lxWS", 4},
{"1Rnd_50mm_Smoke_lxWS", 4},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2},
{"gm_1Rnd_265mm_flare_single_wht_DM15", 3},
{"gm_1Rnd_265mm_flare_multi_wht_DM25", 3}
};
};
class AR : Rifleman {
primaryWeapon = "CUP_lmg_FNMAG";
primaryWeaponItems[] = {};
vestMagazines[] = {{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 4}};
backpackMagazines[] = {{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 3}};
};
class AAR : Rifleman {
backpackMagazines[] = {
{"gm_handgrenade_frag_dm41a1", 1},
{"gm_smokeshell_wht_dm25", 1},
{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 3}
};
binocular = "gm_ferod16_des";
};
class RAT : Rifleman {
secondaryWeapon = "gm_pzf84_oli";
secondaryWeaponItems[] = {"gm_feroz2x17_pzf84_blk", "gm_1Rnd_84x245mm_heat_t_DM12a1_carlgustaf"};
vestMagazines[] = {
{"20Rnd_762x51_slr_lxWS", 6},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_dm41a1", 1},
{"gm_smokeshell_wht_dm25", 1},
{"20Rnd_762x51_slr_lxWS", 4},
{"gm_1Rnd_84x245mm_heat_t_DM12a1_carlgustaf", 2},
{"gm_1Rnd_84x245mm_heat_t_DM32_carlgustaf", 1}
};
};
class DHATG : Rifleman {
backpackMagazines[] = {};
};
class DHATAG : FTL {
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
binocular = "gm_fero51_oli";
};
class DHATAC : Rifleman {
binocular = "gm_ferod16_des";
};
class ENG : Rifleman {
vestMagazines[] = {
{"20Rnd_762x51_slr_lxWS", 6},
{"20Rnd_762x51_slr_tracer_green_lxWS", 2}
};
backpackMagazines[] = {
{"gm_mine_ap_dm31", 3},
{"gm_mine_at_dm21", 1}
};
vestItems[] = {
{"ACE_DefusalKit", 1}
};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
binocular = "gm_ferod16_des";
};
class ENGA : ENG {
uniformRadios[] = {"ACRE_PRC343"};
binocular = "";
};
class VC : Crew {
binocular = "gm_fero51_oli";
};
class VG : Crew {
};
class VD : Crew {
};
class P : Crew {
assignItems[] = {"gm_nsg66_oli"};
};
class PCM : P {
};
class Vehicle {
weapons[] = {
{"gm_fim43_oli", 2};
};
magazines[] = {
{"20Rnd_762x51_slr_lxWS", 100},
{"20Rnd_762x51_slr_tracer_green_lxWS", 50},
{"CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 100},
{"1Rnd_50mm_Smoke_lxWS", 25},
{"1Rnd_58mm_AT_lxWS", 25},
{"1Rnd_40mm_HE_lxWS", 25},
{"CUP_32Rnd_9x19_UZI_M", 25},
{"CUP_13Rnd_9x19_Browning_HP", 25},
{"gm_1Rnd_265mm_flare_single_wht_DM15", 25},
{"gm_1Rnd_265mm_flare_multi_wht_DM25", 25},
{"gm_1Rnd_84x245mm_ILLUM_DM16_carlgustaf", 25},
{"gm_1Rnd_84x245mm_heat_t_DM12a1_carlgustaf", 50},
{"gm_1Rnd_84x245mm_heat_t_DM32_carlgustaf", 25},
{"ACE_HandFlare_White", 25},
{"gm_handgrenade_conc_dm51a1", 25},
{"gm_handgrenade_frag_dm41a1", 25},
{"gm_smokeshell_wht_dm25", 25},
{"gm_1Rnd_70mm_he_m585_fim43", 2}
};
items[] = {};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
class MineAP {
weapons[] = {};
magazines[] = {
{"gm_mine_ap_dm31", 6}
};
items[] = {};
medicalItems[] = {};
};
class MineAT {
weapons[] = {};
magazines[] = {
{"gm_mine_at_dm21", 4}
};
items[] = {};
medicalItems[] = {};
};
};class RR_U {
class Rifleman {
headGear = "lxWS_H_ssh40_green";
goggles = "";
uniform = "gmx_tak_army_uniform_soldier_oli";
vest = "gm_ge_army_vest_80_rifleman_ARM";
backpack = "ark_backpack_med";
};
class Leader : Rifleman {
vest = "gm_ge_army_vest_80_leader_ARM";
};
class Officer : Leader {
headGear = "CUP_H_TK_Beret";
};
class Crew : Rifleman {
headGear = "gm_gc_army_headgear_crewhat_80_blk";
uniform = "gmx_tak_army_uniform_crew_oli";
vest = "gm_ge_army_vest_80_crew_ARM";
backpack = "ark_backpack_small";
};
class CO : Officer {
};
class XO : CO {
backpack = "ark_backpack_large";
};
class SL : Officer {
};
class Medic : Rifleman {
headGear = "lxWS_H_turban_02_green";
vest = "gm_ge_army_vest_80_medic_ARM";
backpack = "ark_backpack_large";
};
class FTL : Leader {
goggles = "G_Headset_lxWS";
};
class AR : Rifleman {
vest = "gm_ge_army_vest_80_machinegunner_ARM";
};
class AAR : Rifleman {
backpack = "ark_backpack_large";
};
class RAT : Rifleman {
backpack = "ark_backpack_large";
};
class DHATG : AR {
backpack = "gm_milan_launcher_weaponBag";
};
class DHATAG : AAR {
vest = "gm_ge_army_vest_80_leader_ARM";
};
class DHATAC : AAR {
};
class ENG : Rifleman {
headGear = "lxWS_H_turban_03_green";
vest = "gm_ge_army_vest_80_demolition_ARM";
backpack = "ark_backpack_large";
};
class ENGA : ENG {
headGear = "lxWS_H_turban_02_green";
};
class VC : Crew {
};
class VG : Crew {
};
class VD : Crew {
};
class P : Crew {
headGear = "gm_gc_headgear_zsh3_wht";
uniform = "gmx_tak_army_uniform_pilot_oli";
vest = "gm_ge_army_vest_pilot_oli_ARM";
};
class PCM : P {
};
};if (isServer) then {
{_x forceFlagTexture "\ca\ca_e\data\flag_tka_co.paa"} forEach [tank_1, tank_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, 0, 1, 0, 0, 0, 1, 1, 1]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["FTL"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Rifleman", "AR", "AAR", "DHATAC"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Medic"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["RAT"]) exitWith {[_unit, [0, 4, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["DHATG", "DHATAG"]) exitWith {[_unit, [0, 4, 2, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["VC", "VD", "VG"]) exitWith {[_unit, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["ENG", "ENGA"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
}; //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
_unit setVariable ["plank_areFortsAssigned", true, true];
};
};
ark_fnc_plank_fill_milan = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_backpack"];
_backpack = [
["gm_milan_launcher_weaponBag", 2]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addBackpackCargoGlobal _x;} foreach _backpack;
_box call ark_fnc_plank_setBoxColour_milan;
_box call ark_fnc_plank_setBoxColour_milan_additional;
};
ark_fnc_plank_fill_launcher = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["gm_1Rnd_84x245mm_ILLUM_DM16_carlgustaf", 25],
["gm_1Rnd_84x245mm_heat_t_DM12a1_carlgustaf", 50],
["gm_1Rnd_84x245mm_heat_t_DM32_carlgustaf", 25]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
_box call ark_fnc_plank_setBoxColour_launcher;
};
ark_fnc_plank_fill_ammo_small = {
private _box = _this select 1;
private ["_magazines", "_items"];
_magazines = [
["20Rnd_762x51_slr_lxWS", 50],
["20Rnd_762x51_slr_tracer_green_lxWS", 25],
["1Rnd_40mm_HE_lxWS", 15],
["1Rnd_58mm_AT_lxWS", 15],
["1Rnd_50mm_Smoke_lxWS", 15],
["gm_1Rnd_265mm_flare_single_wht_DM15", 15],
["gm_1Rnd_265mm_flare_multi_wht_DM25", 15],
["CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 50],
["gm_handgrenade_frag_dm41a1", 15],
["gm_handgrenade_conc_dm51", 15],
["gm_smokeshell_wht_dm25", 15],
["ACE_HandFlare_White", 15]
];
_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_ammo_small;
};
ark_fnc_plank_fill_ammo_large = {
private _box = _this select 1;
private ["_magazines", "_items", "_weapons"];
_weapons = [
["gm_fim43_oli", 2]
];
_magazines = [
["20Rnd_762x51_slr_lxWS", 100],
["20Rnd_762x51_slr_tracer_green_lxWS", 50],
["1Rnd_40mm_HE_lxWS", 25],
["1Rnd_58mm_AT_lxWS", 25],
["1Rnd_50mm_Smoke_lxWS", 25],
["gm_1Rnd_265mm_flare_single_wht_DM15", 25],
["gm_1Rnd_265mm_flare_multi_wht_DM25", 25],
["CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M", 100],
["CUP_13Rnd_9x19_Browning_HP", 15],
["gm_handgrenade_frag_dm41a1", 25],
["gm_handgrenade_conc_dm51", 25],
["gm_smokeshell_wht_dm25", 25],
["ACE_HandFlare_White", 25],
["gm_1Rnd_70mm_he_m585_fim43", 2]
];
_items = [
["ACE_fieldDressing", 150]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
{_box addWeaponCargoGlobal _x;} foreach _weapons;
{_box addItemCargoGlobal _x;} foreach _items;
_box call ark_fnc_plank_setBoxColour_ammo_large;
_box call ark_fnc_plank_setBoxColour_ammo_large_additional_01;
_box call ark_fnc_plank_setBoxColour_ammo_large_additional_02;
};
ark_fnc_plank_fill_medic = {
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_medic_aluminium;
};
ark_fnc_plank_fill_mine_at = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["gm_mine_at_dm21", 4]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
_box call ark_fnc_plank_setBoxColour_mine_at;
};
ark_fnc_plank_fill_mine_ap = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines"];
_magazines = [
["gm_mine_ap_dm31", 6]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
_box call ark_fnc_plank_setBoxColour_mine_ap;
};
ark_fnc_plank_setBoxColour_launcher = {
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_mine_ap = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "\gm\gm_weapons\gm_ammoboxes\data\bge\gm_ammobox_wood_04_ext_01_bge_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_mine_at = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "\gm\gm_weapons\gm_ammoboxes\data\bge\gm_ammobox_wood_05_ext_01_bge_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_ammo_small = {
params ["_box"];
[{_this setObjectTextureGlobal [3, "\gm\gm_weapons\gm_ammoboxes\data\wud\gm_ammobox_wood_04_ext_01_wud_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_ammo_large = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "\gm\gm_weapons\gm_ammoboxes\data\wud\gm_ammobox_wood_01_ext_01_wud_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_ammo_large_additional_01 = {
params ["_box"];
[{_this setObjectTextureGlobal [2, "\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_ammo_large_additional_02 = {
params ["_box"];
[{_this setObjectTextureGlobal [3, "\gm\gm_weapons\gm_ammoboxes\data\wud\gm_ammobox_wood_04_ext_01_wud_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_milan = {
params ["_box"];
[{_this setObjectTextureGlobal [2, "\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_milan_additional = {
params ["_box"];
[{_this setObjectTextureGlobal [1, "\gm\gm_weapons\gm_ammoboxes\data\wud\gm_ammobox_wood_02_ext_01_wud_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_medic_aluminium = {
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_co55_rissani_resistance addons A3_Ui_F gm_weapons_ammoboxes gm_structures_euro_80 CUP_AirVehicles_412 CUP_Misc_e_Config A3_Structures_F_System gmx_tak_vehicles_land_tracked_iltis A3_Props_F_Decade_Civilian_Camping structures_F_lxWS_HouseA structures_F_lxWS_Tower gmx_tak_vehicles_land_tracked_t55 gm_objects_tents gmx_tak_vehicles_land_tracked_ural375d gmx_tak_vehicles_land_tracked_ural4320 A3_Structures_F_Heli_Ind_Airport gm_weapons_put A3_Modules_F_Curator_Curator ark_ace_rearm ark_clear_cargo A3_Modules_F Admiral ark_rotor ark_chase_ai CUP_Creatures_Military_Russia CUP_AirVehicles_Mi8 gm_vehicles_land_tracked_2s1_pl_army_2s1 A3_Characters_F ace_explosives ace_nouniformrestrictions ace_parachute AddonsMetaData dlcs gm gmx_tak ws Heli CUP_Units CUP_Vehicles randomSeed ScenarioData CustomAttributes Mission moveGridStep ?angleGridStep ?scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider k MarkerIDProvider ~ LayerIndexProvider Camera nextID P ~ nextID $ nextID : pos EfBrFdir i#?r`"?up @Ý>tf?V>aside 54? 3{5 List items Item0 s Item1 Item2 c Item3 Item4 $ Item5 a Item6 Item7 i Item8 Item9
Item10
Item11 u Item12 Item13 Item14
Item15
Item16 Item17 Item18 Item19 v Item20 Item21 Item22 y Item23 Item24 Item25 Item26 > Item27 Item28 , 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 c className gm_structures_euro_80 name gm_structures_euro_80 author Global Mobilization url global-mobilization.com className CUP_AirVehicles_412 name CUP_AirVehicles_412 $ className CUP_Misc_e_Config name CUP_Misc_e_Config a className A3_Structures_F name Arma 3 - Buildings and Structures author Bohemia Interactive url https://www.arma3.com className gmx_tak_vehicles_land_tracked_iltis name gmx_tak_vehicles_land_tracked_iltis author Global Mobilization Extra i className A3_Props_F_Decade name CFGPATCHES_A3_Props_F_Decade 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 gmx_tak_vehicles_land_tracked_t55 name gmx_tak_vehicles_land_tracked_t55 author Global Mobilization Extra
className gm_objects_tents name gm_objects_tents author Global Mobilization url global-mobilization.com u className gmx_tak_vehicles_land_tracked_ural375d name gmx_tak_vehicles_land_tracked_ural375d author Global Mobilization Extra className gmx_tak_vehicles_land_tracked_ural4320 name gmx_tak_vehicles_land_tracked_ural4320 author Global Mobilization Extra className A3_Structures_F_Heli name Arma 3 Helicopters - Buildings and Structures author Bohemia Interactive url https://www.arma3.com
className gm_weapons_put name gm_weapons_put 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 ark_clear_cargo name ARK Inhouse - Clear Cargo 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 v 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 y className CUP_Creatures_Military_Russia name CUP_Creatures_Military_Russia className CUP_AirVehicles_Mi8 name CUP_AirVehicles_Mi8 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 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 gameType Coop minPlayers maxPlayers ' Category0 name Multiplayer Attribute0 R Attribute1 nAttributes property RespawnButton expression true Value data singleType SCALAR value ? property RespawnTemplates expression true Value data singleType ARRAY value 7 items Item0 T data d singleType STRING value None Intel Entities [ Connections briefingName ark_co55_rissani_resistance overviewText Takistan Army defend the frontier | JIP Reinforcements resistanceWest timeOfChanges FstartWeather >startWind forecastWeather >forecastWind forecastWaves forecastLightnings =wavesForced windForced year month day hour minute startFogDecay T<forecastFogDecay T<[ "items ! Item0 Item1 # Item2 l$ Item3 $ Item4 Item5 I Item6 Tv Item7 Item8 Item9 h Item10 . Item11 Item12 Item13 Item14 [ Item15 Item16 ( Item17 ! Item18 $( Item19 h. Item20 4 Item21 8 Item22 > Item23 E Item24 K Item25 T Item26 ;[ Item27 c Item28 o Item29 |x Item30 y Item31 Item32 Ȉ dataType Layer name Time Triggers Entities B id atlOffset SA#
items Item0 Item1 Item2 { Item3 i Item4 W Item5 ~ Item6 Item7 Item8 ! # dataType Trigger position FFRB$zF Attributes ( id type EmptyDetector atlOffset IB name tgr_safety_off condition call{hull3_mission_safetyTimerAbort} sizeA sizeB dataType Trigger position rF\BB=yF Attributes id type EmptyDetector atlOffset B{ 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 Bi name tgr_time_15 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout aD aD aDi dataType Trigger position FOB&axF