Jump to content

Search the Community

Showing results for tags 'de-mining'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Server tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Chernarus
  • TKO's Livonia
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 1 result

  1. I wrote a simple script to automate the IDAP de-mining drone. You can use it for cutscenes etc, or just sheer laziness. You input the drone, a centre position to start, and a radius. It will disarm bigger mines/satchels/uxos first so that they detonate the smaller ones (saves you some time). It won't work on underwater mines or underwater mines that have been placed on the land (for good reason). It only carries 4 de-mining bombs so it will automatically land where it started and rearm. Once it is finished it lands and turns itself off. I was going to put in a rearm from crate option, but the magazine classname it uses doesn't have a picture so it errors whenever you look in the crate. In the end I cut that rubbish out and just had it land, pause for a few seconds to simulate rearming then taking off again. I couldn't get it to change altitude reliably (because Arma), so even though the flyInHeight is set to 10, it seems to hover at about 50 metres. I think it's ok for what it is though. Thanks to Evil Organ for gifting me the DLC, which was really nice of him Feel free to improve on this and so on. :) Script: fnc_demine = { params ["_drone","_origin","_radius"]; private _startPos = ASLtoAGL getPosASL _drone; _drone setBehaviour "careless"; _drone setSpeedMode "limited"; _drone flyInHeight 10; _drone removeAllEventHandlers "fired"; _drone addEventHandler ["fired",{ (_this select 0) setVariable ["deminer",_this select 6]; }]; private _pad = _drone getVariable ["pad",objNull]; if (not isNull _pad) then { deleteVehicle _pad }; _pad = createVehicle ["Land_HelipadEmpty_F",_startPos,[],0,"can_collide"]; _drone setVariable ["pad",_pad]; private _noMags = false; private _mines = []; waitUntil { _mines = allMines select {_x distance2D _origin < _radius and {not (getTerrainHeightASL getPosWorld _x < 0)} and {toLower typeOf _x find "underwater" == -1}}; if not (_mines isEqualTo []) then { _mines = _mines apply { [ getNumber (configFile >> "CfgAmmo" >> typeOf _x >> "hit"), _x ] }; _mines sort false; _mines = _mines apply {_x select 1}; private _mine = _mines select 0; _drone doMove ((ASLtoAGL getPosASL _mine) vectorAdd [0,0,50]); waitUntil { sleep 5; (vectorMagnitude velocity _drone < 1 and {unitReady _drone}) or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; _drone fire "BombDemine_01_F"; waitUntil { sleep 0.5; isNull (_drone getVariable ["deminer",objNull]) }; _mags = magazinesAmmoFull _drone; _noMags = if ([] isEqualTo _mags) then {true} else {if(_mags select 0 select 1 > 0) then {false} else {true}}; sleep 3; }; _mines isEqualTo [] or {_noMags} or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; call { if (_noMags) exitWith { _drone doMove ASLtoAGL getPosASL (_drone getVariable ["pad",objNull]); waitUntil { unitReady _drone or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; _drone land "land"; waitUntil { sleep 0.5; isTouchingGround _drone }; sleep 3; _drone removeMagazines "PylonRack_4Rnd_BombDemine_01_F"; _drone addMagazine "PylonRack_4Rnd_BombDemine_01_F"; if (alive _drone) then { [_drone,_origin,_radius] spawn fnc_demine } }; if (_mines isEqualTo []) exitWith { _drone doMove _startPos; waitUntil { unitReady _drone or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; _drone land "land"; waitUntil { sleep 0.5; isTouchingGround _drone; }; _drone engineOn false; _pad = _drone getVariable ["pad",objNull]; if (not isNull _pad) then { deleteVehicle _pad }; } } }; Here's a test mission (I don't think you need to own the dlc to play it as you don't technically use the assets) https://drive.google.com/open?id=0B1kzYgzONxC0RGN6cE9VMVlUZnM 0,0,0 to start demining!
×