Page 1 of 55 123451151 ... LastLast
Results 1 to 10 of 547

Thread: SR5 Tactical IED Detection and Remote Det Script

  1. #1

    SR5 Tactical IED Detection and Remote Det Script

    SR5 Tactical
    IED Detection and Ordnance Disposal Script
    by Reezo


    Mar 22th, 2011 - my 30th birthday!
    Visit us at: www.sr5tactical.net



    Description:
    This script suite allows a unit or vehicle to detect IEDs, explosive ordnance and bombs, allowing disposal functions such as manual defuse, remotely controlled detonations etc. It also features various scripts (original and adapted from other scripts in the community) to create triggermen, suicide bombers, IEDs etc.

    Purpose:
    - Enhance the EOD department
    - Specialize Engineer roles
    - Increase the fun in Ordnance Disposal
    - Cover an important, realistic and very actual element of modern warfare: improvised explosive devices, car bombs and other guerrilla techniques that vastly affected all modern Middle East war theaters like Afghanistan and Iraq

    Features:
    - Custom images and sounds
    - Fully modular for easy installation
    - Clean and carefully polished code
    - Works with virtually any mod
    - Works in SP and MP environments
    - Strives to work with all the best and most popular IED scripts available in the ArmA community
    - Detector unit receives IED approximated position in the map
    - IED position marker relocate dynamically when IED moves (e.g. moving car-bombs)
    - Detection range is affected by speed: units and vehicles should move slowly to allow maximum detection range
    - Remotely controlled detonation via electromagnetic pulse (EMP)
    - Fake IED detections with subsequent "clear" notification when anomaly verifications are found non-consistent
    - Manual defuse
    - Make any objects a detectable bomb or attach a bomb to it
    - Detach and defuse attached detected devices
    - Accidentally arm the bomb when manual defuse goes wrong
    - Decide whether detectable bombs beep regularly, remain silent or let the script decide, randomly
    - Armed bombs start beeping increasingly faster until they explode
    - Turn any unit into a triggerman, even unsuspected civilians
    - Triggermen can be suicide bombers or have the bomb attached to any object from a specific class (e.g. trashcans, cars, etc.)
    - Works with ALICE and SILVIE modules: you can spawn a triggerman from civilians in determined areas, just by using a trigger
    - Triggermen will behave as instructed by the AI, the module or the mission maker, until the time is right for them to touch the bomb off
    - Triggermen freeze and fear enemy soldiers aiming their weapon on them: having a triggerman or a suspect under your crosshair will decrease the chances of a detonation, allowing maneuvering and refusal, if necessary.
    - Triggermen who successfully detonate their bomb or find it defused might surrender, flee or engage into a firefight by drawing a hidden weapon
    - Killing a triggerman is considered legit for the ROE only when he reveals his offensive action: shooting civilians to prevent suicide bombers is not right
    - Killing a triggerman leaves his bomb intact, meaning it might still go off if damaged and must be considered dangerous (can be detected and defused normally)
    - Realistic behavior creates the right amount of pressure and simulation for the virtual environment

    Requirements:
    - None, this script suite works with any installation of ArmA 2, OA and CO
    - It is pretty much 99% update-safe, meaning there is practically no official update that can break the script suite

    How to set it up:
    1) Copy the following folder into your mission folder:
    > scripts\IEDdetect

    2) Open the description.sqf and add the #include lines to your description.ext

    3) Open the init.sqf and add that line to your init.sqf

    4a) In the editor, to turn a unit or vehicle into a detector, put this in its init field:
    Spoiler:


    4b) In the editor, to make an object detectable by a detector unit, put this in the object init field:Spoiler:


    4c) In the editor, to attach a detectable IED/bomb to an object, put this in the object init field:Spoiler:


    4d) In the editor, to turn an object into a proximity IED, put this in the object init field:Spoiler:


    4e) In the editor, to make an AI unit a triggerman (see below for an explanation), put this in the unit init field:Spoiler:


    What is a triggerman? A triggerman is a unit that can trigger a bomb remotely (using a cell phone or similar tools).
    With this script a triggerman will start to "fear" enemy units (e.g. BLUFOR soldiers) when they get into a determined radius (50, in the example above). The triggerman's fear will build up if an enemy soldier keeps the triggerman targeted in his crosshairs. Keeping a triggerman under your crosshair will give you a good chance to prevent him from touching the bomb off. If you take the crosshairs away from him he will start to take adavantage of the situation (depending on how much he had been kept under guard). Once the triggerman feels safe about it and if he notices potential victims around the bomb area (determined by a radius of "30" in the example above) he will trigger the bomb.
    When a triggerman triggers a bomb he goes into a "surrendering" position and shouts: "Allahu Akbar!!". This gives anyone roughly around 1 second to shoot the motherf*cker down. If he dies before the touching the bomb off, the bomb will NOT explode but it will be still considered a potential threat and will require appropriate disposal from an engineer.



    NOTE: if you want to make suicide bombers, just put "this" in both fields, so that the unit is both the triggerman and the bomb. e.g. nul0 = [this,this,0,30,30,WEST] execVM "scripts\IEDdetect\IEDdetect_triggerman.sqf";

    4f) You can also create a trigger and let a script randomly decide to pick up a unit of a certain type and turn into a triggerman. To do so, create a trigger on, let's say, a town. Make it as large as you want to cover the entire town or just parts of it. Choose the side to activate it, let's say, BLUFOR, and make it PRESENT.
    In the "On activation" field, type:Spoiler:


    4g) You can also use what I called the "Ambient Bombers" script. To do so, write this in your init.sqf file:Spoiler:


    This script works by attaching itself to group leaders of the enemy faction ONLY (WEST in the example). This means it will work as a sort of Ambient Combat Module (ACM), following group leaders and "making things happen around them". The script checks for civilian presence in a pre-determined "ambient radius" (200m in the example) around the player. If a minimum number of civilians (4 in the example) is found, it will try the % of presence (50 in the example) for a triggerman to be among them. If positive, it will turn one of the civilians into a triggerman and decide whether it is a suicide bomber or a remote-detonator. In case it is the latter, it will scan for a specific object class ("car" in the example) in a pre-determined radius from the triggerman (55 in the example) and attach a bomb to it. After that the triggerman will behave just like illustrated in the previous paragraph. The script pauses itself for the interval specified by the user (10 in the example) if the player stays around the same area or around the same triggerman. The script attaches itself to new leaders in case a group leader changes. This script works well with ALICE-created and user-created civilians. It also moves with the player so it is very easy to use and is totally automated.
    4h) You can also use the "Ambient Proximity IEDs", which will randomly create Proximity-triggered IEDs on or next-to roads in the area surrounding the player. To do so, write this in your init.sqf file:Spoiler:

    Ambient Proxymity IEDs are removed automatically if the player moves too far from the IED area (this saves resources and avoids the "seeding" of an ever-increasing number of IEDs).

    4i) You can also scatter proximity IEDs around a specific area. This can be useful for one-time creation of random proximity IEDs without having to use the Ambient IEDs feature. To do so, write this in your init.sqf file, into a trigger or wherever you find it suitable to your needs:
    Spoiler:


    Procedures and functions:
    Spoiler:


    Multiplayer compatibility:
    - Tested and working. I try my best to continue improving it so further tweaking/optimizations/bug fixes are possible

    Known bugs:
    - There is a chance Fake IED detection does not work. If you encounter problems, change the percentage to 00 and it will be disabled.

    Future features:
    - Detector tool as an actual object you can pick up and put in your inventory

    Version history:
    V1.6RC4
    - ADDED: EOD units now respawn with full detection capabilities
    - ADDED: Proximity IED Scatter Script
    - FIXED: Detection not working when EOD units get in a detector Vehicle
    - FIXED: Beeping IEDs not working in MP
    - IMPROVED: Cross-script global arrays handling
    - CHANGED: Nomad dialog images slightly reduced and moved back to the bottom-right of the screen
    Spoiler:


    Credits:
    Demonized - global array functionality, better marker generation
    VIPER[CWW], Nielsen, Kremator, SpectreRSG - bug reports and feedback
    VanhA-ICON - attach/detach IEDs idea
    VIPER[CWW] - 'Allah Akbar' sound sample
    SR5 Tactical - my men, always "one move ahead, all fears behind"

    License:
    I don't want to say this is a masterpiece, but I know for sure I have put a lot of time and efforts in this scripts suite. If you want to make changes I would please ask you to contact me for my permission. I would also love to have more people work on this same thing rather than having 20 people working on the same thing with different names. I am open to critics and teamwork, we can make an entire EOD mod if you want, I will try my best to make my skills match my enthusiasm.

    Copyright:
    Nothing I can really "claim" or track you down with..so please don't just be an assh*le and if you do any change to this script or implement it in your missions or scenarios..please add some kind of credit line to this work. It would be kind

    How to pay me back:
    - Anything really expensive will do

    Mirroring and downloads:
    Please do not mirror this file. Use the following link to get the latest, better, shiny, original version:
    if the link is down..contact me.

    For feedback, email me at info(at)sr5tactical.net or shout your thoughts here.

    Enjoy and have fun, see you on the battlefield,

    - Reezo
    Last edited by Reezo; Mar 29 2011 at 20:33.


    Missions: The Taking of Fallujah (ACE) | A Day in the Life (ACE) | Roadblock Duty (ACE)
    Developer for: ACE RWR Radar Component | EOD Mod | SMK Animations Mod | IED Det. and Disp. Script | MOUT Generation Script | Loudspeaker Script | SniperPod Camera Mod

  2. #2
    Thanks for sharing, good work.

  3. #3
    First Lieutenant Kremator's Avatar
    Join Date
    Jun 8 2007
    Location
    Cambridge, UK
    Posts
    5,002
    Fantastic .... trying this right away !

  4. #4
    Warrant Officer Demonized's Avatar
    Join Date
    Nov 16 2010
    Location
    Back from afk 2013
    Posts
    2,614
    This sounds pretty awsome, great work.

    Request you to modify, or add option to this script to work with objectname instead of type and global array so it can be used with all the the various ied scripts out here not relying on using the specific baf or pmc ieds.

    Have a global array named Reezo_IED_detector or something and then mission maker can just make sure that any ied object he creates wich he deems using radio to trigger is added to the arrray and it will be included in the search.
    Last edited by Demonized; Jan 15 2011 at 09:21.
    My scripts:
    Spoiler:

    what to do when posting any kind of code dammit!!

    Any new mission editor or scripter in Arma2 should have read Mr Murrays Editing Guide Deluxe at least once, it still applies for A2 even though it was made for Armed Assault.

  5. #5

  6. #6
    First Lieutenant Kremator's Avatar
    Join Date
    Jun 8 2007
    Location
    Cambridge, UK
    Posts
    5,002
    Feedback .... loving it !

    Works very well inside Virtual Training Space.

  7. #7
    This is very cool!!!
    Thx!

    I Found a small bug, if there are more than 1 Bomb in the area i just can kill one remote.
    Last edited by Clawhammer; Jan 15 2011 at 12:27.

  8. #8
    This is a great initiative! Cant wait to try it out.
    Sounds really sweet. Thanks for your work man!

    @Clawhammer: It might not be very "easy", but Hoz from OFPEC has made a really nice disarm script that simulates a 4 wire bomb, where you have to cut one of the wires. Someone else pointed me to it. Its great. You can find it here:'
    http://www.ofpec.com/forum/index.php?topic=33455.0

    Nielsen

  9. #9
    Request you to modify, or add option to this script to work with objectname instead of type and global array so it can be used with all the the various ied scripts out here not relying on using the specific baf or pmc ieds.

    Have a global array named Reezo_IED_detector or something and then mission maker can just make sure that any ied object he creates wich he deems using radio to trigger is added to the arrray and it will be included in the search.
    This is a nice idea, I might work on it. This way any kind of car-bomb or something could trigger the instrument. Should be easy enough to use as it is right now, make sure the IED script you launch is binded to the existence of an IED object from BAF or PMC (and put the object right under the object you want to be a bomb). Bind the IED Script to the existence of that IED object so that when neutralized the script won't trigger the bomb.

    This is obviously a workaround not a solution.

    What specific IED scripts are you using, guys? It could help me knowing that to make some tests.

    Thanks for the awesome replies!

    ---------- Post added at 02:47 PM ---------- Previous post was at 02:37 PM ----------

    @Clawhammer: It might not be very "easy", but Hoz from OFPEC has made a really nice disarm script that simulates a 4 wire bomb, where you have to cut one of the wires. Someone else pointed me to it. Its great. You can find it here:'
    http://www.ofpec.com/forum/index.php?topic=33455.0
    It could be nice to have a small chance that the instrument tells you that "manual disarming is necessary" so that you have to get in close proximity of the object and do the disarming. This, in case it's not an IED object the engineer can disarm via the default action (from the v1.54 update) could trigger the "cut the wire" dialog. Wire would be randomly decided so .. good luck I guess

  10. #10
    Warrant Officer Demonized's Avatar
    Join Date
    Nov 16 2010
    Location
    Back from afk 2013
    Posts
    2,614
    Ive modified your script slightly to use any object in stead of type.
    Using global array, fixed grenade bug using lgbu etc.

    I have PM a demo of it to you.
    Last edited by Demonized; Jan 15 2011 at 13:15.

Page 1 of 55 123451151 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •