Jump to content

[Release] Wicked AI 2.2.0


f3cuk

Recommended Posts

Has anyone done up an WAI weapons table for overpoch and care to share? Also, what numbers would I have to use to make these guys HARD? I have tried raising and lowering the values but it doesn't seem to make any difference? I raised them before and was able to run straight up to a static gunner. The only time he started shooting at me was when I shot at him with my pistol, otherwise he just stood there looking in the opposite direction.

Link to comment
Share on other sites

Search the thread (i know it's a pain), pretty sure overpoch arrays have been shared.

Which version are you usin and what are your combatmode and behaviour settings?

 

--

 

For those that want to know how to loot system works -> Read this: https://github.com/f3cuk/WICKED-AI/wiki/The-dynamic-crate

Link to comment
Share on other sites

So i have a working and tested setup for C130 or cargo plane missions or whatever you want to call them =]  im using 2.2.0 beta v3

 

THESE ARE TAVIANA COORDS CHANGE THE COORDS IN cargo_plane.sqf (hero and bandit) TO SUIT YOUR NEEDS!!!

 

 

1st of all you need to add this line in the vehicle arrays in the config:

        cargo_planes                = ["C130J_US_EP1_DZ","MV22_DZ","AN2_DZ"];

Note: You can add any aircraft you want the mission to choose from here.

 

 

Now since were already in the config add

["cargo_plane",8]

in each of the mission arrays.

 

Note: change the 8 and other numbers to add up to 100 for you array to work properly

 

 

Create 2 files (one in each of the mission folders-hero/bandit), both called cargo_plane.sqf  

 

Paste this into the hero cargo_plane.sqf

 

  Reveal hidden contents

 

And this into the bandit cargo_plane.sqf 

  Reveal hidden contents

 

Remember to change the coords if you do not host a taviana or or epoch/overpoch-origins server.

 

Hope you enjoy!!

Link to comment
Share on other sites

Using WAI 2.1.4 and these are the settings : 

ai_bandit_combatmode		= "YELLOW";		// combatmode of bandit AI
ai_bandit_behaviour	        = "COMBAT";		// behaviour of bandit AI

ai_hero_combatmode		= "YELLOW";		// combatmode of hero AI
ai_hero_behaviour		= "COMBAT";		// behaviour of hero AI

I just left that part stock, but changed some of these : 

ai_skill_extreme			= [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",1.00],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]]; 	// Extreme
		ai_skill_hard				= [["aimingAccuracy",0.80],["aimingShake",0.80],["aimingSpeed",0.80],["endurance",1.00],["spotDistance",0.80],["spotTime",0.80],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]]; 	// Hard
		ai_skill_medium				= [["aimingAccuracy",0.60],["aimingShake",0.60],["aimingSpeed",0.60],["endurance",1.00],["spotDistance",0.60],["spotTime",0.60],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];	// Medium
		ai_skill_easy				= [["aimingAccuracy",0.40],["aimingShake",0.50],["aimingSpeed",0.50],["endurance",1.00],["spotDistance",0.50],["spotTime",0.50],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];	// Easy
		ai_skill_random				= [ai_skill_extreme,ai_skill_hard,ai_skill_hard,ai_skill_hard,ai_skill_hard,ai_skill_medium,ai_skill_medium,ai_skill_medium,ai_skill_medium,ai_skill_easy];

That's wrong, isn't it :) What would I have to change the combatmode and behavior too to make them very hard?

Link to comment
Share on other sites

  On 11/16/2014 at 11:40 PM, oSoDirty said:

So i have a working and tested setup for C130 or cargo plane missions or whatever you want to call them =]  im using 2.2.0 beta v3

 

THESE ARE TAVIANA COORDS CHANGE THE COORDS IN cargo_plane.sqf (hero and bandit) TO SUIT YOUR NEEDS!!!

 

 

1st of all you need to add this line in the vehicle arrays in the config:

        cargo_planes                = ["C130J_US_EP1_DZ","C130J"];

Note: You can add any aircraft you want the mission to choose from here.

 

 

Now since were already in the config add

["cargo_plane",8]

in each of the mission arrays.

 

Note: change the 8 and other numbers to add up to 100 for you array to work properly

 

 

Create 2 files (one in each of the mission folders-hero/bandit), both called cargo_plane.sqf  

 

Paste this into the hero cargo_plane.sqf

 

  Reveal hidden contents

 

And this into the bandit cargo_plane.sqf 

  Reveal hidden contents

 

Remember to change the coords if you do not host a taviana or or epoch/overpoch-origins server.

 

Hope you enjoy!!

Thanks, will test this out! :D I changed the _position statement to _position = [80] call find_position; so it will randomly find a spot, i hate my players knowing exactly where a mission is :P

Link to comment
Share on other sites

  On 11/20/2014 at 9:52 PM, KamikazeXeX said:

Thanks, will test this out! :D I changed the _position statement to _position = [80] call find_position; so it will randomly find a spot, i hate my players knowing exactly where a mission is :P

yea, im going to test it with multiple coords and see what i can do. i only use static coords in this particular mission for the ability/room to take off =]

 

i aim to get it working without having to make repeats of the mission with different coords to ensure that you dont waste your time killing a bunch of ai in hopes of selling an air plane to find that there is no room to take off

Link to comment
Share on other sites

  On 11/20/2014 at 11:17 PM, oSoDirty said:

yea, im going to test it with multiple coords and see what i can do. i only use static coords in this particular mission for the ability/room to take off =]

 

i aim to get it working without having to make repeats of the mission with different coords to ensure that you dont waste your time killing a bunch of ai in hopes of selling an air plane to find that there is no room to take off

just do something like this 

_pos1 = [X,Y,Z];

_pos2 = [X,Y,Z];

_pos3 = [X,Y,Z];

_pos4 = [X,Y,Z];

_position = [_pos1,_pos2,_pos3,_pos4] call BIS_fnc_selectRandom;

That will select a random pos from the array :D no need for multiple copies

Link to comment
Share on other sites

  On 11/21/2014 at 1:09 AM, KamikazeXeX said:

just do something like this 

_pos1 = [X,Y,Z];

_pos2 = [X,Y,Z];

_pos3 = [X,Y,Z];

_pos4 = [X,Y,Z];

_position = [_pos1,_pos2,_pos3,_pos4] call BIS_fnc_selectRandom;

That will select a random pos from the array :D no need for multiple copies

yep =] was just coming to report back lol

 

i did

 

_coord1 =

_coord2 =

_posistion =........

 

but yea, im a noob lol. i just poke through other scripts and what not till i find something that works.  But thanks! good to know if i had no luck elsewhere this would have been solved here! =]

Link to comment
Share on other sites

  On 11/21/2014 at 3:30 AM, oSoDirty said:

yep =] was just coming to report back lol

 

i did

 

_coord1 =

_coord2 =

_posistion =........

 

but yea, im a noob lol. i just poke through other scripts and what not till i find something that works.  But thanks! good to know if i had no luck elsewhere this would have been solved here! =]

Good to hear man :D I'm going to make some custom stuff later on, want to re-write the old stoner C130 carrying weed crash that was posted in the smoke weed script thread over to the new 2.2.0 Beta ^_^ I'll post it here when I'm done :)

Link to comment
Share on other sites

  On 11/21/2014 at 10:22 PM, KamikazeXeX said:

Good to hear man :D I'm going to make some custom stuff later on, want to re-write the old stoner C130 carrying weed crash that was posted in the smoke weed script thread over to the new 2.2.0 Beta ^_^ I'll post it here when I'm done :)

nice, im looking for a way to make missions choose from varoius crate configs... no luck so far. any useful imput on that woyld be appreciated!!

Link to comment
Share on other sites

Im trying to remove the crate from a mission. But once i do the mission no longer clears. I have tried changing the "crate" to "assassinate",  _group  in the complete= section and spawning in the group the same way the president is spawned in. I have also removed all varaiables that have anything to with crate "_crate or _crate_type....."  Has anyone had any luck with removing the crate and getting the mission to clear? If so, mind telling me how? The crate really likes to cause some grief with taking off in some planes in my cargo plane mission :(

Link to comment
Share on other sites

Hey ive been trying to get this new version a go, but i cant seem to get it to work 100%

 

In my rpt there is this error

23:12:20 Error in expression <tion = wai_mission_data select _mission select 3;
};

{
_x setVariable ["Aggress>
23:12:20 Error position: <select 3;
};

{
_x setVariable ["Aggress>
23:12:20 Error select: Type Number, expected Array,Config entry
23:12:20 File z\addons\dayz_server\WAI\compile\bandit_behaviour.sqf, line 14

My static spawn file is

  Reveal hidden contents

 

The ai Is spawning randomly around the map in groups. but nothing else. no heli patrol or static ai. and im getting that error from the bandit file.

 

 

Thanks for your help

Link to comment
Share on other sites

  On 11/23/2014 at 5:37 AM, ALKINDA said:

Hey ive been trying to get this new version a go, but i cant seem to get it to work 100%

 

In my rpt there is this error

23:12:20 Error in expression <tion = wai_mission_data select _mission select 3;
};

{
_x setVariable ["Aggress>
23:12:20 Error position: <select 3;
};

{
_x setVariable ["Aggress>
23:12:20 Error select: Type Number, expected Array,Config entry
23:12:20 File z\addons\dayz_server\WAI\compile\bandit_behaviour.sqf, line 14

My static spawn file is

if(isServer) then {

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

	[
		[953.237,4486.48,0.001],			// Position
		4,									// Number Of units
		"Random",							// Skill level of unit (easy, medium, hard, extreme, Random)
		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
		4,									// Number of magazines
		"Random",							// Backpack classname, use "Random" or classname here
		"Random",							// Skin classname, use "Random" or classname here
		"Random",							// Gearset number. "Random" for random gear set
		"Bandit"							// AI Type, "Hero" or "Bandit".
	] call spawn_group;

	Place your custom group spawns below
	*/
[[16472.6,18351.199,0.001],7,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[16472.6,18351.199,0.001],7,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[16472.6,18351.199,0.001],7,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[16472.6,18351.199,0.001],7,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[16309.9,18405.9,0.001],15,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[16084.9,18474.3,0.001],15,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[16872.9,18403.9,0.001],15,"Random","Random",4,"Random","Random","Random"] call spawn_group;
[[17160.5,18753.5,0.001],35,"Random","Random",4,"Random","Random","Random"] call spawn_group;

[[4414.8174,8502.6533,13.456329],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4046.5571,8583.1963,3.0517578e-005],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4102.689,8618.4141,-0.00012207031],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4164.832, 8626.1973, -3.0517578e-005],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4251.3823, 8591.6045, -9.1552734e-005],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;    //doba
[[4235.2007, 8427.5283, 0],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4390.7388, 8376.7646, -6.1035156e-005],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4406.0049, 8555.9668, 3.0517578e-005],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4524.3301, 8593.1494, 0],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba
[[4431.1138, 8652.1104, 9.1552734e-005],5,"Random","Random",4,"Random","Random","Random"] call spawn_group;  //doba

	/*
	Custom static weapon spawns Eg. (with mutiple positions)

	[
		[									// Position(s) (can be multiple)
			[911.21,4532.76,2.62],
			[921.21,4542.76,2.62]
		],
		"M2StaticMG",						// Classname of turret
		"easy",								// Skill level of unit (easy, medium, hard, extreme, Random)
		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
		"Bandit",							// AI Type, "Hero" or "Bandit".
		"Random",							// Primary gun set number. "Random" for random weapon set
		2,									// Number of magazines
		"Random",							// Backpack classname, use "Random" or classname here
		"Random"							// Gearset classname, use "Random" or classname here
	] call spawn_static;

	Place your custom static weapon spawns below
	*/

[[[16552.6,18217.3,15.516]],"Igla_AA_pod_East","hard","TK_GUE_Soldier_AAT_EP1","Random",4,"Random","Random"] call spawn_static;
[[[16610.7,18229.2,15.516]],"M2StaticMG","hard","TK_GUE_Soldier_AAT_EP1","Random",4,"Random","Random"] call spawn_static;		


	/*
	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)
		"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
	*/
[[16412.7,18432.0,0.1],[16412.7,18432.0,0.001],26,3,"AH6J_EP1","Random","Random","Random"] spawn heli_patrol;
[[16390.2,18450.5,0.1],[16390.2,18450.5,0.001],27,3,"UH1H_DZ","Random","Random","Random"] spawn heli_patrol;		
[[16367.2,18470.0,0.1],[16367.2,18470.0,0.001],20,3,"AH6J_EP1","Random","Random","Random"] spawn heli_patrol;
[[17130.6,18118.8,0.1],[17130.6,18118.8,0.001],26,3,"UH1H_DZ","Random","Random","Random"] spawn heli_patrol;
[[17130.6,18118.8,0.1],[17130.6,18118.8,0.001],29,3,"UH1H_DZ","Random","Random","Random"] spawn heli_patrol;

	/* 
	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)
		"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 vehicle_patrol;

	Place your vehicle patrols below this line
	*/

[[16472.6,18351.199,0.001],[16479.6,18351.199,0.001],50,10,"ATV_US_EP1","easy","Random","Random"] spawn vehicle_patrol;
[[16472.6,18351.199,0.001],[16479.6,18351.199,0.001],50,10,"HMMWV_M2_USArmy","easy","Random","Random"] spawn vehicle_patrol;
[[16407.3,18405.9,0.001],[16407.3,18405.9,0.1],50,10,"HMMWV_TOW_DES_EP1","hard","Random","Random"] spawn vehicle_patrol;
[[17130.6,18118.8,0.001],[16479.6,18351.199,0.001],50,10,"HMMWV_M2_USArmy","easy","Random","Random"] spawn vehicle_patrol;
[[16872.9,18403.9,0.001],[16872.9,18403.9,0.001],50,10,"UAZ_MG_TK_EP1","easy","Random","Random"] spawn vehicle_patrol;
[[16084.9,18474.3,0.001],[16084.9,18474.3,0.001],50,10,"ATV_US_EP1","easy","Random","Random"] spawn vehicle_patrol;
[[16084.9,18474.3,0.001],[16084.9,18474.3,0.001],50,10,"UAZ_MG_TK_EP1","easy","Random","Random"] spawn vehicle_patrol;
[[16084.9,18474.3,0.001],[16084.9,18474.3,0.001],50,10,"HMMWV_M2_USArmy","easy","Random","Random"] spawn vehicle_patrol;
	/*
	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!)
		5,									// Number of units to be para dropped
		"Random",							// Skill level of units (easy, medium, hard, extreme, Random)
		"Random",	or ["Random","at"],		// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
		4,									// Number of magazines
		"Random",							// Backpack classname, use "Random" or classname here
		"Bandit2_DZ",						// Skin classname, use "Random" or classname here
		"Random",							// Gearset number. "Random" for random gear set.
		"Bandit",							// AI Type, "Hero" or "Bandit".
		true								// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
	] spawn heli_para;

	Place your paradrop spawns under this line
	*/

	diag_log "WAI: Static mission loaded";

};
//Heres a Example

The ai Is spawning randomly around the map in groups. but nothing else. no heli patrol or static ai. and im getting that error from the bandit file.

 

 

Thanks for your help

 This is my static file.

  Reveal hidden contents

p

100% working even crates work (you will have to change crate type since mine is added in myself and wont be in your config)  Just change the coords on the ones you want and lose the ones you dont add you groups and you should be good to go. Pretty sure the error is a false positive due the static script. WAI likes to throw errors when missions arent coded properly. I know mine does lol.

Link to comment
Share on other sites

  On 11/11/2014 at 4:22 AM, f3cuk said:

WICKED AI BETA 2.2.0 v3

 

Updated Beta release for 2.2.0

  • Added decent radio support
  • Better vehicle damager
  • Some perfomance tuning
  • Finetuned missions / settings

Note: Installation instructions have been changed, please read them carefully.

 

Download

Wicked AI BETA 2.2.0 v3

 

 

Does anyone have a working custom static spawn for 2.2.0? My attempts dont spawn any roaming heli's or patrols.

 

My config has:

		static_missions				= true;		// use static mission file
		custom_per_world			= true;		// use a custom mission file per world

My custom static spawns worked with 2.1.4 -- is there changes that need to be made to make it work again?

 

 

Config.sqf

  Reveal hidden contents

And here is my custom static spawn

Thanks for all your help in trying to get my static spawns working once again.

Link to comment
Share on other sites

@f3cuk
@Jossy
 
I love all the updates and sorting of the code you fellas have done. All works well except for this error when I try to use static spawns. I do have static_missions = true; in the config. Here is what came from the RPT:

9:33:53 "WAI: AI Config File Loaded"
9:33:55 "WAI: AI Monitor Started"
9:33:55 "WAI: Initialising missions"
9:33:55 "WAI: Initialising static missions"
9:33:56 Error in expression <unit] joinSilent _unitGroup;

call {
if(_aitype == "hero") exitWith { _unit se>
9:33:56 Error position: <_aitype == "hero") exitWith { _unit se>
9:33:56 Error Undefined variable in expression: _aitype
9:33:56 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 109
9:33:56 Error in expression < call BIS_fnc_selectRandom;
};

_unit = _unitGroup createUnit [_aiskin,[_pos_x,_>
9:33:56 Error position: <_unitGroup createUnit [_aiskin,[_pos_x,_>
9:33:56 Error enableai: Undefined variable in expression: _unitgroup
9:33:56 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 105
9:33:56 Error in expression <gun	= _gun select 0;
};

if (typeName _aitype == "ARRAY") then {
_gain = _a>
9:33:56 Error position: <_aitype == "ARRAY") then {
_gain = _a>
9:33:56 Error Undefined variable in expression: _aitype
9:33:56 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 23

And here is what I have in the default.sqf

if(isServer) then {


	//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
*/
[[18091,2546.45,0.001], //position
5,						  //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;

[[10095.5,7551.79,0.001], //position
5,						  //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;

[[14326.1,16931.7,0.001], //position
5,						  //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;




/*
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
*/
[[10153.6,13537.4,6.9],    //Position to patrolCenter Of Map
[10153.6,13537.4,150],  // Position to spawn chopper at
5500,					//Radius of patrol
36,                     //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;

[[11301.9,6982.56,6.3],    //Position to patrol
[11301.9,6982.56,150],  // Position to spawn chopper at
5500,					//Radius of patrol
36,                     //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;


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

[[15202.3,11490.8,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
*/

[[10216.5,9166.04,0.002],   //Position to patrol Center of Map
[11301.9,6982.56,6.3],	// Position to spawn at
5800,					//Radius of patrol
36,                     //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;


/*
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!)
5,                                 //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.
True                               //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
*/

	diag_log "WAI: Static mission loaded";

};

ANY and ALL help would be be greatly appreciated.

Link to comment
Share on other sites

Seems to be an error in your syntax. This is the 2.1.4. syntax for spawning groups..

[    
    [953.237,4486.48,0.001], // Position
    4, // Number Of units
    "Random", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", // or ["Random","at"], Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;
Link to comment
Share on other sites

Ok, I downloaded the Release 2.2.0 and I have that all sorted out and working now. I am getting this from the RPT but none of the Heli Patrols are being loaded.
 

13:42:43 "WAI: AI Config File Loaded"
13:42:44 "WAI: Initialising static missions"
13:42:44 "WAI: AI Monitor Started"
13:42:46 "infiSTAR.de AdminReq: [1234,B 1-1-C:1 (REDRUM) REMOTE,"76561198144983467"]"
13:42:46 "infiSTAR.de AdminReqProceed: B 1-1-C:1 (REDRUM) REMOTE"
13:42:46 "infiSTAR.de ******ADMIN-LOGIN******: REDRUM(76561198144983467)"
13:42:47 "WAI: Initialising missions"
13:42:53 "WAI: Spawned a group of 4 AI (Bandit) at [18091,2546.45,0.001]"
13:42:57 "WAI: Spawned a group of 4 AI (Bandit) at [10095.5,7551.79,0.001]"
13:42:57 "WAI: Spawned a group of 4 AI (Bandit) at [14326.1,16931.7,0.001]"
13:42:57 "WAI: Static mission loaded"

Here is what I have for it:

	Place your heli patrols below
	*/
	[
		[10153.6,13537.4,6.8],				// Northern Position to patrol
		[10153.6,13537.4,108],				// Position to spawn chopper at
		5500,								// Radius of patrol
		12,									// 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;

	[
		[11301.9,6982.56,6.2],				// Southern Position to patrol 
		[11301.9,6982.56,108],				// Position to spawn chopper at
		5500,								// Radius of patrol
		12,									// 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;

Is there a place in one of the configs where I am missing a switch or something?

Link to comment
Share on other sites

  On 11/24/2014 at 10:03 PM, -xXx-REDRUM said:

Ok, I downloaded the Release 2.2.0 and I have that all sorted out and working now. I am getting this from the RPT but none of the Heli Patrols are being loaded.

 

13:42:43 "WAI: AI Config File Loaded"
13:42:44 "WAI: Initialising static missions"
13:42:44 "WAI: AI Monitor Started"
13:42:46 "infiSTAR.de AdminReq: [1234,B 1-1-C:1 (REDRUM) REMOTE,"76561198144983467"]"
13:42:46 "infiSTAR.de AdminReqProceed: B 1-1-C:1 (REDRUM) REMOTE"
13:42:46 "infiSTAR.de ******ADMIN-LOGIN******: REDRUM(76561198144983467)"
13:42:47 "WAI: Initialising missions"
13:42:53 "WAI: Spawned a group of 4 AI (Bandit) at [18091,2546.45,0.001]"
13:42:57 "WAI: Spawned a group of 4 AI (Bandit) at [10095.5,7551.79,0.001]"
13:42:57 "WAI: Spawned a group of 4 AI (Bandit) at [14326.1,16931.7,0.001]"
13:42:57 "WAI: Static mission loaded"

Here is what I have for it:

	Place your heli patrols below
	*/
	[
		[10153.6,13537.4,6.8],				// Northern Position to patrol
		[10153.6,13537.4,108],				// Position to spawn chopper at
		5500,								// Radius of patrol
		12,									// 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;

	[
		[11301.9,6982.56,6.2],				// Southern Position to patrol 
		[11301.9,6982.56,108],				// Position to spawn chopper at
		5500,								// Radius of patrol
		12,									// 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;

Is there a place in one of the configs where I am missing a switch or something?

 

 

Ive been trying to figure out the same thing. Seems I found the problem. 

The guns in your config, for some reason cant be all the guns for overpoch. Ive used the default config and changed the last 2 vars to true and my custom static spawn script and it worked. When I decided to add in the overpoch guns it seems to not work again.

 

 

Here is my config.sqf

  Reveal hidden contents

 

Here is my chernarus.sqf

 

  Reveal hidden contents

 

I would love to have all the guns working with WAI, does anyone know if I am on to something or if im missing something?

 

Here is my overpoch guns, which i normall copy paste into config.sqf

 

  Reveal hidden contents

Link to comment
Share on other sites

The new config has guns only, NO AMMO!

 

so:

ai_wep_assault = [
["RH_hk416","30Rnd_556x45_Stanag"]
,["RH_hk416s","30Rnd_556x45_Stanag"]
,["RH_hk416saim","30Rnd_556x45_Stanag"]
,["RH_hk416seotech","30Rnd_556x45_Stanag"]

becomes:

ai_wep_assault = [
"RH_hk416"
,"RH_hk416s"
,"RH_hk416saim"
,"RH_hk416seotech"

Share it when your done, others would appreciate it

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...