Jump to content
  • 0

Help with heli patrol waypoints in Wicked AI


Liqu1dShadow

Question

Hi,

 

I am trying to set up a heli patrol in Wicked AI and I have to be honest, its like reading Dutch to me,

 

This the default the code

/*
Custom Chopper Patrol spawn Eg.

[[725.391,4526.06,0],    //Position to patrol
[0,0,0],                 // 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)
1                        //Skill level of units
] spawn heli_patrol;

Place your heli patrols below
*/

 

 

 

This is the start point for the heli I want,

[15172.339, 13559.793, -6.3399401];

 

And these are the cords I need the heli to fly to do a lap of the map

[13090.89, 10346.834, -5.9899998]
[13490.192, 6317.8848, -6]
[13575.15, 4022.9141, -19.492546]
[10151.378, 2161.4382, -7.4330006]
[8919.502, 2229.4382, -5.9953737]
[7984.9731, 3181.4263, -6.5279236]
[5249.3535, 2016.9407, -5.4690151]
[2709.1372, 5391.3994, -208.22134]
[4884.0396, 9615.8516, -339]
[4145.0723, 10919.914, -339.00989]
[6150, 10338.798, -274.31018]
[9888.3857, 8852.4531, -281.72604]
[11568.834, 12604.863, -177.74866]
[13845.961, 13969.376, -55.096813]

 

pic attached (I used cars placed in the editor to get the cords)

 

Anyone help with this? :rolleyes:

post-16450-0-84878200-1403003929_thumb.j

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

That's not possible. WAI is able to spawn on a point and then patrol within a radius. So, for example:

 

[[15172.339, 13559.793, 0],    //Position to patrol (Place where it will go to (sort of center)).
[0,0,0],                 // Position to spawn chopper at  (Where the chopper spawns (debug zone))
2000,                    //Radius of patrol (Radius of pantrol when arrived at "POSITION TO PATROL")
10,                     //Number of waypoints to give (Not sure, never edited this before, guess it will random make waypoints and repeat that waypoints)
"UH1H_DZ",                //Classname of vehicle (make sure it has driver and two gunners) (unit)
1                        //Skill level of units
] spawn heli_patrol;

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
  • Discord

×
×
  • Create New...