Jump to content
  • 0

AI Land and Heli patrols.


SinisterXylene

Question

Hi, im using DZAI and WAI together, DZAI for roaming AI and WAI for missions, i would really like some car and heli patrols on my server, i have tried to enable them in the DZAI config but it doesnt appear to work, i heard that land and heli patrols are part of WAI too but i cant see where to enable/configure them. 

 

Could someone please tell me where i could configure the patrols in WAI, or to point out what i have done wrong in DZAI

 

DZAI config: http://pastebin.com/KX7MGTYH

 

(the reason i have tons of patrols is for testing purposes.)

 

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I have a series of .sqf files in mh WAI\static\ folder for each place and type of patrol.  Here's my air patrol script.  Just be sure to call it from init.sqf in the static folder.  I put mine in a single line for file size by taking out the comments on each line, but they follow the commented out example.  

 

This one has three helis patrolling Sector B (it's for the Taviana map), and three helis that start, one each, in the other three corners of the map and patrol part of the islands.

 

if(isServer) then {



/*
Custom Chopper Patrol spawn Eg.

[
[725.391,4526.06,0.001], // Position to patrol
[0,0,0.001], // Position to spawn chopper at
2000, // Radius of patrol
10, // Number of waypoints to give
"UH1H_DZ", // Classname of vehicle (make sure it has driver and two gunners)
"Random", // Skill level of units (easy, medium, hard, extreme, Random)
"Random", // Skin classname, use "Random" or classname here
"Bandit" // AI Type, "Hero" or "Bandit".
] spawn heli_patrol;

Place your heli patrols below
*/

[[22198.2,19852.7,0.001],[18764.8,20099.6,0.001],3000,20,"UH1H_DZ","extreme","Random","Bandit" ] spawn heli_patrol;
[[22574.6,19677.5,0.001],[18727.1,19600.2,0.001],1000,20,"UH1H_DZ","extreme","Random","Bandit"] spawn heli_patrol;
[[22574.6,19677.5,0.001],[18736.5,19129,0.001],1000,20,"UH1H_DZ","extreme","Random","Bandit"] spawn heli_patrol;
[[6859.62,6353.27,0.001],[0,0,0.001],7500,200,"UH1H_DZ","extreme","Random","Bandit"] spawn heli_patrol;
[[3769.38,17121.1,0.001],[423.494,23830.4,0.001],4000,20,"UH1H_DZ", "extreme","Random","Bandit"] spawn heli_patrol;
[[16870.8,9198.18,0.001],[21236.1,2062.48,0.001],3500,20,"UH1H_DZ","extreme","Random","Bandit"] spawn heli_patrol;
[[13165.7,16610.4,0.001],[20122.7,16734.8,0.001],3500,20,"UH1H_DZ","extreme","Random","Bandit"] spawn heli_patrol;

diag_log "WAI: Air Units loaded";

};

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...