Jump to content
  • 0

Wicked AI help!


mrbendiksen

Question

Hi! 

 

I am setting up my own server at home, just for me and a coupple of friends to play on, but I have run in to a problem with the wicked AI... 

I got the server up and running with missions and loot locations with ai in, but I want to set up heli patrols, paradrops and such. 

How do I activate theese? 

This is how it looks now: 

 

 

 

//Custom Spawns file//
/*
Custom group spawns Eg.

[[953.237,4486.48,0.001], //position
4,                                   //Number Of units
1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                     //Primary gun set number. "Random" for random weapon set.
4,                                   //Number of magazines
"",                                  //Backpack "" for random or classname here.
"Bandit2_DZ",                  //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

Place your custom group spawns below
*/


/*
Custom static weapon spawns Eg. (with one position)

[[[911.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
"M2StaticMG",             //Classname of turret
0.5,                           //Skill level 0-1. Has no effect if using custom skills
"Bandit2_DZ",                  //Skin "" for random or classname here.
1,                                   //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
2,                                   //Number of magazines. (not needed if ai_static_useweapon = False)
"",                                  //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
"Random"                       //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
] call spawn_static;

Custom static weapon spawns Eg. (with mutiple positions)

[[[911.21545,4532.7612,2.6292224],[921.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
"M2StaticMG",             //Classname of turret
0.5,                           //Skill level 0-1. Has no effect if using custom skills
"Bandit2_DZ",                  //Skin "" for random or classname here.
1,                                   //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
2,                                   //Number of magazines. (not needed if ai_static_useweapon = False)
"",                                  //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
"Random"                       //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
] call spawn_static;

Place your custom static weapon spawns below
*/





/*
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
*/





/*
Custom Vehicle patrol spawns Eg. (Watch out they are stupid)

[[725.391,4526.06,0],   //Position to patrol
[725.391,4526.06,0],    // Position to spawn at
200,                         //Radius of patrol
10,                     //Number of waypoints to give
"HMMWV_Armored",        //Classname of vehicle (make sure it has driver and gunner)
1                                  //Skill level of units
] spawn vehicle_patrol;

Place your vehicle patrols below this line
*/





/*
Paradropped unit custom spawn Eg.

[[911.21545,4532.7612,2.6292224],  //Position that units will be dropped by
[0,0,0],                           //Starting position of the heli
400,                               //Radius from drop position a player has to be to spawn chopper
"UH1H_DZ",                         //Classname of chopper (Make sure it has 2 gunner seats!)
8,                                 //Number of units to be para dropped
1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
False                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire.
] spawn heli_para;

Place your paradrop spawns under this line

*/

 

 

Can anyone help a scripting novice? 

 


 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

to enable look in config.sqf for the following:

 

static_missions = false; // use static mission file
custom_per_world = false; // use a custom mission file per world
 
change static_missions = false; // use static mission file  To static_missions = true; // use static mission file
 
That will enable static spawns in your default.sqf
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...