Jump to content

Schalldampfer

Member
  • Posts

    292
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by Schalldampfer

  1. Nice but it spams rpt (not error)

    Spoiler

    17:01:21 "Taser effect incoming [O 1-1-F:2,"",0.814285,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"head_hit",0.361024,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"body",1.01846,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"hands",1.62052,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"legs",0.0592762,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"",4.4184,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"head_hit",2.47318,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"body",5.5078,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"hands",10.0156,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:21 "Taser effect incoming [O 1-1-F:2,"legs",0.335686,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"",0.263438,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"head_hit",0,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"body",0.0165846,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"hands",0.0444048,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"legs",0.24249,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"",0.608643,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"head_hit",0,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"body",0.0165846,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"hands",0.0566464,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"legs",0.66585,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"",1.25359,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"head_hit",0,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"body",0.0272009,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"hands",0.0731948,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"
    17:01:40 "Taser effect incoming [O 1-1-F:4,"legs",1.33843,B 1-1-F:1 (Schalldampfer) REMOTE,"FHQ_rem_338Lapua_BallTD"]"

    remove 87th line of ddopp\init.sqf  to reduce log.

     

    And, for battleye filter, add this in the first 5 !=*** line of publicvariable.txt

    Quote

     !"DDOPP_pv(Say|Anim|Spawn)"

     

  2. 6 hours ago, Maverik said:

    Ahoj, great script. i love it.

    i had some BE filter issues, after reading all post i managed to get rid of all of them but there is one left that i can't fix.

    script.txt

    
    //new2
    5 "BIS_fnc_dynamictext" !="\"BIS_fnc_dynamictext\"" !="'BIS_fnc_dynamictext'" !="[_text,_xcoord,_ycoord,_screentime,0.5] spawn BIS_fnc_dynamicText;"
    5 loadFile
    5 forceRespawn !="ForceRespawnDuration" !="reviveHandleForceRespawnAction" !="forcerespawn player;"
    5 setFriend
    5 setAmmo
    5 enableFatigue
    5 setUnitRecoilCoefficient
    5 setWeaponReloadingTime !="_unit setWeaponReloadingTime [_unit,_weapon,1];" !="_unit setWeaponReloadingTime [_unit,_weapon,1];" !="player fire [_muzzle, _muzzle, _item];\nplayer setWeaponReloadingTime [player, _muzzle, 0];"
    5 allMissionObjects !="_alljammer = allmissionobjects 'PlotPole_EPOCH';" !="allMissionObjects \"Timeline_F\""
    5 callExtension
    5 showCommandingMenu !="showCommandingMenu '';" !="showCommandingMenu '#USER:"
    5 enableCollisionWith
    5 setvelocity !="setVelocityTarget" !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];" !="_bobber setVelocity [0,-1,-10];" !="_x setvelocity [0,0,0.1];" !="_veh setVelocity [0,0,0];" !="_this select 0 setvelocity (_this select 1)" !="_zombie setVelocityTransformation [_aslPos,_aslPos,_unitV,_unitV,_unitvDir,_vDir,_unitvUp,_unitvUp,2];" !="_smokeg setVelocity _Gvel;"
    5 assignAs !"assignAsCargo" !="_unit assignAsGunner _axeCopter;" !="_driver assignAsDriver _axeCopter;" !="axeVIP assignAsDriver vehicle axeVIP;"
    5 assignAsCargo !="_x assignAsCargo axeGeneralsBoat;" !="axeVIP assignAsCargo vehicle player;" !="axeVIP assignAsCargo vehicle axeVIP;"
    5 allowDamage !="_unit allowDamage false;" !="_unit allowDamage true;" !="player allowDamage true;" !="vehicle player allowDamage true;" !="player allowDamage false;" !="_target allowDamage true;" !="_cargo allowDamage false;"
    5 addWeaponCargo !="_acceptHolder addWeaponCargo [_wWeapon, 1] ;" !="CBA_fnc_addWeaponCargo" !="\\fnc_addWeaponCargo" !="\"addWeaponCargo" !="cba_fAddWeaponCargo"
    5 onMapSingleClick !="onMapSingleClick '';" !="\"onmapsingleclick\""
    5 addMagazine !"addMagazineCargo" !="player addMagazine [_item,_count];" !="player addMagazine \"sledge_swing\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine \"stick_swing\";" !="_wh addMagazineAmmoCargo[_item, 1, _count];" !="CBA_fnc_addMagazine" !="\\fnc_addMagazine" !="\"addMagazine" !="vehicle player addMagazineTurret" !="vehicle player addMagazineTurret" !="EPOCH_fnc_addMagazineOverflow"
    5 addMagazineCargo !="_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !="_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !="_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !="_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !="_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]" !="_acceptHolder addMagazineCargo [_wAmmo, 1] ;" !="CBA_fnc_addMagazineCargo" !="\\fnc_addMagazineCargo" !="\"addMagazineCargo" !="cba_fAddMagazineCargo"
    5 addItem !="{player addItemToVest _x} forEach _vestItems;" !="player addItem _item;" !="_plyr addItemToVest _missionItem;" !="axeVIP addItemToVest _item;" !="_plyr  addItemToVest _missionItem;" !="EPOCH_fnc_addItemOverflow" !="CBA_fnc_addItem" !="\\fnc_addItem" !="\"addItem" !="fnc_addItemCargo" !="wH = _nearByHolder select 0;\n};\nif !(isNull _wh) then {\n_wh addItemCargoGlobal [_item,1];\n};\n};\n};\n\n_fnc_findItemInContainers = " !="player addItem 'ItemRope';"
    5 addBackPack !="fnc_addBackpackCargo"
    5 addMissionEventHandler !="CBA_clientID = [0, 2] select isMultiplayer;\naddMissionEventHandler [\"PlayerConnected\", {\nparams [\"_id\", \"_uid\", \"_name\"" !="addMissionEventHandler [\"EachFrame\", {call cba_common_fnc_onFrame}];" !="addMissionEventHandler [\"HandleDisconnect\"," !="addMissionEventHandler [\"Loaded\"," !="addMissionEventHandler ['Draw3D',_var + \"call Epoch_gui3DCooldownEH;\"];" !="addMissionEventHandler ['Draw3D',_var + \"call epoch_gui3dModelPosEH;\"];" !="addMissionEventHandler ['Draw3D',_var + \"call epoch_gui3dWorldPosEH;\"];" !="addMissionEventHandler [\n\"ended\",\n{\n\nBIS_fnc_missionHandlers_end = _this;" !="private _ehId = addMissionEventHandler [_event select [2], _code];" !="addMissionEventHandler [\"PlayerViewChanged\", {if (cameraView isEqualTo \"GROUP\") then {vehicle player switchCamera \"Internal\";};}];" !="addMissionEventHandler [\"EachFrame\",\n{\n\nmissionNamespace setVariable [\"BIS_"
    5 removeMissionEventHandler !="removeMissionEventHandler [\"Draw3D\", _id];" !="removeMissionEventHandler [_event select [2], _x select 1];"
    5 removeAllWeapons !="removeAllWeapons axeGeneral;"
    5 removeAllItems
    5 removeAllActions
    5 setViewDistance !="setViewDistance 1600"
    5 createGroup !="EPOCH_server_createGroup" !="_grp = createGroup [RESISTANCE, true];" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup [RESISTANCE, true];" !="_grp = createGroup side _plyr;" !="_grp = createGroup [_side, true];" !="_grp = createGroup [(side _plyr), true];" !="createcenter sidelogic;\n_grpLogic = creategroup sidelogic;\nbis_functions_mainscope" !="_group = createGroup [west, true];"
    5 createVehicleCrew !="createvehiclecrew _x;"
    5 createVehicleLocal !="\"Sign_Arrow_Direction_Yellow_F\" createVehicleLocal" !="\"#particlesource\" createVehicleLocal" !="\"#lightpoint\" createVehicleLocal" !="\"BloodSplat\" createVehicleLocal" !="[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal" !="SLX_XEH_DUMMY createVehicleLocal [0, 0, 0];" !="CBA_eventHandlers = \"Logic\" createVehicleLocal [0, 0];"
    5 createUnit !="_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];" !="axeGeneral = grpVIPGeneral createUnit [\"I_officer_F\", axeGeneralPos, [], 1, \"CAN_COLLIDE\"];" !="bis_functions_mainscope = _grpLogic createunit [\"Logic\",[9,9,9],[],0,\"none\"];" !="_unit = _grp createUnit[selectRandom _arrUnits, _pos, [], 0, \"FORM\"];" !="_driver = (group player) createUnit[\"I_UAV_AI\", position axeUAV, [], 0, \"CAN_COLLIDE\"];"
    5 createAgent !="bis_revive_ratioLethal = createAgent [\"Logic\", [10,10,0], [], 0, \"CAN_COLLIDE\"];" !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !="_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !="_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\"];" !="_unit = createAgent [\"Epoch_Sapper_F\", _targetPos, [], 180, \"FORM\"];" !="_sapper = createAgent [\"Epoch_Sapper_F\", getPos _cage2, [], 0, \"FORM\"];" !="_unit = createAgent[_unitClass, position player, [], _zRange, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 0, \"CAN_COLLIDE\"];" !="_axeSapper = createAgent [\"Epoch_Sapper_F\", _pos, [], 12, \"FORM\"];" !="_nestMate = createAgent [\"Epoch_Sapper_F\", _garrPos, [], 0, \"FORM\"];"
    5 createTeam
    5 createDialog !="createdialog 'Epoch_CamDialog'" !="createDialog \"rmx_dynamenu\";" !="createDialog \"rmx_craftingUI\";" !="createDialog \"QuickUpgrade\";" !="createDialog \"QuickTake\";" !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog _tapDiag;" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" !="createDialog 'Skaronator_AdminMenu';" !="createDialog \"Epoch_myTempGroup\";" !="createDialog (if ((Epoch_my_tempGroupUID == \"\") && (Epoch_my_tempGroup isEqualTo [])) then {\"EPOCH_createTempGrp\"} else {\"Epoch_myTempGroup\"});" !="createDialog \"tempGroupRequests\";"
    5 createDisplay !="createDisplay \"rmx_dynamenu\";" !="createDisplay \"rmx_moveDynamicHUD\";" !="_parent createdisplay _displayClass;" !="finddisplay 151 createdisplay 'RscDisplayOptionsLayout'" !="_display createdisplay \"RscDisplayDLCPreview\";"
    5 deleteMarker !="deleteMarkerLocal _mName;"
    5 setMarker !="CBA_fnc_setMarkerPersistent\"" !="\\fnc_setMarkerPersistent" !="\"setMarkerPersistent" !="_mName setMarkerShapeLocal _mShape;" !="_mName setMarkerTypeLocal _mType;" !="(_x select 0) setMarkerPosLocal (position player);" !="_zoomMarker setMarkerSizeLocal"
    5 createMarker !="CBA_fnc_createMarker\"" !="\\fnc_createMarker" !="\"createMarker" !="cba_fCreateMarker" !="createMarkerLocal [_mName, _mPos];"
    5 assignItem !="axeVIP assignItem _item;" !="unassignItem"
    5 forceAddUniform
    5 removeAllMPEventHandlers
    5 setDammage
    5 displaySetEventHandler
    5 ctrlSetEventHandler !="_ctrlButtonOK ctrlseteventhandler [\"buttonclick\"," !="ctrlSetEventHandler ['LBDblClick', '_this call" !="_buttonRespawn ctrlseteventhandler [\"buttonclick\",\"with uinamespace do {['buttonRespawn'," !="_ctrl ctrlSetEventHandler [\"mouseEnter\"" !="_ctrlBtn ctrlSetEventHandler [\"MouseButtonDblClick\", _verAct];" !="_button_gen ctrlSetEventHandler [\"ButtonClick\",_btn_code + \"(uiNamespace getVariable [\"" !="t \"#(rgb,8,8,3)color(1,1,1,0.1)\";\n_c ctrlCommit 0;\n_c ctrlSetEventHandler [\"MouseButtonUp\",format[\"['remove',%1,(_this select 1)"
    5 addMPEventHandler
    5 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !="player addeventhandler [\"PostReset\",{BIS_EnginePPReset = true;} ];" !="player addEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="\"CBA_fnc_addEventHandler\"" !="\\fnc_addEventHandler" !="\"addEventHandler" !="_eventFunc = _eventFunc + \"(_this select 0) addEventHandler ['Respawn', \" + str _eventFunc + \"];\";" !="_unit addEventHandler [\"hitpart\"," !="CBA_fnc_addEventHandler" !="_unit addEventHandler [_x, format ['call cba_xeh_fnc_%1', _x]];" !="_ship addEventHandler [\"AttributesChanged3DEN\"" !="addEventHandler [\"HandleDamage\",bis_fnc_reviveOnPlayerHandleDamage];" !="_unit addEventHandler [\"FiredNear\"" !="_smokeEH = _plyr addEventHandler [\"FiredNear\", \"airDropHandle setFSMVariable" !="_onContactEH = _currentTarget addEventHandler[\"EpeContactStart"" !="_object addeventhandler [\"local\",{[[_this select 0],\"bis_fnc_objectVar\""
    5 displayAddEventHandler !="(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !="displayAddEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="displayaddeventhandler [\"mousemoving\"," !="_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" !="_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown'" !="_display displayaddeventhandler [_x,_fnc_animate];" !="Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\"" !="CBA_fnc_addDisplayHandler" !="_display displayAddEventHandler [\"MouseMoving" !="private _handler = _display displayAddEventHandler [_key, _code];" !="_display displayAddEventHandler [\"KeyDown\", \"_this call cba_keybinding_fnc_onKeyDown\"" !="isplay 602};\n\n_display = (findDisplay 602);\n_display displayAddEventHandler [\"MouseButtonUp\",\"[] spawn {rmx_var_fav_selected = f" !="displayaddeventhandler\n[\n\"mousemoving\""
    5 ctrlAddEventHandler !="_control = _display displayctrl 37305; \n_control ctrladdeventhandler" !="_ctrlMap = _display displayctrl 101;\n_ctrlMap ctrladdeventhandler" !="_display displayctrl 	21995;\n_assetsButton ctrladdeventhandler [\"buttonclick\"," !="_display displayctrl 2406; \n_control ctrladdeventhandler [\"buttonclick\"," !="_display displayctrl 2400;\n_control ctrladdeventhandler [\"buttonclick\"," !="ctrladdeventhandler [\"lbselchanged\"," !="ctrladdeventhandler [\n\"lbselchanged\"," !="_ButtonGeneral ctrladdeventhandler [\"buttonclick\"," !="_ctrlExecuteLocal ctrladdeventhandler [\"buttonclick\"," !="_bg ctrlAddEventHandler [\"MouseEnter\"," !="_container ctrlAddEventHandler [\"LBDblClick\",\"_this call EPOCH_itemInteractClick\"];" !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="_ctrl ctrlSetEventHandler [\"mouseEnter\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseExit\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseButtonDown\", (format [\"call %1;\",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler [\"MouseButtonUp\", {_this call cba_diagnostic_fnc_debug" !="BIS_RscRespawnControlsMap_ctrlHeaderRespawnButton ctrlAddEventhandler [\"ButtonDown\"" !="_control = _display displayctrl 105;\n_control ctrladdeventhandler [\"MouseButtonUp\"" !="ctrlHeaderRespawnButton\", controlNull]) ctrlAddEventhandler [\"ButtonDown\"" !="_selected = false;\n{\n_c = _display displayCtrl _x;\n_c ctrlAddEventHandler [\"LBDrag\",\"rmx_var_favBar_Item = (_this call epoch_fav" !="_ctrlMouseArea ctrladdeventhandler [\"setfocus\",{with uinamespace do {[\"dlcClear\",[ctrlpar" !="13484 ctrlAddEventHandler [\"ButtonClick\", {[\"executeButton\","
    5 removeAllEventHandlers !"ctrlRemoveAllEventHandlers" !"displayRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" !="_unit removeAllEventHandlers \"Hit\";\n_unit removeAllEventHandlers \"FiredNear\";" !="{_ship removeAllEventHandlers _x;} forEach [\"AttributesChanged3DEN\"" !="_zombie removeAllEventHandlers \"Hit\";" !="_zombie removeAllEventHandlers \"FiredNear\";" !="call GMS_fnc_nextAnimation;\n} else {\n_hostage removeAllEventHandlers "AnimDone";"
    5 displayRemoveAllEventHandlers !="_display displayRemoveAllEventHandlers _x;" !="if !(isMultiplayer) then { { (findDisplay 46) displayRemoveAllEventHandlers _x } forEach [\"KeyUp\", \"KeyDown\"] };"
    5 removeAllMissionEventHandlers
    5 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" !="ctrlAddEventHandler ['MouseButtonDown'"
    5 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !="_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !=" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" !="player removeEventHandler [_ehKey, 0];" !="player removeEventHandler [_x, 0];" !="\"CBA_fnc_removeEventHandler\"" !="\\fnc_removeEventHandler" !="\"removeEventHandler"
    5 switchCamera !="vehicle player switchCamera" !="_antagonist switchCamera \"Internal\";"
    5 remoteControl !="fn_moduleRemoteControl.sqf" !="\"BIS_fnc_moduleRemoteControl\""
    5 drawIcon3D !="EPOCH_drawIcon3dStability" !="EPOCH_drawIcon3d" !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !="drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !="drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !="if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," !="drawIcon3D [\"\A3\UI_F_MP_Mark\Data\Tasks\Misc\background.paa\"" !="drawIcon3D\n[\n(_x getVariable [\"bis_fnc_reviveGet3dIcons_textures" !="drawIcon3D[\"x\addons\a3_epoch_code\Data\UI\snap_ca.paa\"" !="drawIcon3D [\"\a3\ui_f\data\map\diary\icons\unitgroup_ca.paa\""
    5 drawLine3D !="{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari" !="drawLine3D [ASLToAGL (getposasl _SnapObj1),ASLToAGL (getposasl _SnapObj2), [1,0,0,1]];"
    5 ctrlCreate !="_parent ctrlcreate [\"RscMessageBox\",2351];" !="_c = _dsp ctrlCreate [\"rmx_drag_RscActivePicture\", call epoch_getIDC];" !="_c = _dsp ctrlCreate [\"rmx_t1\", call epoch_getIDC];" !="ctrlCreate [\"RscProgress\",_idc + 1];" !="ctrlCreate [\"rmx_rscControlsGroup\"" !="_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\"" !="ctrlCreate [_x,call _getIDC];" !="_mainGrp = _display ctrlCreate [\"Epoch_main_config_group\",_value];" !="ctrlCreate !="_prevButton = _display ctrlCreate [\"RscButtonMenu\", 90110, _dbg];" [\"RscControlsGroupNoScrollbars\",call epoch_getIDC];" !="ctrlCreate [\"rmx_rscPicture\",(66600 + _e)];" !="ctrlCreate [\"RscStructuredText\",call epoch_getIDC];" !="_bar = _display ctrlCreate [\"RscCustomProgress\"" !="_group = _dsp ctrlCreate [\"rmx_rscControlsGroup\", call Epoch_getIDC]" !="_control = _display ctrlCreate [\"RscControlsGroupNoScrollbars\", 5678910];"
    5 ctrlClassName
    5 ctrlModel
    5 ctrlModelDirection
    5 ctrlModelSide
    5 ctrlModelUp
    5 ctrlSetDirection
    5 deleteVehicleCrew !="fn_deleteVehicleCrew.sqf" !="\"BIS_fnc_deleteVehicleCrew\""
    5 selectPlayer !="selectPlayer _playerObject;"
    5 setGroupIconsVisible
    5 setGroupIconsVisible
    5 setGroupIconsSelectable
    5 setGroupIconParams
    5 addGroupIcon
    5 createDialog !="createDialog "HS_trader_dialog";"
    5 addMagazine !="if !(player canAdd (_x select 0)) exitWith {};\nplayer addMagazine[_x select 0, _x select 1];"
    5 addItem !="_this call HS_additemtolb;false"

    scripts.log

    
    13.12.2018 16:29:11: Maverik (192.168.0.10:2304) 3e03ff729116d62bd096bbf37833f556 - #74 "
    {
    if ( (player distance _mission) < 1000) then {playsound "AddItemOK"; hint _message;systemChat _message};
    };	
    case "reinforcem"

    i think it's the last line (76):

    
    5 addItem !="_this call HS_additemtolb;false"

    some suggestions what this could be?

    maybe 

    playsound "AddItemOK"; 
  3. As I wanted to make attachments attach/detachable to AK107 and SCARs, I have customized attachments system a bit.
    You can attach attachments from right clink action on  attachments / detach from that on weapons with these scripts;

    1. add these two scripts in DayZ_Epoch_**.map\Custom folder:

    Custom\attachAttachment.sqf

    Spoiler

    /*
        Attempts to attach attachment to the player's primary weapon or sidearm.

        Parameters:
            string        attachment item classname
            integer        type of weapon: 1 if primary, 0 if secondary

        Author:
            Foxy

        Modified by Schalldampfer
    */

    #include "\z\addons\dayz_code\util\Player.hpp"

    private ["_attachment","_weapon","_config","_newWeapon","_weaponInUse","_muzzle"];

    //check if player is on a ladder and if so, exit
    if (Player_IsOnLadder()) exitWith
    {
        closeDialog 0;
        (localize "str_player_21") call dayz_rollingMessages;
    };

    //name of attachment item
    _attachment = _this select 0;

    if (!(_attachment in magazines player)) exitWith
    {
        closeDialog 0;
        localize "str_missingAttachment" call dayz_rollingMessages;
    };

    //Get player's primary weapon or sidearm
    _weapon = if ((_this select 1) == 1)
    then { primaryWeapon player }
    else { _weapon = Player_GetSidearm(); if (isNil "_weapon") then { "" } else { _weapon } };

    //check if player has the weapon
    if (_weapon == "") exitWith
    {
        closedialog 0;
        
        localize
        (
            if ((_this select 1) == 1)
            then {"str_AttachmentmissingWeapon"}
            else {"str_AttachmentmissingWeapon2"}
        ) call dayz_rollingMessages;
    };

    ///////////////////  Changed below  ////////////////////////

    /* stock script:
    //retrieve Attachments class config
    _config = configFile >> "CfgWeapons" >> _weapon >> "Attachments";

    //check that weapon has Attachments class and attachments class has <_attachment> field.
    if (!isClass(_config) || {!isText(_config >> _attachment)}) exitWith
    {
        closeDialog 0;
        
        localize
        (
            if ((_this select 1) == 1)
            then {"str_AttachmentWeaponConfig"}
            else {"str_AttachmentWeaponConfig2"}
        ) call dayz_rollingMessages;
    };

    _newWeapon = getText (_config >> _attachment);
    */

    //retrieve attachment config from array
    _newWeapon = "";
    {
        if ((_weapon == (_x select 2)) && (_attachment == (_x select 0))) then {
            _newWeapon = _x select 1;
        };
    } forEach DZE_attachmentList;

    diag_log format ["DZE_attachmentList : [%1]+[%2]=[%3]",_attachment,_weapon,_newWeapon];

    //retrieve Attachments class config
    _config = configFile >> "CfgWeapons" >> _weapon >> "Attachments";
    if (isClass(_config) && (isText(_config >> _attachment))) then {
        _newWeapon = getText (_config >> _attachment);
    };

    diag_log format ["Attachments class config : [%1]+[%2]=[%3]",_attachment,_weapon,_newWeapon];

    //checkif  there's a new weapon
    if (_newWeapon == "") exitWith
    {
        closeDialog 0;
        
        localize
        (
            if ((_this select 1) == 1)
            then {"str_AttachmentWeaponConfig"}
            else {"str_AttachmentWeaponConfig2"}
        ) call dayz_rollingMessages;
    };

    ///////////////////  Changed above  ////////////////////////

    _weaponInUse = (currentWeapon player == _weapon);

    call gear_ui_init;
    player playActionNow "Medic";

    //remove attachment from inventory and replace weapon
    player removeMagazine _attachment;
    player removeWeapon _weapon;
    player addWeapon _newWeapon;

    //close gear
    (findDisplay 106) closeDisplay 0;

    //Select new weapon if the old was in use
    if (_weaponInUse) then
    {
        _muzzle = (getArray (configFile >> "CfgWeapons" >> _newWeapon >> "muzzles")) select 0;
        
        if (_muzzle == "this") then
        {
            player selectWeapon _newWeapon;
        }
        else
        {
            player selectWeapon _muzzle;
        };
    };

    Custom\removeAttachment.sqf

    Spoiler

    /*
        [OutputAttachment,InputWeapon,OutputWeapon] call 'Custom\removeAttachment.sqf';
        Modified player_removeAttachment.sqf
    */

    #include "\z\addons\dayz_code\util\Player.hpp"

    private ["_attachment","_weapon","_newWeapon","_weaponInUse","_muzzle"];

    //check if player is on a ladder and if so, exit
    if (Player_IsOnLadder()) exitWith {
        closeDialog 0;
        (localize "str_player_21") call dayz_rollingMessages;
    };

    _attachment = _this select 0;
    _weapon = _this select 1;
    _newWeapon = _this select 2;

    //check that player has enough room in inventory
    //Remove melee magazines (BIS_fnc_invAdd and BIS_fnc_invSlotsEmpty fix)
    false call dz_fn_meleeMagazines;
    if ((([player] call BIS_fnc_invSlotsEmpty) select 4) < 1) exitWith {
        closeDialog 0;
        (localize "str_player_24") call dayz_rollingMessages;
        true call dz_fn_meleeMagazines;
    };
    true call dz_fn_meleeMagazines;

    //check that player has the weapon
    if (!(player hasWeapon _weapon)) exitWith {
        closeDialog 0;
        (localize "str_AttachmentMissingWeapon3") call dayz_rollingMessages;
    };

    _weaponInUse = (currentWeapon player == _weapon);

    call gear_ui_init;
    player playActionNow "Medic";

    sleep 3;

    //replace weapon and add attachment to inventory
    player removeWeapon _weapon;
    player addWeapon _newWeapon;
    player addMagazine _attachment;

    //close gear
    (findDisplay 106) closeDisplay 0;

    //Select new weapon if the old was in use
    if (_weaponInUse) then {
        _muzzle = (getArray (configFile >> "CfgWeapons" >> _newWeapon >> "muzzles")) select 0;
        if (_muzzle == "this") then
        {
            player selectWeapon _newWeapon;
        }
        else
        {
            player selectWeapon _muzzle;
        };
    };

    * these scripts are based on vanilla DayZ Epoch's attachment system. not original

    2. Add these lines in your clickAction config

    Spoiler


    //attach&detatch attachment
    player_attachAttachment = compile preprocessFileLineNumbers "Custom\attachAttachment.sqf";
    custom_removeAttachment = compile preprocessFileLineNumbers "Custom\removeAttachment.sqf";

    DZE_attachmentList = [
        ['Attachment_Holo','SCAR_L_CQC_Holo','SCAR_L_CQC'],
        ['Attachment_M203','SCAR_L_CQC_EGLM_Holo','SCAR_L_CQC_Holo'],

        ['Attachment_PSO1','Pecheneg_DZ','PKM_DZ'],

        ['Attachment_Sup556','m8_tws_sd','m8_tws'],
        ['Attachment_M203','m8_carbineGL','m8_carbine'],

        ['Attachment_PSO1','AK_107_pso','AK_107_CP'],
        ['Attachment_Kobra','AK_107_kobra','AK_107_CP'],
        ['Attachment_GP25','AK_107_GL_CP','AK_107_CP'],
        ['Attachment_GP25','AK_107_GL_pso','AK_107_pso'],
        ['Attachment_GP25','AK_107_GL_kobra','AK_107_kobra'],

        ['Attachment_PSO1','AKS_74_pso','AKS_74'],
        ['Attachment_Kobra','AKS_74_kobra','AKS_74'],
        ['Attachment_GP25','vil_AKS_74_gp','AKS_74'],
        ['Attachment_GP25','vil_AKS_74p_gp','AKS_74_pso'],
        ['Attachment_PSO1','vil_AKS_74p_gp','vil_AKS_74_gp'],

        ['Attachment_Sup9','CZ_75_SP_01_PHANTOM_SD','CZ_75_SP_01_PHANTOM'],
        ['Attachment_Sup9','evo_sd_ACR','Evo_mrad_ACR'],
        //['Attachment_Sup556','CZ805_A2_SD_ACR','CZ805_A2_ACR'],

        //Overwatch
        //k98k
        ['Attachment_SCOPED','gms_k98zf39','gms_k98_rg'],

        //hk416
        ['Attachment_CCO','RH_hk416aim','RH_hk416'],
        ['Attachment_Holo','RH_hk416eotech','RH_hk416'],
        ['Attachment_ACOG','RH_hk416acog','RH_hk416'],

        ['Attachment_M203','RH_hk416gl','RH_hk416'],
        ['Attachment_M203','RH_hk416glaim','RH_hk416aim'],
        ['Attachment_M203','RH_hk416gleotech','RH_hk416eotech'],
        ['Attachment_M203','RH_hk416glacog','RH_hk416acog'],

        ['Attachment_CCO','RH_hk416glaim','RH_hk416gl'],
        ['Attachment_Holo','RH_hk416gleotech','RH_hk416gl'],
        ['Attachment_ACOG','RH_hk416glacog','RH_hk416gl'],

        //hk416sd
        ['Attachment_Sup556','RH_hk416sd','RH_hk416'],
        ['Attachment_Sup556','RH_hk416sdaim','RH_hk416aim'],
        ['Attachment_Sup556','RH_hk416sdeotech','RH_hk416eotech'],
        ['Attachment_Sup556','RH_hk416sdgl','RH_hk416gl'],
        ['Attachment_Sup556','RH_hk416sdglaim','RH_hk416glaim'],
        ['Attachment_Sup556','RH_hk416sdgleotech','RH_hk416gleotech'],

        ['Attachment_M203','RH_hk416sdgl','RH_hk416sd'],
        ['Attachment_M203','RH_hk416sdglaim','RH_hk416sdaim'],
        ['Attachment_M203','RH_hk416sdgleotech','RH_hk416sdeotech'],

        ['Attachment_CCO','RH_hk416sdaim','RH_hk416sd'],
        ['Attachment_Holo','RH_hk416sdeotech','RH_hk416sd'],

        ['Attachment_CCO','RH_hk416sdglaim','RH_hk416sdgl'],
        ['Attachment_Holo','RH_hk416sdgleotech','RH_hk416sdgl'],

        //hk416s
        ['Attachment_CCO','RH_hk416saim','RH_hk416s'],
        ['Attachment_Holo','RH_hk416seotech','RH_hk416s'],
        ['Attachment_ACOG','RH_hk416sacog','RH_hk416s'],
        ['Attachment_M203','RH_hk416sgl','RH_hk416s'],
        
        ['Attachment_M203','RH_hk416sglaim','RH_hk416saim'],
        ['Attachment_M203','RH_hk416sgleotech','RH_hk416seotech'],
        ['Attachment_M203','RH_hk416sglacog','RH_hk416sacog'],

        ['Attachment_CCO','RH_hk416sglaim','RH_hk416sgl'],
        ['Attachment_Holo','RH_hk416sgleotech','RH_hk416sgl'],
        ['Attachment_ACOG','RH_hk416sglacog','RH_hk416sgl'],

        //hk417
        ['Attachment_CCO','RH_hk417aim','RH_hk417'],
        ['Attachment_Holo','RH_hk417eotech','RH_hk417'],
        ['Attachment_ACOG','RH_hk417acog','RH_hk417'],
        ['Attachment_SCOPED','RH_hk417sp','RH_hk417'],

        //hk417sd
        ['Attachment_CCO','RH_hk417sdaim','RH_hk417sd'],
        ['Attachment_Holo','RH_hk417sdeotech','RH_hk417sd'],
        ['Attachment_ACOG','RH_hk417sdacog','RH_hk417sd'],
        ['Attachment_SCOPED','RH_hk417sdsp','RH_hk417sd'],

        //hk417s
        ['Attachment_CCO','RH_hk417saim','RH_hk417s'],
        ['Attachment_Holo','RH_hk417seotech','RH_hk417s'],
        ['Attachment_ACOG','RH_hk417sacog','RH_hk417s'],
        ['Attachment_M203','RH_hk417sgl','RH_hk417s'],
        
        ['Attachment_M203','RH_hk417sglaim','RH_hk417saim'],
        ['Attachment_M203','RH_hk417sgleotech','RH_hk417seotech'],
        ['Attachment_M203','RH_hk417sglacog','RH_hk417sacog'],

        ['Attachment_CCO','RH_hk417sglaim','RH_hk417sgl'],
        ['Attachment_Holo','RH_hk417sgleotech','RH_hk417sgl'],
        ['Attachment_ACOG','RH_hk417sglacog','RH_hk417sgl'],

        //acr WDL
        ['Attachment_CCO','FHQ_ACR_WDL_CCO','FHQ_ACR_WDL_IRN'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS','FHQ_ACR_WDL_IRN'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO','FHQ_ACR_WDL_IRN'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33','FHQ_ACR_WDL_HWS'],

        ['Attachment_M203','FHQ_ACR_WDL_IRN_GL','FHQ_ACR_WDL_IRN'],
        ['Attachment_M203','FHQ_ACR_WDL_CCO_GL','FHQ_ACR_WDL_CCO'],
        ['Attachment_M203','FHQ_ACR_WDL_HWS_GL','FHQ_ACR_WDL_HWS'],
        ['Attachment_M203','FHQ_ACR_WDL_RCO_GL','FHQ_ACR_WDL_RCO'],
        ['Attachment_M203','FHQ_ACR_WDL_G33_GL','FHQ_ACR_WDL_G33'],
        ['Attachment_M203','FHQ_ACR_WDL_HAMR_GL','FHQ_ACR_WDL_HAMR'],
        ['Attachment_M203','FHQ_ACR_WDL_TWS_GL','FHQ_ACR_WDL_TWS'],

        ['Attachment_CCO','FHQ_ACR_WDL_CCO_GL','FHQ_ACR_WDL_IRN_GL'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS_GL','FHQ_ACR_WDL_IRN_GL'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO_GL','FHQ_ACR_WDL_IRN_GL'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33_GL','FHQ_ACR_WDL_HWS_GL'],

        ['Attachment_FL','FHQ_ACR_WDL_IRN_F','FHQ_ACR_WDL_IRN'],
        ['Attachment_FL','FHQ_ACR_WDL_CCO_F','FHQ_ACR_WDL_CCO'],
        ['Attachment_FL','FHQ_ACR_WDL_HWS_F','FHQ_ACR_WDL_HWS'],
        ['Attachment_FL','FHQ_ACR_WDL_RCO_F','FHQ_ACR_WDL_RCO'],
        ['Attachment_FL','FHQ_ACR_WDL_G33_F','FHQ_ACR_WDL_G33'],
        ['Attachment_FL','FHQ_ACR_WDL_HAMR_F','FHQ_ACR_WDL_HAMR'],
        ['Attachment_FL','FHQ_ACR_WDL_TWS_F','FHQ_ACR_WDL_TWS'],

        ['Attachment_CCO','FHQ_ACR_WDL_CCO_F','FHQ_ACR_WDL_IRN_F'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS_F','FHQ_ACR_WDL_IRN_F'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO_F','FHQ_ACR_WDL_IRN_F'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33_F','FHQ_ACR_WDL_HWS_F'],

        ['Attachment_M203','FHQ_ACR_WDL_IRN_GL_F','FHQ_ACR_WDL_IRN_F'],
        ['Attachment_M203','FHQ_ACR_WDL_CCO_GL_F','FHQ_ACR_WDL_CCO_F'],
        ['Attachment_M203','FHQ_ACR_WDL_HWS_GL_F','FHQ_ACR_WDL_HWS_F'],
        ['Attachment_M203','FHQ_ACR_WDL_RCO_GL_F','FHQ_ACR_WDL_RCO_F'],
        ['Attachment_M203','FHQ_ACR_WDL_G33_GL_F','FHQ_ACR_WDL_G33_F'],
        ['Attachment_M203','FHQ_ACR_WDL_HAMR_GL_F','FHQ_ACR_WDL_HAMR_F'],
        ['Attachment_M203','FHQ_ACR_WDL_TWS_GL_F','FHQ_ACR_WDL_TWS_F'],

        ['Attachment_CCO','FHQ_ACR_WDL_CCO_GL_F','FHQ_ACR_WDL_IRN_GL_F'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS_GL_F','FHQ_ACR_WDL_IRN_GL_F'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO_GL_F','FHQ_ACR_WDL_IRN_GL_F'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33_GL_F','FHQ_ACR_WDL_HWS_GL_F'],

        //acrSD WDL
        ['Attachment_CCO','FHQ_ACR_WDL_CCO_SD','FHQ_ACR_WDL_IRN_SD'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS_SD','FHQ_ACR_WDL_IRN_SD'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO_SD','FHQ_ACR_WDL_IRN_SD'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33_SD','FHQ_ACR_WDL_HWS_SD'],

        ['Attachment_M203','FHQ_ACR_WDL_IRN_GL_SD','FHQ_ACR_WDL_IRN_SD'],
        ['Attachment_M203','FHQ_ACR_WDL_CCO_GL_SD','FHQ_ACR_WDL_CCO_SD'],
        ['Attachment_M203','FHQ_ACR_WDL_HWS_GL_SD','FHQ_ACR_WDL_HWS_SD'],
        ['Attachment_M203','FHQ_ACR_WDL_RCO_GL_SD','FHQ_ACR_WDL_RCO_SD'],
        ['Attachment_M203','FHQ_ACR_WDL_G33_GL_SD','FHQ_ACR_WDL_G33_SD'],
        ['Attachment_M203','FHQ_ACR_WDL_HAMR_GL_SD','FHQ_ACR_WDL_HAMR_SD'],
        ['Attachment_M203','FHQ_ACR_WDL_TWS_GL_SD','FHQ_ACR_WDL_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_WDL_CCO_GL_SD','FHQ_ACR_WDL_IRN_GL_SD'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS_GL_SD','FHQ_ACR_WDL_IRN_GL_SD'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO_GL_SD','FHQ_ACR_WDL_IRN_GL_SD'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33_GL_SD','FHQ_ACR_WDL_HWS_GL_SD'],

        ['Attachment_FL','FHQ_ACR_WDL_IRN_SD_F','FHQ_ACR_WDL_IRN_SD'],
        ['Attachment_FL','FHQ_ACR_WDL_CCO_SD_F','FHQ_ACR_WDL_CCO_SD'],
        ['Attachment_FL','FHQ_ACR_WDL_HWS_SD_F','FHQ_ACR_WDL_HWS_SD'],
        ['Attachment_FL','FHQ_ACR_WDL_RCO_SD_F','FHQ_ACR_WDL_RCO_SD'],
        ['Attachment_FL','FHQ_ACR_WDL_G33_SD_F','FHQ_ACR_WDL_G33_SD'],
        ['Attachment_FL','FHQ_ACR_WDL_HAMR_SD_F','FHQ_ACR_WDL_HAMR_SD'],
        ['Attachment_FL','FHQ_ACR_WDL_TWS_SD_F','FHQ_ACR_WDL_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_WDL_CCO_SD_F','FHQ_ACR_WDL_IRN_SD_F'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS_SD_F','FHQ_ACR_WDL_IRN_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO_SD_F','FHQ_ACR_WDL_IRN_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33_SD_F','FHQ_ACR_WDL_HWS_SD_F'],

        ['Attachment_M203','FHQ_ACR_WDL_IRN_GL_SD_F','FHQ_ACR_WDL_IRN_SD_F'],
        ['Attachment_M203','FHQ_ACR_WDL_CCO_GL_SD_F','FHQ_ACR_WDL_CCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_WDL_HWS_GL_SD_F','FHQ_ACR_WDL_HWS_SD_F'],
        ['Attachment_M203','FHQ_ACR_WDL_RCO_GL_SD_F','FHQ_ACR_WDL_RCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_WDL_G33_GL_SD_F','FHQ_ACR_WDL_G33_SD_F'],
        ['Attachment_M203','FHQ_ACR_WDL_HAMR_GL_SD_F','FHQ_ACR_WDL_HAMR_SD_F'],
        ['Attachment_M203','FHQ_ACR_WDL_TWS_GL_SD_F','FHQ_ACR_WDL_TWS_SD_F'],

        ['Attachment_CCO','FHQ_ACR_WDL_CCO_GL_SD_F','FHQ_ACR_WDL_IRN_GL_SD_F'],
        ['Attachment_Holo','FHQ_ACR_WDL_HWS_GL_SD_F','FHQ_ACR_WDL_IRN_GL_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_WDL_RCO_GL_SD_F','FHQ_ACR_WDL_IRN_GL_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_WDL_G33_GL_SD_F','FHQ_ACR_WDL_HWS_GL_SD_F'],

        //acr BLK
        ['Attachment_CCO','FHQ_ACR_BLK_CCO','FHQ_ACR_BLK_IRN'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS','FHQ_ACR_BLK_IRN'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO','FHQ_ACR_BLK_IRN'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33','FHQ_ACR_BLK_HWS'],

        ['Attachment_M203','FHQ_ACR_BLK_IRN_GL','FHQ_ACR_BLK_IRN'],
        ['Attachment_M203','FHQ_ACR_BLK_CCO_GL','FHQ_ACR_BLK_CCO'],
        ['Attachment_M203','FHQ_ACR_BLK_HWS_GL','FHQ_ACR_BLK_HWS'],
        ['Attachment_M203','FHQ_ACR_BLK_RCO_GL','FHQ_ACR_BLK_RCO'],
        ['Attachment_M203','FHQ_ACR_BLK_G33_GL','FHQ_ACR_BLK_G33'],
        ['Attachment_M203','FHQ_ACR_BLK_HAMR_GL','FHQ_ACR_BLK_HAMR'],
        ['Attachment_M203','FHQ_ACR_BLK_TWS_GL','FHQ_ACR_BLK_TWS'],

        ['Attachment_CCO','FHQ_ACR_BLK_CCO_GL','FHQ_ACR_BLK_IRN_GL'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS_GL','FHQ_ACR_BLK_IRN_GL'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO_GL','FHQ_ACR_BLK_IRN_GL'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33_GL','FHQ_ACR_BLK_HWS_GL'],

        ['Attachment_FL','FHQ_ACR_BLK_IRN_F','FHQ_ACR_BLK_IRN'],
        ['Attachment_FL','FHQ_ACR_BLK_CCO_F','FHQ_ACR_BLK_CCO'],
        ['Attachment_FL','FHQ_ACR_BLK_HWS_F','FHQ_ACR_BLK_HWS'],
        ['Attachment_FL','FHQ_ACR_BLK_RCO_F','FHQ_ACR_BLK_RCO'],
        ['Attachment_FL','FHQ_ACR_BLK_G33_F','FHQ_ACR_BLK_G33'],
        ['Attachment_FL','FHQ_ACR_BLK_HAMR_F','FHQ_ACR_BLK_HAMR'],
        ['Attachment_FL','FHQ_ACR_BLK_TWS_F','FHQ_ACR_BLK_TWS'],

        ['Attachment_CCO','FHQ_ACR_BLK_CCO_F','FHQ_ACR_BLK_IRN_F'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS_F','FHQ_ACR_BLK_IRN_F'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO_F','FHQ_ACR_BLK_IRN_F'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33_F','FHQ_ACR_BLK_HWS_F'],

        ['Attachment_M203','FHQ_ACR_BLK_IRN_GL_F','FHQ_ACR_BLK_IRN_F'],
        ['Attachment_M203','FHQ_ACR_BLK_CCO_GL_F','FHQ_ACR_BLK_CCO_F'],
        ['Attachment_M203','FHQ_ACR_BLK_HWS_GL_F','FHQ_ACR_BLK_HWS_F'],
        ['Attachment_M203','FHQ_ACR_BLK_RCO_GL_F','FHQ_ACR_BLK_RCO_F'],
        ['Attachment_M203','FHQ_ACR_BLK_G33_GL_F','FHQ_ACR_BLK_G33_F'],
        ['Attachment_M203','FHQ_ACR_BLK_HAMR_GL_F','FHQ_ACR_BLK_HAMR_F'],
        ['Attachment_M203','FHQ_ACR_BLK_TWS_GL_F','FHQ_ACR_BLK_TWS_F'],

        ['Attachment_CCO','FHQ_ACR_BLK_CCO_GL_F','FHQ_ACR_BLK_IRN_GL_F'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS_GL_F','FHQ_ACR_BLK_IRN_GL_F'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO_GL_F','FHQ_ACR_BLK_IRN_GL_F'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33_GL_F','FHQ_ACR_BLK_HWS_GL_F'],

        //acrSD BLK
        ['Attachment_CCO','FHQ_ACR_BLK_CCO_SD','FHQ_ACR_BLK_IRN_SD'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS_SD','FHQ_ACR_BLK_IRN_SD'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO_SD','FHQ_ACR_BLK_IRN_SD'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33_SD','FHQ_ACR_BLK_HWS_SD'],

        ['Attachment_M203','FHQ_ACR_BLK_IRN_GL_SD','FHQ_ACR_BLK_IRN_SD'],
        ['Attachment_M203','FHQ_ACR_BLK_CCO_GL_SD','FHQ_ACR_BLK_CCO_SD'],
        ['Attachment_M203','FHQ_ACR_BLK_HWS_GL_SD','FHQ_ACR_BLK_HWS_SD'],
        ['Attachment_M203','FHQ_ACR_BLK_RCO_GL_SD','FHQ_ACR_BLK_RCO_SD'],
        ['Attachment_M203','FHQ_ACR_BLK_G33_GL_SD','FHQ_ACR_BLK_G33_SD'],
        ['Attachment_M203','FHQ_ACR_BLK_HAMR_GL_SD','FHQ_ACR_BLK_HAMR_SD'],
        ['Attachment_M203','FHQ_ACR_BLK_TWS_GL_SD','FHQ_ACR_BLK_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_BLK_CCO_GL_SD','FHQ_ACR_BLK_IRN_GL_SD'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS_GL_SD','FHQ_ACR_BLK_IRN_GL_SD'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO_GL_SD','FHQ_ACR_BLK_IRN_GL_SD'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33_GL_SD','FHQ_ACR_BLK_HWS_GL_SD'],

        ['Attachment_FL','FHQ_ACR_BLK_IRN_SD_F','FHQ_ACR_BLK_IRN_SD'],
        ['Attachment_FL','FHQ_ACR_BLK_CCO_SD_F','FHQ_ACR_BLK_CCO_SD'],
        ['Attachment_FL','FHQ_ACR_BLK_HWS_SD_F','FHQ_ACR_BLK_HWS_SD'],
        ['Attachment_FL','FHQ_ACR_BLK_RCO_SD_F','FHQ_ACR_BLK_RCO_SD'],
        ['Attachment_FL','FHQ_ACR_BLK_G33_SD_F','FHQ_ACR_BLK_G33_SD'],
        ['Attachment_FL','FHQ_ACR_BLK_HAMR_SD_F','FHQ_ACR_BLK_HAMR_SD'],
        ['Attachment_FL','FHQ_ACR_BLK_TWS_SD_F','FHQ_ACR_BLK_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_BLK_CCO_SD_F','FHQ_ACR_BLK_IRN_SD_F'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS_SD_F','FHQ_ACR_BLK_IRN_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO_SD_F','FHQ_ACR_BLK_IRN_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33_SD_F','FHQ_ACR_BLK_HWS_SD_F'],

        ['Attachment_M203','FHQ_ACR_BLK_IRN_GL_SD_F','FHQ_ACR_BLK_IRN_SD_F'],
        ['Attachment_M203','FHQ_ACR_BLK_CCO_GL_SD_F','FHQ_ACR_BLK_CCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_BLK_HWS_GL_SD_F','FHQ_ACR_BLK_HWS_SD_F'],
        ['Attachment_M203','FHQ_ACR_BLK_RCO_GL_SD_F','FHQ_ACR_BLK_RCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_BLK_G33_GL_SD_F','FHQ_ACR_BLK_G33_SD_F'],
        ['Attachment_M203','FHQ_ACR_BLK_HAMR_GL_SD_F','FHQ_ACR_BLK_HAMR_SD_F'],
        ['Attachment_M203','FHQ_ACR_BLK_TWS_GL_SD_F','FHQ_ACR_BLK_TWS_SD_F'],

        ['Attachment_CCO','FHQ_ACR_BLK_CCO_GL_SD_F','FHQ_ACR_BLK_IRN_GL_SD_F'],
        ['Attachment_Holo','FHQ_ACR_BLK_HWS_GL_SD_F','FHQ_ACR_BLK_IRN_GL_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_BLK_RCO_GL_SD_F','FHQ_ACR_BLK_IRN_GL_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_BLK_G33_GL_SD_F','FHQ_ACR_BLK_HWS_GL_SD_F'],

        //acr TAN
        ['Attachment_CCO','FHQ_ACR_TAN_CCO','FHQ_ACR_TAN_IRN'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS','FHQ_ACR_TAN_IRN'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO','FHQ_ACR_TAN_IRN'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33','FHQ_ACR_TAN_HWS'],

        ['Attachment_M203','FHQ_ACR_TAN_IRN_GL','FHQ_ACR_TAN_IRN'],
        ['Attachment_M203','FHQ_ACR_TAN_CCO_GL','FHQ_ACR_TAN_CCO'],
        ['Attachment_M203','FHQ_ACR_TAN_HWS_GL','FHQ_ACR_TAN_HWS'],
        ['Attachment_M203','FHQ_ACR_TAN_RCO_GL','FHQ_ACR_TAN_RCO'],
        ['Attachment_M203','FHQ_ACR_TAN_G33_GL','FHQ_ACR_TAN_G33'],
        ['Attachment_M203','FHQ_ACR_TAN_HAMR_GL','FHQ_ACR_TAN_HAMR'],
        ['Attachment_M203','FHQ_ACR_TAN_TWS_GL','FHQ_ACR_TAN_TWS'],

        ['Attachment_CCO','FHQ_ACR_TAN_CCO_GL','FHQ_ACR_TAN_IRN_GL'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS_GL','FHQ_ACR_TAN_IRN_GL'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO_GL','FHQ_ACR_TAN_IRN_GL'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33_GL','FHQ_ACR_TAN_HWS_GL'],

        ['Attachment_FL','FHQ_ACR_TAN_IRN_F','FHQ_ACR_TAN_IRN'],
        ['Attachment_FL','FHQ_ACR_TAN_CCO_F','FHQ_ACR_TAN_CCO'],
        ['Attachment_FL','FHQ_ACR_TAN_HWS_F','FHQ_ACR_TAN_HWS'],
        ['Attachment_FL','FHQ_ACR_TAN_RCO_F','FHQ_ACR_TAN_RCO'],
        ['Attachment_FL','FHQ_ACR_TAN_G33_F','FHQ_ACR_TAN_G33'],
        ['Attachment_FL','FHQ_ACR_TAN_HAMR_F','FHQ_ACR_TAN_HAMR'],
        ['Attachment_FL','FHQ_ACR_TAN_TWS_F','FHQ_ACR_TAN_TWS'],

        ['Attachment_CCO','FHQ_ACR_TAN_CCO_F','FHQ_ACR_TAN_IRN_F'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS_F','FHQ_ACR_TAN_IRN_F'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO_F','FHQ_ACR_TAN_IRN_F'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33_F','FHQ_ACR_TAN_HWS_F'],

        ['Attachment_M203','FHQ_ACR_TAN_IRN_GL_F','FHQ_ACR_TAN_IRN_F'],
        ['Attachment_M203','FHQ_ACR_TAN_CCO_GL_F','FHQ_ACR_TAN_CCO_F'],
        ['Attachment_M203','FHQ_ACR_TAN_HWS_GL_F','FHQ_ACR_TAN_HWS_F'],
        ['Attachment_M203','FHQ_ACR_TAN_RCO_GL_F','FHQ_ACR_TAN_RCO_F'],
        ['Attachment_M203','FHQ_ACR_TAN_G33_GL_F','FHQ_ACR_TAN_G33_F'],
        ['Attachment_M203','FHQ_ACR_TAN_HAMR_GL_F','FHQ_ACR_TAN_HAMR_F'],
        ['Attachment_M203','FHQ_ACR_TAN_TWS_GL_F','FHQ_ACR_TAN_TWS_F'],

        ['Attachment_CCO','FHQ_ACR_TAN_CCO_GL_F','FHQ_ACR_TAN_IRN_GL_F'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS_GL_F','FHQ_ACR_TAN_IRN_GL_F'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO_GL_F','FHQ_ACR_TAN_IRN_GL_F'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33_GL_F','FHQ_ACR_TAN_HWS_GL_F'],

        //acrSD TAN
        ['Attachment_CCO','FHQ_ACR_TAN_CCO_SD','FHQ_ACR_TAN_IRN_SD'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS_SD','FHQ_ACR_TAN_IRN_SD'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO_SD','FHQ_ACR_TAN_IRN_SD'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33_SD','FHQ_ACR_TAN_HWS_SD'],

        ['Attachment_M203','FHQ_ACR_TAN_IRN_GL_SD','FHQ_ACR_TAN_IRN_SD'],
        ['Attachment_M203','FHQ_ACR_TAN_CCO_GL_SD','FHQ_ACR_TAN_CCO_SD'],
        ['Attachment_M203','FHQ_ACR_TAN_HWS_GL_SD','FHQ_ACR_TAN_HWS_SD'],
        ['Attachment_M203','FHQ_ACR_TAN_RCO_GL_SD','FHQ_ACR_TAN_RCO_SD'],
        ['Attachment_M203','FHQ_ACR_TAN_G33_GL_SD','FHQ_ACR_TAN_G33_SD'],
        ['Attachment_M203','FHQ_ACR_TAN_HAMR_GL_SD','FHQ_ACR_TAN_HAMR_SD'],
        ['Attachment_M203','FHQ_ACR_TAN_TWS_GL_SD','FHQ_ACR_TAN_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_TAN_CCO_GL_SD','FHQ_ACR_TAN_IRN_GL_SD'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS_GL_SD','FHQ_ACR_TAN_IRN_GL_SD'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO_GL_SD','FHQ_ACR_TAN_IRN_GL_SD'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33_GL_SD','FHQ_ACR_TAN_HWS_GL_SD'],

        ['Attachment_FL','FHQ_ACR_TAN_IRN_SD_F','FHQ_ACR_TAN_IRN_SD'],
        ['Attachment_FL','FHQ_ACR_TAN_CCO_SD_F','FHQ_ACR_TAN_CCO_SD'],
        ['Attachment_FL','FHQ_ACR_TAN_HWS_SD_F','FHQ_ACR_TAN_HWS_SD'],
        ['Attachment_FL','FHQ_ACR_TAN_RCO_SD_F','FHQ_ACR_TAN_RCO_SD'],
        ['Attachment_FL','FHQ_ACR_TAN_G33_SD_F','FHQ_ACR_TAN_G33_SD'],
        ['Attachment_FL','FHQ_ACR_TAN_HAMR_SD_F','FHQ_ACR_TAN_HAMR_SD'],
        ['Attachment_FL','FHQ_ACR_TAN_TWS_SD_F','FHQ_ACR_TAN_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_TAN_CCO_SD_F','FHQ_ACR_TAN_IRN_SD_F'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS_SD_F','FHQ_ACR_TAN_IRN_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO_SD_F','FHQ_ACR_TAN_IRN_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33_SD_F','FHQ_ACR_TAN_HWS_SD_F'],

        ['Attachment_M203','FHQ_ACR_TAN_IRN_GL_SD_F','FHQ_ACR_TAN_IRN_SD_F'],
        ['Attachment_M203','FHQ_ACR_TAN_CCO_GL_SD_F','FHQ_ACR_TAN_CCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_TAN_HWS_GL_SD_F','FHQ_ACR_TAN_HWS_SD_F'],
        ['Attachment_M203','FHQ_ACR_TAN_RCO_GL_SD_F','FHQ_ACR_TAN_RCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_TAN_G33_GL_SD_F','FHQ_ACR_TAN_G33_SD_F'],
        ['Attachment_M203','FHQ_ACR_TAN_HAMR_GL_SD_F','FHQ_ACR_TAN_HAMR_SD_F'],
        ['Attachment_M203','FHQ_ACR_TAN_TWS_GL_SD_F','FHQ_ACR_TAN_TWS_SD_F'],

        ['Attachment_CCO','FHQ_ACR_TAN_CCO_GL_SD_F','FHQ_ACR_TAN_IRN_GL_SD_F'],
        ['Attachment_Holo','FHQ_ACR_TAN_HWS_GL_SD_F','FHQ_ACR_TAN_IRN_GL_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_TAN_RCO_GL_SD_F','FHQ_ACR_TAN_IRN_GL_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_TAN_G33_GL_SD_F','FHQ_ACR_TAN_HWS_GL_SD_F'],

        //acr TAN
        ['Attachment_CCO','FHQ_ACR_SNW_CCO','FHQ_ACR_SNW_IRN'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS','FHQ_ACR_SNW_IRN'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO','FHQ_ACR_SNW_IRN'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33','FHQ_ACR_SNW_HWS'],

        ['Attachment_M203','FHQ_ACR_SNW_IRN_GL','FHQ_ACR_SNW_IRN'],
        ['Attachment_M203','FHQ_ACR_SNW_CCO_GL','FHQ_ACR_SNW_CCO'],
        ['Attachment_M203','FHQ_ACR_SNW_HWS_GL','FHQ_ACR_SNW_HWS'],
        ['Attachment_M203','FHQ_ACR_SNW_RCO_GL','FHQ_ACR_SNW_RCO'],
        ['Attachment_M203','FHQ_ACR_SNW_G33_GL','FHQ_ACR_SNW_G33'],
        ['Attachment_M203','FHQ_ACR_SNW_HAMR_GL','FHQ_ACR_SNW_HAMR'],
        ['Attachment_M203','FHQ_ACR_SNW_TWS_GL','FHQ_ACR_SNW_TWS'],

        ['Attachment_CCO','FHQ_ACR_SNW_CCO_GL','FHQ_ACR_SNW_IRN_GL'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS_GL','FHQ_ACR_SNW_IRN_GL'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO_GL','FHQ_ACR_SNW_IRN_GL'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33_GL','FHQ_ACR_SNW_HWS_GL'],

        ['Attachment_FL','FHQ_ACR_SNW_IRN_F','FHQ_ACR_SNW_IRN'],
        ['Attachment_FL','FHQ_ACR_SNW_CCO_F','FHQ_ACR_SNW_CCO'],
        ['Attachment_FL','FHQ_ACR_SNW_HWS_F','FHQ_ACR_SNW_HWS'],
        ['Attachment_FL','FHQ_ACR_SNW_RCO_F','FHQ_ACR_SNW_RCO'],
        ['Attachment_FL','FHQ_ACR_SNW_G33_F','FHQ_ACR_SNW_G33'],
        ['Attachment_FL','FHQ_ACR_SNW_HAMR_F','FHQ_ACR_SNW_HAMR'],
        ['Attachment_FL','FHQ_ACR_SNW_TWS_F','FHQ_ACR_SNW_TWS'],

        ['Attachment_CCO','FHQ_ACR_SNW_CCO_F','FHQ_ACR_SNW_IRN_F'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS_F','FHQ_ACR_SNW_IRN_F'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO_F','FHQ_ACR_SNW_IRN_F'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33_F','FHQ_ACR_SNW_HWS_F'],

        ['Attachment_M203','FHQ_ACR_SNW_IRN_GL_F','FHQ_ACR_SNW_IRN_F'],
        ['Attachment_M203','FHQ_ACR_SNW_CCO_GL_F','FHQ_ACR_SNW_CCO_F'],
        ['Attachment_M203','FHQ_ACR_SNW_HWS_GL_F','FHQ_ACR_SNW_HWS_F'],
        ['Attachment_M203','FHQ_ACR_SNW_RCO_GL_F','FHQ_ACR_SNW_RCO_F'],
        ['Attachment_M203','FHQ_ACR_SNW_G33_GL_F','FHQ_ACR_SNW_G33_F'],
        ['Attachment_M203','FHQ_ACR_SNW_HAMR_GL_F','FHQ_ACR_SNW_HAMR_F'],
        ['Attachment_M203','FHQ_ACR_SNW_TWS_GL_F','FHQ_ACR_SNW_TWS_F'],

        ['Attachment_CCO','FHQ_ACR_SNW_CCO_GL_F','FHQ_ACR_SNW_IRN_GL_F'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS_GL_F','FHQ_ACR_SNW_IRN_GL_F'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO_GL_F','FHQ_ACR_SNW_IRN_GL_F'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33_GL_F','FHQ_ACR_SNW_HWS_GL_F'],

        //acrSD TAN
        ['Attachment_CCO','FHQ_ACR_SNW_CCO_SD','FHQ_ACR_SNW_IRN_SD'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS_SD','FHQ_ACR_SNW_IRN_SD'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO_SD','FHQ_ACR_SNW_IRN_SD'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33_SD','FHQ_ACR_SNW_HWS_SD'],

        ['Attachment_M203','FHQ_ACR_SNW_IRN_GL_SD','FHQ_ACR_SNW_IRN_SD'],
        ['Attachment_M203','FHQ_ACR_SNW_CCO_GL_SD','FHQ_ACR_SNW_CCO_SD'],
        ['Attachment_M203','FHQ_ACR_SNW_HWS_GL_SD','FHQ_ACR_SNW_HWS_SD'],
        ['Attachment_M203','FHQ_ACR_SNW_RCO_GL_SD','FHQ_ACR_SNW_RCO_SD'],
        ['Attachment_M203','FHQ_ACR_SNW_G33_GL_SD','FHQ_ACR_SNW_G33_SD'],
        ['Attachment_M203','FHQ_ACR_SNW_HAMR_GL_SD','FHQ_ACR_SNW_HAMR_SD'],
        ['Attachment_M203','FHQ_ACR_SNW_TWS_GL_SD','FHQ_ACR_SNW_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_SNW_CCO_GL_SD','FHQ_ACR_SNW_IRN_GL_SD'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS_GL_SD','FHQ_ACR_SNW_IRN_GL_SD'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO_GL_SD','FHQ_ACR_SNW_IRN_GL_SD'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33_GL_SD','FHQ_ACR_SNW_HWS_GL_SD'],

        ['Attachment_FL','FHQ_ACR_SNW_IRN_SD_F','FHQ_ACR_SNW_IRN_SD'],
        ['Attachment_FL','FHQ_ACR_SNW_CCO_SD_F','FHQ_ACR_SNW_CCO_SD'],
        ['Attachment_FL','FHQ_ACR_SNW_HWS_SD_F','FHQ_ACR_SNW_HWS_SD'],
        ['Attachment_FL','FHQ_ACR_SNW_RCO_SD_F','FHQ_ACR_SNW_RCO_SD'],
        ['Attachment_FL','FHQ_ACR_SNW_G33_SD_F','FHQ_ACR_SNW_G33_SD'],
        ['Attachment_FL','FHQ_ACR_SNW_HAMR_SD_F','FHQ_ACR_SNW_HAMR_SD'],
        ['Attachment_FL','FHQ_ACR_SNW_TWS_SD_F','FHQ_ACR_SNW_TWS_SD'],

        ['Attachment_CCO','FHQ_ACR_SNW_CCO_SD_F','FHQ_ACR_SNW_IRN_SD_F'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS_SD_F','FHQ_ACR_SNW_IRN_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO_SD_F','FHQ_ACR_SNW_IRN_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33_SD_F','FHQ_ACR_SNW_HWS_SD_F'],

        ['Attachment_M203','FHQ_ACR_SNW_IRN_GL_SD_F','FHQ_ACR_SNW_IRN_SD_F'],
        ['Attachment_M203','FHQ_ACR_SNW_CCO_GL_SD_F','FHQ_ACR_SNW_CCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_SNW_HWS_GL_SD_F','FHQ_ACR_SNW_HWS_SD_F'],
        ['Attachment_M203','FHQ_ACR_SNW_RCO_GL_SD_F','FHQ_ACR_SNW_RCO_SD_F'],
        ['Attachment_M203','FHQ_ACR_SNW_G33_GL_SD_F','FHQ_ACR_SNW_G33_SD_F'],
        ['Attachment_M203','FHQ_ACR_SNW_HAMR_GL_SD_F','FHQ_ACR_SNW_HAMR_SD_F'],
        ['Attachment_M203','FHQ_ACR_SNW_TWS_GL_SD_F','FHQ_ACR_SNW_TWS_SD_F'],

        ['Attachment_CCO','FHQ_ACR_SNW_CCO_GL_SD_F','FHQ_ACR_SNW_IRN_GL_SD_F'],
        ['Attachment_Holo','FHQ_ACR_SNW_HWS_GL_SD_F','FHQ_ACR_SNW_IRN_GL_SD_F'],
        ['Attachment_ACOG','FHQ_ACR_SNW_RCO_GL_SD_F','FHQ_ACR_SNW_IRN_GL_SD_F'],
        ['Attachment_SCOPED','FHQ_ACR_SNW_G33_GL_SD_F','FHQ_ACR_SNW_HWS_GL_SD_F'],

        //g3
        ['Attachment_SCOPED','vil_G3SG1','vil_G3a3'],
        ['Attachment_M203','vil_G3TGS','vil_G3a3'],
        //akm
        ['Attachment_GP25','vil_AKM_GL','AKM_DZ'],
        ['Attachment_GP25','vil_AKMS_GP25','vil_AKMS'],
        //ak12
        ['Attachment_CCO','vil_ak12_ap','vil_ak12'],
        ['Attachment_GP25','vil_ak12_gp','vil_ak12'],
        //ak74m
        ['Attachment_PSO1','vil_AK_74M_PSO','vil_AK_74m'],
        ['Attachment_Kobra','vil_AK_74m_c','vil_AK_74m'],
        ['Attachment_Holo','vil_AK_74m_EOT','vil_AK_74m'],
        ['Attachment_CCO','vil_AK_74m_k','vil_AK_74m'],
        ['Attachment_GP25','vil_AK_74m_gp','vil_AK_74m'],
        //aek
        ['Attachment_CCO','vil_AeK_3_K','vil_AeK_3'],
        //M14
        ['Attachment_ACOG','RH_m14acog','M14_DZ'],
        //mp5
        ['Attachment_Holo','vil_MP5_EOTech','MP5_DZ'],
        ['Attachment_Holo','vil_MP5SD_EOTech','MP5SD'],
        //M1SE1 BLK
        ['Attachment_CCO','RH_m1saim','RH_m1s'],
        ['Attachment_Holo','RH_m1seot','RH_m1s'],
        ['Attachment_ACOG','RH_m1sacog','RH_m1s'],
        ['Attachment_SCOPED','RH_m1ssp','RH_m1s'],
        //M1SE1 TAN
        ['Attachment_CCO','RH_m1staim','RH_m1st'],
        ['Attachment_Holo','RH_m1steot','RH_m1st'],
        ['Attachment_ACOG','RH_m1stacog','RH_m1st'],
        ['Attachment_SCOPED','RH_m1stsp','RH_m1st'],
        //SC2
        ['Attachment_CCO','RH_sc2aim','RH_sc2'],
        ['Attachment_Holo','RH_sc2eot','RH_sc2'],
        ['Attachment_ACOG','RH_sc2acog','RH_sc2'],
        ['Attachment_SCOPED','RH_sc2shd','RH_sc2'],

        //TAR21
        ['Attachment_CCO','RH_ctar21m','RH_ctar21'],
        ['Attachment_M203','RH_ctar21mgl','RH_ctar21m'],
        ['Attachment_ACOG','RH_star21','RH_ctar21'],
        ['Attachment_M203','RH_ctar21glacog','RH_star21'],

        //uzi
        ['Attachment_Sup9','vil_uzi_SD','vil_uzi']
    ];

    //remove attachment
    {
        DZE_CLICK_ACTIONS set [count DZE_CLICK_ACTIONS,[_x select 1,format["Remove %1",getText (configFile >> "CfgMagazines" >> (_x select 0) >> "displayName")],format["%1 call custom_removeAttachment;",_x],"true"]];
    } forEach DZE_attachmentList;

    The array in DZE_attachmentList is ['Attachment_item','Attached_weapon','Base_weapon'] . You can use any item and any weapon.
    BTW, I hope SCARs and AK107s will be included in next DayZ Epoch update, as we already have their variant with iron sight. 

     

  4. so I have updated the variables.sqf so that you don't need to add classnames manually 

    Spoiler

    GlobalCraftingVariable = 1;
    GlobalComboboxVariable = 99;
    GlobalPreviewVariable = 0;
    Crafting_Object_Direction = -0.5;
    Crafting_Object_Radius = 7;
    Crafting_Object_Height = 0;
    Admin_Crafting = ["0"]; //
    AAC_1=false;
    AAC_2=false;
    AAC_3=false;

    // variable settings
    Custom_Buildables = [];
    _cmbTypes = (missionConfigFile >> "Custom_Buildables" >> "Buildables");
    for "_i" from 0 to ( count _cmbTypes ) -1 do
    {
     private ["_cmbType","_typ","_getMats","_arry"];
     _x = _cmbTypes select _i;
     if( isClass _x ) then {
      _cmbType = configName _x;
      _types = (missionConfigFile >> "Custom_Buildables" >> "Buildables" >> _cmbType);
      for "_j" from 0 to ( count _types ) -1 do
      {
       _x = _types select _j; 
       if( isClass _x ) then {
         _typ = configName _x;
         _getMats = getArray(missionConfigFile >> "Custom_Buildables" >> "Buildables" >> _cmbType >> _typ >> "requiredmaterials");
         _arry = [];
         {
           _arry = _arry + [[_x,1]];
         } foreach _getMats;
         DZE_modularConfig = DZE_modularConfig + [[_typ,_arry]];
         Custom_Buildables = Custom_Buildables + [_typ];
       };
      };
     };
    };

    DayZ_SafeObjects = DayZ_SafeObjects + Custom_Buildables;
    DZE_maintainClasses = DZE_maintainClasses + Custom_Buildables;
     

     

  5. 5 minutes ago, JakeQue said:

    Thanks man I'll give it a shot!

    also, If I change the parameters from : 
     

    
    _position = [30] call find_position;

    to
     

    
    _position = [4884.35, 0.00143433, 9668.19];

    do you reckon it would work?

     

    maybe not, the find_position function reads only first component of array [30] or [4884. ..., ... , ... ]. and use it as safe zone radius. not position.

    Quote


    if (wai_use_blacklist) then {
        _safepos = [getMarkerPos "center",150,((getMarkerSize "center") select 1),(_this select 0),0,0.4,0,wai_blacklist];
    } else {
        _safepos = [getMarkerPos "center",150,((getMarkerSize "center") select 1),(_this select 0),0,0.4,0];
    };
     

    //////

        _position     = if (!wai_user_spawnpoints) then {_safepos call BIS_fnc_findSafePos} else {WAI_StaticSpawnPoints call BIS_fnc_selectRandom};

    if you want to check a position suitable for mission or not, read 
    WAI\missions\MISSION_EXAMPLE_WITH_SINGLE_SPAWN_POINT.sqf for sample.

  6. now I made it to return items when you remove objects.
    put these lines in the bottom of custom\Buildables\variables.sqf

    Spoiler

     

    _cmbTypes = (missionConfigFile >> "Custom_Buildables" >> "Buildables");
    for "_i" from 0 to ( count _cmbTypes ) -1 do
    {
     private ["_cmbType","_typ","_getMats","_arry"];
     _x = _cmbTypes select _i;
     if( isClass _x ) then {
      _cmbType = configName _x;
      _types = (missionConfigFile >> "Custom_Buildables" >> "Buildables" >> _cmbType);
      for "_j" from 0 to ( count _types ) -1 do
      {
       _x = _types select _j; 
       if( isClass _x ) then {
         _typ = configName _x;
         _getMats = getArray(missionConfigFile >> "Custom_Buildables" >> "Buildables" >> _cmbType >> _typ >> "requiredmaterials");
         _arry = [];
         {
           _arry = _arry + [[_x,1]];
         } foreach _getMats;
         DZE_modularConfig = DZE_modularConfig + [[_typ,_arry]];
       };
      };
     };
    };

     

    This code adds all objects in AAC into DZE_modularConfig array.

    (maybe in this way, you can make it not to require writing everything into variables.sqf)

    --

    btw, I have forked and edited AAC for 1.0.6.2
    https://github.com/Schalldampfer/Advanced-Gem-crafting

  7. The server stops while loading data after installing. I followed the instructions in README.md, it must be updated
     

    Spoiler

    After the server loads  "\z\addons\dayz_code\init\compiles.sqf";, the server waits here 

    call compile preprocessFileLineNumbers "\z\addons\dayz_server\rlnt\eventHandlers\RLNT_eventHandlers.sqf";
    because of this block in the sqf

    Quote

    /*  Error-Prevention  */
    while {isNil "rlnt_debug"} do {
        sleep 5;
    };

    "rlnt_debug" is defined in "rlnt\addons\RLNT_init.sqf"; , but it's after "\z\addons\dayz_code\init\compiles.sqf" , so that the server won't define it. 

    ' execVM "rlnt\addons\RLNT_init.sqf"; ' may be before "\z\addons\dayz_code\init\compiles.sqf". 

    also. battleye kicks not only "RLNT_up_client" but "rlnt_initLoaded" and so on.

    now it works well after changing the position of ' execVM "rlnt\addons\RLNT_init.sqf"; '

  8.  

    19 hours ago, JakeQue said:

    Players are getting red and yellow chain though dude. I haven't a fuck what's going on!

    It's just as you know. players getting yellow or red chain - it just mean bad connection.
    check your basic.cfg and hardware, status of your ISP - If there's no problem on them, then it's problem of your players.

  9. #MeToo . I sometimes get the same spam.
    I remember it was just annoying log, but not harmful. 
    (Maybe related to player connection problem)
     

    Quote

    20:38:33 Server: Object 3:277 not found (message 98)
    20:38:33 Server: Object 3:278 not found (message 91)
    20:38:33 Server: Object 3:280 not found (message 91)
    20:38:33 Server: Object 3:279 not found (message 98)
    20:38:36 Server: Object 3:292 not found (message 91)
    20:38:36 Server: Object 3:291 not found (message 99)
    20:38:38 Server: Object 3:300 not found (message 91)
    20:38:38 Server: Object 3:299 not found (message 99)

     

  10. I think we can also use this instead.

    Quote

                            _restricted = nearestObjects [_vehicle, ["ProtectionZone_Invisible_F"], 200];
                            if !(_restricted isEqualTo []) then {
                                _vehicle lock false;
                                diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle];
                            };

     

  11. 11 minutes ago, JakeQue said:

    I thought as much, unfortunately, the server rpt throws me no errors :(

    it's throwing the error like "Server_PublishObj error: Wrong parameter format". (and it's not helping us so much)

     

    I found a hint for fix:

    On 1/18/2018 at 8:21 AM, ebayShopper said:

    Object publish, delete and kill requests to the server need to include AuthKey now. You can see the new formats:

    https://github.com/EpochModTeam/DayZ-Epoch/commit/42e0047

    https://github.com/EpochModTeam/DayZ-Epoch/commit/eefcdf2

    Old:

    PVDZ_obj_Destroy = [_objectID,_objectUID,player];

    New:

    PVDZ_obj_Destroy = [_objectID,_objectUID,player,_object,dayz_authKey];

     

    So you need to update any third party scripts that use those variables.

    
    Server_(PublishObj|PublishVeh|SwapObj|UpdateObject), PVDZ_obj_(Destroy|Publish), PVDZ_veh_Save, PVDZE_obj_Swap, PVDZE_veh_(Publish2|Upgrade) or server_deleteObj

    https://github.com/EpochModTeam/DayZ-Epoch/blob/master/CHANGE LOG 1.0.6.2.txt#L14

     

    If you send the parameters in the wrong order then you will get errors like the one you posted. Also make sure server_deleteObj is updated to server_deleteObjDirect if used directly on the server.

     

    Most third party scripts have already been updated for 1.0.6.2 with these changes, so make sure you are using the newest versions.

  12. 40 minutes ago, megaz said:

    I Added that see below:

    CfgActionMenu_self

      Hide contents

    /*
        Author: Raimonds Virtoss - EpochMod.com

        Contributors: Aaron Clark

        Description:
        Action Menu Self Config

        Licence:
        Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike

        Github:
        https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp
    */

    class veh_lock
    {
        condition = "if (vehicle player iskindof 'Bicycle') exitwith {false};dyna_inVehicle && !dyna_lockedInVehicle";
        action = "[vehicle player, true, player, Epoch_personalToken] remoteExec ['EPOCH_server_lockVehicle',2];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_cannot_lock.paa";
        tooltip = "Lock";
    };
    class veh_unLock
    {
        condition = "dyna_inVehicle && dyna_lockedInVehicle";
        action = "[vehicle player, false, player, Epoch_personalToken] remoteExec ['EPOCH_server_lockVehicle',2];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_can_unlock.paa";
        tooltip = "Unlock";
    };
    class player_inspect
    {
        condition = "!dyna_inVehicle";
        action = "if !(underwater player) then {call EPOCH_lootTrash}else {if !(((nearestobjects [player,['container_epoch','weaponholdersimulated','GroundWeaponHolder'],5]) select {(_x getvariable ['EPOCH_Loot',false]) || (_x iskindof 'container_epoch' && _x animationPhase 'open_lid' > 0.5)}) isequalto []) then {call EPOCH_QuickTakeLoad} else {call EPOCH_lootTrash}};";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\player_inspect.paa";
        tooltip = "Examine";
    };
    class Groups
    {
        condition = "true";
        action = "";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_menu_ca.paa";
        tooltip = "Groups Menu";
        class Group
        {
            condition = "true";
            action = "call EPOCH_Inventory_Group;";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\perm_group_menu_ca.paa";
            tooltip = "Perm Group Menu";
        };
        class TempGroup
        {
            condition = "true";
            action = "call EPOCH_Inventory_TempGroup;";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\temp_group_menu_ca.paa";
            tooltip = "Temp Group Menu";
        };
    };
    class player_group_requests
    {
        condition = "!(Epoch_invited_GroupUIDs isEqualTo[])";
        action = "call EPOCH_Inventory_iGroup;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_requests_ca.paa";
        tooltip = "Group Requests";
    };
    class player_tempGroup_requests
    {
        condition = "!(Epoch_invited_tempGroupUIDs isEqualTo[])";
        action = "call EPOCH_Inventory_itempGroup;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_requests_ca.paa";
        tooltip = "Temp Group Requests";
    };

    class base_mode_enable
    {
        condition = "EPOCH_buildMode in [0,2] && !dyna_inVehicle";
        action = "if (EPOCH_playerEnergy > 0) then {EPOCH_stabilityTarget = objNull;EPOCH_buildMode = 1;['Build Mode: Enabled Snap alignment', 5] call Epoch_message;EPOCH_buildDirection = 0} else {['Need Energy!', 5] call Epoch_message};";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_maintain.paa";
        tooltip = "Build Mode: Snap alignment";
    };
    class base_mode_enable_free
    {
        condition = "EPOCH_buildMode == 1 && EPOCH_playerEnergy > 0";
        action = "EPOCH_stabilityTarget = objNull;EPOCH_buildMode = 2;['Build Mode: Enabled Free alignment', 5] call Epoch_message;EPOCH_buildDirection = 0;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_maintain.paa";
        tooltip = "Build Mode: Free alignment";
    };
    class base_mode_disable
    {
        condition = "EPOCH_buildMode > 0";
        action = "EPOCH_buildMode = 0;EPOCH_snapDirection = 0;['Build Mode: Disabled', 5] call Epoch_message;EPOCH_Target = objNull;EPOCH_Z_OFFSET = 0;EPOCH_X_OFFSET = 0;EPOCH_Y_OFFSET = 5;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_remove.paa";
        tooltip = "Build Mode: Disable";
    };
    class base_mode_snap_direction
    {
        condition = "EPOCH_buildMode == 1";
        action = "EPOCH_snapDirection = EPOCH_snapDirection + 1; if (EPOCH_snapDirection > 3) then {EPOCH_snapDirection = 0};[format['SNAP DIRECTION: %1°', EPOCH_snapDirection*90], 5] call Epoch_message;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_rotate.paa";
        tooltip = "Build Mode: Rotate 90°";
        tooltipcode = "format ['Build Mode: Switch Snap Direction to %1° (current %2°)',if (EPOCH_snapDirection < 3) then {(EPOCH_snapDirection+1)*90} else {0},EPOCH_snapDirection*90]";
    };
    class base_mode_detach
    {
        condition = "EPOCH_buildMode > 0 && !isnull EPOCH_target && EPOCH_target_attachedTo isequalto player && Epoch_target iskindof 'Const_Ghost_EPOCH'";
        action = "EPOCH_target_attachedTo = objnull; ['Object Detached', 5] call Epoch_message;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_detach.paa";
        tooltip = "Build Mode: Detach Object";
    };
    class base_mode_attach
    {
        condition = "EPOCH_buildMode > 0 && !isnull EPOCH_target && !(EPOCH_target_attachedTo isequalto player) && Epoch_target iskindof 'Const_Ghost_EPOCH'";
        action = "EPOCH_target_attachedTo = player; ['Object Attached', 5] call Epoch_message;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_attach.paa";
        tooltip = "Build Mode: Attach Object";
    };
    class Drink
    {
        condition = "dyna_Watersource";
        action = "if (currentweapon player == '') then {player playmove 'AinvPknlMstpSnonWnonDnon_Putdown_AmovPknlMstpSnonWnonDnon';}else {if (currentweapon player == handgunweapon player) then {player playmove 'AinvPknlMstpSrasWpstDnon_Putdown_AmovPknlMstpSrasWpstDnon';}else {    player playmove 'AinvPknlMstpSrasWrflDnon_Putdown_AmovPknlMstpSrasWrflDnon';};};{_output = _x call EPOCH_giveAttributes;if (_output != '') then {[_output, 5] call Epoch_message_stack;};} foreach [['Thirst',100],['Toxicity',1,1],['Stamina',10]];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Drink.paa";
        tooltip = "Drink";
    };
    class Wash
    {
        condition = "dyna_Watersource";
        action = "if !('Soap_Epoch' in magazines player) exitwith {['You need a Soap to wash yourself',5] call Epoch_Message;};[] spawn {player playMove 'AinvPknlMstpSnonWrflDnon_medic0';player playMove 'AinvPknlMstpSnonWrflDnon_medicEnd';['Washing ...',5] call Epoch_Message;player removeitem 'Soap_Epoch';uisleep 6;{_output = _x call EPOCH_giveAttributes;    if (_output != '') then {[_output, 5] call Epoch_message_stack;};} foreach [['Soiled',-25]];};";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Washing.paa";
        tooltip = "Wash yourself";
    };
    class ServicePoint
    {
        condition = "call EPOCH_SP_Check";
        action = "[dyna_Turret] call EPOCH_SP_Start;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_man.paa";
        tooltip = "Service Point";

        class Refuel
        {
            condition = "!isnil 'Ignatz_Refuel'";
            action = "(Ignatz_Refuel select 1) spawn EPOCH_SP_Refuel";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\vehicle_refuel.paa";
            tooltipcode = "Ignatz_Refuel select 0";
        };
        class Repair
        {
            condition = "!isnil 'Ignatz_Repair'";
            action = "(Ignatz_Repair select 1) spawn EPOCH_SP_Repair";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\repair.paa";
            tooltipcode = "Ignatz_Repair select 0";
        };
        class Rearm0
        {
            condition = "!isnil 'Ignatz_Rearm0'";
            action = "(Ignatz_Rearm0 select 1) call EPOCH_SP_Rearm";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\Rearm.paa";
            tooltipcode = "Ignatz_Rearm0 select 0";
        };
        class Rearm1
        {
            condition = "!isnil 'Ignatz_Rearm1'";
            action = "(Ignatz_Rearm1 select 1) call EPOCH_SP_Rearm";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\Rearm.paa";
            tooltipcode = "Ignatz_Rearm1 select 0";
        };
        class Rearm2
        {
            condition = "!isnil 'Ignatz_Rearm2'";
            action = "(Ignatz_Rearm2 select 1) call EPOCH_SP_Rearm";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\Rearm.paa";
            tooltipcode = "Ignatz_Rearm2 select 0";
        };
    };
    class veh_Rearm1
    {
        condition = "if (count dyna_weaponsTurret > 0) then {!((dyna_weaponsTurret select 0) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player, dyna_weaponsTurret select 0, dyna_Turret] call EPOCH_vehicle_checkTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Rearm.paa";
        tooltipcode = "format['Add Mag to %1',getText(configFile >> 'CfgWeapons' >> dyna_weaponsTurret select 0 >> 'displayName')]";
    };
    class veh_Rearm2
    {
        condition = "if (count dyna_weaponsTurret > 1) then {!((dyna_weaponsTurret select 1) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player,dyna_weaponsTurret select 1, dyna_Turret] call EPOCH_vehicle_checkTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Rearm.paa";
        tooltipcode = "format['Add Mag to %1',getText(configFile >> 'CfgWeapons' >> dyna_weaponsTurret select 1 >> 'displayName')]";
    };
    class veh_Rearm3
    {
        condition = "if (count dyna_weaponsTurret > 2) then {!((dyna_weaponsTurret select 2) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player,dyna_weaponsTurret select 2, dyna_Turret] call EPOCH_vehicle_checkTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Rearm.paa";
        tooltipcode = "format['Add Mag to %1',getText(configFile >> 'CfgWeapons' >> dyna_weaponsTurret select 2 >> 'displayName')]";
    };
    class veh_Rearm4
    {
        condition = "if (count dyna_weaponsTurret > 3) then {!((dyna_weaponsTurret select 3) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player,dyna_weaponsTurret select 3, dyna_Turret] call EPOCH_vehicle_checkTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Rearm.paa";
        tooltipcode = "format['Add Mag to %1',getText(configFile >> 'CfgWeapons' >> dyna_weaponsTurret select 3 >> 'displayName')]";
    };
    class veh_RemoveAmmo1
    {
        condition = "if (count dyna_WeapsMagsTurret > 0) then {!((dyna_WeapsMagsTurret select 0 select 0) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player,dyna_WeapsMagsTurret select 0 select 0,dyna_WeapsMagsTurret select 0 select 1, dyna_Turret] call EPOCH_vehicle_removeTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\RemoveMag.paa";
        tooltipcode = "format['Remove %1 from %2',getText(configFile >> 'CfgMagazines' >> (dyna_WeapsMagsTurret select 0 select 1) >> 'displayName'),getText(configFile >> 'CfgWeapons' >> (dyna_WeapsMagsTurret select 0 select 0) >> 'displayName')]";
    };
    class veh_RemoveAmmo2
    {
        condition = "if (count dyna_WeapsMagsTurret > 1) then {!((dyna_WeapsMagsTurret select 1 select 0) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player,dyna_WeapsMagsTurret select 1 select 0,dyna_WeapsMagsTurret select 1 select 1, dyna_Turret] call EPOCH_vehicle_removeTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\RemoveMag.paa";
        tooltipcode = "format['Remove %1 from %2',getText(configFile >> 'CfgMagazines' >> (dyna_WeapsMagsTurret select 1 select 1) >> 'displayName'),getText(configFile >> 'CfgWeapons' >> (dyna_WeapsMagsTurret select 1 select 0) >> 'displayName')]";
    };
    class veh_RemoveAmmo3
    {
        condition = "if (count dyna_WeapsMagsTurret > 2) then {!((dyna_WeapsMagsTurret select 2 select 0) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player,dyna_WeapsMagsTurret select 2 select 0,dyna_WeapsMagsTurret select 2 select 1, dyna_Turret] call EPOCH_vehicle_removeTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\RemoveMag.paa";
        tooltipcode = "format['Remove %1 from %2',getText(configFile >> 'CfgMagazines' >> (dyna_WeapsMagsTurret select 2 select 1) >> 'displayName'),getText(configFile >> 'CfgWeapons' >> (dyna_WeapsMagsTurret select 2 select 0) >> 'displayName')]";
    };
    class veh_RemoveAmmo4
    {
        condition = "if (count dyna_WeapsMagsTurret > 3) then {!((dyna_WeapsMagsTurret select 3 select 0) in dyna_blockWeapons)}else{false}";
        action = "[vehicle player,dyna_WeapsMagsTurret select 3 select 0,dyna_WeapsMagsTurret select 3 select 1, dyna_Turret] call EPOCH_vehicle_removeTurretAmmo";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\RemoveMag.paa";
        tooltipcode = "format['Remove %1 from %2',getText(configFile >> 'CfgMagazines' >> (dyna_WeapsMagsTurret select 3 select 1) >> 'displayName'),getText(configFile >> 'CfgWeapons' >> (dyna_WeapsMagsTurret select 3 select 0) >> 'displayName')]";
    };

    class geiger_menu
    {
        condition = "'ItemGeigerCounter_EPOCH' in dyna_assigneditems";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_radiation.paa";
        tooltip = "Geiger counter settings";

        class geiger_toggle
        {
            condition = "true";
            action = "call epoch_geiger_show_hide";
                 icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_toggle.paa";
            tooltip = "Toggle HUD";
        };
        class geiger_counter_mute
        {
            condition = "!EPOCH_geiger_mute_counter";
            action = "EPOCH_geiger_mute_counter = !EPOCH_geiger_mute_counter";
              icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_volumeoff.paa";
            tooltip = "Mute counter";
        };
        class geiger_counter_unmute
        {
            condition = "EPOCH_geiger_mute_counter";
            action = "EPOCH_geiger_mute_counter = !EPOCH_geiger_mute_counter";
                 icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_volumeon.paa";
            tooltip = "Unmute counter";
        };
        class geiger_warning_mute
        {
            condition = "!EPOCH_geiger_mute_warning";
            action = "EPOCH_geiger_mute_warning = !EPOCH_geiger_mute_warning";
                 icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_alarmoff.paa";
            tooltip = "Mute warnings";
        };
        class geiger_warning_unmute
        {
            condition = "EPOCH_geiger_mute_warning";
            action = "EPOCH_geiger_mute_warning = !EPOCH_geiger_mute_warning";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_alarmon.paa";
            tooltip = "Unmute warnings";
        };
        class Deploy_deploy
        {
            condition = "!dyna_inVehicle";
            action = "Deploy_SpawnVehicle = [player,'MBK_01_EPOCH']; publicVariableServer 'Deploy_SpawnVehicle';";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\repair.paa";
            tooltip = "Deploy Bike";
        };
    };
     

    and CfgActionMenu_target

      Reveal hidden contents

    /*
        Author: Raimonds Virtoss - EpochMod.com

        Contributors: Aaron Clark

        Description:
        Action Menu Target Config

        Licence:
        Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike

        Github:
        https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_target.hpp
    */

    class build_upgrade
    {
        condition = "dyna_buildMode select 0";
        //action = "dyna_cursorTarget call EPOCH_QuickUpgrade;"; //TODO: scripted dyna menu
        action = "";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_upgrade.paa";
        tooltipcode = "format['Upgrade %1',getText(configFile >> 'CfgVehicles' >> (typeof dyna_cursorTarget) >> 'displayName')]";
        class special {}; //uses external config, hardcoded
    };
    class build_remove
    {
        condition = "dyna_buildMode select 1";
        action = "dyna_cursorTarget call EPOCH_removeBUILD;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_trash.paa";
        tooltipcode = "format['Remove %1',getText(configFile >> 'CfgVehicles' >> (typeof dyna_cursorTarget) >> 'displayName')]";
    };
    class build_move
    {
        condition = "dyna_buildMode select 2";
        action = "dyna_cursorTarget call EPOCH_fnc_SelectTargetBuild;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_move.paa";
        tooltipcode = "format['Move %1',getText(configFile >> 'CfgVehicles' >> (typeof dyna_cursorTarget) >> 'displayName')]";
    };

    //Vehicle interaction
    class veh_gear
    {
        condition = "dyna_isVehicle && !dyna_locked";
        action = "call Epoch_client_gearVehicle;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\player_inspect.paa";
        tooltip = "Inspect";
    };
    class veh_lock
    {
        condition = "if (dyna_cursorTarget iskindof 'Bicycle') exitwith {false};dyna_isVehicle && !dyna_locked";
        action = "[dyna_cursorTarget, true, player, Epoch_personalToken] remoteExec ['EPOCH_server_lockVehicle',2];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_cannot_lock.paa";
        tooltip = "Lock";
    };
    class veh_unLock
    {
        condition = "dyna_isVehicle && dyna_locked";
        action = "[dyna_cursorTarget, false, player, Epoch_personalToken] remoteExec ['EPOCH_server_lockVehicle',2];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_can_unlock.paa";
        tooltip = "Unlock";
    };

    //Trader interaction
    class tra_talk
    {
        condition = "dyna_isTrader";
        action = "dyna_cursorTarget call EPOCH_startInteractNPC;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\talk_blue.paa";
        tooltip = "Talk";
    };
    class tra_shop
    {
        condition = "dyna_isTrader";
        action = "call EPOCH_startNPCTraderMenu;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\krypto.paa";
        tooltip = "Shop";
    };

    class player_takeCrypto
    {
        condition = "dyna_isDeadPlayer || (dyna_cursorTarget getVariable [""Crypto"",0]) > 0";
        action = "dyna_cursorTarget call EPOCH_takeCrypto;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\krypto.paa";
        tooltip = "Take Krypto";
    };
    class player_trade
    {
        condition = "dyna_isPlayer";
        action = "[dyna_cursorTarget, player, Epoch_personalToken] call EPOCH_startTRADEREQ;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\krypto.paa";
        tooltip = "Make Trade Request";
    };
    class player_trade_accept
    {
        condition = "dyna_isPlayer && dyna_canAcceptTrade";
        action = "EPOCH_p2ptradeTarget = EPOCH_pendingP2ptradeTarget;call EPOCH_startTrade;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\krypto.paa";
        tooltip = "Accept Trade Request";
    };

    //User action replacement
    class maintain_jammer
    {
        condition = "dyna_cursorTargetType isEqualTo 'PlotPole_EPOCH' && (damage dyna_cursorTarget < 1)";
        action = "dyna_cursorTarget call EPOCH_maintainIT;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_maintain.paa";
        tooltip = "Maintain";
    };
    class select_jammer
    {
        condition = "dyna_cursorTargetType isEqualTo 'PlotPole_EPOCH' && (damage dyna_cursorTarget < 1)";
        action = "[dyna_cursorTarget,player,Epoch_personalToken] remoteExec [""EPOCH_server_makeSP"",2];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\spawnpoint.paa";
        tooltip = "Make Spawnpoint";
    };

    //lock unlock
    class unlock_lockbox
    {
        condition = "(dyna_cursorTargetType in ['LockBox_EPOCH','LockBoxProxy_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
        action = "dyna_cursorTarget call Epoch_secureStorageHandler";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_can_unlock.paa";
        tooltip = "Unlock Lockbox";
    };
    class lock_lockbox
    {
        condition = "(dyna_cursorTargetType in ['LockBox_EPOCH','LockBoxProxy_EPOCH']) && !(dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
        action = "dyna_cursorTarget call Epoch_secureStorageHandler";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_cannot_lock.paa";
        tooltip = "Lock Lockbox";
    };
    class unlock_safe
    {
        condition = "(dyna_cursorTargetType in ['Safe_EPOCH','SafeProxy_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
        action = "dyna_cursorTarget call Epoch_secureStorageHandler";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_can_unlock.paa";
        tooltip = "Unlock Safe";
    };
    class lock_safe
    {
        condition = "(dyna_cursorTargetType in ['Safe_EPOCH','SafeProxy_EPOCH']) && !(dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
        action = "dyna_cursorTarget call Epoch_secureStorageHandler";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_cannot_lock.paa";
        tooltip = "Lock Safe";
    };

    //pack
    class pack_lockbox
    {
        condition = "(dyna_cursorTargetType in ['LockBox_EPOCH','LockBoxProxy_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
        action = "[dyna_cursorTarget,player,Epoch_personalToken] remoteExec ['EPOCH_server_packStorage',2];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_pack.paa";
        tooltip = "Pack Lockbox";
    };
    class pack_safe
    {
        condition = "(dyna_cursorTargetType in ['Safe_EPOCH','SafeProxy_EPOCH']) && (dyna_cursorTarget getVariable ['EPOCH_Locked',false])";
        action = "[dyna_cursorTarget,player,Epoch_personalToken] remoteExec ['EPOCH_server_packStorage',2];";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_pack.paa";
        tooltip = "Pack Safe";
    };

    class VehMaintanance
    {
        condition = "dyna_isVehicle && !EPOCH_Vehicle_MaintainLock";
        action = "dyna_cursorTarget call EPOCH_client_VehicleMaintananceCheck;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_man.paa";
        tooltip = "Vehicle Maintanance";
        class Repair
        {
            condition = "(!((EPOCH_VehicleRepairs select 0) isequalto []) || !((EPOCH_VehicleRepairs select 2) isequalto [])) && EPOCH_AdvancedVehicleRepair_Enabled";
            action = "";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
            tooltip = "Repair Vehicle";
            class RepairHull
            {
                condition = "'hithull' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hithull'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_HullBody.paa";
                tooltip = "Repair Hull";
            };
            class ReplaceHull
            {
                condition = "'hithull' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hithull'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_HullBody.paa";
                tooltip = "Repair Hull";
            };
            class RepairEngine
            {
                condition = "'hitengine' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitengine'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Engine.paa";
                tooltip = "Repair Engine";
            };
            class ReplaceEngine
            {
                condition = "'hitengine' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitengine'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Engine.paa";
                tooltip = "Replace Engine";
            };
            class ReplaceGlass
            {
                condition = "'glass' in (EPOCH_VehicleRepairs select 0) || 'glass' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','glass'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Glass.paa";
                tooltip = "Replace Glass";
            };
            class RepairBody
            {
                condition = "'hitbody' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitbody'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_HullBody.paa";
                tooltip = "Repair Body";
            };
            class ReplaceBody
            {
                condition = "'hitbody' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitbody'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_HullBody.paa";
                tooltip = "Repair Body";
            };
            class RepairFuel
            {
                condition = "'hitfuel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitfuel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Fuel.paa";
                tooltip = "Repair Fuel Hose";
            };
            class RepairMainRotor
            {
                condition = "'hithrotor' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hithrotor'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_MainRotor.paa";
                tooltip = "Repair Main Rotor";
            };
            class ReplaceFuel
            {
                condition = "'hitfuel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitfuel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Fuel.paa";
                tooltip = "Replace Fuel Hose";
            };
            class ReplaceMainRotor
            {
                condition = "'hithrotor' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hithrotor'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_MainRotor.paa";
                tooltip = "Replace Main Rotor";
            };
            class RepairTailRotor
            {
                condition = "'hitvrotor' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitvrotor'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_TailRotor.paa";
                tooltip = "Repair Tail Rotor";
            };
            class ReplaceTailRotor
            {
                condition = "'hitvrotor' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitvrotor'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_TailRotor.paa";
                tooltip = "Replace Tail Rotor";
            };
            class ReplaceWinch
            {
                condition = "'hitwinch' in (EPOCH_VehicleRepairs select 0) || 'hitwinch' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitwinch'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_SLG.paa";
                tooltip = "Replace Winch";
            };
            class RepairTireBike1
            {
                condition = "'hitfwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 1st Wheel";
            };
            class RepairTireBike2
            {
                condition = "'hitbwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 2nd Wheel";
            };
            class RepairTire1
            {
                condition = "'hitlfwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitlfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 1st Left Wheel";
            };
            class RepairTire2
            {
                condition = "'hitlf2wheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitlf2wheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 2nd Left Wheel";
            };
            class RepairTire3
            {
                condition = "'hitlmwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitlmwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 3rd Left Wheel";
            };
            class RepairTire4
            {
                condition = "'hitlbwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitlbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 4th Left Wheel";
            };
            class RepairTire5
            {
                condition = "'hitrfwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitrfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 1st Right Wheel";
            };
            class RepairTire6
            {
                condition = "'hitrf2wheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitrf2wheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 2nd Right Wheel";
            };
            class RepairTire7
            {
                condition = "'hitrmwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitrmwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 3rd Right Wheel";
            };
            class RepairTire8
            {
                condition = "'hitrbwheel' in (EPOCH_VehicleRepairs select 0)";
                action = "[dyna_cursorTarget,'repair','hitrbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Wheel.paa";
                tooltip = "Repair 4th Right Wheel";
            };
            class ReplaceTireBike1
            {
                condition = "'hitfwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 1st Wheel";
            };
            class ReplaceTireBike2
            {
                condition = "'hitbwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 2nd Wheel";
            };
            class ReplaceTire1
            {
                condition = "'hitlfwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitlfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 1st Left Wheel";
            };
            class ReplaceTire2
            {
                condition = "'hitlf2wheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitlf2wheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 2nd Left Wheel";
            };
            class ReplaceTire3
            {
                condition = "'hitlmwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitlmwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 3rd Left Wheel";
            };
            class ReplaceTire4
            {
                condition = "'hitlbwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitlbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 4th Left Wheel";
            };
            class ReplaceTire5
            {
                condition = "'hitrfwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitrfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 1st Right Wheel";
            };
            class ReplaceTire6
            {
                condition = "'hitrf2wheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitrf2wheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 2nd Right Wheel";
            };
            class ReplaceTire7
            {
                condition = "'hitrmwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitrmwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 3rd Right Wheel";
            };
            class ReplaceTire8
            {
                condition = "'hitrbwheel' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitrbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Replace_Wheel.paa";
                tooltip = "Replace 4th Right Wheel";
            };
            class RepairAvionics
            {
                condition = "'hitavionics' in (EPOCH_VehicleRepairs select 0) || 'hitavionics' in (EPOCH_VehicleRepairs select 2)";
                action = "[dyna_cursorTarget,'replace','hitavionics'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Repair_Avionics.paa";
                tooltip = "Repair Avionics";
            };
        };
        class Remove
        {
            condition = "!((EPOCH_VehicleRepairs select 1) isequalto []) && EPOCH_AdvancedVehicleRepair_Enabled";
            action = "";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
            tooltip = "Remove Parts";
            class RemoveEngine
            {
                condition = "'hitengine' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitengine'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Engine.paa";
                tooltip = "Remove Engine";
            };
            class RemoveTire1
            {
                condition = "'hitlfwheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitlfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 1st Left Wheel";
            };
            class RemoveTire2
            {
                condition = "'hitlf2wheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitlf2wheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 2nd Left Wheel";
            };
            class RemoveTire3
            {
                condition = "'hitlmwheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitlmwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 3rd Left Wheel";
            };
            class RemoveTire4
            {
                condition = "'hitlbwheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitlbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 4th Left Wheel";
            };
            class RemoveTire5
            {
                condition = "'hitrfwheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitrfwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 1st Right Wheel";
            };
            class RemoveTire6
            {
                condition = "'hitrf2wheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitrf2wheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 2nd Right Wheel";
            };
            class RemoveTire7
            {
                condition = "'hitrmwheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitrmwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 3rd Right Wheel";
            };
            class RemoveTire8
            {
                condition = "'hitrbwheel' in (EPOCH_VehicleRepairs select 1)";
                action = "[dyna_cursorTarget,'remove','hitrbwheel'] spawn EPOCH_client_VehicleMaintananceDo";
                icon = "x\addons\a3_epoch_code\Data\UI\buttons\Remove_Wheel.paa";
                tooltip = "Remove 4th Right Wheel";
            };
        };
        class UpgradeVehicle
        {
            condition = "dyna_isVehicle";
            action = "dyna_cursorTarget call EPOCH_client_upgradeVehicleCheck;";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_upgrade.paa";
            tooltip = "Upgrade Vehicle";
            class Upgrade0
            {
                condition = "(count Ignatz_VehicleUpgradeArray) > 0";
                action = "(Ignatz_VehicleUpgradeArray select 0) call EPOCH_client_upgradeVehicle";
                iconcode = "gettext (configfile >> 'CfgVehicles' >> (Ignatz_VehicleUpgradeArray select 0 select 1) >> 'picture')";
                tooltipcode = "format ['Upgrade to %1 - %2',(Ignatz_VehicleUpgradeArray select 0 select 2),(Ignatz_VehicleUpgradeArray select 0 select 3)]";
            };
            class Upgrade1
            {
                condition = "(count Ignatz_VehicleUpgradeArray) > 1";
                action = "(Ignatz_VehicleUpgradeArray select 1) call EPOCH_client_upgradeVehicle";
                iconcode = "gettext (configfile >> 'CfgVehicles' >> (Ignatz_VehicleUpgradeArray select 1 select 1) >> 'picture')";
                tooltipcode = "format ['Upgrade to %1 - %2',(Ignatz_VehicleUpgradeArray select 1 select 2),(Ignatz_VehicleUpgradeArray select 1 select 3)]";
            };
            class Upgrade2
            {
                condition = "(count Ignatz_VehicleUpgradeArray) > 2";
                action = "(Ignatz_VehicleUpgradeArray select 2) call EPOCH_client_upgradeVehicle";
                iconcode = "gettext (configfile >> 'CfgVehicles' >> (Ignatz_VehicleUpgradeArray select 2 select 1) >> 'picture')";
                tooltipcode = "format ['Upgrade to %1 - %2',(Ignatz_VehicleUpgradeArray select 2 select 2),(Ignatz_VehicleUpgradeArray select 2 select 3)]";
            };
            class Upgrade3
            {
                condition = "(count Ignatz_VehicleUpgradeArray) > 3";
                action = "(Ignatz_VehicleUpgradeArray select 3) call EPOCH_client_upgradeVehicle";
                iconcode = "gettext (configfile >> 'CfgVehicles' >> (Ignatz_VehicleUpgradeArray select 3 select 1) >> 'picture')";
                tooltipcode = "format ['Upgrade to %1 - %2',(Ignatz_VehicleUpgradeArray select 3 select 2),(Ignatz_VehicleUpgradeArray select 3 select 3)]";
            };
            class Upgrade4
            {
                condition = "(count Ignatz_VehicleUpgradeArray) > 4";
                action = "(Ignatz_VehicleUpgradeArray select 4) call EPOCH_client_upgradeVehicle";
                iconcode = "gettext (configfile >> 'CfgVehicles' >> (Ignatz_VehicleUpgradeArray select 4 select 1) >> 'picture')";
                tooltipcode = "format ['Upgrade to %1 - %2',(Ignatz_VehicleUpgradeArray select 4 select 2),(Ignatz_VehicleUpgradeArray select 4 select 3)]";
            };
        };
    };

    //Groups
    class Groups
    {
        condition = "dyna_isPlayer";
        action = "";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_menu_ca.paa";
        tooltip = "Groups Menu";
        class Group
        {
            condition = "dyna_isPlayer";
            action = "call EPOCH_Inventory_Group;";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\perm_group_menu_ca.paa";
            tooltip = "Perm Group Menu";
        };
        class TempGroup
        {
            condition = "dyna_isPlayer";
            action = "call EPOCH_Inventory_TempGroup;";
            icon = "x\addons\a3_epoch_code\Data\UI\buttons\temp_group_menu_ca.paa";
            tooltip = "Temp Group Menu";
        };
    };
    class player_group_requests
    {
        condition = "dyna_isPlayer && !(Epoch_invited_GroupUIDs isEqualTo[])";
        action = "call EPOCH_Inventory_iGroup;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_requests_ca.paa";
        tooltip = "Group Requests";
    };
    class player_tempGroup_requests
    {
        condition = "dyna_isPlayer && !(Epoch_invited_tempGroupUIDs isEqualTo[])";
        action = "call EPOCH_Inventory_itempGroup;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_requests_ca.paa";
        tooltip = "Temp Group Requests";
    };

    // Working defibrillator

    class player_revive
    {
        condition = "dyna_isDeadPlayer && isplayer dyna_cursorTarget";
        action = "dyna_cursorTarget call EPOCH_DefibrillatorUse;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Revive.paa";
        tooltipcode = "format ['Revive %1',name dyna_cursorTarget]";
    };

    class BaseCam
    {
        condition = "dyna_cursorTargetType isEqualTo 'BaseCamTerminal_EPOCH'";
        action = "call Epoch_CamUse;";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\Camera.paa";
        tooltip = "Watch BaseCam";
    };

    class Deploy_pack
    {
        condition = "(dyna_cursorTarget iskindof 'MBK_01_EPOCH') && ((crew dyna_cursorTarget) isEqualTo [])";
        action = "Deploy_PackVehicle = [player,dyna_cursorTarget]; publicVariableServer 'Deploy_PackVehicle';";
        icon = "x\addons\a3_epoch_code\Data\UI\buttons\repair.paa";
        tooltip = "Pack Vehicle";
    };
     

    im using infastar dont know if that would stop it ?

    why you included it in another codes?
    it must be out of the brackets. I said, it's at bottom.

     (In this case, you'll see the deploy command in the menu of something about radiation, which appear when you have ItemGeigerCounter_EPOCH.)

     

  13. 20 hours ago, JakeQue said:

    @juandayz

    The server seems to delete the deployables like CCTV cameras and staticss on restart, any ideas? I've followed ALL steps.

     

    Also, players can purchase statics and it doesn't remove the items from their inventory. 

    because it's for 1.0.6.1. The server don't save the object spawned by scripts for 1.0.6.1.
    you need to edit somewhere of something in workshop*.rar to adpt new format.

    I think you can see some logs in *.rpt (though it's not the format of common errors, instead, it appears in the style of a log)

  14. 2 hours ago, megaz said:

    Hi Schalldampfer, I installed this as per instructions but i don't see a deploy menu when i push space bar does the player need anything in inventory to spawn the bike ?

    thanks

    MegaZ

    no. I think you failed to edit epoch_config\Configs\CfgActionMenu\CfgActionMenu_self.hpp .

  15. Quote

    UPDATE `Object_DATA`
    SET `Object_DATA`.`CharacterID` = 0
    WHERE
    `Object_DATA`.`CharacterID` <> 0
    AND `Object_DATA`.`CharacterID` <= 12500
    AND `Object_DATA`.`Classname` NOT LIKE 'Tent%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Locked'
    AND `Object_DATA`.`Classname` NOT LIKE 'ASC\_%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Land\_%'
    AND `Object_DATA`.`Classname` NOT LIKE 'MAP\_%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'
    AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'
    AND `Object_DATA`.`Classname` NOT LIKE '%Storage%'
    AND `Object_DATA`.`Classname` NOT IN ('OutHouse_DZ', 'GunRack_DZ', 'WorkBench_DZ', 'Sandbag1_DZ', 'FireBarrel_DZ', 'DesertCamoNet_DZ', 'StickFence_DZ', 'LightPole_DZ', 'DeerStand_DZ', 'ForestLargeCamoNet_DZ', 'DesertLargeCamoNet_DZ', 'Plastic_Pole_EP1_DZ', 'Hedgehog_DZ', 'FuelPump_DZ', 'Fort_RazorWire', 'SandNest_DZ', 'ForestCamoNet_DZ', 'Fence_corrugated_DZ', 'CanvasHut_DZ', 'Generator_DZ', 'BagFenceRound_DZ')
    AND FindVehicleKeysCount(Object_DATA.CharacterID) = 0

     

×
×
  • Create New...