admiral\admiral.h -c description.ext [` hull3\briefing\blufor.sqf
5` hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf *qn^ hull3\briefing\opfor.sqf 5`- hull3\hull3.h ` hull3\LICENSE *qn^8 hull3\PP_G.h x`Y2 hull3\PP_U.h 1` init.sqf *qn^ initPlayerLocal.sqf -` initServer.sqf (` mission.sqm Ð-c plank.h ` 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_FRG_80_WD";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "GM_FRG_80_WD";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "GM_FRG_80_WD";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class GM_FRG_80_WD {
technicals[] = {"gm_g3_army_iltis_mg3"};
armour[] = {"gm_ge_army_M113a1g_apc", "gm_ge_army_m113a1g_command", "gm_ge_army_Leopard1a5", "gm_ge_army_marder1a2"};
th[] = {"CUP_B_UH1D_GER_KSK"};
ah[] = {"CUP_B_UH1D_gunship_GER_KSK"};
};
};
};
#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 = "polski pocket";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 76;
};
respawn = 0;
respawndelay = 3;
respawnTemplates[] = {"Hull3_RespawnHandler"};
class Params {
class Hull3_Date {
title = "Moon Phase";
values[] = {0,1};
texts[] = {"New Moon", "Full Moon"};
default = 0;
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","
*** 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
"]];
// 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","
Our platoon is tasked with holding Hedrykow for as long as possible against the West German invasion.
ENEMY FORCES
West German Bundeswehr, light vehicles, tanks and helicopters.
FRIENDLY FORCES
A ground extraction force is preparing or an air extraction force is preparing, it will be some time until they can fight their way to us.
"]];
// Mission
player createDiaryRecord ["Diary", ["Mission","
Defend the helicopter refuelling outpost of Hedrykow for as long as possible, when our position becomes untenable call for extraction.
"]];
// Execution
player createDiaryRecord ["Diary", ["Execution","
COMMANDER'S INTENT
Dig in and hold. Expect infantry contacts from all sides and the bulk of vehicle attacks to come directly on the main roads.
Remain within the indicated AO perimeter at all times.
FORTIFICATION PLAN
Buildings within the defence perimeter can be fortified and provide decent sight lines.
An ammo dump has been setup.
FIRE SUPPORT PLAN
Weapons attachment teams gunners have Plank placeable ammo boxes that contain CSW ammo for their team.
Squad RPG-7 rifleman can place a Plank ammo box containing additional PG-7VL and PG-7VR rounds for their use.
Command level leaders can place ammo boxes for containing mixed platoon ammunition.
JIP EXTRACT
Extract must wait to be called in before moving off.
Ground extract must use either the Southern or Northern road to reach Hedrykow, other routes via forests are not passable to ground vehicles.
"]];
// 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 GM_PRL_80_WD {
gear = "PP_G";
uniform = "PP_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "PP_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "PP_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 PP_G {
class Rifleman {
primaryWeapon = "gm_akmn_wud";
primaryWeaponItems[] = {};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"ACE_HandFlare_Green", 1},
{"ACE_HandFlare_White", 1},
{"gm_smokeshell_wht_gc", 1},
{"gm_smokeshell_grn_gc", 1},
{"gm_handgrenade_frag_rgd5", 1}
};
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 4},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2}
};
basicAssignItems[] = {"ItemMap", "gm_gc_compass_f73", "gm_watch_kosei_80"};
assignItems[] = {};
binocular = "";
uniformItems[] = {
{"ACE_Flashlight_KSF1", 1},
{"ACE_wirecutter", 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_57N231_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2},
{"1Rnd_HE_Grenade_shell", 4},
{"UGL_FlareWhite_F", 2},
{"UGL_FlareGreen_F", 2},
{"1Rnd_Smoke_Grenade_shell", 2},
{"1Rnd_SmokeGreen_Grenade_shell", 2},
{"gm_8Rnd_9x18mm_B_pst_pm_blk", 3}
};
backpackMagazines[] = {
{"1Rnd_HE_Grenade_shell", 4},
{"UGL_FlareWhite_F", 2},
{"UGL_FlareGreen_F", 2},
{"1Rnd_Smoke_Grenade_shell", 2},
{"1Rnd_SmokeGreen_Grenade_shell", 2},
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 4},
{"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";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
vestMagazines[] = {{"gm_15Rnd_9x18mm_B_pst_pm63_blk", 6}};
backpackMagazines[] = {};
assignItems[] = {};
};
class CO : Officer {
};
class XO : CO {
backpackRadios[] = {"ACRE_PRC152"};
};
class SL : Officer {
};
class Medic : Rifleman {
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2},
{"gm_smokeshell_wht_gc", 4}
};
backpackMagazines[] = {
{"gm_smokeshell_grn_gc", 4},
{"gm_30Rnd_762x39mm_B_57N231_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_rpk_wud";
vestMagazines[] = {
{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 2},
{"gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_75Rnd_762x39mm_AP_7N23_ak47_blk", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 4},
{"gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_75Rnd_762x39mm_AP_7N23_ak47_blk", 2}
};
};
class AAR : Rifleman {
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 4},
{"gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_75Rnd_762x39mm_AP_7N23_ak47_blk", 2}
};
binocular = "gm_df7x40_blk";
};
class RAT : Rifleman {
secondaryWeapon = "CUP_launch_RPG7V";
secondaryWeaponItems[] = {"CUP_PG7VL_M"};
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 2},
{"gm_smokeshell_wht_gc", 1},
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 4},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"CUP_PG7VL_M", 2}
};
};
class MMGG : Rifleman {
primaryWeapon = "gm_hmgpkm_prp";
vestMagazines[] = {
{"gm_100Rnd_762x54mm_B_T_t46_pk_grn", 1},
{"gm_100Rnd_762x54mmR_API_7bz3_pk_grn", 1}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 1},
{"gm_smokeshell_wht_gc", 1},
{"gm_100Rnd_762x54mm_B_T_t46_pk_grn", 1},
{"gm_100Rnd_762x54mmR_API_7bz3_pk_grn", 1}
};
};
class MMGAG : Rifleman {
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 1},
{"gm_smokeshell_wht_gc", 1},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_100Rnd_762x54mm_B_T_t46_pk_grn", 3}
};
binocular = "gm_df7x40_blk";
assignItems[] = {};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class HMGG : Rifleman {
primaryWeapon = "gm_pm63_blk";
vestMagazines[] = {{"gm_25Rnd_9x18mm_B_pst_pm63_blk", 6}};
backpack = "ark_backpack_large";
secondaryWeapon = "CUP_DSHKM_carry";
backpackMagazines[] = {{"ace_csw_50Rnd_127x108_mag", 1}};
};
class HMGAG : Rifleman {
secondaryWeapon = "ace_csw_kordCarryTripodLow";
handgunWeapon = "gm_wz78_blk";
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2},
{"gm_1Rnd_265mm_flare_single_wht_gc", 2},
{"gm_1Rnd_265mm_flare_single_grn_gc", 2}
};
backpackMagazines[] = {{"ace_csw_50Rnd_127x108_mag", 3}};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
binocular = "gm_df7x40_blk";
};
class HMGAC : Rifleman {
secondaryWeapon = "";
backpackMagazines[] = {{"ace_csw_50Rnd_127x108_mag", 6}};
};
class MATG : RAT {
secondaryWeapon = "CUP_launch_RPG7V";
secondaryWeaponItems[] = {"CUP_optic_PGO7V", "CUP_PG7VL_M"};
backpackMagazines[] = {
{"CUP_PG7VL_M", 2},
{"CUP_PG7VR_M", 1}
};
};
class MTRG : Rifleman {
primaryWeapon = "gm_pm63_blk";
vestMagazines[] = {{"gm_25Rnd_9x18mm_B_pst_pm63_blk", 6}};
secondaryWeapon = "CUP_2b14_carry";
backpackMagazines[] = {{"ACE_1Rnd_82mm_Mo_HE", 1}};
};
class MTRAG : Rifleman {
secondaryWeapon = "ace_csw_carryMortarBaseplate";
handgunWeapon = "gm_wz78_blk";
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2},
{"gm_1Rnd_265mm_flare_single_wht_gc", 2},
{"gm_1Rnd_265mm_flare_single_grn_gc", 2}
};
backpackMagazines[] = {{"ACE_1Rnd_82mm_Mo_HE", 1}};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
binocular = "gm_df7x40_blk";
assignItems[] = {};
};
class MTRAC : Rifleman {
secondaryWeapon = "";
backpackMagazines[] = {
{"ACE_1Rnd_82mm_Mo_HE", 1},
{"ACE_1Rnd_82mm_Mo_Smoke", 1},
{"ACE_1Rnd_82mm_Mo_Illum", 1}
};
};
class SN : Rifleman {
primaryWeapon = "gm_svd_wud";
handgunWeapon = "gm_pm_blk";
primaryWeaponItems[] = {"gm_pso1_gry"};
vestMagazines[] = {
{"gm_10Rnd_762x54mmR_B_T_7t2_svd_blk", 4},
{"gm_10Rnd_762x54mmR_API_7bz3_svd_blk", 2},
{"gm_8Rnd_9x18mm_B_pst_pm_blk", 3}
};
backpackMagazines[] = {
{"gm_handgrenade_frag_rgd5", 1},
{"gm_smokeshell_wht_gc", 1},
{"gm_10Rnd_762x54mmR_AP_7N1_svd_blk", 3}
};
assignItems[] = {};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class SP : Rifleman {
primaryWeapon = "gm_akmn_wud";
primaryWeaponItems[] = {"gm_zfk4x25_blk"};
handgunWeapon = "gm_wz78_blk";
vestMagazines[] = {
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 6},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 2},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 2},
{"gm_1Rnd_265mm_flare_single_wht_gc", 5},
{"gm_1Rnd_265mm_flare_single_grn_gc", 5}
};
binocular = "gm_df7x40_blk";
};
class VC : Crew {
binocular = "gm_df7x40_blk";
};
class VG : Crew {
};
class VD : Crew {
};
class P : Crew {
backpackMedicalItems[] = {};
};
class PCM : P {
};
class Vehicle {
weapons[] = {
{"CUP_launch_RPG26", 10},
{"gm_9k32m_oli", 1}
};
magazines[] = {
{"gm_30Rnd_762x39mm_B_57N231_ak47_blk", 20},
{"gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 10},
{"gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 10},
{"gm_75Rnd_762x39mm_B_M43_ak47_blk", 10},
{"gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk", 10},
{"gm_75Rnd_762x39mm_AP_7N23_ak47_blk", 10},
{"1Rnd_HE_Grenade_shell", 10},
{"UGL_FlareWhite_F", 10},
{"UGL_FlareGreen_F", 10},
{"1Rnd_Smoke_Grenade_shell", 10},
{"1Rnd_SmokeGreen_Grenade_shell", 10},
{"gm_100Rnd_762x54mmR_B_T_7t2_pk_grn", 10},
{"gm_100Rnd_762x54mmR_API_7bz3_pk_grn", 10},
{"gm_25Rnd_9x18mm_B_pst_pm63_blk", 10},
{"gm_10Rnd_762x54mmR_B_T_7t2_svd_blk", 10},
{"gm_10Rnd_762x54mmR_API_7bz3_svd_blk", 10},
{"CUP_PG7VL_M", 2},
{"CUP_PG7VR_M", 10},
{"gm_1Rnd_265mm_flare_single_wht_gc", 10},
{"gm_1Rnd_265mm_flare_single_grn_gc", 10},
{"gm_8Rnd_9x18mm_B_pst_pm_blk", 10},
{"gm_1Rnd_72mm_he_9m32m", 1},
{"ACE_HandFlare_White", 15},
{"ACE_HandFlare_Green", 10},
{"gm_handgrenade_frag_rgd5", 5},
{"gm_smokeshell_wht_gc", 5},
{"gm_smokeshell_grn_gc", 10}
};
items[] = {};
medicalItems[] = {
{"ACE_fieldDressing", 100},
{"ACE_splint", 24}
};
};
class HMG : Vehicle {
weapons[] = {};
magazines[] = {{"ace_csw_50Rnd_127x108_mag", 40}};
items[] = {};
medicalItems[] = {};
};
class MTR : Vehicle {
weapons[] = {};
magazines[] = {
{"ACE_1Rnd_82mm_Mo_HE", 40},
{"ACE_1Rnd_82mm_Mo_Smoke", 20},
{"ACE_1Rnd_82mm_Mo_Illum", 20}
};
items[] = {};
medicalItems[] = {};
};
};
class PP_U {
class Rifleman {
headGear = "gm_pl_army_headgear_wz67_oli";
goggles = "";
uniform = "gm_pl_army_uniform_soldier_80_moro";
vest = "gm_pl_army_vest_80_rifleman_gry_ARM";
backpack = "ark_backpack_med";
};
class Leader : Rifleman {
uniform = "gm_pl_army_uniform_soldier_autumn_80_moro";
vest = "gm_pl_army_vest_80_leader_gry_ARM";
};
class Officer : Leader {
headGear = "gm_pl_army_headgear_cap_80_moro";
};
class Crew : Rifleman {
headGear = "gm_gc_army_headgear_crewhat_80_blk";
uniform = "gm_pl_airforce_uniform_pilot_80_gry";
vest = "gm_pl_army_vest_80_crew_gry_ARM";
backpack = "ark_backpack_small";
};
class CO : Officer {
headGear = "gm_pl_headgear_beret_blu";
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
headGear = "gm_pl_army_headgear_wz67_net_oli";
uniform = "gm_pl_army_uniform_soldier_rolled_80_moro";
backpack = "ark_backpack_large";
};
class FTL : Leader {
};
class AR : Rifleman {
uniform = "gm_pl_army_uniform_soldier_rolled_80_moro";
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";
goggles = "gm_gc_army_facewear_dustglasses";
uniform = "gm_pl_army_uniform_soldier_rolled_80_moro";
vest = "gm_pl_army_vest_80_at_gry_ARM";
};
class MMGG : AR {
backpack = "ark_backpack_large";
};
class MMGAG : AAR {
vest = "gm_pl_army_vest_80_leader_gry_ARM";
};
class HMGG : AR {
goggles = "gm_gc_army_facewear_dustglasses";
vest = "gm_pl_army_vest_80_rifleman_smg_gry_ARM";
};
class HMGAG : AAR {
vest = "gm_pl_army_vest_80_leader_gry_ARM";
};
class HMGAC : AAR {
};
class MATG : RAT {
backpack = "ark_backpack_large";
};
class MTRG : AR {
goggles = "gm_gc_army_facewear_dustglasses";
vest = "gm_pl_army_vest_80_rifleman_smg_gry_ARM";
};
class MTRAG : AAR {
vest = "gm_pl_army_vest_80_leader_gry_ARM";
};
class MTRAC : AAR {
};
class SN : Rifleman {
headGear = "gm_pl_army_headgear_wz67_net_oli";
vest = "gm_pl_army_vest_80_marksman_gry_ARM";
backpack = "ark_backpack_small";
};
class SP : SN {
};
class VC : Crew {
};
class VG : Crew {
};
class VD : Crew {
goggles = "gm_gc_army_facewear_dustglasses";
};
class P : Crew {
headGear = "gm_gc_headgear_zsh3_blu";
backpack = "ark_backpack_small";
};
class PCM : P {
};
};
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, [0, 1, 2, 0, 2, 0, 0, 0, 0, 1]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["FTL", "SN"]) exitWith {[_unit, [1, 0, 2, 0, 2, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["HMGAG", "MTRAG", "MMGAG"]) exitWith {[_unit, [1, 0, 2, 2, 2, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["HMGAC", "MTRAC"]) exitWith {[_unit, [0, 0, 2, 0, 2, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Medic", "AR", "AAR", "RAT", "Rifleman", "SP"]) exitWith {[_unit, [0, 0, 2, 0, 2, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["HMGG"]) exitWith {[_unit, [0, 0, 2, 2, 2, 1, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["MMGG"]) exitWith {[_unit, [0, 0, 2, 2, 2, 0, 0, 1, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["MATG"]) exitWith {[_unit, [0, 0, 2, 2, 2, 0, 1, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["MTRG"]) exitWith {[_unit, [0, 0, 2, 2, 2, 0, 0, 0, 1, 0]] call plank_api_fnc_forceAddFortifications};
};
_unit setVariable ["plank_areFortsAssigned", true, true];
};
};
ark_fnc_plank_fill_HMG_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines", "_weapons", "_items"];
_magazines = [
["ace_csw_50Rnd_127x108_mag", 500]
];
_weapons = [
["ace_csw_kordCarryTripodLow", 1],
["ace_csw_kordCarryTripod", 1],
["CUP_DSHKM_carry", 1]
];
_items = [
["ACE_fieldDressing", 25]
];
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_t4;
};
ark_fnc_plank_fill_SMAW_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines", "_items"];
_magazines = [
["CUP_PG7VL_M", 50],
["CUP_PG7VR_M", 25]
];
_items = [
["ACE_fieldDressing", 25]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
{_box addItemCargoGlobal _x;} foreach _items;
_box call ark_fnc_plank_setBoxColour_t4;
};
ark_fnc_plank_fill_MMG_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines", "_items"];
_magazines = [
["gm_100Rnd_762x54mmR_B_T_7t2_pk_grn", 250],
["gm_100Rnd_762x54mmR_API_7bz3_pk_grn", 250]
];
_items = [
["ACE_fieldDressing", 25]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
{_box addItemCargoGlobal _x;} foreach _items;
_box call ark_fnc_plank_setBoxColour_t4;
};
ark_fnc_plank_fill_MTR_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_magazines", "_weapons", "_items"];
_magazines = [
["ACE_1Rnd_82mm_Mo_HE", 150],
["ACE_1Rnd_82mm_Mo_Smoke", 150],
["ACE_1Rnd_82mm_Mo_Illum", 150]
];
_weapons = [
["ace_csw_carryMortarBaseplate", 1],
["CUP_2b14_carry", 1]
];
_items = [
["ACE_fieldDressing", 25]
];
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_t4;
};
ark_fnc_plank_fill_Ammo = {
private _box = _this select 1;
private ["_magazines", "_weapons", "_items"];
_magazines = [
["gm_30Rnd_762x39mm_B_57N231_ak47_blk", 250],
["gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk", 100],
["gm_30Rnd_762x39mm_AP_7N23_ak47_blk", 50],
["gm_75Rnd_762x39mm_B_M43_ak47_blk", 100],
["gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk", 50],
["gm_75Rnd_762x39mm_AP_7N23_ak47_blk", 25],
["gm_25Rnd_9x18mm_B_pst_pm63_blk", 50],
["gm_8Rnd_9x18mm_B_pst_pm_blk", 10],
["gm_100Rnd_762x54mmR_B_T_7t2_pk_grn", 25],
["gm_100Rnd_762x54mmR_API_7bz3_pk_grn", 25],
["gm_10Rnd_762x54mmR_B_T_7t2_svd_blk", 10],
["gm_10Rnd_762x54mmR_API_7bz3_svd_blk", 10],
["gm_1Rnd_265mm_flare_single_wht_gc", 15],
["gm_1Rnd_265mm_flare_single_grn_gc", 15],
["1Rnd_HE_Grenade_shell", 25],
["1Rnd_Smoke_Grenade_shell", 15],
["1Rnd_SmokeGreen_Grenade_shell", 15],
["UGL_FlareWhite_F", 30],
["UGL_FlareGreen_F", 30],
["ACE_HandFlare_White", 15],
["ACE_HandFlare_Green", 15],
["gm_handgrenade_frag_rgd5", 25],
["gm_smokeshell_wht_gc", 25],
["gm_smokeshell_grn_gc", 25],
["gm_1Rnd_72mm_he_9m32m", 2]
];
_weapons = [
["gm_9k32m_oli", 2],
["CUP_launch_RPG26", 50]
];
_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_t3;
};
ark_fnc_plank_setBoxColour_t3 = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "gm\gm_weapons\gm_ammoboxes\data\blu\gm_ammobox_wood_03_ext_01_blu_co.paa"];}, _box] call CBA_fnc_execNextFrame;
};
ark_fnc_plank_setBoxColour_t4 = {
params ["_box"];
[{_this setObjectTextureGlobal [0, "\gm\gm_weapons\gm_ammoboxes\data\blu\gm_ammobox_wood_04_ext_01_blu_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 = 1; // 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 i sourceName ark_co75_polski_pocket addons ) A3_Ui_F A3_Structures_F_Tank_Military_Fortifications gm_vehicles_air_helicopters_mi2_pl_airforce_mi2 CUP_AirVehicles_Mi24 gm_vehicles_land_tracked_t55_pl_army_t55 gm_vehicles_land_tracked_bmp1_pl_army_bmp1 gm_vehicles_land_tracked_zsu234_pl_army_zsu234 gm_vehicles_land_wheeled_ot64_pl_army_ot64 gm_vehicles_land_wheeled_ural4320_pl_army_ural4320 gm_vehicles_land_wheeled_uaz469_pl_army_uaz469 gm_vehicles_land_wheeled_ural375d_pl_army_ural375d A3_Structures_F_Enoch_Military_Barracks gm_structures_euro_80 gm_core gm_weapons_ammoboxes plp_containers CUP_CAMisc A3_Structures_F_Enoch_Industrial_Garages A3_Structures_F_System CUP_Desert2_Config CUP_CAStructures_Mil A3_Structures_F_Enoch_Military_Radar A3_Structures_F_Enoch_Signs_Warnings A3_Structures_F_Items_Vessels cba_xeh A3_Structures_F_Heli_Ind_Airport A3_Modules_F_Curator_Curator ark_clear_cargo ark_ace_rearm A3_Modules_F Admiral ark_rotor CUP_Creatures_Military_Germany CUP_AirVehicles_UH1H gm_characters_ge_characters gm_vehicles_land_tracked_m109_ge_army_m109 A3_Characters_F ace_nouniformrestrictions ace_explosives ace_parachute ark_chase_ai AddonsMetaData dlcs gm CUP_Vehicles Enoch Heli CUP_Units randomSeed ScenarioData A CustomAttributes Mission 7 moveGridStep ?angleGridStep
>scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider MarkerIDProvider 0 LayerIndexProvider C Camera V nextID 0 nextID C nextID V pos ECQEdir
>k?up O=t?>aside 7v? ) List A 'items &