Forum Jump :

Author Message

Posts: 18

Level: Member

Country: au
Location: Sydney
In-game name: Millenwise

#1 Posted at 2020-03-18 08:48        

MIL_Craters - Dropbox/Armaholic

MIL_Craters will spawn a crater on the position of an explosion. This will happen for ANY explosion, and was developed for use in a runway denial scenario where aircraft have been tasked with bombing a runway. Feel free to edit the types of craters that are spawned to suit your needs (variables _a, _b and _c). Just be sure to also edit the forEach loop at line 37 if required.

    - Spawns small and large craters (90% - 10% chance respectively).
    - All spawned objects saved to MIL_Craters array for simple deletion if needed.
    - Function uses inArea to limit craters to a user-defined area.

To use:
    - Copy the file MIL_Craters.sqf to your mission folder.
    - Run the script server-side from initServer.sqf using:
    - nul = [_center,_a,_b,_angle,_isRectangle,_c] execVM "MIL_Craters.sqf";
    - _center - array or object - center of the area to be covered
    - _a - number - x radius
    - _b - number - y radius
    - _angle - number - rotation angle
    - _isRectacle - boolean - true for rectangle, false for circle/oval
    - _c - number - z axis (height)

    - Example:
    nul = [[6362.9,8373.8,0],580,265,0,true,0] execVM "MIL_Craters.sqf";

If anyone finds any problems or has any requests/suggestions of anything else to include, please let me know.


This post was edited by beno_83au (2020-03-19 11:25, 72 days ago)

Author Message

Posts: 20671

Level: Super Admin

Country: nl
Location: The Netherlands
Age: 44
In-game name: Foxhound

#2 Posted at 2020-03-19 10:34        
Thanks for the release :-)
News is up and you can find our mirror here:

Visit my family webshop

Tags: Crater