-
Content Count
29 -
Joined
-
Last visited
-
Medals
Community Reputation
4 NeutralAbout mallinga
-
Rank
Private First Class
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Since update 2.18 when I start the game the servers in the game server browser are loading and showing. But when I refresh the list more than 2x it is gone, no matter what list I refresh (Internet, Official, Recent). It is finding 0 servers and it will not come back until I restart the game. However in the Arma launcher the servers are showing and the list can be refreshed normally. My firewall is set the same way as always, didnt change a thing. Ports are forwarded on router. game is working fine except this issue with the server list. What I already tried: - deleting cache files in AppData folder (server list and other chache files) - veryfied game files - switched to dev branch and back no luck so far. Any Ideas?
-
Disable the display of "Kill and Death" (Key "P")
mallinga replied to snakeplissken's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi guys, I want to add a mission parameter option for players: "disable or enable score table" I came up with this: description.ext: class Params { class ScoreTable { title = "Score Table"; values[] = {0, 1}; texts[] = {"Disabled", "Enabled"}; default = 1; file = "params\setScoreTable.sqf"; }; }; setScoreTable.sqf: if (isServer) then { _scoreTable = param [0,1,[999]]; if (_scoreTable == 0) then {missionNamespace setVariable ["BIS_scoreTable",0];}; if (_scoreTable == 1) then {}; }; init.sqf and onPlayerRespawn.sqf: if (hasInterface) then { sleep 0.5; if (missionNamespace getVariable "BIS_scoreTable" == 0) then {showScoretable 0}; }; It works when mission is hosted localy, but NOT on dedicated server. WHY?? Any solution for dedi?- 13 replies
-
- Disable K/D
- K/D
-
(and 1 more)
Tagged with:
-
Arma 3 STABLE Server 2.18 "profiling / performance binary" feedback
mallinga replied to Dwarden's topic in ARMA 3 - SERVERS & ADMINISTRATION
Thank you, Sir, for all your hard work!! Can't be appreciated enough that 9 years after release you guys still work on improving the game, making our experience a better one! Thank you!! -
Finally got Artillery working right!
mallinga replied to leecarter's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello leecarter, although it's kind of late, but I found your arty script here and modified it to prevent AI from shelling nearby friendlies (of AI side): // Artillery Fire Mission script - fires at targets in trigger area - by leecarter (modified by mallinga) // example: // _null = [arty1, thislist] execVM "Scripts\fireMission.sqf"; _FireMission = _this select 0; _targetArray = _this select 1; _target = _targetArray select 0; _theAmmo = getArtilleryAmmo [_FireMission] select 0; _idx = 0; //-- prevents friendly fire - "SoldierEB" = east, "SoldierWB" = west, "SoldierGB" = resistance while {(_idx < 10)} do { _friendlyUnitsAlive = {alive _x} count ((_target nearObjects ["SoldierEB", 50]) + (_target nearObjects ["SoldierGB", 50])); //-- prevents firing at aircraft if (isTouchingGround _target && _friendlyUnitsAlive == 0) then { //-- The number of times you want artillery to check for range while {(_idx < 10)} do { _tgtPos = position _target; _isInRange = _tgtPos inRangeOfArtillery [[_FireMission], _theAmmo ]; if (_isInRange) then { _FireMission commandArtilleryFire [_tgtPos, _theAmmo , 1 ]; }; sleep 5; _idx = _idx + 1; }; }; sleep 5; }; now, if you enter the trigger area, it will start or stop fire in a 50m radius around target until condition (times of adjusting, here: 10) is met. cheers -
Waypoint type "HOOK" not working.
mallinga replied to Fiddi's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I know its kind of late to answer this, but after almost exploding my head trying to get a decent sling loading script for AI, I know the solution to this problem: Using a helo placed in editor this works fine, but when using a script and spawning the crew with "createVehicleCrew" some waypoints are broken for helicopters. Use "spawnGroup" instead: _myHelo = createVehicle ["B_Heli_Transport_03_unarmed_F", getPos _HQ_dropOff, [], 0, "FLY"]; _myHeloGroup = [[0,0,0], west, ["B_helipilot_F", "B_helipilot_F"]] call BIS_fnc_spawnGroup; {_x moveInAny _myHelo} forEach (units _myHeloGroup ); your example: _huron1 = createVehicle ["B_Heli_Transport_03_unarmed_F", getPos _HQ_dropOff, [], 0, "FLY"]; _huron1Group = [[0,0,0], west, ["B_helipilot_F", "B_helipilot_F"]] call BIS_fnc_spawnGroup; {_x moveInAny _huron1 } forEach (units _huron1Group ); sleep 0.1; _huron1_WP1 = _huron1Group addWaypoint [_box, 0]; _huron1_WP1 waypointAttachObject _box; _huron1_WP1 setWaypointType "Hook"; // if you want a drop off wp: _huron1_WP2 = _huron1Group addWaypoint [_destination, 0]; _huron1_WP2 setWaypointType "Unhook"; -
mallinga changed their profile photo
-
Community Texture Templates.
mallinga replied to slatts's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Hi guys, I am currently retexturing AAF for a Winter faction and I stumbled apon a minor texture problem using hiddenSelectionsTextures with the GA Carrier Lite (Digital) / V_PlateCarrierIA1_dgtl. The Handle at the back of the vest stays original (green). Strangely enough the handle is white like intended with the second AAF Plate Carrier Model, GA Carrier (Digital) / V_PlateCarrierIA2_dgtl. Is there maybe another hiddenSelection like e.g. for the sniper ghillie (camo3/camo4)?? Or do I have to live with a green Handle on my white vest? 🙂 picture -
Problem with Inheritance (Loadmaster of Taru)
mallinga replied to Moon_chilD's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi, I recently had the same difficulties. Just sharing my solution for the Taru Bench, where you have to inherit the cargo turrets, too. For all the other Tarus you just need to declare Copilot and Loadmaster turret. -
Replacing gunnerType Attribute in Inherited Heli Config
mallinga replied to IndeedPete's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I figured it out. For a Taru (Bench) (O_Heli_Transport_04_bench_F) You have to declare and inherit the cargo turrets, too. -
Replacing gunnerType Attribute in Inherited Heli Config
mallinga replied to IndeedPete's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Well, there is somehow a problem with the taru version of this. For some reason it cant be loaded with troops anymore. I cant figure out what I did wrong.... I even extracted the configs and compared them.... they are basically identical (except minor stuff like soldier classes and author ect). What am I doing wrong? -
Replacing gunnerType Attribute in Inherited Heli Config
mallinga replied to IndeedPete's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I see my problem now. Thank you so much!! -
Replacing gunnerType Attribute in Inherited Heli Config
mallinga replied to IndeedPete's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hello IndeedPete, I know its 5 years...you probably came across a solution? I have the exact same problem right now... :( -
need help with dragging script
mallinga replied to mallinga's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey beno, After playing a whole mission, we came across following issues (which I tried to solve without luck): - The action menu is activating from far away (50meters) so players could start dragging from up to 50 meters away. The injured is then teleported to the player. I see there is a 1.5 m radius set in the code but changing this doesnt have any effect. - if dragger is incapacitated, the two bodies are still attached to each other, so the two bodies can be dragged at the same time, and this is stackable: if the dragger of the two is incapacitated the three bodies can be dragged and so on. -
need help with dragging script
mallinga replied to mallinga's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Summary: create folder: dragging Place following files in dragging folder: dragging.sqf: // Dragging Wounded Script by beno_83au // Place all dragging files in a folder called "dragging" // Add this line to init.sqf + onPlayerRespawn.sqf: _dragOption = playableUnits execVM "dragging\dragging.sqf"; player setVariable ["MIL_playerIsDragging",[false,objNull]]; _idDrag = player addAction [ "<t color='#C6E32E'>Drag unconscious player</t>", { private _casualty = cursorObject; player setVariable ["MIL_playerIsDragging",[true,_casualty]]; player setVariable ["#rev_enabled",false]; nul = [_casualty] execVM "dragging\dragUnconscious.sqf"; }, nil, 10, true, false, "", "(lifeState cursorObject == 'INCAPACITATED') && ('unconsciousrevivedefault' in (animationState cursorObject)) && (lifeState _this != 'INCAPACITATED') && !((_this getVariable ['MIL_playerIsDragging',[false,objNull]]) select 0)", 1.5 ]; _idDrop = player addAction [ "<t color='#C6E32E'>Drop unconscious player</t>", { private _casualty = (player getVariable "MIL_playerIsDragging") select 1; private _drop = [_casualty] execVM "dragging\dropUnconscious.sqf"; waitUntil {scriptDone _drop}; player setVariable ["MIL_playerIsDragging",[false,objNull]]; player setVariable ["#rev_enabled",true]; }, nil, 10, true, false, "", "(lifeState _this != 'INCAPACITATED') && ((_this getVariable ['MIL_playerIsDragging',[false,objNull]]) select 0)", 1.5 ]; dragUnconscious.sqf: params ["_casualty"]; private _currentWeapon = currentWeapon player; private _workAround = [false,[]]; switch true do { case (_currentWeapon == ""): {}; case (_currentWeapon == primaryWeapon player): {}; case (_currentWeapon == secondaryWeapon player): { if ((primaryWeapon player) == "") then { private _weapon = handgunWeapon player; _currentWeapon = _weapon; player selectWeapon _weapon; waitUntil {([animationState player,16,19] call BIS_fnc_trimString) == "wpst"}; } else { _currentWeapon = primaryWeapon player; }; }; case (_currentWeapon == handgunWeapon player): { if ((primaryWeapon player) != "") then { private _primaryWeapon = primaryWeapon player; private _magazinesAmmoFull = (magazinesAmmoFull player) select {(_x select 3) == 1}; private _primaryWeaponMagazine = []; { _primaryWeaponMagazine pushBack [_x select 0,_x select 1]; } forEach _magazinesAmmoFull; private _primaryWeaponItems = primaryWeaponItems player; player removeWeapon _primaryWeapon; _workAroundHolder = "Weapon_Empty" createVehicle [0,0,0]; _workAroundHolder setPos (getPos player); _workAroundHolder addWeaponWithAttachmentsCargoGlobal [[_primaryWeapon,_primaryWeaponItems select 0,_primaryWeaponItems select 1,_primaryWeaponItems select 2,[(_primaryWeaponMagazine select 0) select 0,1],[],_primaryWeaponItems select 3],1]; _workAroundHolder attachTo [player,[0,-0.2,0],"rightshoulder"]; _workAroundHolder setDir 290; _workAroundHolder setVectorUp [0,-1,0.9]; _workAroundHolder setDamage 1; _workAround = [true,[_primaryWeapon,_primaryWeaponItems,_primaryWeaponMagazine],_workAroundHolder]; }; }; }; nul = [_workAround,_currentWeapon] execVM "dragging\restrictions.sqf"; [_casualty,"AinjPpneMrunSnonWnonDb_grab"] remoteExec ["switchMove",0]; player playActionNow "grabDrag"; _casualty attachTo [player,[0.1,0.9,-0.02]]; [_casualty,180] remoteExec ["setDir",_casualty]; nul = [_casualty] spawn { params ["_casualty"]; waitUntil { sleep 0.1; ( !alive player || !alive _casualty || !((player getVariable "MIL_playerIsDragging") select 0) ) }; if (!alive player || !alive _casualty) then { [_casualty,"AinjPpneMstpSnonWrflDb_release"] remoteExec ["switchMove",0]; detach _casualty; player playActionNow "released"; player setVariable ["MIL_playerIsDragging",[false,objNull]]; }; }; dropUnconscious.sqf: params ["_casualty"]; [_casualty,"AinjPpneMstpSnonWrflDb_release"] remoteExec ["switchMove",0]; player playActionNow "released"; detach _casualty; restrictions.sqf: params ["_workAround","_currentWeapon"]; private _ehIndex = player addEventHandler ["Fired",{ params ["_unit","_weapon","","","","_magazine","_projectile"]; if (({_weapon == _x} count ["Put","Throw"]) > 0) then { deleteVehicle _projectile; _unit addMagazine _magazine; }; }]; private _weaponEH = [ format["%1_weaponEH",player], "onEachFrame", { params ["_currentWeapon"]; if (currentWeapon player != _currentWeapon) then { player selectWeapon _currentWeapon; }; }, [_currentWeapon] ] call BIS_fnc_addStackedEventHandler; waitUntil {!((player getVariable "MIL_playerIsDragging") select 0)}; [_weaponEH,"onEachFrame"] call BIS_fnc_removeStackedEventHandler; player removeEventHandler ["Fired",_ehIndex]; if (_workAround select 0) then { waitUntil {animationState player != "acinpknlmstpsnonwpstdnon_amovpknlmstpsraswpstdnon"}; _workAround params ["","_weaponData","_workAroundHolder"]; _weaponData params ["_primaryWeapon","_primaryWeaponItems","_primaryWeaponMagazine"]; deleteVehicle _workAroundHolder; player addWeapon _primaryWeapon; { player addWeaponItem [_primaryWeapon,_x,true]; } forEach _primaryWeaponItems; private _grabbedMags = (magazinesAmmoFull player) select {(_x select 2) && ((_x select 3) == 1)}; if (count (getArray (configFile >> "CfgWeapons" >> _primaryWeapon >> "muzzles")) == 1) then { if (count _grabbedMags > 0) then { player addMagazine [(_grabbedMags select 0) select 0,(_grabbedMags select 0) select 1]; }; if (count _primaryWeaponMagazine > 0) then { player setAmmo [_primaryWeapon,(_primaryWeaponMagazine select 0) select 1]; } else { player setAmmo [_primaryWeapon,0]; }; } else { if (count _primaryWeaponMagazine == 1) then { private _check = _primaryWeaponMagazine; { if (((_check select 0) select 0) != (_x select 0)) then { _primaryWeaponMagazine = [_primaryWeaponMagazine,[["",0]],_forEachIndex] call BIS_fnc_arrayInsert; }; } forEach _grabbedMags; }; if (count _grabbedMags > 0) then { { player addMagazine [_x select 0,_x select 1]; player removePrimaryWeaponItem (_x select 0); } forEach _grabbedMags; }; if (count _primaryWeaponMagazine > 0) then { private _ehIndex = player addEventHandler ["Reloaded",{player setVariable ["MIL_Workaround_Reloaded",true]}]; player setVariable ["MIL_Workaround_Reloaded",false]; { private _mag = _x select 0; private _rounds = _x select 1; private _index = _forEachIndex; private _muzzle = [_primaryWeapon,(getArray (configFile >> "CfgWeapons" >> _primaryWeapon >> "muzzles")) select 1] select (_index > 0); if (_rounds > 0) then { player addMagazine [_mag,_rounds]; }; { private _exit = false; if (((_x select 0) == _mag) && ((_x select 1) == _rounds)) then { _id = parseNumber ((((magazinesDetail player) select _forEachIndex) splitstring "[:/]") select 4); _cr = parseNumber ((((magazinesDetail player) select _forEachIndex) splitstring "[:/]") select 5); player action ["loadMagazine",player,objNull,_cr,_id,primaryWeapon player,_muzzle]; waitUntil {player getVariable "MIL_Workaround_Reloaded"}; player setVariable ["MIL_Workaround_Reloaded",false]; _exit = true; }; if (_exit) exitWith {}; } forEach (magazinesAmmo player); } forEach _primaryWeaponMagazine; player removeEventHandler ["Reloaded",_ehIndex]; }; }; }; Then add this line to init.sqf + onPlayerRespawn.sqf: _dragOption = playableUnits execVM "dragging\dragging.sqf"; -
need help with dragging script
mallinga replied to mallinga's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks alot beno, much appreciated! I'll add a comment that you are the author, if thats ok for you. -
need help with dragging script
mallinga replied to mallinga's topic in ARMA 3 - MISSION EDITING & SCRIPTING
What i mean is right now, if you drag a wounded player you can at the same time revive him while attached to you, so if he is revived he is still attached to you and he cant move but he can shoot his gun and you can walk around with him attached to you, he is in your "custody" until you release his body. So if you put in the code that the wounded is detached as soon as he is revived would be great.