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 salival
      Tested as working on a blank Epoch 1.0.7
      This adds support for multiple vehicles per key (https://github.com/oiad/vkc)
      Designed to be light weight and optimized.
      REPORTING ERRORS/PROBLEMS
      Please, if you report issues can you please attach (on pastebin or similar) your CLIENT rpt log file as this helps find out the errors very quickly. To find this logfile:
      C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT Install:
      This uses Click Actions by Mudzereli as a dependancy: https://github.com/mudzereli/DayZEpochDeployableBike/tree/master/overwrites/click_actions LocateVehicle GitHub Repo
      >> Download <<
       
       
      **** For Epoch 1.0.6.2 only **** >> Download <<
      Visit this link: https://github.com/oiad/locateVehicle/tree/locateVehicle-Epoch-1.0.6.2
    • By Adam1911
      Pure Gaming UK
      Server IP: 54.37.244.16:2302
      Discord: Discord
      Website: Website
      Top Server Features:
      PvE Only Server.
      Dedicated server for max performance.
      6 Hour Restarts.
      Full day/night cycle. (No Voting)
      Indestructible bases.
      Custom AI Missions.
      High loot spawns.
      Slow (Walking) Zombies.
      Custom Traders. (10k/50k/100k/500k humanity)
      Pay checks every hour. (Scales with humanity)
      Humanity Quests.
      Anit Stealing for all vehicles. (Prevents anyone from stealing your vehicles)
      Simi Militarised.
    • By BTFgator
      Spirit of DayZ  192.154.229.214:2302  Chernarus with Challenging AI and Missions
      DZAI - Takistani Militias vie for control and power.  They will battle and hunt Survivors and battle each other for control
      WAI  -  Challenging Missions with lots of weapons loot from the UN Soldiers guarding reconstruction materials  -  lots of build materials such as cinderblocks, mortar, etc
      Cities are rebuilding, you will find a dynamic live environment as Survivors retake control of the Cities.  Challenges will build as you leave the coast and head to the interior.  You will find helpful players abound, lots of challenges in many different forms.
      Beware of Cessna armed with Missiles, Anti Aircraft Urals, Tanks, RPG and machine gun trucks patrols.
      Seek out UN roaming Military Units in M113s and BMP-2s that you can take control of, get keys, etc.
      No Rules, only Consequences.  Build Anywhere, do anything you like.  Survive, Hunt, Team Up, Go Bandit, Run Missions, Build Bases, etc.  Anything you can dream of or desire.
      Server is Patrolled by human Police Forces that seek to bring the safety of community and society back together.
      https://www.facebook.com/Spirit-of-DayZ-101327631649309
    • By THAC0_Gewch
      https://github.com/OlofTheBald/DayZ-Humanity-Loadout-Granter/tree/Epoch_1.0.5.1
       
      Updated for 1.0.6.x
    • By THAC0_Gewch
      Many years ago, I made a Humanity Loadout script for 1.0.5.x. The script is basic, it checks your players' humanity and grants a pre-set loadout when they spawn depending on their humanity level.
      I've now updated and optimized this script for 1.0.6.x:
      https://github.com/OlofTheBald/DayZ-Humanity-Loadout-Granter
       
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...