A3A_BRIEFING\briefing_BLUEFOR_ENEMY.html aH A3A_BRIEFING\briefing_BLUEFOR_TASKS.html a A3A_BRIEFING\briefing_MISSION_CONV.html aa A3A_BRIEFING\briefing_MISSION_DESCRIPTION.html aS A3A_BRIEFING\briefing_OPFOR_ENEMY.html aG A3A_BRIEFING\briefing_OPFOR_TASKS.html a a3a_client_scripts.sqf T9^u a3a_server_scripts.sqf a A3A_SETUP\a3a_header.hpp b9^ A3A_SETUP\a3a_parameters.hpp b9^ A3A_SETUP\infiSTAR_AdminMenu.hpp b9^+ add_med.sqf n6a> add_med_med.sqf V9^V bn_crew_control.sqf L)*at call.fsm V9^@ description.ext [+`z Equipment\BW\AT.sqf t)a Equipment\BW\E.sqf a Equipment\BW\KS.sqf a Equipment\BW\KS1.sqf a Equipment\BW\MED.sqf a Equipment\BW\MG.sqf IF*a' Equipment\BW\MGA.sqf F*at Equipment\BW\S.sqf a Equipment\BW\T.sqf ?a0 Equipment\DDR\AT.sqf ֏aU Equipment\DDR\ATA.sqf ֏a Equipment\DDR\E.sqf ֏a Equipment\DDR\KS.sqf ֏a Equipment\DDR\KS1.sqf a Equipment\DDR\MED.sqf a Equipment\DDR\MG.sqf oa Equipment\DDR\R.sqf az Equipment\DDR\S.sqf ֏a} Equipment\DDR\S1.sqf a} Equipment\DDR\T.sqf ax Equipment\DDR\T1.sqf $ax Equipment\unitprocessor.sqf b9^3 Equipment\veh_BW\M113.sqf ?a Equipment\veh_BW\M113MED.sqf W?a Equipment\veh_BW\MAN.sqf Ga Equipment\veh_BW\MAR.sqf +?a Equipment\veh_BW\MARMED.sqf p?a Equipment\veh_BW\WOLF.sqf a Equipment\veh_DDR\BK.sqf 7ap Equipment\veh_DDR\BK1.sqf 7aS Equipment\veh_DDR\BMP.sqf Nu)a Equipment\veh_DDR\BOX.sqf 5o6a Equipment\veh_DDR\MED.sqf 6aK Equipment\veh_DDR\UAZ.sqf (o6aP Equipment\vehprocessor.sqf p*a: init.sqf @a initplayerlocal.sqf %` loadscreen.jpg a? mis_funcs\fn_preinit.sqf b9^ mission.sqm a mission_description.hpp waj mission_parameters.hpp ao pics\BW.jpg zatq pics\DDR.jpg aLJ
ГДР.
;
Нашей роте поставлена задача пересечь границу ГДР и взять под контроль населённый пункт Borg находящийся между двух главных трасс.Общие условности:
- Запрещено снимать/переодевать форму (даже если она своей фракции). Головные уборы менять можно.
- Запрещено надевать вражеские разгрузки и головные уборы.
- Запрещено заходить за чёрные маркера.
- Запрещено заходить за пределы карты.
Условности для атаки::
-Для победы необходимо: Захватить город Borg.
-Поражение настанет при достижении 91% потерь.
Условности для обороны::
- Запрещено пересекать синию границу.
-Для победы необходимо: Не дать захватить город Borg.
-Поражение настанет при достижении 91% потерь.
Дополнительно:
- Время миссии - 120 минут.
- Дальность прорисовки - 3000м.
- Условие захвата: Синих больше 4 и красных меньше 1.
Название миссии: Запад 86
Автор: Cortez
Описание миссии:
Началный этап наступления сил ФРГ на территорию ГДР.
В первой половине 1986 года NATO стовляет и утверждает план по началу боевых действий на востоке Европы. Операция получила кодовое название "Запад 86".
ФРГ.
;
Нашей роте поставлена задача не дать завхватить населённый пункт Borg.// Клиентские скрпты, выполняются после инициализации платформыif (isServer) then {
waitUntil { sleep 10; a3a_var_started };
_trg1 = 0;
while {isNil "srv_triggerFinished"} do {
sleep 3;
if (_trg1 == 0) then {
if (((west countSide list trg1) > (east countSide list trg1)*3) && ((east countSide list trg1) < 4)) then {
_trg1 = 1;
flag1 setFlagTexture "pics\atk.paa";;
};
};
if (_trg1 == 1) then {
srv_triggerFinished = true;
["Все задачи выполнены, победа атаки!", WEST] call a3a_fnc_endMission;
};
};
};atrium_version = 16;
respawn = 1;
respawndelay = 3;
class Header {
gameType = TEAM;
minPlayers = 1;
maxPlayers = 184;
};
enableItemsDropping = 0;
debriefing = 1;
briefing = 1;
aiKills = 0;
joinUnassigned = 1;
disableChannels[] = {0};class Params {
class a3a_params_startTime {
title = "$STR_A3RU_startTime";
values[] = {0};
texts[] = {$STR_A3RU_default};
default = 0;
};
class a3a_params_startFog {
title = "$STR_A3RU_startFog";
values[] = {0};
texts[] = {$STR_A3RU_Default};
default = 0;
};
class a3a_params_preTime {
title = "$STR_A3RU_preTime";
values[] = {60, 300, 420, 600, 900, 1200, 1500, 1800};
texts[] = {"1m", "5m", "7m", "10m", "15m", "20m", "25m", "30m"};
default = 900;
};
class a3a_params_slotReservation {
title = "$STR_A3RU_slotReservation";
values[] = {0,1};
texts[] = {$STR_A3RU_off,$STR_A3RU_on};
default = 0;
};
class a3a_params_spectatorSides {
title = "$STR_A3RU_spectatorSides";
values[] = {0,1};
texts[] = {$STR_A3RU_spectatorOwnSide, $STR_A3RU_spectatorAllSides};
default = 1;
};
class a3a_params_externalAddonsInit {
title = "$STR_A3RU_externalAddonsInit";
values[] = {0,1};
texts[] = {$STR_A3RU_off, $STR_A3RU_on};
default = 1;
};
};/*
Antihack & AdminTools - Christian Lorenzen - www.infiSTAR.de
#3dafcba70fef
*/
class RscListBox_infiSTAR {
access=0;
type=5;
style=0;
font="PuristaLight";
sizeEx=0.03;
rowHeight=0;
colorText[]={1,1,1,1};
colorScrollbar[]={1,1,1,1};
colorSelect[]={0,0,0,1};
colorSelect2[]={1,0.5,0,1};
colorSelectBackground[]={0.6,0.6,0.6,1};
colorSelectBackground2[]={0.2,0.2,0.2,1};
colorBackground[]={0,0,0,0.8};
maxHistoryDelay=1.0;
soundSelect[]={"",0.1,1};
period=1;
autoScrollSpeed=-1;
autoScrollDelay=5;
autoScrollRewind=0;
arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
arrowFull="#(argb,8,8,3)color(1,1,1,1)";
shadow=0;
colorDisabled[]={1,1,1,0.25};
border=false;
borderSize=0;
class ScrollBar
{
arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
arrowFull="#(argb,8,8,3)color(1,1,1,1)";
border="#(argb,8,8,3)color(1,1,1,1)";
color[]={1,1,1,0.6};
colorActive[]={1,1,1,1};
colorDisabled[]={1,1,1,0.3};
thumb="#(argb,8,8,3)color(1,1,1,1)";
};
class ListScrollBar:ScrollBar
{
color[]={1,1,1,0.6};
colorActive[]={1,1,1,1};
colorDisabled[]={1,1,1,0.3};
thumb="#(argb,8,8,3)color(1,1,1,1)";
arrowEmpty="#(argb,8,8,3)color(1,1,1,1)";
arrowFull="#(argb,8,8,3)color(1,1,1,1)";
border="#(argb,8,8,3)color(1,1,1,1)";
shadow=0;
};
};
class RscText_infiSTAR {
access=0;
idc=-1;
type=0;
style=0;
linespacing=1;
colorBackground[]={0,0,0,0};
colorText[]={0.84,0.07,0,1};
shadow=1;
font="PuristaBold";
sizeex=0.0400;
fixedWidth=0;
};
class RscEdit_infiSTAR {
access=0;
type=2;
style=0;
colorBackground[]={0,0,0,0.6};
colorText[]={1,1,1,1};
colorSelection[]={1,1,1,0.25};
colorDisabled[]={1,1,1,0};
font="PuristaBold";
sizeEx=0.04;
autocomplete="";
text="";
size=0.2;
shadow=0;
};
class RscButton_infiSTAR {
access=0;
idc=-1;
type=1;
style=0;
text="";
action="";
colorText[]={1,1,1,0.9};
colorDisabled[]={0.6,0.1,0.3,0};
colorBackground[]={0,0,0,0.8};
colorBackgroundDisabled[]={0,0.0,0};
colorBackgroundActive[]={0.15,0.35,0.55,0.7};
colorFocused[]={0.58,0.05,0,0.7};
colorShadow[]={0.023529,0,0.0313725,1};
colorBorder[]={0.023529,0,0.0313725,1};
soundEnter[]={"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1};
soundPush[]={"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1};
soundClick[]={"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1};
soundEscape[]={"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1};
shadow=0;
font="PuristaMedium";
sizeEx=0.02921;
offsetX=0.003;
offsetY=0.003;
offsetPressedX=0.002;
offsetPressedY=0.002;
borderSize=0;
};
class RscHTML_infiSTAR {
colorText[]={1,1,1,1};
colorBold[]={1,1,1,0.75};
colorLink[]={"63/255","212/255","252/255",1};
colorLinkActive[]={"63/255","212/255","252/255",0.75};
colorBackground[]={0,0,0,0};
colorPicture[]={1,1,1,1};
colorPictureBorder[]={0,0,0,0};
colorPictureLink[]={1,1,1,1};
colorPictureSelected[]={1,1,1,1};
hppversion=3;
filename="";
sizeEx=0.03921;
type=9;
style=0;
prevPage="\ca\ui\data\arrow_left_ca.paa";
nextPage="\ca\ui\data\arrow_right_ca.paa";
shadow=2;
class def {
font="PuristaMedium";
fontBold="PuristaBold";
align="left";
};
class H1:def {
sizeEx="38 * pixelH";
};
class H2:def {
sizeEx="32 * pixelH";
};
class H3:def {
sizeEx="26 * pixelH";
};
class H4:def {
sizeEx="20 * pixelH";
};
class H5:def {
sizeEx="17 * pixelH";
};
class H6:def {
sizeEx="15 * pixelH";
};
class P:def {
sizeEx="18 * pixelH";
};
};
class RscEdit_infiSTAR_multi:RscEdit_infiSTAR {
idc=1339;
x=0.1 * safezoneW + safezoneX;
y=0.038 * safezoneH + safezoneY;
w=0.658333 * safezoneW;
h=(0.143 * safezoneH)*3;
font="EtelkaMonospacePro";
colorText[]={0.95,0.95,0.95,1};
style=16;
sizeEx="0.65 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
show=1;
};
class RscEdit_infiSTAR_ss:RscEdit_infiSTAR {
x=0;
y=(safeZoneY + 0.01)+1;
w=1;
h=0.05;
idc=1380;
font="EtelkaMonospacePro";
colorText[]={0.95,0.95,0.95,1};
sizeEx="0.65 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
show=1;
autocomplete="scripting";
};
class infiSTAR_EDITBOX
{
idd=-1341;
movingenable=true;
class controls
{
class RscEditMultiSTAR:RscEdit_infiSTAR_multi
{
idc=1336;
x=0.25;
y=0.25;
w=0.5;
h=0.5;
};
};
};
class infiSTAR_EDITBOX2
{
idd=-1341;
movingenable=true;
class controls
{
class RscEditMultiSTAR:RscEdit_infiSTAR_multi{autocomplete="scripting";};
class RscEditSingle1STAR:RscEdit_infiSTAR_ss{idc=1380;};
class RscEditSingle2STAR:RscEdit_infiSTAR_ss{idc=1381;};
class RscEditSingle3STAR:RscEdit_infiSTAR_ss{idc=1382;};
class RscEditSingle4STAR:RscEdit_infiSTAR_ss{idc=1383;};
class infi_LIST1384:RscListBox_infiSTAR{idc=1384;x=-0.25;y=0.2;w=0.25;h=0.9;sizeEx=0.027;};
};
};
class infiSTAR_CHAT
{
idd=-1340;
movingenable=false;
onKeyDown="call fnc_chat_onKeyDown;";
class controls
{
class RscListbox_1500:RscListBox_infiSTAR
{
idc = 1500;
x = 0.133846 * safezoneW + safezoneX;
y = 0.0929318 * safezoneH + safezoneY;
w = 0.165027 * safezoneW;
h = 0.792133 * safezoneH;
onLoad="uiNamespace setVariable ['chat_playerlist', _this select 0];call fnc_fill_chat_playerlist;(_this select 0) lbSetCurSel 0;";
onLBSelChanged="call fnc_chat_onLBSelChanged;";
};
class RscListbox_1501:RscListBox_infiSTAR
{
idc = 1501;
x = 0.298873 * safezoneW + safezoneX;
y = 0.0929318 * safezoneH + safezoneY;
w = 0.505396 * safezoneW;
h = 0.71512 * safezoneH;
sizeEx=0.03;
onLoad="uiNamespace setVariable ['chat_msgbox', _this select 0];call fnc_fill_chat_history;";
};
class RscEdit_1401:RscEdit_infiSTAR_multi
{
idc = 1401;
x = 0.298873 * safezoneW + safezoneX;
y = 0.808052 * safezoneH + safezoneY;
w = 0.505396 * safezoneW;
h = 0.0770129 * safezoneH;
onLoad="uiNamespace setVariable ['chat_inputfield', _this select 0];";
};
class RscButton_1600:RscButton_infiSTAR
{
idc = 1600;
text = "close";
x = 0.752698 * safezoneW + safezoneX;
y = 0.885064 * safezoneH + safezoneY;
w = 0.051571 * safezoneW;
h = 0.0330055 * safezoneH;
action = "(findDisplay -1340) closeDisplay 0;";
};
class RscButton_1601:RscButton_infiSTAR
{
idc = 1601;
text = "send";
x = (0.752698 * safezoneW + safezoneX)-((0.051571 * safezoneW)*1.1);
y = 0.885064 * safezoneH + safezoneY;
w = 0.051571 * safezoneW;
h = 0.0330055 * safezoneH;
action = "call fnc_chat_send;";
};
class RscButton_1602:RscButton_infiSTAR
{
idc = 1602;
text = "refresh list";
x = 0.133846 * safezoneW + safezoneX;
y = 0.885064 * safezoneH + safezoneY;
w = 0.051571 * safezoneW;
h = 0.0330055 * safezoneH;
action = "call fnc_fill_chat_playerlist;";
};
class RscText_1000:RscText_infiSTAR
{
idc = 1000;
x = 0.133846 * safezoneW + safezoneX;
y = 0.0599262 * safezoneH + safezoneY;
w = 0.670423 * safezoneW;
h = 0.0330055 * safezoneH;
colorText[]={1,1,1,0.9};
colorBackground[]={0,0,0,0.6};
text = "Chatpartner";
onLoad="uiNamespace setVariable ['chat_text1', _this select 0];";
};
};
};
class infiSTAR_AdminMenu
{
idd=-1338;
movingenable=false;
controls[]=
{
infi_TXT2,
infi_BTN10,
infi_BTN11,
infi_BTN12,
infi_LIST1500,
infi_LIST1501,
infi_BTN20,
infi_BTN21,
infi_BTN23,
infi_BTN24,
infi_BTN25,
infi_EDIT1,
infi_EDIT2,
infi_BTN36,
infi_BTN37,
infi_BTN38,
infi_HTML_1
};
class infi_LIST1500:RscListBox_infiSTAR
{
idc=1500;
x=4.99852e-005 * safezoneW + safezoneX;
y=0.0617197 * safezoneH + safezoneY;
w=0.189063 * safezoneW;
h=0.938333 * safezoneH;
};
class infi_LIST1501:RscListBox_infiSTAR
{
idc=1501;
x=0.188975 * safezoneW + safezoneX;
y=0.0617197 * safezoneH + safezoneY;
w=0.344271 * safezoneW;
h=0.945999 * safezoneH;
};
class infi_EDIT1:RscEdit_infiSTAR
{
idc=100;
text="";
x=0.1964 * safezoneW + safezoneX;
y=0.125933 * safezoneH + safezoneY;
w=0.326563 * safezoneW;
h=0.044 * safezoneH;
};
class infi_EDIT2:RscEdit_infiSTAR_multi
{
idc=103;
show=0;
};
class infi_TXT2:RscText_infiSTAR
{
idc=2;
text="infiSTAR.de";
x=-5.31323e-005 * safezoneW + safezoneX;
y=-7.50085e-005 * safezoneH + safezoneY;
w=1 * safezoneW;
h=0.0341667 * safezoneH;
colorText[]={1,1,1,0.9};
colorBackground[]={0.56,0.04,0.04,1};
};
class infi_HTML_1:RscHTML_infiSTAR
{
idc=1;
x=0.535 * safezoneW + safezoneX;
y=0.06 * safezoneH + safezoneY;
w=0.40 * safezoneW;
h=0.35 * safezoneH;
onLoad="uiNamespace setVariable ['RscHTML_infiSTAR_Admin', _this select 0]";
onUnload="uiNamespace setVariable ['RscHTML_infiSTAR_Admin', displayNull]";
};
class infi_BTN10:RscButton_infiSTAR
{
idc=10;
text="Alphabet";
x=0.005 + safezoneX;
y=0.0379694 * safezoneH + safezoneY;
w=0.06 * safezoneW;
h=0.02 * safezoneH;
action="SortRangePlease=nil;SortAlphaPlease=true;SortGroupsPlease=nil;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
};
class infi_BTN11:RscButton_infiSTAR
{
idc=11;
text="Groups";
x=0.01 + safezoneX + (0.06 * safezoneW);
y=0.0379694 * safezoneH + safezoneY;
w=0.06 * safezoneW;
h=0.02 * safezoneH;
action="SortAlphaPlease=nil;SortRangePlease=nil;SortGroupsPlease=true;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
};
class infi_BTN12:RscButton_infiSTAR
{
idc=12;
text="Range";
x=0.015 + safezoneX + (0.06 * safezoneW)*2;
y=0.0379694 * safezoneH + safezoneY;
w=0.06 * safezoneW;
h=0.02 * safezoneH;
action="SortAlphaPlease=nil;SortRangePlease=true;SortGroupsPlease=nil;[] call fnc_fill_infiSTAR_Player;[] call fnc_setFocus;";
};
class infi_BTN20:RscButton_infiSTAR
{
idc=20;
default="true";
text="MainMenu";
x=0.202072 * safezoneW + safezoneX;
y=0.0379694 * safezoneH + safezoneY;
w=0.0625001 * safezoneW;
h=0.02 * safezoneH;
};
class infi_BTN21:RscButton_infiSTAR
{
idc=21;
text="SpawnMenu";
x=0.287975 * safezoneW + safezoneX;
y=0.0379694 * safezoneH + safezoneY;
w=0.0625001 * safezoneW;
h=0.02 * safezoneH;
};
class infi_BTN23:RscButton_infiSTAR
{
idc=23;
text="AHLog";
x=0.373981 * safezoneW + safezoneX;
y=0.0379694 * safezoneH + safezoneY;
w=0.0625001 * safezoneW;
h=0.02 * safezoneH;
};
class infi_BTN24:RscButton_infiSTAR
{
idc=24;
text="AdminLog";
x=0.459884 * safezoneW + safezoneX;
y=0.0379694 * safezoneH + safezoneY;
w=0.0625001 * safezoneW;
h=0.02 * safezoneH;
};
class infi_BTN25:RscButton_infiSTAR
{
idc=25;
x=0.535 * safezoneW + safezoneX + (0.15 * safezoneW);
y=0.0379694 * safezoneH + safezoneY;
w=0.0625001 * safezoneW;
h=0.02 * safezoneH;
action="call fnc_btn_html";
};
class infi_BTN36:RscButton_infiSTAR
{
idc=36;
text="Items";
x=0.219294 * safezoneW + safezoneX;
y=0.0819514 * safezoneH + safezoneY;
w=0.0916667 * safezoneW;
h=0.0329999 * safezoneH;
};
class infi_BTN37:RscButton_infiSTAR
{
idc=37;
text="Vehicles";
x=0.316644 * safezoneW + safezoneX;
y=0.0819514 * safezoneH + safezoneY;
w=0.0916667 * safezoneW;
h=0.0329999 * safezoneH;
};
class infi_BTN38:RscButton_infiSTAR
{
idc=38;
text="Trader";
x=0.414097 * safezoneW + safezoneX;
y=0.0819514 * safezoneH + safezoneY;
w=0.0916667 * safezoneW;
h=0.0329999 * safezoneH;
};
};
class CfgCommands
{
allowedHTMLLoadURIs[]={"http://*"};
};if (!isServer) exitWith {};
{
(uniformContainer _x) additemcargoGlobal ["ACE_quikclot", 2];
(uniformContainer _x) additemcargoGlobal ["ACE_fieldDressing", 2];
(uniformContainer _x) additemcargoGlobal ["ACE_elasticBandage", 2];
(uniformContainer _x) additemcargoGlobal ["ACE_packingBandage", 2];
(uniformContainer _x) additemcargoGlobal ["ACE_morphine", 2];
(uniformContainer _x) additemcargoGlobal ["ACE_tourniquet", 1];
(uniformContainer _x) addItemCargoGlobal ["ACE_EarPlugs", 1];
(uniformContainer _x) additemcargoGlobal ["ACE_epinephrine", 2];
if (_x == (leader group _x)) then {(uniformContainer _x) additemcargoGlobal ["ACE_MapTools", 1];};
if (_x getVariable "ACEMED" > 0) then {
clearItemCargoGlobal (backpackContainer _x);
clearMagazineCargoGlobal (backpackContainer _x);
clearWeaponCargoGlobal (backpackContainer _x);
(backpackContainer _x) additemcargoGlobal ["ACE_fieldDressing",6];
(backpackContainer _x) additemcargoGlobal ["ACE_elasticBandage",6];
(backpackContainer _x) additemcargoGlobal ["ACE_packingBandage",6];
(backpackContainer _x) additemcargoGlobal ["ACE_quikclot",6];
(backpackContainer _x) additemcargoGlobal ["ACE_epinephrine",6];
(backpackContainer _x) additemcargoGlobal ["ACE_morphine",6];
(backpackContainer _x) additemcargoGlobal ["ACE_tourniquet", 4];
(backpackContainer _x) additemcargoGlobal ["ACE_salineIV_500",4];
(backpackContainer _x) additemcargoGlobal ["ACE_surgicalKit",1];
(backpackContainer _x) additemcargoGlobal ["ACE_personalAidKit",1];
};
} forEach playableUnits;if (!isServer) exitWith {};
_u = _this select 0;
_u setVariable ["ACEMED", 1, true];//Слегка поправил скрипт под себя
private ["_veh","_varname", "_role"];
_veh = _this select 0;
_varname = _this select 1;
_role = _this select 2;
_veh setVariable ["requiredCrew",_varname];
if (_role == "bmp") then
{
_veh addEventHandler ["getIn",{_this spawn {
diag_log _this;
private ["_veh","_varname"];
_veh = _this select 0;
_varname = _veh getVariable ["requiredCrew","default"];
while {player in _veh} do {
if ((player == driver _veh || player == commander _veh || player == _veh turretUnit [0]) && {!(player getVariable [_varname, false])}) exitWith {
hint "Вы не уполномочены управлять данным видом техники.";
moveOut player;
};
sleep 1;
};
}}];
};
if (_role == "lav") then
{
_veh addEventHandler ["getIn",{_this spawn {
diag_log _this;
private ["_veh","_varname"];
_veh = _this select 0;
_varname = _veh getVariable ["requiredCrew","default"];
while {player in _veh} do {
if ((player == driver _veh || player == _veh turretUnit [0]) && {!(player getVariable [_varname, false])}) exitWith {
hint "Вы не уполномочены управлять данным видом техники.";
moveOut player;
};
sleep 1;
};
}}];
};
if (_role == "m113") then
{
_veh addEventHandler ["getIn",{_this spawn {
diag_log _this;
private ["_veh","_varname"];
_veh = _this select 0;
_varname = _veh getVariable ["requiredCrew","default"];
while {player in _veh} do {
if ((player == driver _veh) && {!(player getVariable [_varname, false])}) exitWith {
hint "Вы не уполномочены управлять данным видом техники.";
moveOut player;
};
sleep 1;
};
}}];
};
if (_role == "tank") then
{
_veh addEventHandler ["getIn",{_this spawn {
diag_log _this;
private ["_veh","_varname"];
_veh = _this select 0;
_varname = _veh getVariable ["requiredCrew","default"];
while {player in _veh} do {
if ((player == driver _veh || player == _veh turretUnit [0] || player == _veh turretUnit [0,0] || player == _veh turretUnit [0,1]) && {!(player getVariable [_varname, false])}) exitWith {
hint "Вы не уполномочены управлять данным видом техники.";
moveOut player;
};
sleep 1;
};
}}];
};/*%FSM*/
/*%FSM*/
/*
item0[] = {"call_FSM",1,4346,100.000000,-75.000000,200.000000,-25.000000,0.000000,"call FSM"};
globals[] = {0.000000,0,0,0,0,640,480,1,22,6316128,1,-31.507059,261.199463,749.303589,-86.793678,202,577,1};
window[] = {0,-1,-1,-1,-1,836,458,1418,87,1,220};
*//*%FSM*/
class FSM
{
fsmName = "call.fsm";
class States
{
/*%FSM*/
class call_FSM
{
name = "call_FSM";
itemno = 0;
init = /*%FSM*/"(_this select 0) call (_this select 1)"/*%FSM*/;
precondition = /*%FSM*/""/*%FSM*/;
class Links
{
};
};
/*%FSM*/
};
initState="";
finalStates[] =
{
"call_FSM",
};
};
/*%FSM*/#include "\tu_addons\mission_params.hpp"
// Disposable wrecks and corpses settings
// BIKI: https://community.bistudio.com/wiki/Description.ext#corpseLimit
corpseLimit = 300;
corpseRemovalMaxTime = 10000;
wreckLimit = 300;
wreckRemovalMaxTime = 10000;
// Extended flight model
// 0 - Player chosen, 1 - Force Enable, 2 - Force Disable
// BIKI: https://community.bistudio.com/wiki/Description.ext#forceRotorLibSimulation
forceRotorLibSimulation = 0;
#include "A3A_SETUP\a3a_header.hpp"
#include "mission_description.hpp"
#include "A3A_SETUP\a3a_parameters.hpp"
class A3A_MissionParams {
#include "mission_parameters.hpp"
};
class CfgFunctions
{
class mis
{
class Main
{
file="mis_funcs";
class preinit
{
preInit=1;
postInit=0;
};
};
};
};
class CfgIdentities
{
class ArtStrelok
{
face = "WhiteHead_10";
glasses = "None";
name = "Артиллерист РККА Виталий Попадалов";
nameSound = "Givens";
pitch = 1.0;
speaker = "Male01ENG";
};
};// Синие: Bundeswehr
// Роль: Гранатомётчик
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_g3a3v";
this addPrimaryWeaponItem "hlc_20rnd_762x51_b_G3";
this addWeapon "rhs_weap_maaws";
this addSecondaryWeaponItem "rhs_optic_maaws";
this addSecondaryWeaponItem "rhs_mag_maaws_HEAT";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "TRYK_B_Alicepack";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_20rnd_762x51_b_G3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_20rnd_762x51_T_G3";};
for "_i" from 1 to 2 do {this addItemToBackpack "rhs_mag_maaws_HEAT";};
this addItemToBackpack "rhs_mag_maaws_HE";
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Механик
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_g3a3";
this addPrimaryWeaponItem "hlc_20rnd_762x51_b_G3";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "TRYK_B_Alicepack";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_20rnd_762x51_b_G3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_20rnd_762x51_T_G3";};
this addItemToBackpack "ToolKit";
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Командир роты
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_g3a3";
this addPrimaryWeaponItem "hlc_20rnd_762x51_b_G3";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "usm_pack_st128_prc77";
this addWeapon "Binocular";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_20rnd_762x51_b_G3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_20rnd_762x51_T_G3";};
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Заместитель командира роты
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_g3a3";
this addPrimaryWeaponItem "hlc_20rnd_762x51_b_G3";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "TRYK_B_Alicepack";
this addWeapon "Binocular";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_20rnd_762x51_b_G3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_20rnd_762x51_T_G3";};
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Санинструктор
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_g3a3";
this addPrimaryWeaponItem "hlc_20rnd_762x51_b_G3";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "TRYK_B_Medbag_OD";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_20rnd_762x51_b_G3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_20rnd_762x51_T_G3";};
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Пулемётчик
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_lmg_MG3";
this addPrimaryWeaponItem "hlc_50Rnd_762x51_B_MG3";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_mg";
this addBackpack "TRYK_B_Alicepack";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_50Rnd_762x51_B_MG3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_50Rnd_762x51_M_MG3";};
for "_i" from 1 to 2 do {this addItemToBackpack "hlc_50Rnd_762x51_B_MG3";};
for "_i" from 1 to 2 do {this addItemToBackpack "hlc_50Rnd_762x51_M_MG3";};
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Помощник пулемётчика
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_g3a3";
this addPrimaryWeaponItem "hlc_20rnd_762x51_b_G3";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "TRYK_B_Alicepack";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_20rnd_762x51_b_G3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_20rnd_762x51_T_G3";};
for "_i" from 1 to 4 do {this addItemToBackpack "hlc_50Rnd_762x51_B_MG3";};
for "_i" from 1 to 2 do {this addItemToBackpack "hlc_50Rnd_762x51_M_MG3";};
this addItemToBackpack "BWA3_120Rnd_762x51_Tracer_soft";
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Стрелок
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_g3a3";
this addPrimaryWeaponItem "hlc_20rnd_762x51_b_G3";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "TRYK_B_Alicepack";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 4 do {this addItemToVest "hlc_20rnd_762x51_b_G3";};
for "_i" from 1 to 2 do {this addItemToVest "hlc_20rnd_762x51_T_G3";};
this addHeadgear "rhsgref_helmet_M1_liner";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Синие: Bundeswehr
// Роль: Экипаж
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_smg_MP5N";
this addPrimaryWeaponItem "hlc_30Rnd_9x19_B_MP5";
this forceAddUniform "usm_bdu_odg";
this addVest "usm_vest_lbe_rm";
this addBackpack "TRYK_B_Alicepack";
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_m67";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_mag_an_m8hc";};
for "_i" from 1 to 6 do {this addItemToVest "hlc_30Rnd_9x19_B_MP5";};
this addHeadgear "usm_helmet_cvc";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "ItemWatch";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Гранатомётчик
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this addWeapon "rhs_weap_rpg7";
this addSecondaryWeaponItem "rhs_acc_pgo7v3";
this addSecondaryWeaponItem "rhs_rpg7_PG7VL_mag";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_rpg_2";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
for "_i" from 1 to 2 do {this addItemToBackpack "rhs_rpg7_PG7VL_mag";};
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Помощник гранатомётчика
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_rpg_2";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
for "_i" from 1 to 2 do {this addItemToBackpack "rhs_rpg7_PG7VL_mag";};
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Механик
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_sidor";
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToBackpack "ToolKit";
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Командир роты
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_r148";
this addWeapon "TU_B8_Binocular";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Командир роты
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_sidor";
this addWeapon "TU_B8_Binocular";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Санитар
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_medic_bag";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Пулемётчик
if (!local this) exitWith {};
comment "Remove existing items";
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "hlc_rifle_rpk_45rnd";
this addPrimaryWeaponItem "rhs_pzn_40Rnd_762x39mm";
this forceAddUniform "Rain_M88";
this addVest "rhs_belt_RPK";
this addBackpack "rhs_sidor";
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
for "_i" from 1 to 2 do {this addItemToVest "rhs_pzn_40Rnd_762x39mm";};
for "_i" from 1 to 2 do {this addItemToBackpack "rhs_pzn_40Rnd_762x39mm";};
for "_i" from 1 to 2 do {this addItemToBackpack "rhs_pzn_40Rnd_762x39mm_tracer";};
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Радист
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_r148";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Стрелок
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_sidor";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Стрелок
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_sidor";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhsgref_M56";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Экипаж
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_sidor";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhs_tsh4";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";// Красные: ГДР
// Роль: Экипаж
if (!local this) exitWith {};
removeAllWeapons this;
removeAllItems this;
removeAllAssignedItems this;
removeUniform this;
removeVest this;
removeBackpack this;
removeHeadgear this;
removeGoggles this;
this addWeapon "rhs_pzn_weap_aks74";
this addPrimaryWeaponItem "rhs_acc_dtk1983";
this addPrimaryWeaponItem "rhs_30Rnd_545x39_7N6M_AK";
this forceAddUniform "Rain_M88";
this addVest "rhs_suspender_AK";
this addBackpack "rhs_sidor";
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_7N6M_AK";};
for "_i" from 1 to 2 do {this addItemToVest "rhs_30Rnd_545x39_AK_green";};
this addItemToVest "rhs_mag_rdg2_white";
this addItemToVest "rhs_mag_f1";
this addHeadgear "rhs_tsh4";
this linkItem "ItemMap";
this linkItem "ItemCompass";
this linkItem "tf_microdagr";
this linkItem "ItemRadio";_unit = _this select 0;
_faction = _this select 1;
_loadout = _this select 2;
random_RU_uniform = [
"FGN_M88_VSR_VDV",
"FGN_M88_VSR_VDV",
"FGN_M88_KhakiVSR_VDV",
"FGN_M88_VSR2_VDV",
"TU_Gorka1"
];
random_GRU_headgear = [
"H_Bandanna_khk",
"H_Bandanna_khk",
"FGN_CauR_Beanie_Black",
"FGN_CauR_Beanie_Brown",
"rhs_beanie_green",
"rhs_beanie"
];
random_GRU_vest = [
"FGN_RU_6B513_Khaki",
"FGN_RU_6B513_VSR",
"FGN_RU_6B513",
"FGN_RU_6B513_VKhaki"
];
random_GRU_vest_officer = [
"FGN_RU_6B513_Khaki_Officer",
"FGN_RU_6B513_VSR_Officer",
"FGN_RU_6B513_Officer",
"FGN_RU_6B513_VKhaki_Officer"
];
random_GRU_weapon_aks74 = [
"rhs_weap_aks74",
"rhs_weap_aks74_2",
"rhs_pzn_weap_ak74"
];
random_MSV_weapon_ak74 = [
"rhs_weap_aks74",
"rhs_weap_aks74_2",
"rhs_weap_ak74",
"rhs_weap_ak74_2",
"rhs_pzn_weap_ak74",
"rhs_pzn_weap_ak74"
];
random_MSV_weapon_ak74n = [
"rhs_weap_aks74n",
"rhs_weap_ak74n",
"rhs_pzn_weap_ak74n",
"rhs_pzn_weap_ak74n"
];
random_Srochnik_uniform = [
"FGN_M88_VSR_VDV",
"FGN_M88_VSR_VDV",
"FGN_M88_KhakiVSR_VDV",
"FGN_M88_VSR2_VDV"
];
random_Srochnik_vest = [
"rhs_6b5_khaki",
"rhs_6b5_vsr",
"rhs_6b5"
];
random_Srochnik_vest_officer = [
"rhs_6b5_officer_khaki",
"rhs_6b5_officer_vsr",
"rhs_6b5_officer"
];
random_Srochnik_headgear = [
"FGN_SSH68_VSR",
"FGN_SSH68_VSR2",
"FGN_SSH68_Khaki"
];
random_Srochnik_scope = [
"rhs_acc_1p29",
"rhs_acc_pso1m2"
];
random_NVF_uniform_spn = [
"FGN_CauR_Smock_BlackWoodland",
"FGN_CauR_Smock_Woodland"
];
random_NVF_uniform = [
"FGN_CauR_M88_M81",
"FGN_CauR_M93_M81",
"LOP_U_UA_Fatigue_01",
"LOP_U_UA_Fatigue_01",
"LOP_U_UA_Fatigue_02",
"LOP_U_UA_Fatigue_02",
"LOP_U_UA_Fatigue_04",
"FGN_CauR_M88_M81Green",
"FGN_CauR_M88_M81Black"
];
random_NVF_vest_spn = [
"FGN_RU_V95_KKO_2",
"FGN_RU_V95_KKO_Urban_2",
"FGN_RU_V95_Kamysh_2"
];
random_NVF_vest = [
"LOP_V_Chestrig_Kamysh",
"LOP_V_Chestrig_VSR",
"V_TacVest_oli",
"rhssaf_vest_md99_md2camo_rifleman"
];
random_NVF_headgear = [
"H_Booniehat_oli",
"FGN_CauR_Beanie_Woodland",
"rhssaf_booniehat_woodland",
"H_Beret_blk",
"TRYK_H_pakol2",
"LOP_H_Turban",
"LOP_H_Turban_mask",
"LOP_H_Ushanka",
"TRYK_H_woolhat_br",
"TRYK_H_woolhat_cu"
];
random_NVF_beard = [
"TRYK_Beard_BK",
"TRYK_Beard_BK2",
"TRYK_Beard_BK3",
"TRYK_Beard_BK4",
"TRYK_Beard_BW",
"TRYK_Beard_BW2",
"TRYK_Beard_BW3",
"TRYK_Beard_BW4",
"TRYK_Beard_Gr",
"TRYK_Beard_Gr2",
"TRYK_Beard_Gr3",
"TRYK_Beard_Gr4"
];
_item_processor = {
removeAllItems _this;
removeAllWeapons _this;
removeAllItemsWithMagazines _this;
removeAllAssignedItems _this;
removeUniform _this;
removeBackpack _this;
removeHeadgear _this;
removeVest _this;
};
if (!isServer) exitWith {};
_unit call _item_processor;
_svn = format ["SerP_equipment_codes_%1_%2",_faction, _loadout];
if (isNil _svn) then
{
missionNamespace setVariable [_svn,
compile preprocessFileLineNumbers format ["Equipment\%1\%2.sqf", _faction, _loadout]
];
};
[_unit] call (missionNamespace getVariable [_svn, {}]);
if !(local this) exitWith {};
this addItemcargoglobal ["hlc_20rnd_762x51_b_G3", 30];
this addItemcargoglobal ["hlc_20rnd_762x51_T_G3", 20];
this addItemcargoglobal ["hlc_50Rnd_762x51_B_MG3", 10];
this addItemcargoglobal ["hlc_50Rnd_762x51_M_MG3", 4];
this addItemcargoglobal ["rhs_mag_maaws_HEAT", 3];
this addItemcargoglobal ["rhs_mag_maaws_HE", 3];
this addItemcargoglobal ["rhs_mag_m67", 20];
this addItemcargoglobal ["rhs_mag_an_m8hc", 20];
this addItemcargoglobal ["rhs_weap_m72a7", 2];
this addItemcargoglobal ["ToolKit", 1];
this addItemcargoglobal ["usm_helmet_cvc", 1];
this addItemcargoglobal ["rhsgref_helmet_M1_liner", 2];
this addBackpackCargoGlobal ["TRYK_B_Alicepack",2];
_veh addItemcargoglobal ["rhs_mag_100rnd_127x99_mag", 9];if !(local this) exitWith {};
this addItemcargoglobal ["hlc_20rnd_762x51_b_G3", 20];
this addItemcargoglobal ["hlc_20rnd_762x51_T_G3", 10];
this addItemcargoglobal ["rhs_mag_m67", 10];
this addItemcargoglobal ["rhs_mag_an_m8hc", 10];
this addItemcargoglobal ["ToolKit", 1];
this addItemcargoglobal ["rhsgref_helmet_M1_liner", 2];
this addBackpackCargoGlobal ["TRYK_B_Alicepack",2];
this addBackpackCargoGlobal ["cgr_kitbag_tent_packed_mc",1];
this additemcargoGlobal ["ACE_fieldDressing",30];
this additemcargoGlobal ["ACE_elasticBandage",30];
this additemcargoGlobal ["ACE_packingBandage",30];
this additemcargoGlobal ["ACE_quikclot",30];
this additemcargoGlobal ["ACE_epinephrine",20];
this additemcargoGlobal ["ACE_morphine",20];
this additemcargoGlobal ["ACE_tourniquet",20];
this additemcargoGlobal ["ACE_salineIV_500",10];
this additemcargoGlobal ["ACE_surgicalKit",2];
this additemcargoGlobal ["ACE_personalAidKit",20];
_veh addItemcargoGlobal ["RHS_48Rnd_40mm_MK19",10];if !(local this) exitWith {};
this addItemcargoglobal ["hlc_20rnd_762x51_b_G3", 20];
this addItemcargoglobal ["hlc_20rnd_762x51_T_G3", 10];
this addItemcargoglobal ["rhs_mag_m67", 10];
this addItemcargoglobal ["rhs_mag_an_m8hc", 10];if !(local this) exitWith {};
this addItemcargoglobal ["hlc_20rnd_762x51_b_G3", 30];
this addItemcargoglobal ["hlc_20rnd_762x51_T_G3", 20];
this addItemcargoglobal ["hlc_50Rnd_762x51_B_MG3", 10];
this addItemcargoglobal ["hlc_50Rnd_762x51_M_MG3", 4];
this addItemcargoglobal ["rhs_mag_maaws_HEAT", 3];
this addItemcargoglobal ["rhs_mag_maaws_HE", 3];
this addItemcargoglobal ["rhs_mag_m67", 20];
this addItemcargoglobal ["rhs_mag_an_m8hc", 20];
this addItemcargoglobal ["rhs_weap_m72a7", 2];
this addItemcargoglobal ["ToolKit", 1];
this addItemcargoglobal ["usm_helmet_cvc", 1];
this addItemcargoglobal ["rhsgref_helmet_M1_liner", 2];
this addBackpackCargoGlobal ["TRYK_B_Alicepack",2];if !(local this) exitWith {};
this addItemcargoglobal ["hlc_20rnd_762x51_b_G3", 30];
this addItemcargoglobal ["hlc_20rnd_762x51_T_G3", 20];
this addItemcargoglobal ["hlc_50Rnd_762x51_B_MG3", 10];
this addItemcargoglobal ["hlc_50Rnd_762x51_M_MG3", 4];
this addItemcargoglobal ["rhs_mag_maaws_HEAT", 3];
this addItemcargoglobal ["rhs_mag_maaws_HE", 3];
this addItemcargoglobal ["rhs_mag_m67", 20];
this addItemcargoglobal ["rhs_mag_an_m8hc", 20];
this addItemcargoglobal ["rhs_weap_m72a7", 2];
this addItemcargoglobal ["ToolKit", 1];
this addItemcargoglobal ["usm_helmet_cvc", 1];
this addItemcargoglobal ["rhsgref_helmet_M1_liner", 2];
this addBackpackCargoGlobal ["TRYK_B_Alicepack",2];
this addBackpackCargoGlobal ["cgr_kitbag_tent_packed_mc",1];
this additemcargoGlobal ["ACE_fieldDressing",30];
this additemcargoGlobal ["ACE_elasticBandage",30];
this additemcargoGlobal ["ACE_packingBandage",30];
this additemcargoGlobal ["ACE_quikclot",30];
this additemcargoGlobal ["ACE_epinephrine",20];
this additemcargoGlobal ["ACE_morphine",20];
this additemcargoGlobal ["ACE_tourniquet",20];
this additemcargoGlobal ["ACE_salineIV_500",10];
this additemcargoGlobal ["ACE_surgicalKit",2];
this additemcargoGlobal ["ACE_personalAidKit",20];if !(local this) exitWith {};
this addItemcargoglobal ["hlc_20rnd_762x51_b_G3", 20];
this addItemcargoglobal ["hlc_20rnd_762x51_T_G3", 10];
this addItemcargoglobal ["rhs_mag_m67", 10];
this addItemcargoglobal ["rhs_mag_an_m8hc", 10];if !(local this) exitWith {};
this addItemcargoglobal ["rhs_30Rnd_545x39_7N6_AK", 20];
this addItemcargoglobal ["rhs_30Rnd_545x39_AK_green", 20];
this addItemcargoglobal ["rhs_pzn_40Rnd_762x39mm", 10];
this addItemcargoglobal ["rhs_pzn_40Rnd_762x39mm_tracer", 10];
this addItemcargoglobal ["rhs_mag_f1", 10];
this addItemcargoglobal ["rhs_mag_rdg2_white", 10];if !(local this) exitWith {};
this addItemcargoglobal ["rhs_rpg7_PG7VL_mag", 6];if !(local this) exitWith {};
this addItemcargoglobal ["rhs_30Rnd_545x39_7N6_AK", 40];
this addItemcargoglobal ["rhs_30Rnd_545x39_AK_green", 20];
this addItemcargoglobal ["rhs_pzn_40Rnd_762x39mm", 10];
this addItemcargoglobal ["rhs_pzn_40Rnd_762x39mm_tracer", 10];
this addItemcargoglobal ["rhs_rpg7_PG7VL_mag", 6];
this addItemcargoglobal ["rhs_mag_f1", 20];
this addItemcargoglobal ["rhs_mag_rdg2_white", 20];
this addItemcargoglobal ["rhs_weap_rpg18", 2];
this addItemcargoglobal ["ToolKit", 1];
this addItemcargoglobal ["rhs_tsh4", 1];
this addItemcargoglobal ["rhsgref_M56", 2];
this addBackpackCargoGlobal ["rhs_sidor",2];
this addItemcargoglobal ["ACE_EntrenchingTool", 5];if !(local this) exitWith {};
this addItemcargoglobal ["rhs_mine_tm62m_mag", 10];
this addItemcargoglobal ["ACE_DefusalKit", 1];
this addBackpackCargoGlobal ["B_Kitbag_tan",2];
if !(local this) exitWith {};
this addBackpackCargoGlobal ["cgr_kitbag_tent_packed_mc",2];
this additemcargoGlobal ["ACE_fieldDressing",40];
this additemcargoGlobal ["ACE_elasticBandage",40];
this additemcargoGlobal ["ACE_packingBandage",40];
this additemcargoGlobal ["ACE_quikclot",40];
this additemcargoGlobal ["ACE_epinephrine",20];
this additemcargoGlobal ["ACE_morphine",20];
this additemcargoGlobal ["ACE_tourniquet",20];
this additemcargoGlobal ["ACE_salineIV_500",10];
this additemcargoGlobal ["ACE_surgicalKit",3];
this additemcargoGlobal ["ACE_personalAidKit",15];if !(local this) exitWith {};
this addItemcargoglobal ["rhs_30Rnd_545x39_7N6_AK", 20];
this addItemcargoglobal ["rhs_30Rnd_545x39_AK_green", 10];
this addItemcargoglobal ["rhs_mag_f1", 10];
this addItemcargoglobal ["rhs_mag_rdg2_white", 10];
this addBackpackCargoGlobal ["cgr_kitbag_tent_packed_mc",2];
this additemcargoGlobal ["ACE_fieldDressing",30];
this additemcargoGlobal ["ACE_elasticBandage",30];
this additemcargoGlobal ["ACE_packingBandage",30];
this additemcargoGlobal ["ACE_quikclot",30];
this additemcargoGlobal ["ACE_epinephrine",20];
this additemcargoGlobal ["ACE_morphine",20];
this additemcargoGlobal ["ACE_tourniquet",20];
this additemcargoGlobal ["ACE_salineIV_500",10];
this additemcargoGlobal ["ACE_surgicalKit",3];
this additemcargoGlobal ["ACE_personalAidKit",30];
this addBackpackCargoGlobal ["rhs_r148",1];//
_veh = _this select 0;
_faction = _this select 1;
//call compile format ["if (isNil {SerP_veh_%1_processor}) then {SerP_veh_%1_processor = compile preprocessFileLineNumbers 'equipment\veh_%1.sqf'}",_faction];
_loadout = _this select 2;
_cargoBoxes = _this select 3;
//prepare functions
_common_processor = {
_veh = _this;
clearWeaponCargoGlobal _veh;
clearMagazineCargoGlobal _veh;
clearItemCargoGlobal _veh;
clearBackpackCargoGlobal _veh;
};
if (isServer) then
{
if (_faction == "" && _loadout == "common") then {
//_veh addMagazineCargo ["HandGrenade_East",12];
//_veh addWeaponCargo ["ACE_Rucksack_RD90",2];
} else {
_veh call _common_processor;
[_veh] call compile format ["_this call compile preprocessFileLineNumbers 'Equipment\veh_%1\%2.sqf';",_faction,_loadout];
};
};// ARMA3.RU Mission Template
// ARMA3.RU Mission Template
enableSaving [false, false]; // отключаем сохранения
0 = execVM "add_med.sqf"; // скрипт универсального добавления медицины от [ODK]Bn_, прописывает медикаменты каждому, и дополнительные медикам, у которых указан соответствующий ACE параметр в редакторе
setTerrainGrid 2; // максимальная детализация рельефа на дистанции, убирает "просвечивающие" сквозь вершины холмов модели.
if (!isServer) then {
[] spawn {
waitUntil {a3a_var_started };
sleep 18;
["Восточная Германия"] spawn BIS_fnc_infoText;
sleep 12;
["10 апреля","1986 года"] spawn BIS_fnc_infoText;
};
};
JFIF ` ` C
C
2"
} !1AQa"q2#BR$3br
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz
w !1AQaq"2B #3Rbr
$4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ? ͖K;^j4
kj6I#x.KREɨOnZFYGicIHkM`\jmbוI31XA`0
.Ru~ Ify=Xd%%N M7KT~?xV/GR0jT,IF]L]O&7(\3Tk\"laX5ďzExVf%GkcO]O,9cYVͺ8bSerMeSդ3eehdbrĀYw;_zɺ~ԅ[rƿ3zUb69=jaų\sI:⦒9!*pErVN$j+6 ?)XfwTy'-&>fUsb4j.{lUa;+;Ty"N>AU6)"*95wZ+Q5tl$Tg9s?;[&jֱuك1K}Eߝb|CnsS|1Q[KAͶ!5Jw6M,>ř.֫ܽ1ʑ gzg<6e |(zm̍i$䰮f얧G}8p;s\r_H폗qE4Mīw$eM`xAOFƭH5HG_KEn>g|7A^y_[4)*pMu,x.\lg$~Q_=VV+S G