Jump to content

Salutesh

Member
  • Content Count

    47
  • Joined

  • Last visited

  • Medals

Community Reputation

16 Good

1 Follower

About Salutesh

  • Rank
    Lance Corporal

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I am currently still working on something like this for my Exile Mod Server, take a look at this video: Its still not ready for a realase but maybe i will share it to the forums if i am done with this.
  2. Default path is: \a3\ui_f\data\IGUI\Cfg\holdactions\ But you can create your own once, Use this files to create a configuration for them: CfgHoldactions.cpp /** * CfgHoldActions * * Author: Steve aka Salutesh * * Description: * These configurations are used for the ExileClient_gui_holdActionAdd function within the scavange system to configure the icons. */ class CfgExileHoldActions { class Default { icon = "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa"; }; class Exile_HA_Icon_Apple { icon = "holdaction\holdAction_appletree_ca.paa"; }; class Exile_HA_Icon_Fruit { icon = "holdaction\holdAction_fruit_ca.paa"; }; class Exile_HA_Icon_Pumpkin { icon = "holdaction\holdAction_pumpkin_ca.paa"; }; class Exile_HA_Icon_Water { icon = "holdaction\holdAction_water_ca.paa"; }; class Exile_HA_Icon_Woodlogs { icon = "holdaction\holdAction_woodlogs_ca.paa"; }; class Exile_HA_Icon_Wreck { icon = "holdaction\holdAction_wreck_ca.paa"; }; }; Hold action creation function: params [["_object", player], ["_label", "Search"], ["_idleIcon", "default"], ["_progressIcon", "default"], ["_conditionShow", "nil"], ["_conditionAction", "nil"], ["_startCode", {}], ["_tickCode", {}], ["_completeCode", {}], ["_interruptCode", {}], ["_arguments",[],[[]]], ["_duration", 0.5], ["_priority", 0], ["_remove", true]]; private _holdAction = []; private _holdActionConfig = missionConfigFile >> "CfgHoldActions"; private _idleIconSelection = getText (_holdActionConfig >> _idleIcon >> "icon"); private _progressIconSelection = getText (_holdActionConfig >> _progressIcon >> "icon"); _holdAction = [_object, _label, _idleIconSelection, _progressIconSelection, _conditionShow, _conditionAction, _startCode, _tickCode, _completeCode, _interruptCode, _arguments, _duration, _priority, _remove, false] call BIS_fnc_holdActionAdd; _holdAction
  3. Hello Arma Community! I am stuck with a problem on a system that i am building up with some mates. The system allows the players to interact with any kind of map objects if there is a configuration entry for this model. https://github.com/salutesh/Exile_Scavenge My problem so far is that if a object is inside a building/house the action is not be displayed even if the object model is the cursorObject. For objects outside of buildings/houses is working just fine. The only way i can bring up the options is to remove the distance condition between object and player but in this way the player cant interact with objects from a very huge distance. This is my code for the action itself: private _holdActionID = 0; private _holdActionIDs = []; { private _textInfo = getText (_x >> "text"); private _actioniconInfo = getText (_x >> "icon"); private _idleiconInfo = getText (_x >> "icon"); private _modelInfo = getArray (_x >> "models"); private _itemInfo = getArray (_x >> "items"); private _objectsList = missionNamespace getVariable ["ExileClientSavengedObjects", []]; private _condition = format ["(((getModelInfo cursorObject) select 0) in %1 && {player distance2D cursorObject < 5} && !(cursorObject in (missionNamespace getVariable ['ExileClientSavengedObjects', []])) && (player getVariable ['CanScavenge', true]) && (vehicle player == player))", _modelInfo]; private _configClassName = configName _x; _holdActionID = [ player, _textInfo, _actioniconInfo, _idleiconInfo, _condition, "_caller distance _target < 5", {}, { private _progressTick = _this select 4; if (_progressTick % 2 == 0) exitwith {}; playsound3d [((getarray (configfile >> "CfgSounds" >> "Orange_Action_Wheel" >> "sound")) param [0,""]) + ".wss",player,false,getposasl player,1,0.9 + 0.2 * _progressTick / 24]; }, { _configClassName = (_this select 3) select 0; [_configClassName] call ExileExpansionClient_system_scavenge_action_conditionEvents; }, {}, [_configClassName], 0.5, 0, false ] call ExileExpansionClient_gui_holdActionAdd; _holdActionIDs pushBack _holdActionID; } forEach ("true" configClasses (missionConfigFile >> "CfgExileScavenge")); player setVariable ["ExileScavangeActionIDs", _holdActionIDs]; So far i tested distance and distance2D for the condition but its still only working for objects outside of buildigs. The action itself is a holdaction.
  4. Salutesh

    Enhanced Movement

    Hello! I wonder if there is a way to disable and enable the features of the EH Mod when i want it to. For example if the player is in radius to a special building/object then should not be able to climb or what ever. Is there a way?
  5. Salutesh

    FHQ TaskTracker

    Thank you for the fast reply! I will try i out now! Sure you can use that as example but i am not sure with the target part of each function, should the all target the server?
  6. Salutesh

    FHQ TaskTracker

    Hello @Varanon, first of all nice system you have build there! I have a question to task restrictions. Is there a way with the filters to restict tasks to special units for example for units in a special area: ([15425.1,18291.5,0] nearEntities ["Exile_Unit_Player", 20]); So only this units get the tasks and not every unit on the server. I try to use your system for a kind of quest system in the Arma 3 Exile Mod. And is this for you the right setup for CfgRemoteExec: class CfgRemoteExec { class Functions { mode = 2; jip = 0; class FHQ_fnc_ttifilterUnits { allowedTargets=2; }; class FHQ_fnc_ttiAddBriefingEntry { allowedTargets=2; }; class FHQ_fnc_ttiUpdateBriefingList { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskId { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskDesc { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskTitle { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskWp { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskTarget { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskState { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskName { allowedTargets=2; }; class FHQ_fnc_ttiGetTaskType { allowedTargets=2; }; class FHQ_fnc_ttiTaskExists { allowedTargets=2; }; class FHQ_fnc_ttiCreateOrUpdateTask { allowedTargets=2; }; class FHQ_fnc_ttiUpdateTaskList { allowedTargets=2; }; class FHQ_fnc_ttiMissionTasks { allowedTargets=2; }; class FHQ_fnc_ttiMissionBriefing { allowedTargets=2; }; class FHQ_fnc_ttiUnitTasks { allowedTargets=2; }; class FHQ_fnc_ttiUnitBriefing { allowedTargets=2; }; class FHQ_fnc_ttiIsFilter { allowedTargets=2; }; class FHQ_fnc_ttiIsTaskState { allowedTargets=2; }; class FHQ_fnc_ttTaskHint { allowedTargets=2; }; class FHQ_fnc_ttAddBriefing { allowedTargets=2; }; class FHQ_fnc_ttAddTasks { allowedTargets=2; }; class FHQ_fnc_ttGetTaskState { allowedTargets=2; }; class FHQ_fnc_ttSetTaskState { allowedTargets=2; }; class FHQ_fnc_ttIsTaskCompleted { allowedTargets=2; }; class FHQ_fnc_ttAreTasksCompleted { allowedTargets=2; }; class FHQ_fnc_ttIsTaskSuccessful { allowedTargets=2; }; class FHQ_fnc_ttAreTasksSuccessful { allowedTargets=2; }; class FHQ_fnc_ttGetAllTasksWithState { allowedTargets=2; }; class FHQ_fnc_ttSetTaskStateAndNext { allowedTargets=2; }; }; class Commands { mode=0; jip=0; }; };
  7. Salutesh

    X-Cam-Taunus Version 1.1

    Are these realy all buildigs classes? Nice work mate!
  8. Salutesh

    X-Cam-Taunus Version 1.1

    Do it by yourself or wait for someone to release them in the Exile Forums. There you will find much more discussions about this..
  9. Salutesh

    X-Cam-Taunus Version 1.1

    Are you working on building loot positions for Exile?
  10. Salutesh

    X-Cam-Taunus Version 1.1

    Glad you finaly released it! Love the map so much! Is it possible to host the map on a server? I installed all server keys but still cant connect to the Map: http://www.directupload.net/file/d/4581/rene6yr2_jpg.htm http://www.directupload.net/file/d/4581/dtaybb7h_jpg.htm I want to make a version for the Exile Mod of this Map :)
  11. Hello, i stuck with a problem with a Battleye Filter and my server keeps kicking with BE activated: 22.07.2016 12:10:19: Steven (95.91.251.87:26724) 7411a672f1f5dc3d31f6fa7d8e8787fb - #40 " false ] remoteExec ["bis_fnc_holdActionAdd", -2]; I added this to my script.txt on line exec: !"] remoteExec [\"bis_fnc_holdActionAdd\", -2];" remoteexec.txt !"bis_fnc_holdActionAdd" But i still get kicket with the same message. Did i miss something?!
  12. Thank you very much. Get home safely ^_^
  13. Still not working so far i am on that problem the hole day. My code now; private ["_vehicles"]; fnc_addHoldAction = { params ["_object"]; [ _object, // 0 object "Download Files", // 1 action title "\exile_assets\texture\marker\mission_hardcore_ca.paa", // 2 idle icon "\exile_assets\texture\marker\mission_hardcore_ca.paa", // 3 progress icon "true", // 4 condition to show "true", // 5 condition for action {["System", "File download started..."] call BIS_fnc_showSubtitle}, // 6 code executed on start {}, // 7 code executed per tick {["System", "File downoad complete!"] call BIS_fnc_showSubtitle; call RG_fnc_pcEvent;}, // 8 code executed on completion {["System", "Download failed! Please try again."] call BIS_fnc_showSubtitle}, // 9 code executed on interruption ["You are a hacker!"], // 10 arguments 5, // 11 action duration 0, // 12 priority false, // 13 remove on completion false // 14 show unconscious ] remoteExec ["bis_fnc_holdActionAdd", -2]; // Multiplayer (remoteExec is the new version of BIS_fnc_MP) params ["_object"]; }; _laptop = [ ["Land_Laptop_unfolded_F",[12064.168,2454.260,0.810],332.572,[0,0,1],true] ]; { _objectLaptop = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"]; _objectLaptop setDir (_x select 2); _objectLaptop setPos (_x select 1); _objectLaptop allowDamage false; _objectLaptop enableSimulationGlobal false; [_objectLaptop] call fnc_addHoldAction; } foreach _laptop; _vehicles = [ ["Land_CampingTable_F",[12063.847,2453.986,0],330.493,[0,0,1],true] ]; { private ["_objectVehicles"]; _objectVehicles = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"]; if (_x select 4) then { _objectVehicles setDir (_x select 2); _objectVehicles setPos (_x select 1); _objectVehicles allowDamage false; _objectVehicles enableSimulationGlobal false; } else { _objectVehicles setPosATL (_x select 1); _objectVehicles setVectorDirAndUp (_x select 3); _objectVehicles allowDamage false; _objectVehicles enableSimulationGlobal false; }; } foreach _vehicles; Here is also the PBO i am using: https://www.dropbox.com/s/a0ct93gbwxruohw/a3_rg.pbo?dl=0 I am very grateful for your help!
  14. Tryed that but i still get no option on my Laptop. I called the hole code from a server side pbo. Here is my code now: private ["_vehicles"]; fnc_addHoldAction = { [ _object, // 0 object "Download Files", // 1 action title "\exile_assets\texture\marker\mission_hardcore_ca.paa", // 2 idle icon "\exile_assets\texture\marker\mission_hardcore_ca.paa", // 3 progress icon "true", // 4 condition to show "true", // 5 condition for action {["System", "File download started..."] call BIS_fnc_showSubtitle}, // 6 code executed on start {}, // 7 code executed per tick {["System", "File downoad complete!"] call BIS_fnc_showSubtitle; call RG_fnc_pcEvent;}, // 8 code executed on completion {["System", "Download failed! Please try again."] call BIS_fnc_showSubtitle}, // 9 code executed on interruption ["You are a hacker!"], // 10 arguments 5, // 11 action duration 0, // 12 priority false, // 13 remove on completion false // 14 show unconscious ] remoteExec ["bis_fnc_holdActionAdd", -2]; // Multiplayer (remoteExec is the new version of BIS_fnc_MP) }; _laptop = [ ["Land_Laptop_unfolded_F",[12064.168,2454.260,0.810],332.572,[0,0,1],true] ]; { _objectLaptop = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"]; _objectLaptop setDir (_x select 2); _objectLaptop setPos (_x select 1); _objectLaptop allowDamage false; _objectLaptop enableSimulationGlobal false; [_objectLaptop] call fnc_addHoldAction; } foreach _laptop; _vehicles = [ ["Land_CampingTable_F",[12063.847,2453.986,0],330.493,[0,0,1],true] ]; { private ["_objectVehicles"]; _objectVehicles = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"]; if (_x select 4) then { _objectVehicles setDir (_x select 2); _objectVehicles setPos (_x select 1); _objectVehicles allowDamage false; _objectVehicles enableSimulationGlobal false; } else { _objectVehicles setPosATL (_x select 1); _objectVehicles setVectorDirAndUp (_x select 3); _objectVehicles allowDamage false; _objectVehicles enableSimulationGlobal false; }; } foreach _vehicles;
×