Arma 3
31 ratings
Insta Ambient Artillery
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
File Size
Posted
1.112 KB
Jun 3, 2023 @ 10:26am
1 Change Note ( view )

Subscribe to download
Insta Ambient Artillery

Description
How to use:
All of the configuration work is done through the triggers attribute, adjust it to suit your needs.
Move the marker to the desired spot, the marker will only be visible when the map is opened by pressin m in the editor.

Features:
Very easy to setup
Can be placed with the editor or zeus
Choose the area you want artillery to drop on
Fire an infinite or finite number of rounds
Set delay between each round
Set safezones
Choose the ammo type, supports rockets, missiles or bombs.
Everything can be configured inside a trigger

Included is a sample composition which you just place in your mission and set the trigger to the preferred activation rules.

You can find different ammo types to use for your artillery in cfgAmmo

https://community.bistudio.com/wiki/Arma_3:_CfgMagazines

experiment with different ones or leave it as default.

Here's the commented code so you know how to easily configure it.

_TAG_artilleryRadius = 100; // Set village radius in meters
_TAG_artillerySpread = 5; // Set artillery spread radius (the accuracy of the rounds, in essence)
_TAG_artilleryRounds = 10; // Set how many rounds will be fired
_TAG_artilleryDelay = [1,2]; // Set the minimum and maximum delay between rounds in seconds

_TAG_selectedPos = [[[getMarkerPos "TAG_artilleryCenter", _TAG_artilleryRadius]], ["water", TAG_safeZone_1, TAG_safeZone_2]] call BIS_fnc_randomPos; // Get random position in a circle centered on TAG_artilleryCenter marker, within a predefined radius (100 meters in this example), excluding the two safe zones and water

[_TAG_selectedPos, "Sh_82mm_AMOS", _TAG_artillerySpread, _TAG_artilleryRounds, _TAG_artilleryDelay] spawn BIS_fnc_fireSupportVirtual; // Fire artillery with defined parameters

######################################################################################

There's more advanced parameters you can play around with by using _TAG_artilleryVelocity and _TAG_artilleryAltitude I haven't been able to get them to work though not sure if it's an error on my end or the way the engine adds effects to some of the ammo's which aern't configurable.

######################################################################################

Have a few people messaging me so i will clarify a few things:

This is a composition once you subscribe to it you can place it in your own missions using the custom composition feature.

The composition has two components a trigger and a marker.

If you can't see the marker it's because markers can only be seen in the editor when the map is open.

You can configure the artillery settings inside the triggers init field.

Set the spread to the same as the radius for a totally random spread.

You can find all ammunition types within the editor by going to config viewer> cfgAmmo

It will work just fine with the default settings.
8 Comments
Chris P. Bacon Feb 20 @ 9:47pm 
@Condasoft

Lookinh forward to it :)
Condasoft  [author] Feb 20 @ 2:26pm 
@Christ P. Bacon I've got an even better version of this that I'm going to be releasing soon.
Chris P. Bacon Feb 20 @ 11:59am 
Works really freaking well. simple and costumizable. Great freaking work. I'm loving these
Condasoft  [author] Jun 1, 2024 @ 3:49am 
@Kyle custom compositions are available in the arma 3 editor in the right panel, this is where all custom compositions should appear when you subscribe regardless of profile.
kermite May 29, 2024 @ 1:37pm 
yes, compositions don't show up in the launcher when you subscribe @kyle
Kyle May 16, 2024 @ 6:01am 
And I subscribed to your mod
but it doesn't show up in Arma 3 launcher
Is this normal?
Kyle May 16, 2024 @ 6:00am 
Where is Zeus in the editor?
Can't find it
enschnon Jun 26, 2023 @ 5:58am 
Awesome!