admiral\admiral.h N,3bJ description.ext 3b hull3\briefing\blufor.sqf uD3b hull3\briefing\civilian.sqf *qn^ hull3\briefing\indfor.sqf b hull3\briefing\opfor.sqf b hull3\FL_G.h >3b hull3\FL_U.h q13b" hull3\hull3.h .3b hull3\LICENSE *qn^8 init.sqf *qn^ initPlayerLocal.sqf C:3b) initServer.sqf (` mission.sqm b plank.h 3b 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_EMR";
defaultZoneTemplate = "Camp";
};
class Patrol {
defaultUnitTemplate = "CUP_RU_EMR";
defaultZoneTemplate = "Patrol";
};
class Cqc {
defaultUnitTemplate = "CUP_RU_EMR";
defaultZoneTemplate = "Cqc";
};
class UnitTemplates {
class CUP_RU_EMR {
infantry[] = {"CUP_O_RU_Soldier_TL_M_EMR_V2", "CUP_O_RU_Soldier_GL_M_EMR_V2", "CUP_O_RU_Soldier_M_EMR_V2", "CUP_O_RU_Soldier_Lite_M_EMR_V2", "CUP_O_RU_Soldier_LAT_M_EMR_V2", "CUP_O_RU_Soldier_AT_M_EMR_V2", "CUP_O_RU_Soldier_AR_M_EMR_V2", "CUP_O_RU_Soldier_MG_M_EMR_V2", "CUP_O_RU_Soldier_Medic_M_EMR_V2"};
crewmen[] = {"CUP_O_RU_Soldier_Crew_M_EMR_V2"};
pilots[] = {"CUP_O_RU_Pilot_M_EMR"};
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", "CUP_O_GAZ_Vodnik_KPVT_RU"};
armour[] = {"CUP_O_BMP2_RU", "CUP_O_BMP3_RU", "CUP_O_T72_RU", "CUP_O_BTR90_RU", "CUP_O_GAZ_Vodnik_BPPU_RU", "CUP_O_T90_RU", "CUP_O_BTR80_GREEN_RU", "CUP_O_BTR80A_GREEN_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 = "finnish line";
onLoadMission = "Made with Hull3";
author = "dancemoox";
loadScreen = "x\ark\addons\hull3\resources\hull3_logo.paa";
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 46;
};
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","
Our Jaeger unit has infiltrated behind the Russian advance and set up an ambush point. We aim to disrupt the Russian movement in this area before falling back and repeating the process again.
ENEMY FORCES
Armed forces of the Russian Federation
FRIENDLY FORCES
An extraction force of RG-32 Scouts 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 north, east and southerly directions predominantly.
"]];
// 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 white main building under the stairs.
JIP EXTRACT
Each RG-32 Scout can transport six.
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","
*** 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
"]];
class FL_G {
class Rifleman {
primaryWeapon = "CUP_arifle_Mk16_CQC_FG_woodland";
primaryWeaponItems[] = {"CUP_optic_G33_HWS_OD", "CUP_acc_LLM_od", "CUP_muzzle_snds_M16_camo"};
secondaryWeapon = "";
secondaryWeaponItems[] = {};
handgunWeapon = "hgun_P07_blk_F";
handgunItems[] = {};
uniformWeapons[] = {};
vestWeapons[] = {};
backpackWeapons[] = {};
uniformMagazines[] = {
{"HandGrenade", 1},
{"ACE_Chemlight_HiRed", 2},
{"SmokeShell", 1},
{"16Rnd_9x21_Mag", 4}
};
vestMagazines[] = {
{"CUP_30Rnd_556x45_PMAG_OD_RPL", 6},
{"CUP_30Rnd_556x45_PMAG_OD_RPL_Tracer_Red", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShell", 1},
{"CUP_30Rnd_556x45_PMAG_OD_RPL", 4},
{"CUP_30Rnd_556x45_PMAG_OD_RPL_Tracer_Red", 2}
};
basicAssignItems[] = {"ItemMap", "ItemCompass", "ItemWatch", "CUP_NVG_GPNVG_black", "ItemGPS"};
assignItems[] = {};
binocular = "";
uniformItems[] = {
{"ACE_Flashlight_XL50", 1},
{"ACE_wirecutter", 1}
};
vestItems[] = {};
backpackItems[] = {};
uniformRadios[] = {"ACRE_PRC343"};
vestRadios[] = {};
backpackRadios[] = {};
uniformMedicalItems[] = {
{"ACE_fieldDressing", 20},
{"ACE_tourniquet", 4}
};
vestMedicalItems[] = {};
backpackMedicalItems[] = {};
code = "";
headGear = "";
uniform = "";
goggles = "";
vest = "";
backpack = "";
};
class Leader : Rifleman {
primaryWeapon = "CUP_arifle_Mk16_CQC_EGLM_woodland";
vestMagazines[] = {
{"CUP_30Rnd_556x45_PMAG_OD_RPL", 6},
{"CUP_1Rnd_HE_M203", 4},
{"CUP_1Rnd_HEDP_M203", 4},
{"CUP_1Rnd_StarFlare_White_M203", 2},
{"CUP_1Rnd_StarFlare_Red_M203", 2},
{"CUP_1Rnd_Smoke_M203", 2},
{"CUP_1Rnd_SmokeRed_M203", 2},
{"CUP_30Rnd_556x45_PMAG_OD_RPL_Tracer_Red", 2}
};
backpackMagazines[] = {
{"HandGrenade", 1},
{"SmokeShell", 1},
{"CUP_30Rnd_556x45_PMAG_OD_RPL", 4},
{"CUP_30Rnd_556x45_PMAG_OD_RPL_Tracer_Red", 2},
{"CUP_1Rnd_Smoke_M203", 2},
{"CUP_1Rnd_SmokeRed_M203", 2},
{"CUP_1Rnd_StarFlare_White_M203", 2},
{"CUP_1Rnd_StarFlare_Red_M203", 2}
};
binocular = "ACE_Vector";
};
class Officer : Leader {
binocular = "ACE_Vector";
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class Crew : Rifleman {
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
primaryWeapon = "CUP_arifle_Mk16_CQC_FG";
vestMagazines[] = {
{"CUP_30Rnd_556x45_PMAG_OD_RPL", 6},
{"CUP_30Rnd_556x45_PMAG_OD_RPL_Tracer_Red", 2},
{"SmokeShell", 4}
};
backpackMagazines[] = {
{"SmokeShellRed", 4},
{"CUP_30Rnd_556x45_PMAG_OD_RPL", 2}
};
binocular = "ACE_Vector";
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 RAT : Rifleman {
primaryWeapon = "CUP_arifle_Mk16_CQC_AFG_woodland";
secondaryWeapon = "CUP_launch_NLAW";
};
class HMGG : Rifleman {
primaryWeapon = "CUP_arifle_Mk16_CQC_FG_woodland";
secondaryWeapon = "CUP_KORD_carry";
backpackMagazines[] = {};
};
class HMGAG : HMGG {
primaryWeapon = "CUP_arifle_Mk16_CQC_AFG_woodland";
secondaryWeapon = "ace_csw_kordCarryTripod";
backpackMagazines[] = {{"ace_csw_50Rnd_127x108_mag", 2}};
uniformRadios[] = {"ACRE_PRC343", "ACRE_PRC152"};
binocular = "ACE_Vector";
};
class HMGAC : Rifleman {
backpackMagazines[] = {{"ace_csw_50Rnd_127x108_mag", 5}};
};
class VG : Crew {
};
class VD : Crew {
};
class Vehicle {
weapons[] = {
{"CUP_launch_NLAW", 25},
{"CUP_launch_FIM92Stinger", 2}
};
magazines[] = {
{"CUP_30Rnd_556x45_PMAG_OD_RPL", 100},
{"CUP_30Rnd_556x45_PMAG_OD_RPL_Tracer_Red", 50},
{"CUP_1Rnd_HE_M203", 25},
{"CUP_1Rnd_HEDP_M203", 25},
{"CUP_1Rnd_Smoke_M203", 25},
{"CUP_1Rnd_SmokeRed_M203", 25},
{"CUP_1Rnd_StarFlare_White_M203", 25},
{"CUP_1Rnd_StarFlare_Red_M203", 25},
{"SatchelCharge_Remote_Mag", 10},
{"ACE_HandFlare_White", 25},
{"ACE_HandFlare_Red", 25},
{"HandGrenade", 25},
{"SmokeShell", 25},
{"SmokeShellRed", 25},
{"16Rnd_9x21_Mag", 10}
};
items[] = {{"ACE_M26_Clacker", 2}};
medicalItems[] = {
{"ACE_fieldDressing", 50},
{"ACE_splint", 12}
};
};
};
class FL_U {
class Rifleman {
headGear = "MNP_Helmet_FIN_T";
goggles = "CUP_FR_NeckScarf";
uniform = "MNP_CombatUniform_Fin_A";
vest = "MNP_Vest_FIN_1_ARM";
backpack = "ark_backpack_large";
};
class Leader : Rifleman {
uniform = "MNP_CombatUniform_Fin_B";
};
class Officer : Leader {
};
class Crew : Rifleman {
uniform = "MNP_CombatUniform_Fin_B";
};
class CO : Officer {
};
class XO : CO {
};
class SL : Officer {
};
class Medic : Rifleman {
};
class FTL : Leader {
};
class RAT : Rifleman {
goggles = "CUP_G_ESS_BLK_Scarf_Grn";
};
class HMGG : Rifleman {
goggles = "CUP_G_ESS_BLK_Scarf_Grn";
};
class HMGAG : Rifleman {
uniform = "MNP_CombatUniform_Fin_B";
};
class HMGAC : Rifleman {
};
class VG : Crew {
goggles = "CUP_G_ESS_BLK_Scarf_Face_Grn";
};
class VD : Crew {
};
};
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 MNP_FIN_WD {
gear = "FL_G";
uniform = "FL_U";
languages[] = {
{"west", 100}
};
};
};
class Gear {
#include "FL_G.h"
unitBaseClass = "Rifleman";
vehicleBaseClass = "Vehicle";
};
class Uniform {
#include "FL_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.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, 2, 0, 2, 0, 0, 0, 1, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["FTL"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["HMGG", "HMGAG"]) exitWith {[_unit, [0, 2, 2, 2, 0, 1, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Rifleman", "HMGAC"]) exitWith {[_unit, [0, 4, 0, 4, 0, 0, 0, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["Medic"]) exitWith {[_unit, [0, 2, 2, 2, 0, 0, 1, 0, 0]] call plank_api_fnc_forceAddFortifications};
if (_gearClass in ["RAT"]) 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_SMAW_Ammo = {
private _box = _this select 1;
[_box, 9999] remoteExecCall ["ace_rearm_fnc_makeSource", 2];
private ["_weapons"];
_weapons = [
["CUP_launch_NLAW", 25]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addWeaponCargoGlobal _x;} foreach _weapons;
_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", "_weapons"];
_magazines = [
["ace_csw_50Rnd_127x108_mag", 250]
];
_weapons = [
["CUP_KORD_carry", 1],
["ace_csw_kordCarryTripodLow", 1],
["ace_csw_kordCarryTripod", 1]
];
clearMagazineCargoGlobal _box;
clearWeaponCargoGlobal _box;
clearItemCargoGlobal _box;
clearBackpackCargoGlobal _box;
{_box addMagazineCargoGlobal _x;} foreach _magazines;
{_box addWeaponCargoGlobal _x;} foreach _weapons;
_box call ark_fnc_plank_setBoxColour_t4;
};
ark_fnc_plank_fill_Ammo = {
private _box = _this select 1;
private ["_magazines", "_weapons", "_items"];
_magazines = [
["CUP_30Rnd_556x45_PMAG_OD_RPL", 500],
["CUP_30Rnd_556x45_PMAG_OD_RPL_Tracer_Red", 250],
["CUP_1Rnd_HE_M203", 50],
["CUP_1Rnd_HEDP_M203", 50],
["CUP_1Rnd_StarFlare_White_M203", 50],
["CUP_1Rnd_StarFlare_Red_M203", 50],
["CUP_1Rnd_Smoke_M203", 50],
["CUP_1Rnd_SmokeRed_M203", 50],
["16Rnd_9x21_Mag", 25],
["ACE_HandFlare_White", 50],
["ACE_HandFlare_Red", 50],
["SmokeShell", 50],
["SmokeShellRed", 50],
["HandGrenade", 50]
];
_weapons = [
["CUP_launch_NLAW", 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_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 = 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 9 sourceName ark_co45_finnish_line addons A3_Ui_F gm_weapons_ammoboxes gm_core CUP_WheeledVehicles_RG31 A3_Structures_F_Enoch_Military_Camonets A3_Modules_F_Curator_Curator ark_ace_rearm Admiral ark_rotor ark_chase_ai CUP_Creatures_Military_Russia CUP_AirVehicles_Mi24 CUP_WheeledVehicles_Ural A3_Characters_F ark_clear_cargo CUP_WheeledVehicles_Kamaz A3_Modules_F AddonsMetaData dlcs gm CUP_Vehicles Enoch CUP_Units randomSeed ScenarioData S CustomAttributes Mission j
moveGridStep ?angleGridStep ?scaleGridStep ?autoGroupingDist Atoggles ItemIDProvider MarkerIDProvider LayerIndexProvider Camera & nextID ] nextID nextID & pos B*FάB?fNFdir FYOup WY? aside t @³
? List S items Item0 e Item1 Item2 U Item3 Item4 Item5 Item6 > Item7 Item8 Item9 C Item10 Item11 Item12 D Item13 Item14
Item15
Item16
S 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 U className gm_core name gm_core author Global Mobilization url global-mobilization.com className CUP_WheeledVehicles_RG31 name CUP_WheeledVehicles_RG31 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_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 Admiral name Admiral author Kami className ark_rotor name ARK Inhouse - Rotor author ARK url http://www.ark-group.org C 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 D className CUP_WheeledVehicles_Ural name CUP_WheeledVehicles_Ural className A3_Characters_F name Arma 3 Alpha - Characters and Clothing author Bohemia Interactive url https://www.arma3.com
className ark_clear_cargo name ARK Inhouse - Clear Cargo author ARK url http://www.ark-group.org
className CUP_WheeledVehicles_Kamaz name CUP_WheeledVehicles_Kamaz
className A3_Modules_F name Arma 3 Alpha - Scripted Modules author Bohemia Interactive url https://www.arma3.com S author dancemoox Header x gameType Coop minPlayers maxPlayers - Category0 j
name Multiplayer Attribute0 Attribute1 nAttributes j
property RespawnButton expression true Value L data \ type x value ? type SCALAR property RespawnTemplates expression true Value j
data j
type value
j
type ARRAY
items Item0 (
j
data 8
j
type U
value None j
type STRING j
Intel
Entities . Connections briefingName ark_co45_finnish_linee overviewText Finnish SF delay Russian advances | 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 M Item3 Item4 V Item5 Z Item6 Item7 Item8 Item9 ) Item10 S2 Item11 $B Item12 J Item13 kU Item14 U Item15 \ Item16 M` Item17 f Item18 Wm Item19 q Item20 ~w Item21 ~ Item22 Item23 Item24 ; Item25 Item26 c Item27 Item28 Item29 t Item30 + Item31 Item32 dataType Layer name Time Triggers Entities id atlOffset >
items Item0 Item1 P Item2 . Item3 Item4 Item5 ! Item6 & Item7 Item8 = dataType Trigger position G-F BRNF Attributes id type EmptyDetector P name tgr_safety_off condition call{hull3_mission_safetyTimerAbort} sizeA sizeB P dataType Trigger position t-F @ BNF Attributes id type EmptyDetector . name tgr_time_10 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout D D D. dataType Trigger position -F BОMF Attributes id type EmptyDetector name tgr_time_15 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout aD aD aD dataType Trigger position -FfB/MF Attributes } id type EmptyDetector atlOffset 6 name tgr_time_20 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout D D D dataType Trigger position -F)SBlLF Attributes k id type EmptyDetector atlOffset 6! name tgr_time_25 condition call{triggeractivated tgr_safety_off;} onActivation call{heli_1 setfuel 1; heli_2 setfuel 1;} sizeA sizeB timeout D D D! dataType Trigger position -FB|NLF Attributes id type EmptyDetector & name tgr_time_30 condition call{triggeractivated tgr_safety_off;} onActivation call{heli_1 setfuel 1;} sizeA sizeB timeout D D D& dataType Trigger position 7-FB B|NF Attributes id type EmptyDetector name tgr_time_5 condition call{triggeractivated tgr_safety_off;} sizeA sizeB timeout C C C dataType Trigger position -FG!BKF Attributes d id M type EmptyDetector = name tgr_time_40 condition call{triggeractivated tgr_safety_off;} onActivation call{if (isServer) then {[arty_1,"mkr_tgt"] call ark_script_fnc_fireArty;};} sizeA sizeB timeout E E E= dataType Trigger position e-F!B\NF Attributes id 9 type EmptyDetector atlOffset 6 name tgr_time_1 condition call{triggeractivated tgr_safety_off;} onActivation kamaz_1 setfuel 1; kamaz_2 setfuel 1; kamaz_3 setfuel 1; kamaz_4 setfuel 1; sizeA sizeB timeout pB pB pB dataType Marker position )FyBMF name mkr_ao markerType RECTANGLE type ellipse colorName ColorWEST fillName Border a Cb HCdrawBorder id atlOffset AM dataType Marker position +FtB[MF name mkr_tgt type Empty id l atlOffset ~A dataType Layer name Player Bits & Set Dressing Entities id atlOffset @=7?V
items Item0 Item1 % Item2 . Item3 3/ Item4 98 Item5 ?A Item6 EJ Item7 KS Item8 T V dataType Object PositionInfo ) side Empty Attributes a id K type gm_gc_army_ammobox_allmagazines_80 atlOffset @6=? CustomAttributes % position )F^+BٿNFangles k@ a init [this, ["faction", "MNP_FIN_WD"], ["gear", "Vehicle"]] call hull3_unit_fnc_init; Attribute0 nAttributes % property ammoBox expression [_this,_value] call bis_fnc_initAmmoBox; Value B % data R % type s% value [[[[],[]],[["gm_smokeshell_grn_gc","gm_smokeshell_blk_gc","gm_smokeshell_red_gc","gm_smokeshell_yel_gc","gm_smokeshell_blu_gc","gm_smokeshell_org_gc","gm_smokeshell_wht_gc","gm_handgrenade_frag_rgd5","gm_8Rnd_9x18mm_B_pst_pm_blk","gm_1Rnd_265mm_flare_single_wht_gc","gm_1Rnd_265mm_flare_single_grn_gc","gm_1Rnd_265mm_flare_single_red_gc","gm_1Rnd_265mm_flare_multi_red_gc","gm_1Rnd_265mm_smoke_single_yel_gc","gm_1Rnd_265mm_smoke_single_blu_gc","gm_1Rnd_265mm_smoke_single_blk_gc","1Rnd_HE_Grenade_shell","gm_15Rnd_9x18mm_B_pst_pm63_blk","gm_25Rnd_9x18mm_B_pst_pm63_blk","gm_30Rnd_762x39mm_B_57N231_ak47_blk","gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk","gm_30Rnd_762x39mm_AP_7N23_ak47_blk","gm_30Rnd_762x39mm_B_M43_ak47_blk","gm_30Rnd_762x39mm_B_T_M43_ak47_blk","gm_75Rnd_762x39mm_B_57N231_ak47_blk","gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk","gm_75Rnd_762x39mm_AP_7N23_ak47_blk","gm_75Rnd_762x39mm_B_M43_ak47_blk","gm_75Rnd_762x39mm_B_T_M43_ak47_blk","gm_30Rnd_545x39mm_B_7N6_ak74_prp","gm_30Rnd_545x39mm_B_T_7T3_ak74_prp","gm_30Rnd_545x39mm_B_7N6_ak74_org","gm_30Rnd_545x39mm_B_T_7T3_ak74_org","gm_45Rnd_545x39mm_B_7N6_ak74_prp","gm_45Rnd_545x39mm_B_T_7T3_ak74_prp","gm_45Rnd_545x39mm_B_7N6_ak74_org","gm_45Rnd_545x39mm_B_T_7T3_ak74_org","gm_10Rnd_762x54mmR_AP_7N1_svd_blk","gm_10Rnd_762x54mmR_API_7bz3_svd_blk","gm_10Rnd_762x54mmR_B_T_7t2_svd_blk","gm_100Rnd_762x54mmR_B_T_7t2_pk_grn","gm_100Rnd_762x54mmR_API_7bz3_pk_grn","gm_1Rnd_40mm_heat_pg7v_rpg7","gm_1Rnd_40mm_heat_pg7vl_rpg7","gm_1Rnd_72mm_he_9m32m"],[30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,30,30,30,30,30]],[["gm_df7x40_blk","gm_df7x40_grn","gm_gc_compass_f73","gm_gc_army_gauzeBandage","gm_gc_army_medkit"],[10,10,50,50,50]],[[],[]]],false] % type STRING % dataType Object PositionInfo (&