Forum Jump :

Author Message


Posts: 104
Rank:


Level: Member

Country: au
Location: Blue Mountains, NSW
Occupation:
Age:
In-game name:

 
#1 Posted at 2010-04-07 03:59        
     
Download:
http://creobellum.org/node/156

This mission is to demonstrate the use of random aerial patrols.

The patrol area is specified by a rectangular marker, where the randomly spawned aircraft will patrol within. There are both OPFOR and BLUFOR patrols to keep things interesting. Use the radio commands to teleport and camera functions. Now includes Odin's multi-faction random group code.

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

Usage:
Use in the following way - place a Game Logic object down and put the following in the INIT line:
call{[rectMarker, spawnPos, spawnDelay(opt 600s default), faction(optional)] execVM "crB_scripts\crB_aerialPatrol.sqf";};
Where:
rectMarker - is the rectangular marker specifying the patrol area
spawnPos - the location where the aircraft will spawn (usually far out of sight)
spawnDelay - the delay between respawns if the patrol is disabled or destroyed (600s default)
faction - can be EAST, WEST, CIVILIAN, "USMC", "CDF", "RU", "INS", "GUE" or any factions available - see RandomGroup readme.

Change Log:
v2.1
- Added: Added BIS Functions module
- Changed: Updated crB_randomGroup script
- Changed: Updated crB_Teleport script
- Removed: Dependency on ACE
v2.0
- Added: HideCorpses script to clean-up
- Added: West Aerial Patrol
- Added: Set ViewDistance to 2000
- Changed: Teleport and randomGroup scripts
- Changed: Method to detect disabled patrol
- Removed: Static Anti-Air
- Removed: Debug messages
- Removed: CreateCenter from randomGroup (setFriendly not set)
v1.3
- Added: Multi-faction random group spawning to keep things interesting.
- Added: Optional delay parameter
- Added: Optional Faction parameter
- Changed: Uses crB_randomGroup.sqf to spawn vehicles
- Changed: Set AI skill to 1 for all vehicles
- Fixed: Now stays withing rectangular marker
- Fixed: Will respawn if crew bail from vehicle
v1.0 - Initial Release

Thanks to:
Random Group Spawn code by Odin

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.

This post was edited by wolffy.au (2010-04-27 12:15, ago)


Author Message


Posts: 20624
Rank:


Level: Super Admin

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

 
#2 Posted at 2010-04-07 11:48        
     
Nice work, looks interesting to bring some more dynamic airpatrols into your missions :)


Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 13
Rank:


Level: Member

Country: ch
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2010-04-11 12:13        
     
Brilliant stuff Mate!

Question: is it possible to specify in the script that it only spawns a specific aircraft type (for example Su-27 with CAP loadout)?

Cheers

Taipan.


Author Message


Posts: 104
Rank:


Level: Member

Country: au
Location: Blue Mountains, NSW
Occupation:
Age:
In-game name:

 
#4 Posted at 2010-04-24 09:06        
     
Updated to Version v2.0
- Added: HideCorpses script to clean-up
- Added: West Aerial Patrol
- Added: Set ViewDistance to 2000
- Changed: Teleport and randomGroup scripts
- Changed: Method to detect disabled patrol
- Removed: Static Anti-Air
- Removed: Debug messages
- Removed: CreateCenter from randomGroup (setFriendly not set)

Taipan : Question: is it possible to specify in the script that it only spawns a specific aircraft type (for example Su-27 with CAP loadout)?
If I understand right, you want a specific loadout, then there is probably no reason for it to be random, right?


Author Message


Posts: 20624
Rank:


Level: Super Admin

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

 
#5 Posted at 2010-04-24 10:35        
     
Thanks for the update, news + downloadpage updated :thumb

Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 104
Rank:


Level: Member

Country: au
Location: Blue Mountains, NSW
Occupation:
Age:
In-game name:

 
#6 Posted at 2010-04-27 12:17        
     
Updated to v2.1
- Added: Added BIS Functions module
- Changed: Updated crB_randomGroup script
- Changed: Updated crB_Teleport script
- Removed: Dependency on ACE