Jump to content
  • 0

WAI 2.2.0 - custom ai,guns,vehicle not worked


harcosgoogle

Question

Hi.

 

why is not working? Napf map. (Test coordinated)

WAI 2.2.0

wai/static/default.sqf config

 

if(isServer) then {


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

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

Place your custom group spawns below
*/

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

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

Place your custom static weapon spawns below
*/


/*
Custom Chopper Patrol spawn Eg.

[
[18707,17069.5,0.00152969],	// Position to patrol
[0,0,0],	// Position to spawn chopper at
2000,	// Radius of patrol
10,	// Number of waypoints to give
"UH1H_DZ",	// Classname of vehicle (make sure it has driver and two gunners)
"Random",	// Skill level of units (easy, medium, hard, extreme, Random)
"Random",	// Skin classname, use "Random" or classname here
"Bandit"	// AI Type, "Hero" or "Bandit".
] spawn heli_patrol;


Place your heli patrols below
*/


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

[
[18707,17069.5,0.00152969],	// Position to patrol
[18707,17069.5,0.00152969],	// Position to spawn at
200,	// Radius of patrol
10,	// Number of waypoints to give
"HMMWV_Armored",	// Classname of vehicle (make sure it has driver and gunner)
"Random",	// Skill level of units (easy, medium, hard, extreme, Random)
"Random",	// Skin classname, use "Random" or classname here
"Bandit"	// AI Type, "Hero" or "Bandit".
] spawn vehicle_patrol;

Place your vehicle patrols below this line
*/


/*
Paradropped unit custom spawn Eg.

[
[18707,17069.5,0.00152969],	// 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 and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
4,	// Number of magazines
"Random",	// Backpack classname, use "Random" or classname here
"Bandit2_DZ",	// Skin classname, use "Random" or classname here
"Random",	// Gearset number. "Random" for random gear set.
"Bandit",	// AI Type, "Hero" or "Bandit".
true	// true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
] spawn heli_para;

Place your paradrop spawns under this line
*/
//Sector 1
[
[18707,17069.5,0.00152969],	// Position
4,	// Number Of units
"Random",	// Skill level of unit (easy, medium, hard, extreme, Random)
"Random",	or ["Random","at"],	// Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
4,	// Number of magazines
"Random",	// Backpack classname, use "Random" or classname here
"Random",	// Skin classname, use "Random" or classname here
"Random",	// Gearset number. "Random" for random gear set
"Bandit"	// AI Type, "Hero" or "Bandit".
] call spawn_group;

diag_log format["WAI: Static mission for %1 loaded", missionName];


};

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
Quote

20:12:21 Warning Message: Script z\addons\dayz_server\WAI\customsettings.sqf not found
20:12:21 "WAI: AI Config File Loaded"
20:12:21 "WAI: Initialising static missions"
20:12:21 Warning Message: Script z\addons\dayz_server\WAI\static\napf.sqf not found
20:12:21 "WAI: AI Monitor Started"
20:12:21 "WAI: Initialising missions"

 

Link to comment
Share on other sites

  • 0
20:12:21 Warning Message: Script z\addons\dayz_server\WAI\customsettings.sqf not found

This error can be ignored. It is an optional file.

20:12:21 Warning Message: Script z\addons\dayz_server\WAI\static\napf.sqf not found

Check where this file is and make sure the path is right.

Link to comment
Share on other sites

  • 0
Quote

12:19:11 Warning Message: Script z\addons\dayz_server\WAI\customsettings.sqf not found
12:19:11 "WAI: AI Config File Loaded"
12:19:11 "WAI: Initialising static missions"
12:19:11 "WAI: AI Monitor Started"
12:19:11 "WAI: Initialising missions"
12:19:11 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
vilas_wwp_co
12:19:11 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
vilas_wwp_co
12:19:11 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
vilas_wwp_co
12:19:11 "WAI: Spawned in 1 M2StaticMG"
12:19:11 "WAI: Static mission loaded"

Added napf.sqf - 

I can not see the gun
Link to comment
Share on other sites

  • 0

Okey,Worked ! :)

 

if(isServer) then {
 
 
        [
                [                                                                       // Position(s) (can be multiple)
                        [18671.9,17251.1,0.00136375]
                ],
                "KORD_high_TK_EP1",                                           // Classname of turret
                "Random",                                                               // Skill level of unit (easy, medium, hard, extreme, Random)
                "Bandit2_DZ",                                           // Skin classname, use "Random" or classname here
                "Bandit",                                                       // AI Type, "Hero" or "Bandit".
                "Random",                                                       // Primary gun set number. "Random" for random weapon set
                2,                                                                      // Number of magazines
                "Random",                                                       // Backpack classname, use "Random" or classname here
                "Random"                                                        // Gearset classname, use "Random" or classname here
        ] call spawn_static;
 
        diag_log "WAI: Static mission loaded";
 
};

napf.sqf 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...