Jump to content

[Release] Wicked AI 2.2.0


f3cuk

Recommended Posts

A little mission I've put together to add to the easy Hero missions, don't know if you want to add it in Jossy.

 

 

if(isServer) then {


    private ["_complete","_crate","_mission","_position","_num_guns","_num_tools","_num_items","_rndnum","_rndgro","_crate_type","_baserunover"];


_position = [30] call find_position;
_mission = [_position,"Easy","Bandit Patrol","MainHero",true] call mission_init;


diag_log  format["WAI: [Mission:[Hero] Bandit Patrol]: Starting... %1",_position];


//Setup the crate
_crate_type  = crates_small call BIS_fnc_selectRandom;
_crate  = createVehicle [_crate_type,[(_position select 0) - 20,(_position select 1) - 20,0], [], 0, "CAN_COLLIDE"];


//Military Chopper
_vehclass  = armed_chopper call BIS_fnc_selectRandom;


//Spawn vehicle
_vehicle = [_vehclass,_position] call custom_publish;


//Troops
_rndnum  = 1 + round (random 4);
_rndgro  = 1 + round (random 3);


for "_i" from 0 to _rndgro do {
[[_position select 0,_position select 1,0],_rndnum,"Easy",[2,"at"],4,"Random","Bandit","Random","Bandit",_mission] call spawn_group;
};


//Condition
_complete = [
[_mission,_crate], // mission number and crate
["kill"],  // ["crate"], or ["kill"], or ["assassinate", _unitGroup],
[_vehicle],  // cleanup objects
"A bandit scout patrol has landed to site a new base, stop them before they get back and report!", // mission announcement
"Survivors have dealt with the scout patrol!", // mission success
"Survivors did not deal with the scout patrol in time! A bandit base might appear here soon!" // mission fail
] call mission_winorfail;


if(_complete) then {
[_crate,4,8,36,2] call dynamic_crate;
};


diag_log format["WAI: [Mission:[Hero] Bandit Patrol]: Ended at %1",_position];


h_missionrunning = false;
};

 

Link to comment
Share on other sites

Ah okay, thanks. Anyway, back to my first question. How would one get only 1 mission at a time? 

I noticed there are some commented out lines in WAI\missions\init.sqf, does that have something to do with it, or should I just script it myself?

Edit// Nvm those lines are for special missions.

Why would you only want one mission at a time? unless you run a strict pve server with no bandits, and if that's the case just comment this line out like the other one

//if((_currTime - _b_startTime >= _b_missionTime) && (!b_missionrunning)) then { _result = 2; };

Link to comment
Share on other sites

Why would you only want one mission at a time? unless you run a strict pve server with no bandits, and if that's the case just comment this line out like the other one

//if((_currTime - _b_startTime >= _b_missionTime) && (!b_missionrunning)) then { _result = 2; };

 

On the contrary. I'm trying to bring everybody together to get the most player vs player conflicts. It's much likelier to happen if there's 1 mission instead of multiple ones.

Link to comment
Share on other sites

I can't seem to get the special mission to spawn, is there something I need to do to enable them other than uncommenting them in the config?

 

Also I'm getting lots of errors in my RPT file, I can only assume it's the custom spawns, someone mind taking a look?

 

Errors:

 

 

3:50:10 "WAI: Static mission loaded"
 3:50:10 Error in expression <lot] joinSilent _unitGroup;
 
call {
if (_aitype == "Hero") exitWith { _pilot s>
 3:50:10   Error position: <_aitype == "Hero") exitWith { _pilot s>
 3:50:10   Error Undefined variable in expression: _aitype
 3:50:10 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 48
 3:50:10 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:10   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:10   Error Undefined variable in expression: _aitype
 3:50:10 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 37
 3:50:10 Error in expression <uel 0;(_this select 0) setDamage 1;}];
 
_pilot assignAsDriver _helicopter;
_>
 3:50:10   Error position: <_pilot assignAsDriver _helicopter;
_>
 3:50:10   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:10 File z\addons\dayz_server\WAI\compile\heli_patrol.sqf, line 63
 3:50:10 Error in expression < joinSilent _unitGroup;
 
call {
if (_aitype == "hero") exitWith { _pilot s>
 3:50:10   Error position: <_aitype == "hero") exitWith { _pilot s>
 3:50:10   Error Undefined variable in expression: _aitype
 3:50:10 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 53
 3:50:11 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 43
 3:50:11 Error in expression <t PVDZE_serverObjectMonitor,_vehicle];
 
_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error position: <_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 70
 3:50:11 Error in expression < joinSilent _unitGroup;
 
call {
if (_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error position: <_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 53
 3:50:11 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 43
 3:50:11 Error in expression <t PVDZE_serverObjectMonitor,_vehicle];
 
_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error position: <_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 70
 3:50:11 Error in expression < joinSilent _unitGroup;
 
call {
if (_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error position: <_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 53
 3:50:11 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 43
 3:50:11 Error in expression <t PVDZE_serverObjectMonitor,_vehicle];
 
_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error position: <_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 70
 3:50:11 Error in expression < joinSilent _unitGroup;
 
call {
if (_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error position: <_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 53
 3:50:11 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 43
 3:50:11 Error in expression <t PVDZE_serverObjectMonitor,_vehicle];
 
_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error position: <_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 70
 3:50:11 Error in expression < joinSilent _unitGroup;
 
call {
if (_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error position: <_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 53
 3:50:11 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 43
 3:50:11 Error in expression <t PVDZE_serverObjectMonitor,_vehicle];
 
_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error position: <_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 70
 3:50:11 Error in expression < joinSilent _unitGroup;
 
call {
if (_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error position: <_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 53
 3:50:11 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 43
 3:50:11 Error in expression <t PVDZE_serverObjectMonitor,_vehicle];
 
_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error position: <_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 70
 3:50:11 Error in expression < joinSilent _unitGroup;
 
call {
if (_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error position: <_aitype == "hero") exitWith { _pilot s>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 53
 3:50:11 Error in expression <iskin call BIS_fnc_selectRandom;
};
 
if(_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error position: <_aitype == "Hero") then {
_unitGroup = c>
 3:50:11   Error Undefined variable in expression: _aitype
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 43
 3:50:11 Error in expression <t PVDZE_serverObjectMonitor,_vehicle];
 
_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error position: <_pilot assignAsDriver _vehicle;
_pilot >
 3:50:11   Error assignasdriver: Undefined variable in expression: _pilot
 3:50:11 File z\addons\dayz_server\WAI\compile\vehicle_patrol.sqf, line 70

 

 

Custom Spawns:

if(isServer) then {




//Custom Spawns file//
/*
Custom group spawns Eg.
*/
// Unbeswingbar
[[5062.87,4458.6,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// Unbeswingbar 2
[[5063.87,4458.6,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","aa"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;




// Milan
[[10097,7778,0],  //position
5,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// Milan 2
[[10186,7398,0],  //position
4,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","aa"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// Exodus
[[15084,16300,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// Exodus 2
[[15074,16300,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","aa"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// Suhrenfeld
[[16299,18490,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// Suhrenfeld 2
[[16595,18241,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","aa"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// US Military Medivac Base 1
[[17080.2,9796.18,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// US Military Medivac Base 2
[[17297.9,10068.6,0],  //position
3,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","aa"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] call spawn_group;


// US Military Medivac Base 3
[[16848.7,9533.25,0],  //position
2,   //Number Of units
"medium",       //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],       //Primary gun set number. "Random" for random weapon set.
4,   //Number of magazines
"Random",   //Backpack "" for random or classname here.
"Bandit2_DZ",    //Skin "" for random or classname here.
"Random",                  //Gearset number. "Random" for random gear set.
"Bandit" // AI Type, "Hero" or "Bandit".
] 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.


[[5000,5000,0],    //Position to patrol
[100,100,50],              // Position to spawn chopper at
4000, //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
*/
// Unbezwingbar
[[5062.87,4458.6,80],    //Position to patrol
[5062.87,4458.6,80],              // Position to spawn chopper at
300, //Radius of patrol
5,                     //Number of waypoints to give
"UH1H_TK_EP1",         //Classname of vehicle (make sure it has driver and two gunners)
"medium", //Skill level of units 
"Bandit"
] spawn heli_patrol;


// Exodus
[[14538,16862,80],    //Position to patrol
[14538,16862,80],              // Position to spawn chopper at
300, //Radius of patrol
5,                     //Number of waypoints to give
"UH1H_TK_EP1",         //Classname of vehicle (make sure it has driver and two gunners)
"medium", //Skill level of units 
"Bandit"
] spawn heli_patrol;


// Suhrenfeld
[[16445,18371,80],    //Position to patrol
[16445,18371,80],              // Position to spawn chopper at
300, //Radius of patrol
5,                     //Number of waypoints to give
"Mi17_TK_EP1",         //Classname of vehicle (make sure it has driver and two gunners)
"medium", //Skill level of units
"Bandit" // AI Type, "Hero" or "Bandit".
] 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)
1 //Skill level of units 
] spawn vehicle_patrol;


Place your vehicle patrols below this line
*/
// Unbezwingbar
[[4855,4554,80],   //Position to patrol
[4032,4361,80], // Position to spawn at
400, //Radius of patrol
10,                     //Number of waypoints to give
"BMP2_HQ_INS", //Classname of vehicle (make sure it has driver and gunner)
"medium", //Skill level of units 
"Bandit" // AI Type, "Hero" or "Bandit".
] spawn vehicle_patrol;


// Exodus
[[14538,16862,0],   //Position to patrol
[14146,17146,0], // Position to spawn at
400, //Radius of patrol
10,                     //Number of waypoints to give
"BMP2_HQ_INS", //Classname of vehicle (make sure it has driver and gunner)
"medium", //Skill level of units 
"Bandit" // AI Type, "Hero" or "Bandit".
] spawn vehicle_patrol;


// Suhrenfeld
[[16423,18424,0],   //Position to patrol
[16412,18424,0], // Position to spawn at
200, //Radius of patrol
10,                     //Number of waypoints to give
"ZSU_TK_EP1", //Classname of vehicle (make sure it has driver and gunner)
"medium", //Skill level of units 
"Bandit" // AI Type, "Hero" or "Bandit".
] spawn vehicle_patrol;


// US Military Medivac Base Hummer Armored
[[17098.2,9936.47,0],   //Position to patrol
[17098.2,9936.47,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)
"medium", //Skill level of units 
"Bandit" // AI Type, "Hero" or "Bandit".
] spawn vehicle_patrol;


// US Military Medivac Base Hummer TOW
[[17078.2,9916.47,0],   //Position to patrol
[17078.2,9916.47,0], // Position to spawn at
200, //Radius of patrol
10,                     //Number of waypoints to give
"HMMWV_TOW", //Classname of vehicle (make sure it has driver and gunner)
"medium", //Skill level of units 
"Bandit" // AI Type, "Hero" or "Bandit".
] spawn vehicle_patrol;


// US Military M1128
[[16899,9763,0],   //Position to patrol
[16899,9763,0], // Position to spawn at
200, //Radius of patrol
5,                     //Number of waypoints to give
"M1128_MGS_EP1", //Classname of vehicle (make sure it has driver and gunner)
"medium", //Skill level of units 
"Bandit" // AI Type, "Hero" or "Bandit".
] spawn vehicle_patrol;


// US Military M1128
[[16879,9763,0],   //Position to patrol
[16879,9763,0], // Position to spawn at
200, //Radius of patrol
5,                     //Number of waypoints to give
"M113_UN_EP1", //Classname of vehicle (make sure it has driver and gunner)
"medium", //Skill level of units 
"Bandit" // AI Type, "Hero" or "Bandit".
] 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
*/


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




// Unbezwingbar
[[5062.87,4458.6,80], //Position that units will be dropped by
[4852,497,80],                           //Starting position of the heli
10,                               //Radius from drop position a player has to be to spawn chopper
"AH6J_EP1",                    //Classname of chopper (Make sure it has 2 gunner seats!)
0,                                 //Number of units to be para dropped
"medium",                                 //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
"Random",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
"Bandit", // AI Type, "Hero" or "Bandit".
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
] spawn heli_para;


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


// Exodus
[[14305,16959,80], //Position that units will be dropped by
[14636,20285,80],                           //Starting position of the heli
10,                               //Radius from drop position a player has to be to spawn chopper
"AH6J_EP1",                    //Classname of chopper (Make sure it has 2 gunner seats!)
0,                                 //Number of units to be para dropped
"medium",                                 //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
"Random",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
"Bandit", // AI Type, "Hero" or "Bandit".
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
] spawn heli_para;


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


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


// US Military Medivac Base 1
[[17083.7,9802.01,80], //Position that units will be dropped by
[20665.4,9305,80],                           //Starting position of the heli
30,                               //Radius from drop position a player has to be to spawn chopper
"AH6J_EP1",                    //Classname of chopper (Make sure it has 2 gunner seats!)
0,                                 //Number of units to be para dropped
"medium",                                 //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
"Random",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
"Bandit", // AI Type, "Hero" or "Bandit".
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
] spawn heli_para;


// US Military Medivac Base 2
[[17083.7,9802.01,80], //Position that units will be dropped by
[20565.4,9305,80],                           //Starting position of the heli
100,                               //Radius from drop position a player has to be to spawn chopper
"AH6J_EP1",                    //Classname of chopper (Make sure it has 2 gunner seats!)
0,                                 //Number of units to be para dropped
"medium",                                 //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
"Random",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
"Bandit", // AI Type, "Hero" or "Bandit".
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
] spawn heli_para;


// US Military Medivac Base 3
[[17083.7,9802.01,80], //Position that units will be dropped by
[20465.4,9305,80],                           //Starting position of the heli
200,                               //Radius from drop position a player has to be to spawn chopper
"AW159_lynx_BAF",                    //Classname of chopper (Make sure it has 2 gunner seats!)
6,                                 //Number of units to be para dropped
"medium",                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"Random",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
"Bandit", // AI Type, "Hero" or "Bandit".
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
] spawn heli_para;


// US Military Medivac Base 4
[[17083.7,9802.01,80], //Position that units will be dropped by
[20165.4,9305,80],                           //Starting position of the heli
500,                               //Radius from drop position a player has to be to spawn chopper
"Mi17_UN_CDF_EP1",                    //Classname of chopper (Make sure it has 2 gunner seats!)
5,                                 //Number of units to be para dropped
"medium",                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"Random",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
"Bandit", // AI Type, "Hero" or "Bandit".
True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
] spawn heli_para;


// US Military Medivac Base 5
[[17083.7,9802.01,100], //Position that units will be dropped by
[20165.4,9305,9999],                           //Starting position of the heli
30,                               //Radius from drop position a player has to be to spawn chopper
"AN2_DZ",                    //Classname of chopper (Make sure it has 2 gunner seats!)
8,                                 //Number of units to be para dropped
"medium",                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
["Random","at"],                          //Primary gun set number. "Random" for random weapon set.
4,                                 //Number of magazines
"Random",                                //Backpack "" for random or classname here.
"Bandit2_DZ",                      //Skin "" for random or classname here.
"Random",                          //Gearset number. "Random" for random gear set.
"Bandit", // AI Type, "Hero" or "Bandit".
false                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
] spawn heli_para;


diag_log "WAI: Static mission loaded";


};

Link to comment
Share on other sites

Found it. In the presidents mission, line 32.

 

//Humvee Patrol   [[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","Random","Hero","Hero",_mission] call vehicle_patrol;

 

Should read:

 

 

//Humvee Patrol   [[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","Hero","Random","Hero",_mission] call vehicle_patrol;

 

And the Hero Base, line 39, same error. Bandit Base, line 39. 

 

Note I've added some vehicle patrols to missions here and there so your master copy may not have all those faults. I did check Github for the first one though.

Link to comment
Share on other sites

Get this error in my RPT when using custom AI

19:55:30 Error in expression <

 
 
 
 
 
 
 
 
 
 
 
 
 
[
[1417.9,4028.24,0.1]
7,
"extreme",
"Random", >
19:55:30   Error position: <7,
"extreme",
"Random", >
19:55:30   Error Missing ]
19:55:30 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 25
19:55:30 Error in expression <
 
 
 
 
 
 
 
 
 
 
 
 
 
[
[1417.9,4028.24,0.1]
7,
"extreme",
"Random", >
19:55:30   Error position: <7,
"extreme",
"Random", >
19:55:30   Error Missing ]
19:55:30 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 25
19:55:30 "WAI: AI Monitor Started"

This is my sqf file for the error call

[Place your custom group spawns below
*/
 
    [
[1417.9,4028.24,0.1] // Position
7, // Number Of units
"extreme", // 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;
 
[
[1335.9,4113.85,0.1], // Position
7, // Number Of units
"extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
"Random", or ["Random","aa"], // 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;
 
[
[1318.62,4127.0,0.1], // Position
7, // Number Of units
"extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
"Random", or ["Random","aa"], // 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;
 
[
[1317.62,4120.0,0.1], // Position
7, // Number Of units
"extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
"Random", or ["Random","aa"], // 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;
 
[
[1365.16,4000.22,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1355.55,3990.26,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1427.04,3984.35,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1243.64,4116.48,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1231.7,4185.59,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
 
 
 
/*]

I see where the error is and what is says is missing but I can not see where it actually needs to go :)
 
Thanks
Link to comment
Share on other sites

 

Get this error in my RPT when using custom AI

19:55:30 Error in expression <

 
 
 
 
 
 
 
 
 
 
 
 
 
[
[1417.9,4028.24,0.1]
7,
"extreme",
"Random", >
19:55:30   Error position: <7,
"extreme",
"Random", >
19:55:30   Error Missing ]
19:55:30 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 25
19:55:30 Error in expression <
 
 
 
 
 
 
 
 
 
 
 
 
 
[
[1417.9,4028.24,0.1]
7,
"extreme",
"Random", >
19:55:30   Error position: <7,
"extreme",
"Random", >
19:55:30   Error Missing ]
19:55:30 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 25
19:55:30 "WAI: AI Monitor Started"

This is my sqf file for the error call

[Place your custom group spawns below
*/
 
    [
[1417.9,4028.24,0.1] // Position
7, // Number Of units
"extreme", // 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;
 
[
[1335.9,4113.85,0.1], // Position
7, // Number Of units
"extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
"Random", or ["Random","aa"], // 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;
 
[
[1318.62,4127.0,0.1], // Position
7, // Number Of units
"extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
"Random", or ["Random","aa"], // 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;
 
[
[1317.62,4120.0,0.1], // Position
7, // Number Of units
"extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
"Random", or ["Random","aa"], // 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;
 
[
[1365.16,4000.22,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1355.55,3990.26,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1427.04,3984.35,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1243.64,4116.48,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
[
[1231.7,4185.59,0.1], // Position
7, // Number Of units
"extreme", // 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;
 
 
 
 
/*]

I see where the error is and what is says is missing but I can not see where it actually needs to go :)
 
Thanks

 

    [
[1417.9,4028.24,0.1] // Position - missing the , after the ]
7, // Number Of units
"extreme", // 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

 

    [
[1417.9,4028.24,0.1] // Position - missing the , after the ]
7, // Number Of units
"extreme", // 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;

 

Thank you very much! Should of noticed so apologies. 

Link to comment
Share on other sites

Also just did the hero MV-22 capture mission, and you get the trader option and can trade with Ai in the white medical unifroms1

 It just means one of your traders has the same skin as those AI, which is "Doctor", just open the mission, find where it has "Doctor" for the skin and change it to one of the other various doctor skins that's available, you need to check your server_traders.sqf first though to see which skins you're using as traders.

Link to comment
Share on other sites

 

    [
[1417.9,4028.24,0.1] // Position - missing the , after the ]
7, // Number Of units
"extreme", // 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;

 

I inserted the , but still getting the same error

20:54:12 "WAI: Initialising missions"

20:54:12 "WAI: Initialising static missions"
20:54:12 Error in expression <
"extreme",
"Random", or ["Random","at"],
4,
"Random",>
20:54:12   Error position: <["Random","at"],
4,
"Random",>
20:54:12   Error Missing ]
20:54:12 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 27
20:54:12 Error in expression <
"extreme",
"Random", or ["Random","at"],
4,
"Random",>
20:54:12   Error position: <["Random","at"],
4,
"Random",>
20:54:12   Error Missing ]
20:54:12 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 27
20:54:12 "WAI: AI Monitor Started"

 
Sorry to be a pain, but thanks for the help
Link to comment
Share on other sites

 

I inserted the , but still getting the same error

20:54:12 "WAI: Initialising missions"

20:54:12 "WAI: Initialising static missions"
20:54:12 Error in expression <
"extreme",
"Random", or ["Random","at"],
4,
"Random",>
20:54:12   Error position: <["Random","at"],
4,
"Random",>
20:54:12   Error Missing ]
20:54:12 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 27
20:54:12 Error in expression <
"extreme",
"Random", or ["Random","at"],
4,
"Random",>
20:54:12   Error position: <["Random","at"],
4,
"Random",>
20:54:12   Error Missing ]
20:54:12 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 27
20:54:12 "WAI: AI Monitor Started"

 
Sorry to be a pain, but thanks for the help

 

    [
[1417.9,4028.24,0.1] // Position - missing the , after the ]
7, // Number Of units
"extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
"Random", // <- comment lines missing 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

I am not sure if that is the reason, I copied the e.g and just pasted my own coords in, it looks like

 

"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

 

I think the // is in the right place on mine:

 

"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

Link to comment
Share on other sites

That's not correct man, it should be "Random",

 

Or if you want it to have a random weapon set AND a AT or AA launcher then it should be.

 

["Random","at"],

 

Not both.

I now see the error in my ways, thanks again for showing me even though I tried to tell you it was wrong :P oop! ... Just edited and testing

 

WORKS ... Thanks :)

Link to comment
Share on other sites

I think there's a problem with this mission... like 50 or so AI at it, I think there's been more and more spawning in as it's been running.

 

https://drive.google.com/file/d/0B00WZReZH_xMM3liSUd0U0hRQUU/edit?usp=sharing

 

This is the code for the troops to spawn in that one...

 

//Troops
_rndnum = (1 + round(random 7));
_rndgro = (1 + round(random 3));
for "_i" from 0 to _rndgro do {
[[_position select 0,_position select 1,0],_rndnum,"Easy",["Random","at"],3,"Random","Bandit","Random","Bandit",_mission] call spawn_group;
};
 
Is it possible it's adding more and more the longer it runs?
Link to comment
Share on other sites

Found it. In the presidents mission, line 32.

 

//Humvee Patrol   [[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","Random","Hero","Hero",_mission] call vehicle_patrol;

 

Should read:

 

 

//Humvee Patrol   [[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","Hero","Random","Hero",_mission] call vehicle_patrol;

 

And the Hero Base, line 39, same error. Bandit Base, line 39. 

 

Note I've added some vehicle patrols to missions here and there so your master copy may not have all those faults. I did check Github for the first one though.

This is incorrect, where did you see it like this? After you double check this can you please edit the post so other's don't get confused ;)

 

I am not sure if that is the reason, I copied the e.g and just pasted my own coords in, it looks like

 

"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

 

I think the // is in the right place on mine:

 

"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

I think we need to make the example easier to understand somehow..

 

 

I think there's a problem with this mission... like 50 or so AI at it, I think there's been more and more spawning in as it's been running.

 

https://drive.google.com/file/d/0B00WZReZH_xMM3liSUd0U0hRQUU/edit?usp=sharing

 

This is the code for the troops to spawn in that one...

 

//Troops
_rndnum = (1 + round(random 7));
_rndgro = (1 + round(random 3));
for "_i" from 0 to _rndgro do {
[[_position select 0,_position select 1,0],_rndnum,"Easy",["Random","at"],3,"Random","Bandit","Random","Bandit",_mission] call spawn_group;
};
 
Is it possible it's adding more and more the longer it runs?

 

Very unlikely

 

Since i have the new Version installed, there is somewhere on the Map a Survivor standing around and Teleporting away after a few seconds. What doeas that mean or why is it there?

You cant kill him...

No idea what this is from, I doubt it's WAI

 

Anyone know a away to have this spawn in anywhere on the map ,so it's just not on flat surfaces ?

in find_position.sqf 

_safepos = [getMarkerPos "center",0,7500,(_this select 0),0,.5,0,blacklist];

the .5 is maximum terrain gradient (average altitude difference in meters - Number), change it to 50 or so and it should work

 

Good day! On my server the problem with bots WAI.

WAI not see the player after he lost consciousness. This is a problem of bots or server? Thanks in advance!

(write through translator)

I have not come across this problem sorry

Link to comment
Share on other sites

yes...

	// Humvee Patrol Example
	// Parameters:	0: Patrol position
	//				1: Starting position
	//				2: Patrol radius
	//				3: Number of Waypoints
	//				4: Vehicle classname
	//				5: Unit Skill ("easy","medium","hard","extreme" or "random")
	//				6: Skin ("Hero","bandit","random","special" or "classname")
	//				7: AI Type ("bandit","Hero" or "special") ***Used to determine humanity gain or loss***
	//				8: Mission variable from line 9 (_mission)
	[[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","random","bandit","bandit",_mission] call vehicle_patrol;
Link to comment
Share on other sites

 

yes...

	// Humvee Patrol Example
	// Parameters:	0: Patrol position
	//				1: Starting position
	//				2: Patrol radius
	//				3: Number of Waypoints
	//				4: Vehicle classname
	//				5: Unit Skill ("easy","medium","hard","extreme" or "random")
	//				6: Skin ("Hero","bandit","random","special" or "classname")
	//				7: AI Type ("bandit","Hero" or "special") ***Used to determine humanity gain or loss***
	//				8: Mission variable from line 9 (_mission)
	[[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","random","bandit","bandit",_mission] call vehicle_patrol;

Ahh yeah, wtf, sorry man, this is what happens when I work on stuff over a 12hr night shift, no idea what's giving me the errors I'm getting then, I'll keep working on it.

Link to comment
Share on other sites

Ahh yeah, wtf, sorry man, this is what happens when I work on stuff over a 12hr night shift, no idea what's giving me the errors I'm getting then, I'll keep working on it.

Aah nightshift, wish I was still doing those :P

 

I'd say check the static files they might be missing some skin options we added a few updates back to allow for hero/bandits

 

Just had a quick look, // Suhrenfeld heli patrol is missing the skin variable, go through and add those in the same order they are in the example

Edited by Jossy
Link to comment
Share on other sites

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