Jump to content
Sign in to follow this  
wolffy.au

cB Random TaskDefend Demo - v2.0

Recommended Posts

Download:

http://creobellum.org/node/117

Addons Required:

None

Description:

This mission is to demonstrate the use of the taskDefend function (Binesi's improved version) using randomly created groups.

screenshot_4.jpg

It includes random spawning of Infantry and Motorised groups, who defend two areas displayed on the map. Use the radio commands to teleport and camera functions. Now includes Odin's multi-faction random group code.

Created by: (AEF)Wolffy.au [2CAV]

Installation:

It comes with a mission as a demo version. Extract the folder to your ArmA2\other Profiles\Yournick\Missions and load it in the editor.

Usage:

Place down a GameLogic object and put the following in the INIT line:

0 = [position this, "Infantry", "INS"] execVM "crb_scripts\crB_taskDefend.sqf";

Where the first parameter is the position to defend.

The second parameter is the group type, "Infantry", "Motorized", "Mechanized", "Armored" or "Air".

The third parameter is optional, which is passed to crB_randomGroup script, which is a side of a faction (east, west, resistance or civilian), a single faction eg "ACE_USARMY" or an array of factions eg ["ACE_USARMY_DESERT", "ACE_USMC_DESERT"].

Change Log:

v2.0

- Changed: crB_randomGroup.sqf v2.0

- Changed: The purpose to always create random groups for defending

- Changed: INIT.SQF to minimum requirements

- Changed: Teleport script

- Removed: Dependency on ACE

v1.2

- Now using Binesi's BIN_taskDefend.sqf v1.4 instead of BIS's BIS_fnc_taskDefend function. This includes an updated version of Binesi's taskDefend which will check for unmanned static defenses and re-man them.

- Added multi-faction random group spawning to keep things interesting.

Thanks to:

Random Group Spawn code by Odin

Improved taskPatrol by Binesi

Visit us a http://creoBellum.org

Developer notes:

Here is a list of nifty components to be found in this mission.

Random Group Spawn code by Odin

- This piece of code has turned out to be the most important piece of my future mission making. Using GameLogic objects, this code will spawn random enemy groups of Infantry, Motorised, Mechanised, Armour and Air. In conjunction with Binesi's taskDefend and taskPatrol code, randomised mission making has never been simpler. Now includes multi-factions.

Improved taskDefend and taskPatrol by Binesi

- Binesi posted these improved BIS functions around the same time I was asking myself the same question. Placing patrols and defensive squads has never been simpler.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×