deadlyhabit
Member-
Content Count
48 -
Joined
-
Last visited
-
Medals
Community Reputation
2 NeutralAbout deadlyhabit
-
Rank
Lance Corporal
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Take On Video Settings! - Discuss
deadlyhabit replied to royaltyinexile's topic in TAKE ON HELICOPTERS - GENERAL
Normally I do keep it overclocked, but this summer been having cooling issues in general with a heatwave so had to roll it back to stock for the time being. I'm just not understanding where my performance hit is coming from settings wise as I've said my differences in ArmA from the rollback have been negligible FPS wise. It seems like no matter what settings I use I'm getting around 20 FPS average on the Benchmark. Edit: Overclocking did boost my FPS a bit, but not a whole lot. -
Take On Video Settings! - Discuss
deadlyhabit replied to royaltyinexile's topic in TAKE ON HELICOPTERS - GENERAL
Anyone have any suggestions for some tweaks so I can get at least 30fps average? I've tried following the guide and spent an hour or so trying to tweak to no avail. System Specs: i7 940 @ 2.93 Ghz 12 GB DDR3 1600 RAM 1 TB 7200RPM HD Radeon HD 5770 1GB video card I never had this much of an issue with the ArmA titles and managed to get them running in good FPS no problem. -
Play withSIX - Launcher, Downloader, ServerBrowser - FULL ARMA3 Alpha Support +more!
deadlyhabit replied to sickboy's topic in ARMA 3 - GENERAL
Is there a trick to getting SweetFX working when launching Arma 2:CO or Arma 3 using Play withSIX? When I launch through Steam it works no problem, but using Play withSIX SweetFX is disabled in 2 CO and 3. Also Play withSIX seemed to make my 3 Steam launch unusable due to a couple errors with shaders and such... -
Spawning AI in Namalsk bunker
deadlyhabit replied to Lynxgtr's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
If the bunker has positions in it like say a house you could use the buildingPos command like _soldier setPos (_house1 buildingPos 2) -
Problem placing soldiers in buildings
deadlyhabit posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
So I have a script that in theory should be working, but I'm having a few issues. First sometimes the units aren't spawning into building positions. Second sometimes by the time I get to the location the units are already dead. Third for some reason even though I have independents set to be friendly to OPFOR, they're not attacking my unit. I'm using invisible helipads for the Hostage1, Hostage2 etc positioning. Any advice or help would be greatly appreciated. ///////////////////////////////////////////////////////// // Randomize placement of a group within 7 spots // random.sqf ///////////////////////////////////////////////////////// if (! isServer) exitwith {}; // NOTE: in multiplayer, only server should create random numbers. // Create Group for units to be spawned into; must have group created BEFORE spawning units in. _SideHQ = createCenter resistance; _SideHQ1 = createCenter civilian; groupAlpha = createGroup resistance; groupHostage = createGroup civilian; // Pick Location /////////////////////////////////////////////////////////////////////// _posHostage = [Hostage1, Hostage2, Hostage3, Hostage4, Hostage5, Hostage6, Hostage7] call BIS_fnc_selectRandom; _extraction = getMarkerPos "Extraction"; _house = nearestBuilding _posHostage; _position = 0; HostageString = format ["%1",_posHostage]; //Generate Hostage H1 = groupHostage createUnit ["Rocker1", (_house buildingPos _position), [], 0, "NONE"]; removeAllWeapons H1; nul = [H1] execVM "Hostage_male.sqf"; //Generate Soldiers G1 = groupAlpha createUnit ["GUE_Soldier_3", (_house buildingPos (_position+1)), [], 0, "NONE"]; G1 setdir 360; G1 setSkill 1; G2 = groupAlpha createUnit ["GUE_Soldier_AR", (_house buildingPos (_position+2)), [], 0, "NONE"]; G2 setdir 360; G2 setSkill 1; G3 = groupAlpha createUnit ["GUE_Soldier_MG", (_house buildingPos (_position+3)), [], 0, "NONE"]; G3 setdir 360; G3 setSkill 1; G4 = groupAlpha createUnit ["GUE_Soldier_MG", (_house buildingPos (_position+4)), [], 0, "NONE"]; G4 setdir 360; G4 setSkill 1; G5 = groupAlpha createUnit ["GUE_Soldier_Medic", (_house buildingPos (_position+5)), [], 0, "NONE"]; G5 setdir 360; G5 setSkill 1; //Triggers //Victory _trgVic = createTrigger ["EmptyDetector" , getMarkerPos "Extraction"]; _trgVic setTriggerArea [50, 50, 0, false]; _trgVic setTriggerType "END1"; _trgVic setTriggerActivation ["ANY", "PRESENT", false]; _trgVic setTriggerTimeout [10, 10, 10, false ]; _trgVic setTriggerStatements ["H1 in thislist", "", ""]; //Loss _trgLoss = createTrigger["EmptyDetector", getPos H1]; _trgLoss setTriggerArea [0, 0, 0, false]; _trgLoss setTriggerType "LOOSE"; _trgLoss setTriggerActivation ["ANY", "PRESENT", false]; _trgLoss setTriggerTimeout [10, 10, 10, false ]; _trgLoss setTriggerStatements ["!(alive H1)", "", ""]; -
Add Night vision goggles
deadlyhabit replied to Drzaues's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this additem "NVGoggles";this assignitem "NVGoggles";this action["NVGoggles", this]; That gives you the goggles, assigns them to the slot, and starts you with them turned on. -
You might be editing too much if..
deadlyhabit replied to StrongHarm's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I wish I still had my dog, seeing her and her reaction when I came back from a year in Iraq... nothing beats a dogs unconditional love and trust. I agree, don't neglect your pets, because someday they won't be there. So to make this a bit more on topic for the board, who's gonna do what when the dog models get added (or imported from 2) into 3? -
Dynamic Guarded Hostage Rescue
deadlyhabit replied to deadlyhabit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Quick little revision to Hostage_male.sqf if you want the hostage to be in the surrender animation stance instead of sitting: // execute with in units initline. // _null = [this] execVM "Hostage_male.sqf" // hostage _CivnotRescued = true; _man = _this select 0; _man setcaptive true; _man disableAI "MOVE"; //_man action ["SITDOWN",_man]; _man switchMove "AmovPercMstpSsurWnonDnon"; _man disableAI "ANIM"; _hostageact1 = _man addaction ["Untie","Hostagevars.sqf"]; while {_CivnotRescued} do { if (not(captive _man)) then {_CivnotRescued = false}; if (not alive _man) exitwith {_man removeaction _hostageact1}; sleep 1; }; _man removeaction _hostageact1; if (alive _man) then { player attachto [_man,[0,-0.9,0]]; player setdir 0; player switchmove "AinvPknlMstpSnonWrflDnon_medic"; sleep 3; player switchmove "AinvPknlMstpSnonWrflDnon_medicEnd"; sleep 1; player switchmove ""; _man enableAI "ANIM"; _man switchmove "SitStandUp"; detach player; sleep 2; _man enableAI "MOVE"; // just put // before this if you dont want the unit to join your group [_man] joinsilent player; }; If you want to have the hostage sitting, just remove the comment bit on //_man action ["SITDOWN",_man]; and add it to _man switchMove "AmovPercMstpSsurWnonDnon"; -
Live Feed, someone to explain?
deadlyhabit replied to fortun's topic in ARMA 3 - MISSION EDITING & SCRIPTING
BIS_fnc_liveFeedModuleEffects /* Author: Thomas Ryan Description: Add effects to a live feed via a module. Parameters: _this: OBJECT - Live Feed - Effects module */ // They ran me on a dedicated server. I stopped their function. if (isDedicated) exitWith {true}; // Wait for a live feed to exist waitUntil {!(isNil "BIS_liveFeed")}; private ["_module"]; _module = [_this, 0, objNull, [objNull]] call BIS_fnc_param; // Apply defined effects private ["_mode"]; _mode = _module getVariable "EffectMode"; _mode call BIS_fnc_liveFeedEffects; true BIS_fnc_liveFeedInit /* Author: Thomas Ryan Description: Display a live feed via a module. Parameters: _this: OBJECT - Live Feed - Init module */ // Need not be run on dedicated servers if (isDedicated) exitWith {true}; private ["_module"]; _module = [_this, 0, objNull, [objNull]] call BIS_fnc_param; // Find player private ["_units"]; _units = _module call BIS_fnc_moduleUnits; if (player in _units) then { // Create the feed [player, player, player] call BIS_fnc_liveFeed; }; true BIS_fnc_liveFeedModuleSetSource /* Author: Thomas Ryan Description: Set a live feed's source via a module. Parameters: _this: OBJECT - Live Feed - Set Source module */ // <insert smart comment about dedicated servers here> if (isDedicated) exitWith {true}; // Wait for a live feed to exist waitUntil {!(isNil "BIS_liveFeed")}; waitUntil {camCommitted BIS_liveFeed}; private ["_module"]; _module = [_this, 0, objNull, [objNull]] call BIS_fnc_param; // Find synchronized units private ["_units"]; _units = _module call BIS_fnc_moduleUnits; if (count _units == 0) exitWith {"No synchronized units found" call BIS_fnc_error; false}; // Set the live feed's source [[_units select 0, [0, 0, 2]]] call BIS_fnc_liveFeedSetSource; true BIS_fnc_liveFeedModuleSetTarget /* Author: Thomas Ryan Description: Set a live feed's target via a module. Parameters: _this: OBJECT - Live Feed - Set Target module */ // On dedicated servers, player is not you if (isDedicated) exitWith {true}; // Wait for a live feed to exist waitUntil {!(isNil "BIS_liveFeed")}; waitUntil {camCommitted BIS_liveFeed}; private ["_module"]; _module = [_this, 0, objNull, [objNull]] call BIS_fnc_param; // Find synchronized units private ["_units"]; _units = _module call BIS_fnc_moduleUnits; // Determine target type private ["_type"]; _type = parseNumber (_module getVariable "TargetType"); if (_type == 0 && count _units == 0) exitWith {"No synchronized units found" call BIS_fnc_error; false}; // Set target private ["_target"]; _target = if (_type == 0) then {_units select 0} else {position _module}; _target call BIS_fnc_liveFeedSetTarget; true Just toss a trigger in editor like so and call it from your radio to look at all the functions in game -
Dynamic Guarded Hostage Rescue
deadlyhabit replied to deadlyhabit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Alright I have it working like I want and I think it should be MP compatible if anyone wants to test it. Usage: Place 6 Invisible Helipads units on the map named Hostage1, Hostage2, Hostage3 etc and one marker named Extraction. A hostage guarded by 4 OPFOR soldiers will be spawned at one of these 6 locations, he won't move and has an untie action bound to him which will cause him to stand, and silently join your group. Get him to the Extraction marker zone to execute the trigger in the script (in this case Victory, but that can obviously be tweaked), or if he is killed failure. Download with demo mission Download random6.sqf ///////////////////////////////////////////////////////// // Randomize placement of a group within 6 spots // gue_random6.sqf ///////////////////////////////////////////////////////// if (! isServer) exitwith {}; // NOTE: in multiplayer, only server should create random numbers. // Create Group for units to be spawned into; must have group created BEFORE spawning units in. _SideHQ = createCenter east; _SideHQ1 = createCenter civilian; groupAlpha = createGroup east; groupHostage = createGroup civilian; // Pick Location /////////////////////////////////////////////////////////////////////// _posHostage = [Hostage1, Hostage2, Hostage3, Hostage4, Hostage5, Hostage6] call BIS_fnc_selectRandom; _extraction = getMarkerPos "Extraction"; // Show Enemy Spawn Location as a GPS Coord in Hint _gridPos = mapGridPosition _posHostage; hint format ["Position %1", _gridPos]; //Generate Hostage H1 = groupHostage createUnit ["C_man_1", _posHostage, [], 0, "FORM"]; removeAllWeapons H1; nul = [H1] execVM "Hostage_male.sqf"; //Generate Soldiers G1 = groupAlpha createUnit ["O_Soldier_AR_F", _posHostage, [], 0, "FORM"]; G1 setdir 360; G2 = groupAlpha createUnit ["O_soldier_M_F", _posHostage, [], 0, "FORM"]; G2 setdir 360; G3 = groupAlpha createUnit ["O_Soldier_GL_F", _posHostage, [], 0, "FORM"]; G3 setdir 360; G4 = groupAlpha createUnit ["O_Soldier_lite_F", _posHostage, [], 0, "FORM"]; G4 setdir 360; //Triggers //Victory _trgVic = createTrigger ["EmptyDetector" , getMarkerPos "Extraction"]; _trgVic setTriggerArea [50, 50, 0, false]; _trgVic setTriggerType "END1"; _trgVic setTriggerActivation ["ANY", "PRESENT", false]; _trgVic setTriggerTimeout [10, 10, 10, false ]; _trgVic setTriggerStatements ["H1 in thislist", "", ""]; //Loss _trgLoss = createTrigger["EmptyDetector", getPos H1]; _trgLoss setTriggerArea [0, 0, 0, false]; _trgLoss setTriggerType "LOOSE"; _trgLoss setTriggerActivation ["ANY", "PRESENT", false]; _trgLoss setTriggerTimeout [10, 10, 10, false ]; _trgLoss setTriggerStatements ["!(alive H1)", "", ""]; Hostage_male.sqf // execute with in units initline. // _null = [this] execVM "Hostage_male.sqf" // hostage _CivnotRescued = true; _man = _this select 0; _man setcaptive true; _man disableAI "MOVE"; _man disableAI "ANIM"; _man action ["SITDOWN",_man]; _hostageact1 = _man addaction ["Untie","Hostagevars.sqf"]; while {_CivnotRescued} do { if (not(captive _man)) then {_CivnotRescued = false}; if (not alive _man) exitwith {_man removeaction _hostageact1}; sleep 1; }; _man removeaction _hostageact1; if (alive _man) then { player attachto [_man,[0,-0.9,0]]; player setdir 0; player switchmove "AinvPknlMstpSnonWrflDnon_medic"; sleep 3; player switchmove "AinvPknlMstpSnonWrflDnon_medicEnd"; sleep 1; player switchmove ""; _man enableAI "ANIM"; _man switchmove "SitStandUp"; detach player; sleep 2; _man enableAI "MOVE"; // just put // before this if you dont want the unit to join your group [_man] joinsilent player; }; Hostagevars.sqf // set unit not captive _unit=_this select 0; _unit setcaptive false; -
Dynamic Guarded Hostage Rescue
deadlyhabit replied to deadlyhabit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks man, any tips on finding the ones I'm apparently missing? -
Dynamic Guarded Hostage Rescue
deadlyhabit replied to deadlyhabit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Weird how'd I miss that, been using this link as my ref for ArmA 3 http://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_3 You don't happen to have a link to the current or A3 available switchMove available strings do you? Apparently my gogglefu is lacking -
Dynamic Guarded Hostage Rescue
deadlyhabit replied to deadlyhabit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Because I've never seen that command or documentation on it. BIS_fnc_selectRandom can you hook me up with some more info? -
Dynamic Guarded Hostage Rescue
deadlyhabit replied to deadlyhabit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Appreciated, ok so currently it uses markers for the zones the hostage and guards are spawned to. So a command like this works because getMarkerPos calls for a string _markerPos = getMarkerPos format ["markerA%1",round ((random 6) + 0.5)]; so this works fine when using markers Now when I switch to the Invisible Helipad unit, I need to use getPos getPos requires an object for it's argument, so I either need to redo my script to use a random into an if then setup or a switch Or if I can convert a string to an object it saves me doing that, and a bunch of redundant lines that will be copy pasted for an if then or switch script. Make sense? Maybe that old thread when I first started this in Arma 2 may help make a bit more sense http://forums.bistudio.com/showthread.php?94646-Random-spawn-positions-for-AI Cheers for removing statements and such, I've done such already as this was made when I first started scripting in Arma and looking at it everytime I have bits open in notepad++ I'm tweaking and seeing things to lose and optimize. Good old motto of always keep learning. -
Applying Vehicle Respawn Script to all vehicles
deadlyhabit replied to GIJaneDoe's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Unless you're actually using your cars array multiple times you don't have to define it beforehand. You can just do it right within the function. {veh = [_x] execVM "vehicle.sqf"} forEach [car1,car2,car3,car4]; cuts down the lines you need.