Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Stop vehicle siren on destruction\n" }, { "from": "human", "value": "// ******************************************************************************************\n// * This project is licensed under the GNU Affero GPL v3. Copyright © 2017 A3Wasteland.com *\n// ****...
sqf
chosen
[ { "from": "system", "value": "Change max view distance to 4000m for dogfights.\n" }, { "from": "human", "value": "/*\n\tFile: fn_openTAWVD.sqf\n\tAuthor: Bryan \"Tonic\" Boardwine\n\t\n\tDescription:\n\tCalled via addAction and opens the TAW View Distance Menu\n*/\nif(!createDialog \"TAW_VD\") e...
sqf
chosen
[ { "from": "system", "value": "Fix spelling mistake permissable -> permissible\n" }, { "from": "human", "value": "params [\"_role\", \"_vehicle\"];\n\nprivate _doEject = false;\nprivate _blacklistedRoles = [\"driver\", \"gunner\", \"commander\"];\nprivate _permissableVehicles = [[\"Tank\", 1, \"S...
sqf
chosen
[ { "from": "system", "value": "Add singleplayer variables to avoid errors\n" }, { "from": "human", "value": "gpsSetting = paramsArray select 0;\nstartingTime = paramsArray select 1;\ndetectionRadius = paramsArray select 2;\ndetectionRadiusVehicle = paramsArray select 3;\nrequiredObjectives = pa...
sqf
chosen
[ { "from": "system", "value": "Set UAV control to group.\n" }, { "from": "human", "value": "uav_control_permission = \"owner\"; // Scope for who is able to access the UAV controls (\"owner\", \"group\", \"side\")" }, { "from": "gpt", "value": "uav_control_permission = \"group\"; // Sc...
sqf
chosen
[ { "from": "system", "value": "Set build_confirmed to 0 default\n\nShould fix arsenal menu not showing up" }, { "from": "human", "value": "enableSaving [ false, false ];\n\n[] call compileFinal preprocessFileLineNumbers \"scripts\\shared\\liberation_functions.sqf\";\n[] call compileFinal preproce...
sqf
chosen
[ { "from": "system", "value": "Remove cookoff script init code\n" }, { "from": "human", "value": "/*\n\tAuthor: Will Hart\n\n\tDescription:\n\t Shows all vehicles synchronised to a given respawn module\n\n\tParameter(s):\n\t _this: OBJECT, a module to use for respawning\n\t\n\tExample:\n\t my_...
sqf
chosen
[ { "from": "system", "value": "Fix redeploy menu not appearing\n" }, { "from": "human", "value": "private [ \"_dialog\" ];\n\nif ( isNil \"cinematic_camera_started\" ) then { cinematic_camera_started = false };\nsleep 0.5;\nwaitUntil { time > 0 };\n\n[] spawn cinematic_camera;\n\nif ( GRLIB_intro...
sqf
chosen
[ { "from": "system", "value": "Set weapon sway down and set allowSprint true\n" }, { "from": "human", "value": "// ******************************************************************************************\n// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.co...
sqf
chosen
[ { "from": "system", "value": "Add more explanation to the copy maplist tool\n" }, { "from": "human", "value": "// Author: comfy\n// Description:\n// Small script to copy the list of maps from all the addons that are currently mounted.\n\n///////// COPY FROM BELOW HERE\n\nprivate _worldlist = [];...
sqf
chosen
[ { "from": "system", "value": "Load default config on HC as well\n" }, { "from": "human", "value": "if (hasInterface) exitWith {};\ndiag_log \"hLoad.sqf loading ...\";\n\nexternalConfigFolder = \"\\A3Wasteland_settings\";\ncall compile preprocessFileLineNumbers (externalConfigFolder + \"\\main_co...
sqf
chosen
[ { "from": "system", "value": "Refactor the UAV control addon from @IvanMMM\n\nAlso, add a layer of permissions.\n\nowner - Only the UAV owner can connect\ngroup - Only members of the UAV owner's group can connect\nside - All members of the same team as the UAV owner can connect\n\nConflicts:\n\taddons/UAV_C...
sqf
chosen
[ { "from": "system", "value": "Fix for player bodies appearing if they connect and get kicked as opfor\n" }, { "from": "human", "value": "call compile preProcessFileLineNumbers \"initVariables.sqf\";\n\nobjectivesFinished = 0;\nextractionAvailable = false;\nextractionFinished = false;\ncurrentObj...
sqf
chosen
[ { "from": "system", "value": "Stop mission if everyone's dead/quit\n" }, { "from": "human", "value": "private [\"_run\"];\n_run = true;\n\ninitialOpfor = { isPlayer _x && side group _x == east } count allUnits;\ninitialBlufor = { isPlayer _x && side group _x == west } count allUnits;\n\npublicVa...
sqf
chosen
[ { "from": "system", "value": "Allow missions to disable marker deletion reporting \n\n" }, { "from": "human", "value": "#include \"script_component.hpp\"\nparams [\"_marker\", \"_local\"];\nif (!_local || {\n !isMultiplayer || {\n (\"ACE_BFT_\" in _marker) || {\n (getPlayerUID player) i...
sqf
chosen
[ { "from": "system", "value": "Switch to [] spawn from execVM\n" }, { "from": "human", "value": "/*\n\tWolfe Edits get init'd here!\n*/\n\n//[] execVM \"init_TFAR.sqf\"; //TFAR Init\n\n[] execVM \"init_ACE_Spray.sqf\"; //Ace3 Custom Sprays Init\n" }, { "from": "gpt", "value": "/*\n\tW...
sqf
chosen
[ { "from": "system", "value": "Fix a bug with stamina relaxation setting last_fatigue to a value before relaxation\n" }, { "from": "human", "value": "private [\"_lastFatigue\"];\n_lastFatigue = 0;\nwhile{true} do\n{\n private [\"_multiplier\"];\n _multiplier = 0.35;\n if(side player != w...
sqf
chosen
[ { "from": "system", "value": "Remove Heli Wreck on respawn (Hopefully)\n" }, { "from": "human", "value": "waitUntil { !isNil \"GRLIB_all_fobs\" };\nwaitUntil { !isNil \"save_is_loaded\" };\n\nfirstloop = true;\nHELO_TRANSPORT = objNull;\n_savedhuron = objNull;\n\nwhile { true } do {\n\n\t{\n\t\t...
sqf
chosen
[ { "from": "system", "value": "Fix weapon sway & sprinting fatigue\n" }, { "from": "human", "value": "// ******************************************************************************************\n// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *\n// **...
sqf
chosen
[ { "from": "system", "value": "Remove setDir as it's in CBA now" }, { "from": "human", "value": "#include \"script_component.hpp\"\n\nADDON = false;\n\n#include \"XEH_PREP.hpp\"\n\nADDON = true;\n\n// Fix setdir\n// TODO: remove when added to ace or cba\n[\"ModuleCurator_F\", \"init\", {\n par...
sqf
chosen
[ { "from": "system", "value": "Hide covers on 10T GM Trucks\n\n" }, { "from": "human", "value": "/* - Specific object init codes depending on classnames.\nFormat = [Array of classnames as strings, Code to apply]\n_this is the reference to the object with the classname */\n\nKPLIB_objectInits = [\...
sqf
chosen
[ { "from": "system", "value": "Remove all items from neutral vehicles\n" }, { "from": "human", "value": "params [\"_unit\"];\n\nif(call Mh_fnc_isDebug) then {\n\t_unit addEventHandler [\"HandleDamage\", {\n\t\tprivate _v = _this select 0;\n\t\tif (!alive _v) then {\n\t\t\tprivate _markerId = floo...
sqf
chosen
[ { "from": "system", "value": "Move mission announcement a little up\n" }, { "from": "human", "value": "// ******************************************************************************************\n// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *\n// ...
sqf
chosen
[ { "from": "system", "value": "CQB: Use new \"param\" calls, add null guard\n" }, { "from": "human", "value": "private [\"_logic\", \"_activated\", \"_bases\", \"_areas\", \"_settings\", \"_spawns\"];\n\n_logic = [_this, 0, objNull, [objNull]] call BIS_fnc_param;\n_activated = [_this, 2, true...
sqf
chosen
[ { "from": "system", "value": "Build single function for getting the respawn position\n" }, { "from": "human", "value": "/*\n\tAuthor: Will Hart, based on Shuko's shkPos\n\n\tDescription:\n\t Selects a random position within the objective\n\n\tParameter(s):\n\t _this select 0: OBJECITVE, the o...
sqf
chosen
[ { "from": "system", "value": "Remove setViewDistance setting. ACE Takes care of this\n" }, { "from": "human", "value": "setViewDistance 2000;\n\n\n// ACE Interation Root\n_FPC_Interact_Root = ['FPC_INTERACTION_ROOT','Liberation','',{},{true}] call ace_interact_menu_fnc_createAction;\n[ACE_player...
sqf
chosen
[ { "from": "system", "value": "Add missing parameter to getUnitName function\n" }, { "from": "human", "value": "// Check if unit name is already known by ACE mod\nprivate _name = _unit getVariable [\"ACE_Name\", \"\"];\n\nif (_name != \"\") exitWith { _name };\n\n// Update name if unit is alive\n...
sqf
chosen
[ { "from": "system", "value": "Add a debug marker on the map for each neutral vehicle destroyed\n" }, { "from": "human", "value": "params [\"_unit\"];\n\nif(call Mh_fnc_isDebug) then {\n\t_unit addEventHandler [\"HandleDamage\", {\n\t\tprivate _v = _this select 0;\n\t\tif (!alive _v) then {\n\t\t...
sqf
chosen
[ { "from": "system", "value": "Remove spawn from track projectile\n" }, { "from": "human", "value": "params [\"_projectile\", \"_side\"];\n\nprivate _id = format [\"%1\", _projectile];\nprivate _position = getPosASL _projectile;\nprivate _dir = direction _projectile;\n\nprivate _simulation = getT...
sqf
chosen
[ { "from": "system", "value": "Increase time for readiness increase a little bit\n" }, { "from": "human", "value": "waitUntil { !isNil \"blufor_sectors\" };\nwaitUntil { !isNil \"combat_readiness\" };\nwaitUntil { !isNil \"sectors_bigtown\" };\nwaitUntil { !isNil \"active_sectors\" };\n\nwhile { ...
sqf
chosen
[ { "from": "system", "value": "Add ACE Max Carry and Drag Weight adjust for lifting filled ammoboxes\n" }, { "from": "human", "value": "build_confirmed = 0;\nenableSaving [ false, false ];\n\n[] call compileFinal preprocessFileLineNumbers \"scripts\\shared\\liberation_functions.sqf\";\n[] call co...
sqf
chosen
[ { "from": "system", "value": "Refactor the UAV control addon from @IvanMMM\n\nAlso, add a layer of permissions.\n\nowner - Only the UAV owner can connect\ngroup - Only members of the UAV owner's group can connect\nside - All members of the same team as the UAV owner can connect\n\nConflicts:\n\taddons/UAV_C...
sqf
chosen
[ { "from": "system", "value": "Change to at least 10 players before team balanced. Saw 6+ blufor players only, today on Chernarus\n" }, { "from": "human", "value": "// Teambalancer\n_uid = getPlayerUID player;\n_teamBal = [\"A3W_teamBalance\", 0] call getPublicVar;\nif (playerSide in [BLUFOR,OPFO...
sqf
chosen
[ { "from": "system", "value": "Return error text on extension test\n\n" }, { "from": "human", "value": "/*\n *\tFile: fn_extensionTest.sqf\n *\tAuthor: Adanteh\n *\tTests if the pythia extension works as expected\n */\n\nprivate _result = [\"Pythia.test\"] call py3_fnc_callExtension;\nif (_result...
sqf
chosen
[ { "from": "system", "value": "Use nonblocking spawn for clearVehicle call\n" }, { "from": "human", "value": "params [\"_object\"];\r\nif (!local _object) exitWith {false};\r\n\r\n_object call FP_fnc_clearVehicle;\r\n_object allowDamage false;\r\n\r\n// Add ACE Actions to the Box.\r\n_action_arse...
sqf
chosen
[ { "from": "system", "value": "Fix for double spawn on HC.\n" }, { "from": "human", "value": "#include \"admiral_macros.h\"\n\n#include \"\\userconfig\\admiral\\log\\postinit.h\"\n#include \"logbook.h\"\n\n\n[] call adm_fnc_compile;\n\n[] call adm_settings_fnc_init; DEBUG(\"admiral.settings\",\"I...
sqf
chosen
[ { "from": "system", "value": "[DEP] Fix for PDB and DEP compatibility with GUER\n" }, { "from": "human", "value": "\t\t// Function to convert group into appropriate format to spawn group\n private [\"_grptemp\",\"_var\"];\n _var = _this select 0;\n\t\tif ((_var select 0) == \"resis...
sqf
chosen
[ { "from": "system", "value": "Add tentative fix for teamkillers\n\nWhen banned from BluFor and OpFor you couldn't play as Independent\neither. This was because Independent now locks too. This commit removes\nthe current teamlock and locks the player to Independent.\n" }, { "from": "human", "valu...
sqf
chosen
[ { "from": "system", "value": "Allow Teleport for High Admin\n" }, { "from": "human", "value": "// ******************************************************************************************\n// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *\n// ********...
sqf
chosen
[ { "from": "system", "value": "Make getPlayer function also check for multiple players found, restore same functionality as old function\n" }, { "from": "human", "value": "#include \"script_component.hpp\"\n/*\n Function: fpa_common_fnc_getPlayer\n\n API:\n Any\n\n Description:\n ...
sqf
chosen
[ { "from": "system", "value": "Add Common items to default spawn\n" }, { "from": "human", "value": "ACE_player setUnitLoadout (ACE_player getVariable [\"Saved_Loadout\",[]]);\n\nif (firstload) then {\n removeAllWeapons ACE_player;\n removeAllItems ACE_player;\n removeAllAssignedItems ACE_playe...
sqf
chosen
[ { "from": "human", "value": "Fix accidental removal 2. Mission function\n" }, { "from": "gpt", "value": "// ******************************************************************************************\n// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *\n/...
sqf
chosen
[ { "from": "human", "value": "Revert \"Revert \"Added High Value Drugrunner\"\"\n\nThis reverts commit 10e74af9f2b14434b20ffe5c9ece53acf9ae5ee3.\n" }, { "from": "gpt", "value": "//\t@file Version: 1.0\n//\t@file Name: HvD.sqf\n//\t@file Author: Based on HvT.sqf by Cael817, CRE4MPIE. Rewrite by Lo...
sqf
chosen
README.md exists but content is empty.
Downloads last month
7