Jump to content
Sign in to follow this  
Reezo

SR5 Tactical IED Detection and Remote Det Script

Recommended Posts

Hi Reezo,

v1.6 gave me an error, even in the demo mission.

=====================================================================
== ...\Bohemia Interactive\ArmA 2\arma2oa.exe
== "...\Bohemia Interactive\ArmA 2\arma2oa.exe" -nosplash -noFilePatching -ShowScriptErrors "-mod=@CBA;@JayArma2Lib;@ACRE;@ACEX_SM;@ACE;@ACEX;@ACEX_RU;@ACEX_USNavy;@stmovement;@sthud" 
=====================================================================
Version 1.57.76815

Error in expression <{_k = _k + 1}] do {
if (side (_nearCars select _y) != _enemySide) then {
_vehicl>
 Error position: <select _y) != _enemySide) then {
_vehicl>
 Error Nullteiler
File C:\Users\BlackSheep\Documents\ArmA 2\missions\SR5_Reezo_IEDdetect.Desert_E\scripts\IEDdetect\IEDdetect_ambientBombers.sqf, line 66

greetings

Share this post


Link to post
Share on other sites

Use the DEBUG feature built into the scripts to trace the source of the error.

Share this post


Link to post
Share on other sites

Thanks, will fix it ASAP! It should read _k and not _y, it is an edit I did on top of my head..sleep, need sleep lol

Last Stable release is v1.5RC8

what I posted eventually is a Dev release for testing purposes and does not represent an official release :)

---------- Post added at 03:53 PM ---------- Previous post was at 02:27 PM ----------

Update:

I successfully implemented the altitude check for triggerman spawns..basically if you fly over towns you will not trigger Ambient Bombers because the difference in altitude between the civilians and you is returned > than the threshold.

Yesterday I had the best moments of all while testing this script: I played my mission "A day in the life", at night time. I moved to Falar in a HMMWV and stayed with the local UN forces. While enjoying the nice atmosphere I was kinda safe from knowing that I had my Detection Tool (Nomad) with me.

I enjoyed the civilian presence with a different taste, because you get way more anxious about your surroundings..very realistic, indeed.

After some time I noticed two Takiban elders talking and I moved to them, thinking "can you imagine one of these being a triggerman". All of a sudden one of them looks at me and stops talking..but the detector is not returning anything..then before I even start thinking about it: BEEPBEEP IED Detected! What?! Shi*t, IED..where..it can't be..

And the last thing I see is the guy who gave "the look" place his hands behind his head and shout Allahu Akbar! Too late..

Now I understand I really got to what my purpose was initially :)

Edited by Reezo

Share this post


Link to post
Share on other sites

I think I had ambient bombers blowing themselves up last night on my dedi (without any West being present). The mission is an Insurgency BAF when there are also PMCs fighting alongside Takis against BAF. There were a great many explosions at the start (which I assume were the bombers blowing themselves up).

Any clue why? I thought the bombers were set to enemy WEST.

Cheers

Kremator

PS GREAT story !

Share this post


Link to post
Share on other sites

Mh.. another awesome story generated by this script lol ;)

Was there anything flying over their heads? Did you use the spawn or ambient script? Where was the script launched?

Sorry if the questions seem stupid, do not worry: they are. Lol

Share this post


Link to post
Share on other sites

I can send you the mission Reezo .... I'm probably doing something wrong. Nothing was flying overhead at the start of the mission.

Share this post


Link to post
Share on other sites
I can send you the mission Reezo .... I'm probably doing something wrong. Nothing was flying overhead at the start of the mission.

Sure, but wait for me to release v1.6RC2, I've made various tweaks and we'll base testing on it.

PS: I've added Detector-Vehicles, too.

Share this post


Link to post
Share on other sites

Ahhh I can see what is wrong. I have turned on DEBUG and it is telling me not enough civvies. Then it reverts to AmbientBombers Wait Type1.

Now it seems that ambient bombers is called BEFORE the civvies are put onto the map. Does Ambient bombers look for recently spawned civvies ?

However there are about 100 civvies on the map !

Good to see progress carrying on :)

Share this post


Link to post
Share on other sites

Here is some more insight on the script:

Ambient Bombers works on player group leaders. It creates a circle around them that scans for civilians at a specific maximum radius.

If a minimum quantity of civilians is found, the script runs a probability test.

If the test is returned positive, the script picks one of the civilians in the radius, randomly, and turns it into a triggerman.

Then, it randomly decides if it is a suicide bomber or a triggerman. In the second case, the bomb is attached to a suitable object around him (according to the parameters).

Then, it waits and starts again in only two occasions:

1. The player flees the area where the triggerman is

2. The triggerman is killed

The whole script is checked periodically, so if you enter a small town and it is returned safe..and you stay in it, the area will stay safe. But if you enter a large city like Feruz Abad and walk around it there will be enough space to probably make the script check more than once. This is nice because it simulates insurgent chatter in the city from possible observers and informants, meaning with the passing of time a triggerman might appear to represent the insurgents trying to take advantage from the situation.

This means..I don't see why a town should start exploding of bombers, but never say never. ;)

Share this post


Link to post
Share on other sites

Ah the addicting Banana Smiley, cannot--take--eyes--off--it omgzor.

Share this post


Link to post
Share on other sites

Reezo,

All tested and working on my end:

Ambient Bombers using ALICE2 on Takistan, would like a little more control over the Suicide Bomber vs command IED, but its good for now.

Proximity IED tested works a treat, but now have to place a shit load of them across Takistan. Hence my request for a spawn proximity IED in a similar fashion to Ambient Bombers.....Ambient Pressure Plate IEDS :) with Random objects from my list.

Ref list I need to add civilian vehicles into it, I will add A2 vehicles and OA vehicles which would make your script Combined Arms only though ?? That allows Ambient Vehicles to be used as a module which presently only spawns A2 vehicles unless you add some script to the init.

Nice work fella, keep it up....but you are allowed to sleep honest :)

Share this post


Link to post
Share on other sites

Thanks Ugly, I will add a % check to decide how much you want it to be suicide bomber in spite of it being a triggerman. Nice idea.

Ambient Proximity IEDs is nice too, lol. All I need is an updated list, after that it is to be considered done, so I can release tonite (sleep is for puzzies ;))

I would say CO only is a possibility..after all most of my bada$$ mods are CO, I want to be bada$$ as well lol

Share this post


Link to post
Share on other sites

Just been messing around more and I drove a hmmvv close to a compound containing insurgents, and when I get out of my vehicle the IED detector starts beeping !

Those cunning buggers placed an IED onto my hmmvv while i was still driving ! I was able to detach it before I got shot !

Can ambient bombers also use actual insurgents as well ?

Share this post


Link to post
Share on other sites

Can ambient bombers also use actual insurgents as well ?

After your idea, yes. In the next release lol :)

Share this post


Link to post
Share on other sites
Those cunning buggers placed an IED onto my hmmvv while i was still driving !

Those trixy insurgents... Imagine our surprise when we did a fast rope with 8 people, only to have our IED detectors beep when we're approaching the LZ; and then to find an IED attached to our Venom.

Had a great laugh at the end, but scared the **** out of us.

Share this post


Link to post
Share on other sites

Lol I am lucky I could share a story as well about it eheh mine ain't nothing compared to yours, however XD

---------- Post added at 01:41 AM ---------- Previous post was at 12:31 AM ----------

V1.6RC2 Officially released!

Feel free to announce it everywhere :)

Changelog:

V1.6RC2

- FIXED: Nomad detector going crazy in some triggermen detonation situations

- IMPROVED: IED detector behavior when multiple detectors present

- FIXED: Triggermen not detonating with cars or tanks of their enemy side

- FIXED: Ambient Bombers reacting to flying vehicles of their enemy side

- FIXED: Triggermen attaching IEDs to vehicles of their enemy side

- ADDED: Detector vehicles, activating with and for the vehicle driver

- ADDED: % for the triggerman to be a suicide bomber instead

- ADDED: Ambient Proximity IEDs

Grab it while it's hot!

It's my birthday: I just turned 30! :)

Edited by Reezo

Share this post


Link to post
Share on other sites

You're welcome! Thanks everyone for the nice words!

There will be cake!

Share this post


Link to post
Share on other sites

A problem was just reported to me about this (sorry to bust the occasion up):

Person was using the 1024x768 resolution - IED script detector can't be seen on bottom right screen. It was half on, half off the screen.

And the vehicle detector doesn't seem to be working.

Edit: the vehicle detector worked after a few minutes in (it may have worked initially, I dont know); I saw a brief top right message thing about it. If I may suggest moving that dialogue box down to the middle right of a person's screen. Why? People who use ACRE and aren't connected to a server have a hint message in the top right corner 24/7 until we get into a TS3.

Edited by SpectreRSG

Share this post


Link to post
Share on other sites

Reezo,

As requested a new list of IED items...."GOAT BOMB !" You will see what I mean and yes its been done in real life.

I split this into OA and A2 in order to separate culture items so they look "in place" on the map.

CAKE !!!! test it first could be on the IED list :)

//OP ARROWHEAD - DESERT MAP ITEMS

Land_Ind_TankSmall2_EP1

Land_Market_shelter_EP1

Land_Market_stalls_01_EP1

Land_Market_stalls_02_EP1

Land_covering_hut_EP1

Land_covering_hut_big_EP1

Fort_Barricade_EP1

Fort_StoneWall_EP1

Land_Bench_EP1

Land_Carpet_2_EP1

Dirtmount_EP1

Land_Carpet_rack_EP1

Land_Crates_EP1

Land_Crates_stack_EP1

Land_Dirthump01_EP1

Land_Dirthump02_EP1

Land_Dirthump03_EP1

Land_Misc_Coil_EP1

Land_Misc_ConcBox_EP1

Land_Misc_ConcOutlet_EP1

Land_Misc_ConcPipeline_EP1

Land_Misc_Garb_Heap_EP1

Land_Misc_IronPipes_EP1

Land_Misc_Rubble_EP1

Land_Misc_Well_C_EP1

Land_Misc_Well_L_EP1

Land_bags_EP1

Land_bags_stack_EP1

Land_cages_EP1

Land_stand_meat_EP1

Land_stand_small_EP1

Land_transport_cart_EP1

Land_transport_crates_EP1

Land_transport_kiosk_EP1

UNBasicAmmunitionBox_EP1

UNBasicWeapons_EP1

FlagPole_EP1

UH60_wreck_EP1

Sign_1L_Firstaid_EP1

Sign_1L_Noentry_EP1

GraveCross2_EP1

GraveCrossHelmet_EP1

Hedgehog_EP1

Infostand_1_EP1

Infostand_2_EP1

Land_Bag_EP1

Land_Basket_EP1

Land_Blankets_EP1

Land_Boots_EP1

Land_Bowl_EP1

Land_Bucket_EP1

Land_Canister_EP1

Land_Pillow_EP1

Land_Rack_EP1

Land_Reservoir_EP1

Land_Sack_EP1

Land_Shelf_EP1

Land_Table_EP1

Land_Table_small_EP1

Land_Teapot_EP1

Land_Urn_EP1

Land_Vase_EP1

Land_Vase_loam_2_EP1

Land_Vase_loam_3_EP1

Land_Vase_loam_EP1

Land_Water_pipe_EP1

Land_Wheel_cart_EP1

Land_Wicker_basket_EP1

Land_stand_waterl_EP1

Land_sunshade_EP1

Lada2_TK_CIV_EP1

Old_bike_TK_CIV_EP1

LandRover_TK_CIV_EP1

Old_moto_TK_Civ_EP1

S1203_TK_CIV_EP1

SUV_TK_CIV_EP1

S1203_ambulance_EP1

TT650_TK_CIV_EP1

UAZ_Unarmed_TK_CIV_EP1

Ural_TK_CIV_EP1

V3S_Open_TK_CIV_EP1

VolhaLimo_TK_CIV_EP1

Volha_1_TK_CIV_EP1

Volha_2_TK_CIV_EP1

hilux1_civil_3_open_EP1

BAF_ied_v1

BAF_ied_v2

BAF_ied_v3

BAF_ied_v4

PMC_ied_v1

PMC_ied_v2

PMC_ied_v3

PMC_ied_v4

//A2 ITEMS USED FOR CHERNARUS AND SUB-TROPICAL MAP ITEMS

Land_BoatSmall_1

Land_BoatSmall_2a

Land_BoatSmall_2b

Land_Ind_Timbers

Land_KBud

Land_Shed_M01

Land_Shed_M02

Land_Shed_M03

Land_Shed_W01

Land_Shed_W02

Land_Shed_W03

Land_Shed_W4

Body

Grave

GraveCross1

GraveCross2

GraveCrossHelmet

Hanged

Hanged_MD

Land_Church_tomb_1

Land_Church_tomb_2

Land_Church_tomb_3

Mass_grave

Fort_Barricade

Fort_Crate_wood

Desk

FoldChair

FoldTable

Park_bench1

Park_bench2

Park_bench2_noRoad

SmallTable

WoodChair

Axe_woodblock

Barrel1

Barrel4

Barrel5

Haystack_small

Land_Barrel_empty

Land_Barrel_sand

Land_Barrel_water

BMP2Wreck

BRDMWreck

HMMWVWreck

LADAWreck

Mi8Wreck

SKODAWreck

T72Wreck

T72WreckTurret

UAZWreck

UH1Wreck

UralWreck

datsun01Wreck

datsun02Wreck

hiluxWreck

Baseball

Can_small

EvDogTags

EvKobalt

EvMap

EvMoney

EvMoscow

EvPhoto

Explosive

FloorMop

Loudspeaker

MetalBucket

Misc_Videoprojektor

Misc_Videoprojektor_platno

Misc_Wall_lamp

Notebook

Radio

SatPhone

SkeetDisk

SkeetMachine

SmallTV

Suitcase

bomb

Ikarus

Lada1

Lada2

LadaLM

Skoda

SkodaBlue

SkodaGreen

SkodaRed

TT650_Civ

UralCivil

UralCivil2

V3S_Civ

V3S_Gue

VWGolf

car_hatchback

car_sedan

datsun1_civil_1_open

datsun1_civil_2_covered

datsun1_civil_3_open

hilux1_civil_1_open

hilux1_civil_2_covered

hilux1_civil_3_open

tractor

//THE FOLLOWING ARE ALSO SUITABLE FOR IEDS. BUT NEED SETTING TO LIFE ZERO TO BE REALISTIC.

//OA

Cow01_EP1

Goat01_EP1

Goat02_EP1

Sheep01_EP1

Sheep02_EP1

CIV_EuroMan01_EP1

CIV_EuroMan02_EP1

CIV_EuroWoman01_EP1

CIV_EuroWoman02_EP1

Citizen2_EP1

Citizen3_EP1

Dr_Annie_Baker_EP1

Dr_Hladik_EP1

Functionary1_EP1

Functionary2_EP1

Haris_Press_EP1

Pilot_EP1

Profiteer2_EP1

Rita_Ensler_EP1

//A2

Assistant

Citizen1

Citizen2

Citizen3

Citizen4

Doctor

Functionary1

Functionary2

Pilot

Policeman

Priest

Profiteer1

Profiteer2

Profiteer3

Profiteer4

RU_Assistant

RU_Citizen1

RU_Citizen2

RU_Citizen3

RU_Citizen4

RU_Doctor

RU_Functionary1

RU_Functionary2

RU_Pilot

RU_Policeman

RU_Priest

RU_Profiteer1

RU_Profiteer2

RU_Profiteer3

RU_Profiteer4

RU_Rocker1

RU_Rocker2

RU_Rocker3

RU_Rocker4

RU_SchoolTeacher

RU_Villager1

RU_Villager2

RU_Villager3

RU_Villager4

RU_Woodlander1

RU_Woodlander2

RU_Woodlander3

RU_Woodlander4

RU_Worker1

RU_Worker2

RU_Worker3

RU_Worker4

Rocker1

Rocker2

Rocker3

Rocker4

SchoolTeacher

Villager1

Villager2

Villager3

Villager4

Woodlander1

woodlander2

Woodlander3

Woodlander4

Worker1

Worker2

Worker3

Worker4

Share this post


Link to post
Share on other sites

Happy Birthday mate !

Will test this bad boy out later on.

Cheers

Kremator

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×