Jump to content

[Release] Wicked AI 2.2.0


f3cuk

Recommended Posts

it could be misbehaving I'll have a look at it tomorrow, and yes only from 2.1.0

 

Working on that now

 

Yes

 

Thanks Jossy, 

I was trying to get it in version 2.0.5 - testing 2.1.0 now. 

Will feedback shortly

 

EDIT: Ok, so it almost worked. It didn't say the mission was over when I first got there - did an MV-22 mission.

It then said the mission had been secured after killing all but 2 bandits. So out of ~20 bandits - I killed 18 before it said mission was over. 2.1.0 installed - wai_kill_percent = 100;

Cheers

Link to comment
Share on other sites

Well it seams to be something wrong here:

 

spawn_group.sqf

		call {
			if (_skin == "Hero") 	exitWith { _aiskin = ai_hero_skin call BIS_fnc_selectRandom; };
			if (_skin == "Bandit") 	exitWith { _aiskin = ai_bandit_skin call BIS_fnc_selectRandom; };
			if (_skin == "Random") 	exitWith { _aiskin = ai_all_skin call BIS_fnc_selectRandom; };
			if (_skin == "Special") exitWith { _aiskin = ai_special_skin call BIS_fnc_selectRandom; };
			_aiskin = _skin;
		};

Causing error for static patrol spawning:

 

Trigger:

[[7097.00,8357.00,0],10,"Random","Random",4,"Random","Random","Random","Bandit"] call spawn_group;

Error bandits are not here

19:46:38 "WAI: AI Config File Loaded"
19:46:40 "WAI: Initialising missions"
19:46:40 "WAI: Initialising static missions"
19:46:40 "WAI: AI Monitor Started"
19:46:40 "WAI: 0 Active ground units"
19:46:40 "WAI: 0 Active emplacement units"
19:46:40 "WAI: 0 Active chopper patrol units (Crew)"
19:46:40 "WAI: 0 Active vehicle patrol units (Crew)"
19:46:42 Error in expression <_aiskin = _skin;
};

_unit = _unitGroup createUnit [_aiskin, [(_position select >
19:46:42   Error position: <createUnit [_aiskin, [(_position select >
19:46:42   Error Type Array, expected String
19:46:42 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 73
19:47:11 "WAI: 0 Active ground units"
19:47:11 "WAI: 0 Active emplacement units"
19:47:11 "WAI: 0 Active chopper patrol units (Crew)"
19:47:11 "WAI: 0 Active vehicle patrol units (Crew)"

And here another one from spawning a mission but that is epoch bug when removeBackpack _unit function from on_kill.sqf is called.

20:02:08 "WAI: Starting Mission number 1"
20:02:08 "WAI: Mission Data: [[0,"MainHero",[1057831: tm46.p3d,1057833: tm46.p3d,1057835: tm46.p3d,1057837: at15.p3d,1057839: tm46.p3d,1057841: tm46.p3d,1057843: at15.p3d,1057845: at15.p3d,1057847: tm46.p3d,1057849: at15.p3d,1057851: tm46.p3d,1057853: tm46.p3d,1057855: at15.p3d,1057857: tm46.p3d,1057859: at15.p3d,1057861: tm46.p3d,1057863: at15.p3d,1057865: tm46.p3d,1057867: tm46.p3d,1057869: at15.p3d,1057871: tm46.p3d,1057873: tm46.p3d,1057875: tm46.p3d,1057877: tm46.p3d,1057879: at15.p3d]]]"
20:02:08 "WAI: [Hero] disabled_milchopper started At [1001.26,3634.58]"
20:02:09 "WAI: Spawned a group of 5 AI (Bandit) at [1001.26,3634.58,0]"
20:02:09 Strange convex component01 in rh_m14\rh_m1st.p3d:geometry
20:02:09 Strange convex component07 in rh_m14\rh_m1st.p3d:geometry
20:02:09 Strange convex component08 in rh_m14\rh_m1st.p3d:geometry
20:02:09 Strange convex component12 in rh_m14\rh_m1st.p3d:geometry
20:02:10 "WAI: Spawned a group of 5 AI (Bandit) at [1001.26,3634.58,0]"
20:02:11 "WAI: Spawned a group of 5 AI (Bandit) at [1001.26,3634.58,0]"
20:02:12 "WAI: Spawned a group of 5 AI (Bandit) at [1001.26,3634.58,0]"
20:02:12 "WAI: Spawned in 2 M2StaticMG"
20:02:12 "WAI: Spawned "Mi17_DZ" at [1001.26,3634.58] with 0.270561 fuel and 0.2 damage."
20:02:12 "WAI: [Hero] disabled_milchopper spawned a Mi-17"
20:02:28 "WAI: 20 Active ground units"
20:02:28 "WAI: 2 Active emplacement units"
20:02:28 "WAI: 0 Active chopper patrol units (Crew)"
20:02:28 "WAI: 0 Active vehicle patrol units (Crew)"
20:02:58 "WAI: 20 Active ground units"
20:02:58 "WAI: 2 Active emplacement units"
20:02:58 "WAI: 0 Active chopper patrol units (Crew)"
20:02:58 "WAI: 0 Active vehicle patrol units (Crew)"
20:03:09 "Checking markers: ["Tradercitystary","wholesaleSouth","boatTraderEast","BoatDealerSouth","AirVehicles","BanditDen","Klen","BoatDealerEast","TradercityBash","HeroTrader","DZMSMajMarker","DZMSMinMarker","DZMSBMajMarker","DZMSBMinMarker","MainHero","MainBandit","Side1Hero","Side1Bandit","Side2Hero","Side2Bandit","SideSpecial"]"
20:03:12 "Loop complete, valid position [7423.53,12369.1] in 7 attempts."
20:03:12 "WAI: Starting Mission number 2"
20:03:12 "WAI: Mission Data: [[20,"MainHero",[1057831: tm46.p3d,1057833: tm46.p3d,1057835: tm46.p3d,1057837: at15.p3d,1057839: tm46.p3d,1057841: tm46.p3d,1057843: at15.p3d,1057845: at15.p3d,1057847: tm46.p3d,1057849: at15.p3d,1057851: tm46.p3d,1057853: tm46.p3d,1057855: at15.p3d,1057857: tm46.p3d,1057859: at15.p3d,1057861: tm46.p3d,1057863: at15.p3d,1057865: tm46.p3d,1057867: tm46.p3d,1057869: at15.p3d,1057871: tm46.p3d,1057873: tm46.p3d,1057875: tm46.p3d,1057877: tm46.p3d,1057879: at15.p3d]],[0,"MainBandit",[1057956: at15.p3d,1057958: tm46.p3d,1057960: at15.p3d,1057962: at15.p3d,1057964: at15.p3d,1057966: at15.p3d,1057968: at15.p3d,1057970: at15.p3d,1057972: at15.p3d,1057974: at15.p3d,1057976: at15.p3d,1057978: tm46.p3d,1057980: at15.p3d,1057982: tm46.p3d,1057984: at15.p3d,1057986: at15.p3d,1057988: at15.p3d,1057990: at15.p3d,1057992: at15.p3d,1057994: at15.p3d,1057996: tm46.p3d,1057998: tm46.p3d,1058000: at15.p3d,1058002: at15.p3d,1058004: tm46.p3d,1058006: tm46.p3d,1058008: tm46.p3d,1058010: tm46.p3d,1058
20:03:12 "WAI: [Bandit] presidents_mansion started at [7423.53,12369.1]"
20:03:13 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
s_player_holderPickup>
20:03:13   Error position: <_actionSet) then {
s_player_holderPickup>
20:03:13   Error Undefined variable in expression: _actionset
20:03:13 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
20:03:13 "WAI: Spawned a group of 4 AI (Hero) at [7423.53,12369.1,0]"
20:03:14 "WAI: Spawned a group of 4 AI (Hero) at [7423.53,12369.1,0]"
20:03:14 Strange convex component01 in rh_m14\rh_m1seot.p3d:geometry
20:03:14 Strange convex component07 in rh_m14\rh_m1seot.p3d:geometry
20:03:14 Strange convex component12 in rh_m14\rh_m1seot.p3d:geometry
20:03:15 "WAI: Spawned a group of 4 AI (Hero) at [7423.53,12369.1,0]"
20:03:16 "WAI: Spawned a group of 4 AI (Hero) at [7423.53,12369.1,0]"
20:03:16 "WAI: Spawned a group of 1 AI (Hero) at [7423.53,12369.1,0]"
20:03:16 "WAI: Spawned a group of 1 AI (Hero) at [7423.53,12369.1,0]"
20:03:16 "WAI: Paradrop waiting for player"
20:03:16 "WAI: Paradrop waiting for player"
20:03:16 "WAI: Paradrop waiting for player"
20:03:17 "WAI: Spawned in 3 M2StaticMG"
20:03:28 "WAI: 36 Active ground units"

How about that?

 

I'm Have the same issue did you find a fix or the error?

Link to comment
Share on other sites

not me have had nothing but problems with the static missions and no one wants to help. the wai works fine until I enable static missions then nothing works I had a bandit base that i can no longer use plus air patrols. have had to stop the server I have till this gets fixed.

 

Same issue, I cant get the static missions to work, got a Sector B style area i have spent 4 weeks making that I cant get AI to go to :(

Link to comment
Share on other sites

I'm Have the same issue did you find a fix or the error?

 

This one has been fixed in the latest Testbranch.

 

Add this

 

        if(typeName _aiskin == "ARRAY") then {
            _aiskin = _aiskin call BIS_fnc_selectRandom;
        };

 

Below

 

        call {
            if(_skin == "hero")     exitWith { _aiskin = ai_hero_skin call BIS_fnc_selectRandom; };
            if(_skin == "bandit")     exitWith { _aiskin = ai_bandit_skin call BIS_fnc_selectRandom; };
            if(_skin == "random")     exitWith { _aiskin = ai_all_skin call BIS_fnc_selectRandom; };
            if(_skin == "special")     exitWith { _aiskin = ai_special_skin call BIS_fnc_selectRandom; };
            _aiskin = _skin;
        };

--

 

@ATRealMaster: Shouldn't make a difference. Any errors in your RPT log?

Link to comment
Share on other sites

Thanks Jossy, 

I was trying to get it in version 2.0.5 - testing 2.1.0 now. 

Will feedback shortly

 

EDIT: Ok, so it almost worked. It didn't say the mission was over when I first got there - did an MV-22 mission.

It then said the mission had been secured after killing all but 2 bandits. So out of ~20 bandits - I killed 18 before it said mission was over. 2.1.0 installed - wai_kill_percent = 100;

Cheers

Thanks for the feedback, the kill percentage is in fact working but the max ai amount is not taking the static gunners into consideration, fixing that now

Link to comment
Share on other sites

Now Getting these errors

 

23:01:08 "WAI: Initialising static missions"
23:01:11 Error in expression <unit] joinSilent _unitGroup;

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

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

if (typeName _aitype == "ARRAY") then {
_gain             = _a>
23:01:11   Error position: <_aitype == "ARRAY") then {
_gain             = _a>
23:01:11   Error Undefined variable in expression: _aitype
23:01:11 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 23
23:01:14 Error in expression <    exitWith { };
_aipack = _backpack;
};

_unit enableAI "TARGET";
_unit enableAI >
23:01:14   Error position: <_unit enableAI "TARGET";
_unit enableAI >
23:01:14   Error enableai: Undefined variable in expression: _unit
23:01:14 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 122

Link to comment
Share on other sites

Now Getting these errors

 

23:01:08 "WAI: Initialising static missions"

23:01:11 Error in expression <unit] joinSilent _unitGroup;

call {

if(_aitype == "hero")         exitWith { _unit se>

23:01:11   Error position: <_aitype == "hero")         exitWith { _unit se>

23:01:11   Error Undefined variable in expression: _aitype

23:01:11 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 109

23:01:11 Error in expression < call BIS_fnc_selectRandom;

};

_unit = _unitGroup createUnit [_aiskin,[_pos_x,_>

23:01:11   Error position: <_unitGroup createUnit [_aiskin,[_pos_x,_>

23:01:11   Error Undefined variable in expression: _unitgroup

23:01:11 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 105

23:01:11 Error in expression <gun            = _gun select 0;

};

if (typeName _aitype == "ARRAY") then {

_gain             = _a>

23:01:11   Error position: <_aitype == "ARRAY") then {

_gain             = _a>

23:01:11   Error Undefined variable in expression: _aitype

23:01:11 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 23

23:01:14 Error in expression <    exitWith { };

_aipack = _backpack;

};

_unit enableAI "TARGET";

_unit enableAI >

23:01:14   Error position: <_unit enableAI "TARGET";

_unit enableAI >

23:01:14   Error enableai: Undefined variable in expression: _unit

23:01:14 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 122

 

have you checked the latest static examples? would you like me to check your static file for you?

Link to comment
Share on other sites

if(isServer) then {




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

    [
        [953.237,4486.48,0.001],            // Position
        15,                                    // Number Of units
        "Random",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                            // Primary gun set number. "Random" for random weapon set
        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
    */
    
    [
        [18509.26, 17108.652, -0.00016212463],            // Position
        15,                                    // Number Of units
        "Random",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                            // Primary gun set number. "Random" for random weapon set
        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;
    
    [
        [18461.719, 17101.717, 0.00015068054],            // Position
        15,                                    // Number Of units
        "Random",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                            // Primary gun set number. "Random" for random weapon set
        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;
    
    [
        [18519.053, 17087.346, 0.00033950806],            // Position
        15,                                    // Number Of units
        "Random",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                            // Primary gun set number. "Random" for random weapon set
        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;
    
    [
        [18504.354, 17088.346, 0.00024604797],            // Position
        15,                                    // Number Of units
        "Random",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                            // Primary gun set number. "Random" for random weapon set
        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;
    
    [
        [18504.354, 17088.346, 0.00024604797],            // Position
        15,                                    // Number Of units
        "Random",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                            // Primary gun set number. "Random" for random weapon set
        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;
    
    /*
    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
        "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
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] 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)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;

    Place your heli patrols below
    */
    
    [
        [18828.4,2074.95,0.002],            // Position to patrol
        [18828.4,2074.95,25.002],            // 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)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [15366.6,9510.95,0.001],            // Position to patrol
        [15366.6,9510.95,25.001],            // Position to spawn chopper at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "UH1H_DZ",                            // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [7631.59,6887.78,0.002],            // Position to patrol
        [7631.59,6887.78,25.002],            // 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)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [11109.8,12957.7,0.001],            // Position to patrol
        [11109.8,12957.7,0.001],            // Position to spawn chopper at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "UH1H_DZ",                            // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [1980.2,11101.7,0.196],                // Position to patrol
        [1980.2,11101.7,25.196],            // Position to spawn chopper at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "CH_47F_EP1",                        // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [5589.02,16412.7,0.001],            // Position to patrol
        [5589.02,16412.7,25.001],            // Position to spawn chopper at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "CH_47F_EP1",                        // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [12441.2,14847.3,0.001],            // Position to patrol
        [12441.2,14847.3,25.001],            // Position to spawn chopper at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "CH_47F_BAF",                        // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [11110,10549.3,0.001],                // Position to patrol
        [11110,10549.3,25.001],                // Position to spawn chopper at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "CH_47F_BAF",                        // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [18504.354,17088.346,30.000],        // Position to patrol
        [18504.354,17088.346,30.000],        // Position to spawn chopper at
        300,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "UH1Y",                                // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [18519.053, 17087.346, 25.000],        // Position to patrol
        [18519.053, 17087.346, 30.000],        // Position to spawn chopper at
        300,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "UH1Y",                                // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [18419.053, 17187.346, 30.000],        // Position to patrol
        [18419.053, 17187.346, 30.000],        // Position to spawn chopper at
        300,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "UH1Y",                                // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn heli_patrol;
    
    [
        [18619.053, 17287.346, 30.000],        // Position to patrol
        [18619.053, 17287.346, 30.000],        // Position to spawn chopper at
        300,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "UH1Y",                                // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "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)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;

    Place your vehicle patrols below this line
    */
    
    [
        [18504.354, 17088.346, 1.00024604797],                // Position to patrol
        [18504.354, 17088.346, 0.00024604797],                // Position to spawn at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "ArmoredSUV_PMC",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [18461.719, 17101.717, 1.00015068054],                // Position to patrol
        [18461.719, 17101.717, 1.00015068054],                // Position to spawn at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "ArmoredSUV_PMC",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [6119.33,5073.99,0.001],                // Position to patrol
        [6119.33,5073.99,0.001],                // Position to spawn at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "ArmoredSUV_PMC",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [5326.65,8230.45,0.001],                // Position to patrol
        [5326.65,8230.45,0.001],                // Position to spawn at
        2000,                                // 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)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [10844.9,12670.5,0.002],                // Position to patrol
        [10844.9,12670.5,0.002],                // Position to spawn at
        8000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "MLRS_DES_EP1",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [15882.9,9435.07,0.001],                // Position to patrol
        [15882.9,9435.07,0.001],                // Position to spawn at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "HMMWV_M998A2_SOV_DES_EP1",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [9544.15,11784.3,0.001],                // Position to patrol
        [9544.15,11784.3,0.001],                // Position to spawn at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "HMMWV_M998A2_SOV_DES_EP1",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [6202.03,12756.5,0.001],                // Position to patrol
        [6202.03,12756.5,0.001],                // Position to spawn at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "Pickup_PK_TK_GUE_EP1",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Bandit"                            // AI Type, "Hero" or "Bandit".
    ] spawn vehicle_patrol;
    
    [
        [3631.72,9843.1,0.002],                // Position to patrol
        [3631.72,9843.1,0.002],                // Position to spawn at
        2000,                                // Radius of patrol
        10,                                    // Number of waypoints to give
        "Pickup_PK_TK_GUE_EP1",                    // Classname of vehicle (make sure it has driver and gunner)
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "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
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",                            // Primary gun set number. "Random" for random weapon set.
        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";

};

Link to comment
Share on other sites

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