Author: Zodd
Author Website:

Requirements: No addons required

Version: 1

Short description: This has been designed to allow direct fire HEDP natures to airburst (effectively making HEDP functional as dual purpose and VERY deadly to troops in the open).

Date: 2012-05-15 15:40


Comments: (0)
Rating:



 



ZSU HEDP Airburst & ZSU Shrapnel

by
Zodd


Description:
This has been designed to allow direct fire HEDP natures to airburst (effectively making HEDP functional as dual purpose and VERY deadly to troops in the open).
The shrapnel is only fired at entities within 150m (rather than spawning 1000s of bits of shrapnel). This should cut down on server load!

AI do not currently use the airburst as it is intended (They just fire as per normal). 99% of the time this wont be a concern as they will just fire normal direct fire. The only time this could be an issue is if you are teamswitching to use AI and set airburst on and a range, ensure you turn airburst off before you switch out otherwise the AI may fire a HEDP round at a far target and have it airburst at the range you initially set!


Installation / Setup:
Copy both script folders into mission folder
Place the following in the init line of all units you want to be able to use HEDP airburst:
this addEventHandler ["Fired", {_this execVM "ZSU_HEDP_Airburst\hedpfired.sqf";}];
nul = [this] execVM "ZSU_HEDP_Airburst\hefirer.sqf";
If there are added munitions you want to have airburst, add the PROJECTILE in the hedpfired.sqf file in the ZSU_HEDP_Airburst folder to the following line:
_valid = ["R_SMAW_HEDP", "R_MEEWS_HEDP", "R_OG7_AT","whateverelseyouwant"];
note - this will work with ALL projectile types (Yes... even bullets... You CAN create a pretty deadly weapon by putting your MG projectile value in here....)

You can also download an example mission from here.


Usage:
1. Select HEDP weapon and ammo
2. Using the action menu, select airburst mode
3. Using the action menu, add/subtract from the range until the hint shows the desired range
4. Fire over the top of the enemy (20-40m ideal)
5. Observe your once formidable enemy writhing in pain...
6. Fire again if any are alive
7. To return to normal mode, select 'switch to impact'


Credits:
Thanks to Twirly for his virtual sniper script = the inspiration for the shrapnel idea becoming a reality!


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags