Author: Foxhound
Author Website:

Requirements: No addons required

Version: .01g

Short description: The fundamental goal of that script is to have a single AI group search all the building positions in a single enterable building, in a way that appears 'lifelike.'

Date: 2011-01-24 14:51


Comments: (2)
Rating:



 



JTD Building Search script

by
TRexian


Description:
The basic element of this script is JTD_buildingSearch.sqf (and a function upon which it relies, JTD_arrayShuffle.sqf). The fundamental goal of that script is to have a single AI group search all the building positions in a single enterable building, in a way that appears 'lifelike.'

Built upon that script are various 'wrappers' that allow for a greater range of AI activity. This activity includes:
- an eventhandler that sends a nearby enemy group to a building near the shooter
- a script that sends a single group, systematically, into buildings around a central point
- a script that sends an array of groups to search an array of buildings
- the basic building search script that started this whole thing


Usage:
Please refer to the included readme to see how to use these scripts in your own mission(s).


Media:

Video of an older version


Credits:
OFPEC
Rommel for CBA function searchNearby
Tophe for random house patrol

Testers/Feedback:
MadRussian
GvsE
Kremator
Manzilla

JTD:
-- DMarkwick
-- ReconPathFinder
-- TRexian


Changelog:
v01a
- POC (addWaypointHousePosition doesn't work)

v01b
- used CBA searchNearby by Rommel for commandMove instead of waypoints

v01c
- Improved methodology

v01d
- Improved the rejoining of the searchers
- Added ability to specify initial position of building search

v01e
- Added optional parameter to include leader in search, also an option to occupy the building
- More robust error-checking
- Can pass object instead of intialposition
- Shuffles searcher array

v01f - release version
- Added server check
- Added global JTD_lockedSearchGroups
- Added time check to make sure script ends at some point

01g
- Added JTD_bldgsrchPath as variable for Manzilla
- Array functionality wrapper


Forum topic:
- BI forums



- Community Base Addons




Enable javascript to be able to download from Armaholic please!



Tags: No tags