Jump to content
  • 0
Sign in to follow this  
harcosgoogle

WAI 2.2.0 - custom ai,guns,vehicle not worked

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];


};

 

Share this post


Link to post
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"

 

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By heiko33
      Downlod        
      https://ln.sync.com/dl/043e1b3c0/wkrywtzv-idjkp722-wzfqg9g6-53b7xfyj
       
       
       
    • By FG_Trap
      Made a quick static ai mission that spawns on restart. 
      12 ai patrol the compound 
      4 Static m2's
      1 Heli Patrolling the compound 
      Crate for who ever clears all the ai.
      Some screenshots of the compound 


       
      https://github.com/Trapxxgods/Wai-Static-Mission 
    • By Harkness
      Happy to announce the launch of our new custom server. 
      DayZ Epoch Chernarus 
      To connect search for "v666" in your DayZ Launcher
      Server Modes/Mods/Addons
      Romero Style Zombies
      Snow & Cold Weather Effects (temp+breath)
      Custom Intro Radio Broadcast
      Spawn Location Options
      Safe Trader Areas
      Roaming/Driving/Flying AI Excursions
      AI Mission System
      Random Events
      Auto Re-fuel at any Gas Station
      Day/Night Cycle w/6 Hourly Reboots
      ++Many more to come! Want something added? Request it here
      Don't forget to register here for your own custom load-out and access to our community forums
       
      Note:
      This server is both PVP and PVE. We dont believe in giving players rules but cheating in any way will result in lifetime ban from whole community.
    • By C4-timah
      I sure this is possible, I've seen it on He-Man's server, but where are the options to enable these?
      1. How to you get missions to be announced over the epoch radio
      2. How to claim missions - currently no claiming required
      3. Extend safe zones around protected traders
      4. Add more missions beyond the default 12 bandit missions.
       
      I know this is a lot to ask. I'm new at this and the sea of forum posts are extremely elusive for the specific questions above. Links and comments would be greatly appreciated!
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...