Jump to content

[Release] *NEW* missions for WAI 2.2.0


Recommended Posts

WAI won't even start on my server now, not sure what I did wrong...I've been using an older version forever, so I just downloaded 2.2.0 and added the missions, this is my config.sqf can anyone help? DZMS even recognizes WAI "18:42:42 [DZMS]: WickedAI Found! Using WickedAI's Relations!"

if(isServer) then {

    /* GENERAL CONFIG */

        debug_mode                    = false;        // enable debug
        use_blacklist                = true;            // use blacklist
        blacklist                    = [
            [[0,16000,0],[1000,-0,0]],                // Left
            [[0,16000,0],[16000.0,14580.3,0]]        // Top
        ];

    /* END GENERAL CONFIG */

    /* AI CONFIG */

        ai_clear_body                 = false;        // instantly clear bodies
        ai_clean_dead                 = true;            // clear bodies after certain amount of time
        ai_cleanup_time             = 7200;            // time to clear bodies in seconds
        ai_clean_roadkill            = false;         // clean bodies that are roadkills
        ai_roadkill_damageweapon    = 0;            // percentage of chance a roadkill will destroy weapon AI is carrying

        ai_bandit_combatmode        = "RED";        // combatmode of bandit AI
        ai_bandit_behaviour            = "COMBAT";        // behaviour of bandit AI

        ai_hero_combatmode            = "RED";        // combatmode of hero AI
        ai_hero_behaviour            = "COMBAT";        // behaviour of hero AI

        ai_friendly_behaviour        = false;        // make ai friendly towards comrades

        player_bandit                = -5000;        // this is the amount you declare someone to be a bandit on your server, bandit AI will not attack you if ai_friendly_behaviour is true
        player_hero                    = 5000;            // this is the amount you declare someone to be a hero on your server, hero AI will not attack you if ai_friendly_behaviour is true

        ai_share_info                = true;            // AI share info on player position
        ai_share_distance            = 300;            // distance from killed AI for AI to share your rough position

        ai_kills_gain                = true;            // add kill to bandit/human kill score
        ai_humanity_gain            = true;            // gain humanity for killing AI
        ai_add_humanity                = 200;            // amount of humanity gained for killing a bandit AI
        ai_remove_humanity            = 200;            // amount of humanity lost for killing a hero AI
        ai_special_humanity            = 500;            // amount of humanity gain or loss for killing a special AI dependant on player alignment
        
        ai_skill_extreme            = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",1.00],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];     // Extreme
        ai_skill_hard                = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",1.00],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];     // Hard
        ai_skill_medium                = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",1.00],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];    // Medium
        ai_skill_easy                = [["aimingAccuracy",0.40],["aimingShake",0.50],["aimingSpeed",0.50],["endurance",1.00],["spotDistance",0.50],["spotTime",0.50],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];    // Easy
        ai_skill_random                = [ai_skill_extreme,ai_skill_hard,ai_skill_hard,ai_skill_hard,ai_skill_hard,ai_skill_medium,ai_skill_medium,ai_skill_medium,ai_skill_medium,ai_skill_easy];

        ai_static_useweapon            = true;    // Allows AI on static guns to have a loadout     
        ai_static_weapons            = ["KORD_high_TK_EP1","DSHKM_Ins","M2StaticMG"];    // static guns

        ai_static_skills            = false;    // Allows you to set custom array for AI on static weapons. (true: On false: Off) 
        ai_static_array                = [["aimingAccuracy",0.20],["aimingShake",0.70],["aimingSpeed",0.75],["endurance",1.00],["spotDistance",0.70],["spotTime",0.50],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];

        ai_gear0                    = [["ItemBandage","ItemBandage","ItemAntibiotic"],["ItemRadio","ItemMachete","ItemCrowbar"]];
        ai_gear1                    = [["ItemBandage","ItemSodaPepsi","ItemMorphine"],["Binocular_Vector"]];
        ai_gear2                    = [["ItemDocument","FoodCanFrankBeans","ItemHeatPack"],["ItemToolbox"]];
        ai_gear3                    = [["ItemWaterbottle","ItemBloodbag"],["ItemCompass","ItemCrowbar"]];
        ai_gear4                    = [["ItemBandage","ItemEpinephrine","ItemPainkiller"],["ItemGPS","ItemKeyKit"]];
        ai_gear_random                = [ai_gear0,ai_gear1,ai_gear2,ai_gear3,ai_gear4];    // Allows the possibility of random gear

        ai_wep_assault = [
        ["RH_hk416"]
        ,["RH_hk416s"]
        ,["RH_hk416saim"]
        ,["RH_hk416seotech"]
        ,["RH_hk416sacog"]
        ,["RH_hk416sd"]
        ,["RH_hk416sdaim"]
        ,["RH_hk416sdeotech"]
        ,["RH_hk416aim"]
        ,["RH_hk416eotech"]
        ,["RH_hk416acog"]
        ,["RH_hk416gl"]
        ,["RH_hk416glaim"]
        ,["RH_hk416gleotech"]
        ,["RH_hk416glacog"]
        ,["RH_hk416sgl"]
        ,["RH_hk416sglaim"]
        ,["RH_hk416sgleotech"]
        ,["RH_hk416sglacog"]
        ,["RH_hk416sdgl"]
        ,["RH_hk416sdglaim"]
        ,["RH_hk416sdgleotech"]
        ,["RH_hk417"]
        ,["RH_hk417aim"]
        ,["RH_hk417eotech"]
        ,["RH_hk417acog"]
        ,["RH_hk417s"]
        ,["RH_hk417saim"]
        ,["RH_hk417seotech"]
        ,["RH_hk417sacog"]
        ,["RH_hk417sd"]
        ,["RH_hk417sdaim"]
        ,["RH_hk417sdeotech"]
        ,["RH_hk417sdacog"]
        ,["RH_hk417sdsp"]
        ,["RH_hk417sgl"]
        ,["RH_hk417sglaim"]
        ,["RH_hk417sgleotech"]
        ,["RH_hk417sglacog"]
        ,["RH_ctar21"]
        ,["RH_ctar21glacog"]
        ,["RH_ctar21m"]
        ,["RH_ctar21mgl"]
        ,["RH_star21"]
        ,["RH_mas"]
        ,["RH_masaim"]
        ,["RH_maseotech"]
        ,["RH_masacog"]
        ,["RH_massd"]
        ,["RH_massdaim"]
        ,["RH_massdeotech"]
        ,["RH_massdacog"]
        ,["RH_masb"]
        ,["RH_masbaim"]
        ,["RH_masbeotech"]
        ,["RH_masbacog"]
        ,["RH_masbsd"]
        ,["RH_masbsdaim"]
        ,["RH_masbsdeotech"]
        ,["RH_masbsdacog"]
        ,["SCAR_L_CQC"]
        ,["SCAR_L_CQC_Holo"]
        ,["SCAR_L_STD_Mk4CQT"]
        ,["SCAR_L_STD_EGLM_RCO"
        ,["SCAR_L_CQC_EGLM_Holo"]
        ,["SCAR_L_STD_HOLO"]
        ,["SCAR_L_CQC_CCO_SD"]
        ,["SCAR_H_CQC_CCO"]
        ,["SCAR_H_CQC_CCO_SD"]
        ,["SCAR_H_STD_EGLM_Spect"]
        ,["FHQ_ACR_WDL_IRN"]
        ,["FHQ_ACR_WDL_IRN_F"]
        ,["FHQ_ACR_WDL_IRN_GL"]
        ,["FHQ_ACR_WDL_IRN_GL_F"]
        ,["FHQ_ACR_WDL_CCO"]
        ,["FHQ_ACR_WDL_CCO_F"]
        ,["FHQ_ACR_WDL_CCO_GL"]
        ,["FHQ_ACR_WDL_CCO_GL_F"]
        ,["FHQ_ACR_WDL_RCO"]
        ,["FHQ_ACR_WDL_RCO_F"]
        ,["FHQ_ACR_WDL_RCO_GL"]
        ,["FHQ_ACR_WDL_RCO_GL_F"]
        ,["FHQ_ACR_WDL_HWS"]
        ,["FHQ_ACR_WDL_HWS_F"]
        ,["FHQ_ACR_WDL_HWS_GL"]
        ,["FHQ_ACR_WDL_HWS_GL_F"]
        ,["FHQ_ACR_WDL_G33"]
        ,["FHQ_ACR_WDL_G33_F"]
        ,["FHQ_ACR_WDL_G33_GL"]
        ,["FHQ_ACR_WDL_G33_GL_F"]
        ,["FHQ_ACR_WDL_HAMR"]
        ,["FHQ_ACR_WDL_HAMR_F"]
        ,["FHQ_ACR_WDL_HAMR_GL"]
        ,["FHQ_ACR_WDL_HAMR_GL_F"]
        ,["FHQ_ACR_BLK_IRN"]
        ,["FHQ_ACR_BLK_IRN_F"]
        ,["FHQ_ACR_BLK_IRN_GL"]
        ,["FHQ_ACR_BLK_IRN_GL_F"]
        ,["FHQ_ACR_BLK_CCO"]
        ,["FHQ_ACR_BLK_CCO_F"]
        ,["FHQ_ACR_BLK_CCO_GL"]
        ,["FHQ_ACR_BLK_CCO_GL_F"]
        ,["FHQ_ACR_BLK_RCO"]
        ,["FHQ_ACR_BLK_RCO_F"]
        ,["FHQ_ACR_BLK_RCO_GL"]
        ,["FHQ_ACR_BLK_RCO_GL_F"]
        ,["FHQ_ACR_BLK_HWS"]
        ,["FHQ_ACR_BLK_HWS_F"]
        ,["FHQ_ACR_BLK_HWS_GL"]
        ,["FHQ_ACR_BLK_HWS_GL_F"]
        ,["FHQ_ACR_BLK_G33"]
        ,["FHQ_ACR_BLK_G33_F"]
        ,["FHQ_ACR_BLK_G33_GL"]
        ,["FHQ_ACR_BLK_G33_GL_F"]
        ,["FHQ_ACR_BLK_HAMR"]
        ,["FHQ_ACR_BLK_HAMR_GL"]
        ,["FHQ_ACR_WDL_IRN_SD"]
        ,["FHQ_ACR_WDL_IRN_SD_F"]
        ,["FHQ_ACR_WDL_IRN_GL_SD"]
        ,["FHQ_ACR_WDL_IRN_GL_SD_F"]
        ,["FHQ_ACR_WDL_CCO_SD"]
        ,["FHQ_ACR_WDL_CCO_SD_F"]
        ,["FHQ_ACR_WDL_CCO_GL_SD"]
        ,["FHQ_ACR_WDL_CCO_GL_SD_F"]
        ,["FHQ_ACR_WDL_RCO_SD"]
        ,["FHQ_ACR_WDL_RCO_SD_F"]
        ,["FHQ_ACR_WDL_RCO_GL_SD"]
        ,["FHQ_ACR_WDL_RCO_GL_SD_F"]
        ,["FHQ_ACR_WDL_HWS_SD"]
        ,["FHQ_ACR_WDL_HWS_SD_F"]
        ,["FHQ_ACR_WDL_HWS_GL_SD"]
        ,["FHQ_ACR_WDL_HWS_GL_SD_F"]
        ,["FHQ_ACR_WDL_G33_SD"]
        ,["FHQ_ACR_WDL_G33_SD_F"]
        ,["FHQ_ACR_WDL_G33_GL_SD"]
        ,["FHQ_ACR_WDL_G33_GL_SD_F"]
        ,["FHQ_ACR_WDL_HAMR_SD"]
        ,["FHQ_ACR_WDL_HAMR_SD_F"]
        ,["FHQ_ACR_WDL_HAMR_GL_SD"]
        ,["FHQ_ACR_WDL_HAMR_GL_SD_F"]
        ,["FHQ_ACR_BLK_IRN_SD"]
        ,["FHQ_ACR_BLK_IRN_SD_F"]
        ,["FHQ_ACR_BLK_IRN_GL_SD"]
        ,["FHQ_ACR_BLK_IRN_GL_SD_F"]
        ,["FHQ_ACR_BLK_CCO_SD"]
        ,["FHQ_ACR_BLK_CCO_SD_F"]
        ,["FHQ_ACR_BLK_CCO_GL_SD"]
        ,["FHQ_ACR_BLK_CCO_GL_SD_F"]
        ,["FHQ_ACR_BLK_RCO_SD"]
        ,["FHQ_ACR_BLK_RCO_SD_F"]
        ,["FHQ_ACR_BLK_RCO_GL_SD"]
        ,["FHQ_ACR_BLK_RCO_GL_SD_F"]
        ,["FHQ_ACR_BLK_HWS_SD"]
        ,["FHQ_ACR_BLK_HWS_SD_F"]
        ,["FHQ_ACR_BLK_HWS_GL_SD"]
        ,["FHQ_ACR_BLK_HWS_GL_SD_F"]
        ,["FHQ_ACR_BLK_G33_SD"
        ,["FHQ_ACR_BLK_G33_SD_F"]
        ,["FHQ_ACR_BLK_G33_GL_SD"]
        ,["FHQ_ACR_BLK_G33_GL_SD_F"]
        ,["FHQ_ACR_BLK_HAMR_SD"]
        ,["FHQ_ACR_BLK_HAMR_GL_SD"]
        ,["FHQ_ACR_BLK_HAMR_GL_SD_F"]
        ,["vil_G36KVA4"]
        ,["vil_G36KA4"]
        ,["vil_G36E"]
        ,["vil_G36a2"]
        ,["vil_AG36"]
        ,["vil_AG36A2"]
        ,["vil_AG36KV"]
        ,["vil_AG36KA4"]
        ,["vil_G36VA4"]
        ,["vil_G36VA4Eot"]
        ,["vil_G36KVZ"]
        ,["vil_G36KSK"]
        ,["vil_G36KSKdes"]
        ,["vil_G36KSKdesES"]
        ,["vil_G36CC"]
        ,["vil_G36KSKES"]
        ,["vil_G36KES"]
        ,["vil_G36KV3"]
        ,["vil_G36KV3Des"]
        ,["vil_SKS"]
        ,["vil_Galil"]
        ,["vil_Galil_arm"]
        ,["FN_FAL"]
        ,["FN_FAL_ANPVS4"]
        ,["G36A_camo"]
        ,["G36C"]
        ,["G36C_camo"]
        ,["G36K_camo"]
        ,["G36_C_SD_camo"]
        ,["M16A2"]
        ,["M16A2GL"]
        ,["M16A4_ACG"]
        ,["M4A1"]
        ,["M4A1_Aim"]
        ,["M4A1_AIM_SD_camo"]
        ,["M4A1_HWS_GL_camo"]
        ,["M4A3_CCO_EP1"]
        ,["Sa58P_EP1"]
        ,["Sa58V_CCO_EP1"]
        ,["Sa58V_EP1"]
        ,["Sa58V_RCO_EP1"]
        ,["m8_compact"]
        ,["m8_sharpshooter"]
        ,["m8_holo_sd"]
        ,["m8_carbine"]
        ,["BAF_L85A2_RIS_SUSAT"]
        ,["BAF_L85A2_RIS_Holo"]
        ,["M4A1_HWS_GL_SD_Camo"]
        ,["AK_107_PSO"]]; // Assault

        ai_wep_machine = [
        ["RPK_74"]
        ,["MK_48_DZ"]
        ,["M249_EP1_DZ"]
        ,["Pecheneg_DZ"]
        ,["M240_DZ"]
        ,["vil_PKP"]
        ,["Pecheneg_DZ"]
        ,["USSOF_Mk_48"]
        ,["vil_PKP_EOT"]
        ,["skavil_M60"]
        ,["skavil_M60e3"]
        ,["vil_zastava_m84"]
        ,["vil_PKM"]
        ,["vil_RPD"]
        ,["vil_Mg3"]
        ,["vil_M249_Para"]
        ,["Mk_48_DZ"]
        ,["vil_Minimi"]
        ,["vil_FnMag"]
        ,["vil_M240_B"]
        ,["M240_DZ"]
        ,["vil_MG4"]
        ,["vil_MG4E"]
        ,["M249_m145_EP1_DZE"]
        ,["m240_scoped_EP1_DZE"]
        ,["M60A4_EP1_DZE"]]; // Light machine guns

        ai_wep_sniper = [
        ["RH_hk417sp"]
        ,["RH_hk417s"]
        ,["RH_m21"]
        ,["RH_sc2"]
        ,["RH_sc2acog"]
        ,["RH_sc2aim"]
        ,["RH_sc2eot"]
        ,["RH_sc2shd"]
        ,["RH_sc2sp"]
        ,["RH_m1sacog"]
        ,["RH_m1saim"]
        ,["RH_m1seot"]
        ,["RH_m1sshd"]
        ,["RH_m1ssp"]
        ,["RH_m1st"]
        ,["RH_m1stacog"]
        ,["RH_m1staim"]
        ,["RH_m1steot"]
        ,["RH_m1stshd"]
        ,["RH_m1stsp"]
        ,["vil_SR25"]
        ,["vil_M110"]
        ,["vil_SR25sd"]
        ,["vil_M110sd"]
        ,["SCAR_H_LNG_Sniper"]
        ,["SCAR_H_LNG_Sniper_SD"]
        ,["FHQ_RSASS_TAN"]
        ,["FHQ_RSASS_SD_TAN"]
        ,["FHQ_XM2010_DESERT"]
        ,["FHQ_XM2010_SD_DESERT"]
        ,["FHQ_XM2010_NV_DESERT"]
        ,["FHQ_XM2010_NV_SD_DESERT"]
        ,["M14_EP1"]
        ,["vil_M21G"]
        ,["vil_M14G"]
        ,["vil_SVD_63"]
        ,["vil_SVD_N"]
        ,["vil_SVD_P21"]
        ,["vil_SVDK"]
        ,["DMR_DZ"]
        ,["M4SPR"]
        ,["M40A3"]
        ,["SVD_CAMO"]
        ,["huntingrifle"]
        ,["SVD_des_EP1"]
        ,["SVD"]
        ,["M24_des_EP1"]
        ,["M24"]
        ,["BAF_LRR_scoped"]
        ,["KSVK_DZE"]
        ,["VSS_vintorez"]
        ,["M107_DZ"]]; // Sniper rifles    
        ai_wep_random                = [ai_wep_assault,ai_wep_assault,ai_wep_assault,ai_wep_sniper,ai_wep_machine];    // random weapon 60% chance assault rifle,20% light machine gun,20% sniper rifle
        ai_wep_launchers_AT            = ["M136","RPG18","JAVELIN"];
        ai_wep_launchers_AA            = ["Strela","Igla","STINGER"];
        
        ai_packs                    = ["DZ_Czech_Vest_Puch","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_British_ACU","DZ_GunBag_EP1","DZ_CivilBackpack_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1"];
        ai_hero_skin                = ["FR_AC","FR_AR","FR_Corpsman","FR_GL","FR_Marksman","FR_R","FR_Sapper","FR_TL","Bandit1_DZ","BanditW1_DZ","BanditW2_DZ","Camo1_DZ","Sniper1_DZ","Soldier1_DZ","GUE_Soldier_MG_DZ","GUE_Soldier_Sniper_DZ","GUE_Soldier_Crew_DZ","GUE_Soldier_2_DZ","RU_Policeman_DZ","Haris_Press_EP1_DZ","Ins_Soldier_GL_DZ","GUE_Commander_DZ","Priest_DZ","Rocker1_DZ","Rocker2_DZ","Rocker3_DZ","Rocker4_DZ","TK_INS_Warlord_EP1_DZ","TK_INS_Soldier_EP1_DZ","Soldier_Sniper_PMC_DZ","Soldier_TL_PMC_DZ","CZ_Soldier_Sniper_EP1_DZ","Graves_Light_DZ","Bandit2_DZ","SurvivorWcombat_DZ","Sniper1_DZ","Camo1_DZ","soldier1_DZ"];
        ai_bandit_skin                = ["Ins_Soldier_GL_DZ","TK_INS_Soldier_EP1_DZ","TK_INS_Warlord_EP1_DZ","GUE_Commander_DZ","GUE_Soldier_Sniper_DZ","GUE_Soldier_MG_DZ","GUE_Soldier_Crew_DZ","GUE_Soldier_2_DZ","GUE_Soldier_CO_DZ","BanditW1_DZ","BanditW2_DZ","Bandit1_DZ","Bandit2_DZ","FR_AC","FR_AR","FR_Corpsman","FR_GL","FR_R","FR_Sapper","FR_TL","Bandit1_DZ","Camo1_DZ","Sniper1_DZ","Soldier1_DZ","GUE_Soldier_MG_DZ","GUE_Soldier_Sniper_DZ","GUE_Soldier_Crew_DZ","GUE_Soldier_2_DZ","RU_Policeman_DZ","Haris_Press_EP1_DZ","Ins_Soldier_GL_DZ","GUE_Commander_DZ","Functionary1_EP1_DZ","Priest_DZ","Rocker1_DZ","Rocker2_DZ","Rocker3_DZ","Rocker4_DZ","TK_INS_Warlord_EP1_DZ","TK_INS_Soldier_EP1_DZ","Soldier_Sniper_PMC_DZ","Soldier_TL_PMC_DZ","CZ_Soldier_Sniper_EP1_DZ","Graves_Light_DZ","Bandit2_DZ","SurvivorWcombat_DZ","Sniper1_DZ","Camo1_DZ","soldier1_DZ"];
        ai_special_skin                = ["Functionary1_EP1_DZ"];
        ai_all_skin                    = [ai_hero_skin,ai_bandit_skin,ai_special_skin];

        ai_add_skin                    = true;            // adds unit skin to inventory on death
        
    /* END AI CONFIG */

    /* WAI MISSIONS CONFIG */
        wai_mission_system            = true;    // use built in mission system

        wai_mission_markers            = ["DZMSMajMarker","DZMSMinMarker","DZMSBMajMarker","DZMSBMinMarker"];
        wai_avoid_missions            = 750;                                // avoid spawning missions this close to other missions, these are defined in wai_mission_markers
        wai_avoid_traders            = 750;                                // avoid spawning missions this close to traders
        wai_avoid_town                = 0;                                // avoid spawning missions this close to towns, *** doesn't function with infiSTAR enabled ***
        wai_avoid_road                = 0;                                // avoid spawning missions this close to roads
        wai_avoid_water                = 50;                                // avoid spawning missions this close to water

        
        wai_mission_timer            = [30,240];                            // time between missions 5-15 minutes
        wai_mission_timeout            = [900,1800];                         // time each missions takes to despawn if inactive 15-30 minutes
        wai_timeout_distance        = 1000;                                // if a player is this close to a mission then it won't time-out
        
        wai_clean_mission            = true;                                // clean all mission buildings after a certain period
        wai_clean_mission_time        = 1800;                                // time after a mission is complete to clean mission buildings

        wai_mission_fuel            = [30,80];                            // fuel inside mission spawned vehicles [min%,max%]
        wai_vehicle_damage            = [10,15];                            // damages to spawn vehicles with [min%,max%]
        wai_keep_vehicles            = false;                                // save vehicles to database and keep them after restart
        wai_linux_server            = false;                            // false = Windows (HiveExt.dll)        true = Linux Server (writer.pl)        has no effect when "wai_keep_vehicles = false;"
        wai_lock_vehicles            = false;                                // lock mission vehicles and add keys to random AI bodies (be careful with ai_clean_dead if this is true

        wai_crates_smoke            = false;                                // pop smoke on crate when mission is finished during daytime
        wai_crates_flares            = false;                                // pop flare on crate when mission is finished during nighttime
        
        wai_players_online            = 1;                                 // number of players online before mission starts
        wai_server_fps                = 5;                                 // missions only starts if server FPS is over wai_server_fps
        
        wai_kill_percent            = 50;                                // percentage of AI players that must be killed at "crate" missions to be able to trigger completion

        wai_high_value                = true;                                // enable the possibility of finding a high value item (defined below crate_items_high_value) inside a crate
        wai_high_value_chance        = 1;                                // chance in percent you find above mentioned item

        wai_enable_minefield        = true;                                // enable minefields to better defend missions
        wai_use_launchers            = true;                                // add a rocket launcher to each spawned AI group
        wai_remove_launcher            = true;                                // remove rocket launcher from AI on death

        // Missions
        wai_radio_announce            = false;                                // Setting this to true will announce the missions to those that hold a radio only
        wai_hero_limit                = 2;                                // define how many hero missions can run at once
        wai_bandit_limit            = 2;                                // define how many bandit missions can run at once

        wai_hero_missions            = [                                 // ["mission filename",% chance of picking this mission],Make sure the chances add up to 100,or it will not be accurate percentages
                                        ["patrol",1],
                                        ["black_hawk_crash",3],
                                        ["armed_vehicle",6],
                                        ["bandit_base",4],
                                        ["captured_mv22",4],
                                        ["ikea_convoy",4],
                                        ["destroyed_ural",4],
                                        ["disabled_milchopper",4],
                                        ["mayors_mansion",5],
                                        ["weapon_cache",5],
                                        ["gem_tower",5],
                                        ["cannibal_cave",5],
                                        ["crop_raider",5],    
                                        ["drone_pilot",5], 
                                        ["slaughter_house",5],
                                        ["drugbust",5],
                                        ["armybase",5],
                                        ["abandoned_trader",5],
                                        ["lumberjack",5],
                                        ["tankcolumn",5],
                                        ["macdonald",5],
                                        ["radioshack",5]
                                    ];
        wai_bandit_missions            = [
                                        ["armed_vehicle",16],
                                        ["black_hawk_crash",14],
                                        ["captured_mv22",6],
                                        ["broken_down_ural",14],
                                        ["hero_base",6],
                                        ["ikea_convoy",8],
                                        ["medi_camp",9],
                                        ["presidents_mansion",8],
                                        ["sniper_extraction",9],
                                        ["weapon_cache",10]
                                        
                                    ];
        
        // Vehicle arrays
        armed_vehicle                 = ["ArmoredSUV_PMC_DZ","GAZ_Vodnik_DZ","HMMWV_M1151_M2_CZ_DES_EP1_DZ","HMMWV_M998A2_SOV_DES_EP1_DZ","Offroad_SPG9_Gue","BTR40_MG_TK_INS_EP1","HMMWV_M998_crows_M2_DES_EP1","HMMWV_M1151_M2_DES_EP1","HMMWV_MK19_DES_EP1","HMMWV_M998A2_SOV_DES_EP1","M113_TK_EP1","HMMWV_MK19","HMMWV_Armored","HMMWV_M2","GAZ_Vodnik"];
        armed_chopper                 = ["CH_47F_EP1_DZ","UH1H_DZ","Mi17_DZ","UH60M_EP1_DZ","UH1Y_DZ","MH60S_DZ","AH6J_EP1","Mi17_TK_EP1"];
        civil_chopper                 = ["AH6X_DZ","BAF_Merlin_DZE","MH6J_DZ","Mi17_Civilian_DZ","Ka137_PMC"];
        military_unarmed             = ["GAZ_Vodnik_MedEvac","HMMWV_Ambulance","HMMWV_Ambulance_CZ_DES_EP1","HMMWV_DES_EP1","HMMWV_DZ","HMMWV_M1035_DES_EP1"];
        cargo_trucks                 = ["Kamaz","MTVR_DES_EP1","Ural_CDF","Ural_TK_CIV_EP1","Ural_UN_EP1","V3S_Open_TK_CIV_EP1","V3S_Open_TK_EP1"];
        refuel_trucks                = ["KamazRefuel_DZ","MtvrRefuel_DES_EP1_DZ","UralRefuel_TK_EP1_DZ","V3S_Refuel_TK_GUE_EP1_DZ"];
        civil_vehicles                 = ["GAZ_Vodnik_MedEvac","SUV_Blue","SUV_Camo","SUV_Charcoal","SUV_Green","SUV_Orange","SUV_Pink","SUV_Red","SUV_Silver","SUV_TK_CIV_EP1","SUV_White","SUV_Yellow"];

        // Dynamic box array
        crates_large                = ["USVehicleBox","RUVehicleBox","TKVehicleBox_EP1"];
        crates_medium                = ["USBasicWeaponsBox","RUBasicWeaponsBox","USSpecialWeaponsBox","USSpecialWeapons_EP1","RUSpecialWeaponsBox","SpecialWeaponsBox","TKSpecialWeapons_EP1","CZBasicWeapons_EP1","UNBasicWeapons_EP1"];
        crates_small                = ["GuerillaCacheBox","RULaunchersBox","RUBasicAmmunitionBox","RUOrdnanceBox","USBasicAmmunitionBox","USLaunchersBox","USOrdnanceBox","USOrdnanceBox_EP1","USLaunchers_EP1","USBasicWeapons_EP1","USBasicAmmunitionBox_EP1","UNBasicAmmunitionBox_EP1","TKOrdnanceBox_EP1","TKLaunchers_EP1","TKBasicAmmunitionBox_EP1","GuerillaCacheBox_EP1","GERBasicWeapons_EP1"];

        crate_weapons_buildables    = ["ChainSaw","ChainSawB","ChainSawG","ChainSawP","ChainSawR"];
        
        crate_tools                    = ["ItemKeyKit","Binocular","Binocular_Vector","ItemCompass","ItemCrowbar","ItemEtool","ItemFishingPole","ItemFlashlightRed","ItemGPS","ItemHatchet_DZE","ItemKnife","ItemMachete","ItemMatchbox_DZE","ItemToolbox","NVGoggles"];
        crate_tools_buildable        = ["ItemToolbox","ItemEtool","ItemCrowbar","ItemKnife"];
        crate_tools_sniper            = ["ItemCompass","Binocular","Binocular_Vector","NVGoggles","ItemGPS"];

        crate_items                    = ["FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemBandage","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemGoldBar","ItemGoldBar10oz","CinderBlocks","ItemCanvas","ItemComboLock","ItemLightBulb","ItemLockbox","ItemSandbag","ItemTankTrap","ItemWire","MortarBucket","PartEngine","PartFueltank","PartGeneric","PartGlass","PartPlankPack","PartVRotor","PartWheel","PartWoodPile",["ItemGoldBar10oz",3],["metal_floor_kit",1],["cinder_wall_kit",1]];
        crate_items_high_value        = ["ItemBriefcase100oz","ItemVault","30m_plot_kit","ItemHotwireKit","ItemLockbox,"ItemTopaz","ItemEmerald"];
        crate_items_food            = ["ItemWaterbottle","FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked"];
        crate_items_buildables        = [["forest_large_net_kit",2],["cinder_garage_kit",2],["cinder_door_kit",2],["ItemSandbagExLarge5X",5],["ItemComboLock",4],["CinderBlocks",20],["cinder_wall_kit",5],["ItemComboLock",4],"ItemLockbox",["ItemSandbag",10],["ItemTankTrap",10],["ItemWire",10],["MortarBucket",5],["metal_floor_kit",5],["sandbag_nest_kit",5],["ItemWoodCrateKit",5],["ItemFireBarrel_kit",5],["ItemGunRackKit",5],["storage_shed_kit",5],["forest_net_kit",2],["ItemTentDomed",5],["PartEngine",5],["PartVRotor",5],["Skin_Sniper1_DZ",5]];
        crate_items_vehicle_repair    = ["PartEngine","PartFueltank","PartGeneric","PartGlass","PartVRotor","PartWheel"];
        crate_items_medical            = ["ItemWaterbottle","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemBandage","FoodCanFrankBeans","FoodCanPasta"];
        crate_items_chainbullets    = ["2000Rnd_762x51_M134","200Rnd_762x51_M240","100Rnd_127x99_M2","150Rnd_127x107_DSHKM"];
        crate_items_sniper            = [["ItemPainkiller",5],"Skin_Sniper1_DZ","Skin_CZ_Soldier_Sniper_EP1_DZ","Skin_GUE_Soldier_Sniper_DZ",["ItemGoldBar10oz",3],["metal_floor_kit",1],["cinder_wall_kit",1]];
        crate_items_president        = ["ItemLockbox","ItemGoldBar10oz",["ItemGoldBar10oz",3],["metal_floor_kit",1],["cinder_wall_kit",1]];
        crate_items_crop_raider     = [["ItemKiloHemp",10],["ItemBriefcase100oz",1];
        crate_items_gem_tower         = [["ItemEmerald",1],["metal_floor_kit",5],["cinder_wall_kit",5]];

        crate_backpacks_all            = ["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Czech_Vest_Puch","DZ_TerminalPack_EP1","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_CompactPack_EP1","DZ_British_ACU","DZ_GunBag_EP1","DZ_CivilBackpack_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1"];
        crate_backpacks_large        = ["DZ_GunBag_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1","DZ_CivilBackpack_EP1"];

        crate_random                = [crate_items,crate_items_food,crate_items_buildables,crate_items_vehicle_repair,crate_items_medical,crate_items_chainbullets];

    /* END WAI MISSIONS CONFIG */

    /* STATIC MISSIONS CONFIG */

        static_missions                = false;        // use static mission file
        custom_per_world            = false;        // use a custom mission file per world

    /* END STATIC MISSIONS CONFIG */

    WAIconfigloaded = true;

};

 

Link to comment
Share on other sites

did you check your server fps? wai won't start when its under 5 fps

Quote

wai_server_fps                = 5;                                 // missions only starts if server FPS is over wai_server_fps

 

by the way..... wrong thread

Link to comment
Share on other sites

I am getting this error now... 

19:47:40 Error in expression <,["BAF_L85A2_RIS_Holo"]
,["AK_107_PSO"]]; 

ai_wep_machine = [
["RPK_74"]
,["MK_>
19:47:40   Error position: <; 

ai_wep_machine = [
["RPK_74"]
,["MK_>
19:47:40   Error Missing ]
19:47:40 File z\addons\dayz_server\WAI\config.sqf, line 272
19:47:40 Error in expression <,["BAF_L85A2_RIS_Holo"]
,["AK_107_PSO"]]; 

ai_wep_machine = [
["RPK_74"]
,["MK_>
19:47:40   Error position: <; 

ai_wep_machine = [
["RPK_74"]
,["MK_>
19:47:40   Error Missing ]
19:47:40 File z\addons\dayz_server\WAI\config.sqf, line 272

 

 

HERE IS THAT CODE, I AM MISSING NOTHING?....

if(isServer) then {

    /* GENERAL CONFIG */

        debug_mode                    = false;        // enable debug
        use_blacklist                = true;            // use blacklist
        blacklist                    = [
            [[0,16000,0],[1000,-0,0]],                // Left
            [[0,16000,0],[16000.0,14580.3,0]]        // Top
        ];

    /* END GENERAL CONFIG */

    /* AI CONFIG */

        ai_clear_body                 = false;        // instantly clear bodies
        ai_clean_dead                 = true;            // clear bodies after certain amount of time
        ai_cleanup_time             = 7200;            // time to clear bodies in seconds
        ai_clean_roadkill            = false;         // clean bodies that are roadkills
        ai_roadkill_damageweapon    = 0;            // percentage of chance a roadkill will destroy weapon AI is carrying

        ai_bandit_combatmode        = "RED";        // combatmode of bandit AI
        ai_bandit_behaviour            = "COMBAT";        // behaviour of bandit AI

        ai_hero_combatmode            = "RED";        // combatmode of hero AI
        ai_hero_behaviour            = "COMBAT";        // behaviour of hero AI

        ai_friendly_behaviour        = false;        // make ai friendly towards comrades

        player_bandit                = -5000;        // this is the amount you declare someone to be a bandit on your server, bandit AI will not attack you if ai_friendly_behaviour is true
        player_hero                    = 5000;            // this is the amount you declare someone to be a hero on your server, hero AI will not attack you if ai_friendly_behaviour is true

        ai_share_info                = true;            // AI share info on player position
        ai_share_distance            = 300;            // distance from killed AI for AI to share your rough position

        ai_kills_gain                = true;            // add kill to bandit/human kill score
        ai_humanity_gain            = true;            // gain humanity for killing AI
        ai_add_humanity                = 200;            // amount of humanity gained for killing a bandit AI
        ai_remove_humanity            = 200;            // amount of humanity lost for killing a hero AI
        ai_special_humanity            = 500;            // amount of humanity gain or loss for killing a special AI dependant on player alignment
        
        ai_skill_extreme            = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",1.00],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];     // Extreme
        ai_skill_hard                = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",1.00],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];     // Hard
        ai_skill_medium                = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",1.00],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];    // Medium
        ai_skill_easy                = [["aimingAccuracy",0.40],["aimingShake",0.50],["aimingSpeed",0.50],["endurance",1.00],["spotDistance",0.50],["spotTime",0.50],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];    // Easy
        ai_skill_random                = [ai_skill_extreme,ai_skill_hard,ai_skill_hard,ai_skill_hard,ai_skill_hard,ai_skill_medium,ai_skill_medium,ai_skill_medium,ai_skill_medium,ai_skill_easy];

        ai_static_useweapon            = true;    // Allows AI on static guns to have a loadout     
        ai_static_weapons            = ["KORD_high_TK_EP1","DSHKM_Ins","M2StaticMG"];    // static guns

        ai_static_skills            = false;    // Allows you to set custom array for AI on static weapons. (true: On false: Off) 
        ai_static_array                = [["aimingAccuracy",0.20],["aimingShake",0.70],["aimingSpeed",0.75],["endurance",1.00],["spotDistance",0.70],["spotTime",0.50],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]];

        ai_gear0                    = [["ItemBandage","ItemBandage","ItemAntibiotic"],["ItemRadio","ItemMachete","ItemCrowbar"]];
        ai_gear1                    = [["ItemBandage","ItemSodaPepsi","ItemMorphine"],["Binocular_Vector"]];
        ai_gear2                    = [["ItemDocument","FoodCanFrankBeans","ItemHeatPack"],["ItemToolbox"]];
        ai_gear3                    = [["ItemWaterbottle","ItemBloodbag"],["ItemCompass","ItemCrowbar"]];
        ai_gear4                    = [["ItemBandage","ItemEpinephrine","ItemPainkiller"],["ItemGPS","ItemKeyKit"]];
        ai_gear_random                = [ai_gear0,ai_gear1,ai_gear2,ai_gear3,ai_gear4];    // Allows the possibility of random gear

        ai_wep_assault = [
         ["RH_hk416"]
        ,["RH_hk416s"]
        ,["RH_hk416saim"]
        ,["RH_hk416seotech"]
        ,["RH_hk416sacog"]
        ,["RH_hk416sd"]
        ,["RH_hk416sdaim"]
        ,["RH_hk416sdeotech"]
        ,["RH_hk416aim"]
        ,["RH_hk416eotech"]
        ,["RH_hk416acog"]
        ,["RH_hk416gl"]
        ,["RH_hk416glaim"]
        ,["RH_hk416gleotech"]
        ,["RH_hk416glacog"]
        ,["RH_hk416sgl"]
        ,["RH_hk416sglaim"]
        ,["RH_hk416sgleotech"]
        ,["RH_hk416sglacog"]
        ,["RH_hk416sdgl"]
        ,["RH_hk416sdglaim"]
        ,["RH_hk416sdgleotech"]
        ,["RH_hk417"]
        ,["RH_hk417aim"]
        ,["RH_hk417eotech"]
        ,["RH_hk417acog"]
        ,["RH_hk417s"]
        ,["RH_hk417saim"]
        ,["RH_hk417seotech"]
        ,["RH_hk417sacog"]
        ,["RH_hk417sd"]
        ,["RH_hk417sdaim"]
        ,["RH_hk417sdeotech"]
        ,["RH_hk417sdacog"]
        ,["RH_hk417sdsp"]
        ,["RH_hk417sgl"]
        ,["RH_hk417sglaim"]
        ,["RH_hk417sgleotech"]
        ,["RH_hk417sglacog"]
        ,["RH_ctar21"]
        ,["RH_ctar21glacog"]
        ,["RH_ctar21m"]
        ,["RH_ctar21mgl"]
        ,["RH_star21"]
        ,["RH_mas"]
        ,["RH_masaim"]
        ,["RH_maseotech"]
        ,["RH_masacog"]
        ,["RH_massd"]
        ,["RH_massdaim"]
        ,["RH_massdeotech"]
        ,["RH_massdacog"]
        ,["RH_masb"]
        ,["RH_masbaim"]
        ,["RH_masbeotech"]
        ,["RH_masbacog"]
        ,["RH_masbsd"]
        ,["RH_masbsdaim"]
        ,["RH_masbsdeotech"]
        ,["RH_masbsdacog"]
        ,["SCAR_L_CQC"]
        ,["SCAR_L_CQC_Holo"]
        ,["SCAR_L_STD_Mk4CQT"]
        ,["SCAR_L_STD_EGLM_RCO"
        ,["SCAR_L_CQC_EGLM_Holo"]
        ,["SCAR_L_STD_HOLO"]
        ,["SCAR_L_CQC_CCO_SD"]
        ,["SCAR_H_CQC_CCO"]
        ,["SCAR_H_CQC_CCO_SD"]
        ,["SCAR_H_STD_EGLM_Spect"]
        ,["FHQ_ACR_WDL_IRN"]
        ,["FHQ_ACR_WDL_IRN_F"]
        ,["FHQ_ACR_WDL_IRN_GL"]
        ,["FHQ_ACR_WDL_IRN_GL_F"]
        ,["FHQ_ACR_WDL_CCO"]
        ,["FHQ_ACR_WDL_CCO_F"]
        ,["FHQ_ACR_WDL_CCO_GL"]
        ,["FHQ_ACR_WDL_CCO_GL_F"]
        ,["FHQ_ACR_WDL_RCO"]
        ,["FHQ_ACR_WDL_RCO_F"]
        ,["FHQ_ACR_WDL_RCO_GL"]
        ,["FHQ_ACR_WDL_RCO_GL_F"]
        ,["FHQ_ACR_WDL_HWS"]
        ,["FHQ_ACR_WDL_HWS_F"]
        ,["FHQ_ACR_WDL_HWS_GL"]
        ,["FHQ_ACR_WDL_HWS_GL_F"]
        ,["FHQ_ACR_WDL_G33"]
        ,["FHQ_ACR_WDL_G33_F"]
        ,["FHQ_ACR_WDL_G33_GL"]
        ,["FHQ_ACR_WDL_G33_GL_F"]
        ,["FHQ_ACR_WDL_HAMR"]
        ,["FHQ_ACR_WDL_HAMR_F"]
        ,["FHQ_ACR_WDL_HAMR_GL"]
        ,["FHQ_ACR_WDL_HAMR_GL_F"]
        ,["FHQ_ACR_BLK_IRN"]
        ,["FHQ_ACR_BLK_IRN_F"]
        ,["FHQ_ACR_BLK_IRN_GL"]
        ,["FHQ_ACR_BLK_IRN_GL_F"]
        ,["FHQ_ACR_BLK_CCO"]
        ,["FHQ_ACR_BLK_CCO_F"]
        ,["FHQ_ACR_BLK_CCO_GL"]
        ,["FHQ_ACR_BLK_CCO_GL_F"]
        ,["FHQ_ACR_BLK_RCO"]
        ,["FHQ_ACR_BLK_RCO_F"]
        ,["FHQ_ACR_BLK_RCO_GL"]
        ,["FHQ_ACR_BLK_RCO_GL_F"]
        ,["FHQ_ACR_BLK_HWS"]
        ,["FHQ_ACR_BLK_HWS_F"]
        ,["FHQ_ACR_BLK_HWS_GL"]
        ,["FHQ_ACR_BLK_HWS_GL_F"]
        ,["FHQ_ACR_BLK_G33"]
        ,["FHQ_ACR_BLK_G33_F"]
        ,["FHQ_ACR_BLK_G33_GL"]
        ,["FHQ_ACR_BLK_G33_GL_F"]
        ,["FHQ_ACR_BLK_HAMR"]
        ,["FHQ_ACR_BLK_HAMR_GL"]
        ,["FHQ_ACR_WDL_IRN_SD"]
        ,["FHQ_ACR_WDL_IRN_SD_F"]
        ,["FHQ_ACR_WDL_IRN_GL_SD"]
        ,["FHQ_ACR_WDL_IRN_GL_SD_F"]
        ,["FHQ_ACR_WDL_CCO_SD"]
        ,["FHQ_ACR_WDL_CCO_SD_F"]
        ,["FHQ_ACR_WDL_CCO_GL_SD"]
        ,["FHQ_ACR_WDL_CCO_GL_SD_F"]
        ,["FHQ_ACR_WDL_RCO_SD"]
        ,["FHQ_ACR_WDL_RCO_SD_F"]
        ,["FHQ_ACR_WDL_RCO_GL_SD"]
        ,["FHQ_ACR_WDL_RCO_GL_SD_F"]
        ,["FHQ_ACR_WDL_HWS_SD"]
        ,["FHQ_ACR_WDL_HWS_SD_F"]
        ,["FHQ_ACR_WDL_HWS_GL_SD"]
        ,["FHQ_ACR_WDL_HWS_GL_SD_F"]
        ,["FHQ_ACR_WDL_G33_SD"]
        ,["FHQ_ACR_WDL_G33_SD_F"]
        ,["FHQ_ACR_WDL_G33_GL_SD"]
        ,["FHQ_ACR_WDL_G33_GL_SD_F"]
        ,["FHQ_ACR_WDL_HAMR_SD"]
        ,["FHQ_ACR_WDL_HAMR_SD_F"]
        ,["FHQ_ACR_WDL_HAMR_GL_SD"]
        ,["FHQ_ACR_WDL_HAMR_GL_SD_F"]
        ,["FHQ_ACR_BLK_IRN_SD"]
        ,["FHQ_ACR_BLK_IRN_SD_F"]
        ,["FHQ_ACR_BLK_IRN_GL_SD"]
        ,["FHQ_ACR_BLK_IRN_GL_SD_F"]
        ,["FHQ_ACR_BLK_CCO_SD"]
        ,["FHQ_ACR_BLK_CCO_SD_F"]
        ,["FHQ_ACR_BLK_CCO_GL_SD"]
        ,["FHQ_ACR_BLK_CCO_GL_SD_F"]
        ,["FHQ_ACR_BLK_RCO_SD"]
        ,["FHQ_ACR_BLK_RCO_SD_F"]
        ,["FHQ_ACR_BLK_RCO_GL_SD"]
        ,["FHQ_ACR_BLK_RCO_GL_SD_F"]
        ,["FHQ_ACR_BLK_HWS_SD"]
        ,["FHQ_ACR_BLK_HWS_SD_F"]
        ,["FHQ_ACR_BLK_HWS_GL_SD"]
        ,["FHQ_ACR_BLK_HWS_GL_SD_F"]
        ,["FHQ_ACR_BLK_G33_SD"
        ,["FHQ_ACR_BLK_G33_SD_F"]
        ,["FHQ_ACR_BLK_G33_GL_SD"]
        ,["FHQ_ACR_BLK_G33_GL_SD_F"]
        ,["FHQ_ACR_BLK_HAMR_SD"]
        ,["FHQ_ACR_BLK_HAMR_GL_SD"]
        ,["FHQ_ACR_BLK_HAMR_GL_SD_F"]
        ,["vil_G36KVA4"]
        ,["vil_G36KA4"]
        ,["vil_G36E"]
        ,["vil_G36a2"]
        ,["vil_AG36"]
        ,["vil_AG36A2"]
        ,["vil_AG36KV"]
        ,["vil_AG36KA4"]
        ,["vil_G36VA4"]
        ,["vil_G36VA4Eot"]
        ,["vil_G36KVZ"]
        ,["vil_G36KSK"]
        ,["vil_G36KSKdes"]
        ,["vil_G36KSKdesES"]
        ,["vil_G36CC"]
        ,["vil_G36KSKES"]
        ,["vil_G36KES"]
        ,["vil_G36KV3"]
        ,["vil_G36KV3Des"]
        ,["vil_SKS"]
        ,["vil_Galil"]
        ,["vil_Galil_arm"]
        ,["FN_FAL"]
        ,["FN_FAL_ANPVS4"]
        ,["G36A_camo"]
        ,["G36C"]
        ,["G36C_camo"]
        ,["G36K_camo"]
        ,["G36_C_SD_camo"]
        ,["M16A2"]
        ,["M16A2GL"]
        ,["M16A4_ACG"]
        ,["M4A1"]
        ,["M4A1_Aim"]
        ,["M4A1_AIM_SD_camo"]
        ,["M4A1_HWS_GL_camo"]
        ,["M4A3_CCO_EP1"]
        ,["Sa58P_EP1"]
        ,["Sa58V_CCO_EP1"]
        ,["Sa58V_EP1"]
        ,["Sa58V_RCO_EP1"]
        ,["m8_compact"]
        ,["m8_sharpshooter"]
        ,["m8_holo_sd"]
        ,["m8_carbine"]
        ,["BAF_L85A2_RIS_SUSAT"]
        ,["BAF_L85A2_RIS_Holo"]
        ,["AK_107_PSO"]
        ]; // Assault

        ai_wep_machine = [
         ["RPK_74"]
        ,["MK_48_DZ"]
        ,["M249_EP1_DZ"]
        ,["Pecheneg_DZ"]
        ,["M240_DZ"]
        ,["vil_PKP"]
        ,["Pecheneg_DZ"]
        ,["USSOF_Mk_48"]
        ,["vil_PKP_EOT"]
        ,["skavil_M60"]
        ,["skavil_M60e3"]
        ,["vil_zastava_m84"]
        ,["vil_PKM"]
        ,["vil_RPD"]
        ,["vil_Mg3"]
        ,["vil_M249_Para"]
        ,["Mk_48_DZ"]
        ,["vil_Minimi"]
        ,["vil_FnMag"]
        ,["vil_M240_B"]
        ,["M240_DZ"]
        ,["vil_MG4"]
        ,["vil_MG4E"]
        ,["M249_m145_EP1_DZE"]
        ,["m240_scoped_EP1_DZE"]
        ,["M60A4_EP1_DZE"]
        ]; // Light machine guns

        ai_wep_sniper = [
         ["RH_hk417sp"]
        ,["RH_hk417s"]
        ,["RH_m21"]
        ,["RH_sc2"]
        ,["RH_sc2acog"]
        ,["RH_sc2aim"]
        ,["RH_sc2eot"]
        ,["RH_sc2shd"]
        ,["RH_sc2sp"]
        ,["RH_m1sacog"]
        ,["RH_m1saim"]
        ,["RH_m1seot"]
        ,["RH_m1sshd"]
        ,["RH_m1ssp"]
        ,["RH_m1st"]
        ,["RH_m1stacog"]
        ,["RH_m1staim"]
        ,["RH_m1steot"]
        ,["RH_m1stshd"]
        ,["RH_m1stsp"]
        ,["vil_SR25"]
        ,["vil_M110"]
        ,["vil_SR25sd"]
        ,["vil_M110sd"]
        ,["SCAR_H_LNG_Sniper"]
        ,["SCAR_H_LNG_Sniper_SD"]
        ,["FHQ_RSASS_TAN"]
        ,["FHQ_RSASS_SD_TAN"]
        ,["FHQ_XM2010_DESERT"]
        ,["FHQ_XM2010_SD_DESERT"]
        ,["FHQ_XM2010_NV_DESERT"]
        ,["FHQ_XM2010_NV_SD_DESERT"]
        ,["M14_EP1"]
        ,["vil_M21G"]
        ,["vil_M14G"]
        ,["vil_SVD_63"]
        ,["vil_SVD_N"]
        ,["vil_SVD_P21"]
        ,["vil_SVDK"]
        ,["DMR_DZ"]
        ,["M4SPR"]
        ,["M40A3"]
        ,["SVD_CAMO"]
        ,["huntingrifle"]
        ,["SVD_des_EP1"]
        ,["SVD"]
        ,["M24_des_EP1"]
        ,["M24"]
        ,["BAF_LRR_scoped"]
        ,["KSVK_DZE"]
        ,["VSS_vintorez"]
        ,["M107_DZ"]
        ]; // Sniper rifles    
        ai_wep_random                = [ai_wep_assault,ai_wep_assault,ai_wep_assault,ai_wep_sniper,ai_wep_machine];    // random weapon 60% chance assault rifle,20% light machine gun,20% sniper rifle
        ai_wep_launchers_AT            = ["M136","RPG18","JAVELIN"];
        ai_wep_launchers_AA            = ["Strela","Igla","STINGER"];
        
        ai_packs                    = ["DZ_Czech_Vest_Puch","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_British_ACU","DZ_GunBag_EP1","DZ_CivilBackpack_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1"];
        ai_hero_skin                = ["FR_AC","FR_AR","FR_Corpsman","FR_GL","FR_Marksman","FR_R","FR_Sapper","FR_TL"];
        ai_bandit_skin                = ["Ins_Soldier_GL_DZ","TK_INS_Soldier_EP1_DZ","TK_INS_Warlord_EP1_DZ","GUE_Commander_DZ","GUE_Soldier_Sniper_DZ","GUE_Soldier_MG_DZ","GUE_Soldier_Crew_DZ","GUE_Soldier_2_DZ","GUE_Soldier_CO_DZ","BanditW1_DZ","BanditW2_DZ","Bandit1_DZ","Bandit2_DZ"];
        ai_special_skin                = ["Functionary1_EP1_DZ"];
        ai_all_skin                    = [ai_hero_skin,ai_bandit_skin,ai_special_skin];

        ai_add_skin                    = true;            // adds unit skin to inventory on death
        
    /* END AI CONFIG */

    /* WAI MISSIONS CONFIG */
        wai_mission_system            = true;    // use built in mission system

        wai_mission_markers            = ["DZMSMajMarker","DZMSMinMarker","DZMSBMajMarker","DZMSBMinMarker"];
        wai_avoid_missions            = 750;                                // avoid spawning missions this close to other missions, these are defined in wai_mission_markers
        wai_avoid_traders            = 750;                                // avoid spawning missions this close to traders
        wai_avoid_town                = 0;                                // avoid spawning missions this close to towns, *** doesn't function with infiSTAR enabled ***
        wai_avoid_road                = 0;                                // avoid spawning missions this close to roads
        wai_avoid_water                = 50;                                // avoid spawning missions this close to water

        
        wai_mission_timer            = [30,240];                            // time between missions 5-15 minutes
        wai_mission_timeout            = [900,1800];                         // time each missions takes to despawn if inactive 15-30 minutes
        wai_timeout_distance        = 1000;                                // if a player is this close to a mission then it won't time-out
        
        wai_clean_mission            = true;                                // clean all mission buildings after a certain period
        wai_clean_mission_time        = 1800;                                // time after a mission is complete to clean mission buildings

        wai_mission_fuel            = [30,80];                            // fuel inside mission spawned vehicles [min%,max%]
        wai_vehicle_damage            = [10,15];                            // damages to spawn vehicles with [min%,max%]
        wai_keep_vehicles            = false;                                // save vehicles to database and keep them after restart
        wai_linux_server            = false;                            // false = Windows (HiveExt.dll)        true = Linux Server (writer.pl)        has no effect when "wai_keep_vehicles = false;"
        wai_lock_vehicles            = false;                                // lock mission vehicles and add keys to random AI bodies (be careful with ai_clean_dead if this is true

        wai_crates_smoke            = false;                                // pop smoke on crate when mission is finished during daytime
        wai_crates_flares            = false;                                // pop flare on crate when mission is finished during nighttime
        
        wai_players_online            = 1;                                 // number of players online before mission starts
        wai_server_fps                = 5;                                 // missions only starts if server FPS is over wai_server_fps
        
        wai_kill_percent            = 50;                                // percentage of AI players that must be killed at "crate" missions to be able to trigger completion

        wai_high_value                = true;                                // enable the possibility of finding a high value item (defined below crate_items_high_value) inside a crate
        wai_high_value_chance        = 1;                                // chance in percent you find above mentioned item

        wai_enable_minefield        = true;                                // enable minefields to better defend missions
        wai_use_launchers            = true;                                // add a rocket launcher to each spawned AI group
        wai_remove_launcher            = true;                                // remove rocket launcher from AI on death

        // Missions
        wai_radio_announce            = false;                                // Setting this to true will announce the missions to those that hold a radio only
        wai_hero_limit                = 2;                                // define how many hero missions can run at once
        wai_bandit_limit            = 2;                                // define how many bandit missions can run at once

        wai_hero_missions            = [                                 // ["mission filename",% chance of picking this mission],Make sure the chances add up to 100,or it will not be accurate percentages
                                        ["patrol",1],
                                        ["black_hawk_crash",3],
                                        ["armed_vehicle",6],
                                        ["bandit_base",4],
                                        ["captured_mv22",4],
                                        ["ikea_convoy",4],
                                        ["destroyed_ural",4],
                                        ["disabled_milchopper",4],
                                        ["mayors_mansion",5],
                                        ["weapon_cache",5],
                                        ["gem_tower",5],
                                        ["cannibal_cave",5],
                                        ["crop_raider",5],    
                                        ["drone_pilot",5], 
                                        ["slaughter_house",5],
                                        ["drugbust",5],
                                        ["armybase",5],
                                        ["abandoned_trader",5],
                                        ["lumberjack",5],
                                        ["tankcolumn",5],
                                        ["macdonald",5],
                                        ["radioshack",5]
                                    ];
        wai_bandit_missions            = [
                                        ["armed_vehicle",16],
                                        ["black_hawk_crash",14],
                                        ["captured_mv22",6],
                                        ["broken_down_ural",14],
                                        ["hero_base",6],
                                        ["ikea_convoy",8],
                                        ["medi_camp",9],
                                        ["presidents_mansion",8],
                                        ["sniper_extraction",9],
                                        ["weapon_cache",10]
                                        
                                    ];
        
        // Vehicle arrays
        armed_vehicle                 = ["ArmoredSUV_PMC_DZ","GAZ_Vodnik_DZ","HMMWV_M1151_M2_CZ_DES_EP1_DZ","HMMWV_M998A2_SOV_DES_EP1_DZ","Offroad_SPG9_Gue","BTR40_MG_TK_INS_EP1","HMMWV_M998_crows_M2_DES_EP1","HMMWV_M1151_M2_DES_EP1","HMMWV_MK19_DES_EP1","HMMWV_M998A2_SOV_DES_EP1","M113_TK_EP1","HMMWV_MK19","HMMWV_Armored","HMMWV_M2","GAZ_Vodnik"];
        armed_chopper                 = ["CH_47F_EP1_DZ","UH1H_DZ","Mi17_DZ","UH60M_EP1_DZ","UH1Y_DZ","MH60S_DZ","AH6J_EP1","Mi17_TK_EP1"];
        civil_chopper                 = ["AH6X_DZ","BAF_Merlin_DZE","MH6J_DZ","Mi17_Civilian_DZ","Ka137_PMC"];
        military_unarmed             = ["GAZ_Vodnik_MedEvac","HMMWV_Ambulance","HMMWV_Ambulance_CZ_DES_EP1","HMMWV_DES_EP1","HMMWV_DZ","HMMWV_M1035_DES_EP1"];
        cargo_trucks                 = ["Kamaz","MTVR_DES_EP1","Ural_CDF","Ural_TK_CIV_EP1","Ural_UN_EP1","V3S_Open_TK_CIV_EP1","V3S_Open_TK_EP1"];
        refuel_trucks                = ["KamazRefuel_DZ","MtvrRefuel_DES_EP1_DZ","UralRefuel_TK_EP1_DZ","V3S_Refuel_TK_GUE_EP1_DZ"];
        civil_vehicles                 = ["GAZ_Vodnik_MedEvac","SUV_Blue","SUV_Camo","SUV_Charcoal","SUV_Green","SUV_Orange","SUV_Pink","SUV_Red","SUV_Silver","SUV_TK_CIV_EP1","SUV_White","SUV_Yellow"];

        // Dynamic box array
        crates_large                = ["USVehicleBox","RUVehicleBox","TKVehicleBox_EP1"];
        crates_medium                = ["USBasicWeaponsBox","RUBasicWeaponsBox","USSpecialWeaponsBox","USSpecialWeapons_EP1","RUSpecialWeaponsBox","SpecialWeaponsBox","TKSpecialWeapons_EP1","CZBasicWeapons_EP1","UNBasicWeapons_EP1"];
        crates_small                = ["GuerillaCacheBox","RULaunchersBox","RUBasicAmmunitionBox","RUOrdnanceBox","USBasicAmmunitionBox","USLaunchersBox","USOrdnanceBox","USOrdnanceBox_EP1","USLaunchers_EP1","USBasicWeapons_EP1","USBasicAmmunitionBox_EP1","UNBasicAmmunitionBox_EP1","TKOrdnanceBox_EP1","TKLaunchers_EP1","TKBasicAmmunitionBox_EP1","GuerillaCacheBox_EP1","GERBasicWeapons_EP1"];

        crate_weapons_buildables    = ["ChainSaw","ChainSawB","ChainSawG","ChainSawP","ChainSawR"];
        
        crate_tools                    = ["ItemKeyKit","Binocular","Binocular_Vector","ItemCompass","ItemCrowbar","ItemEtool","ItemFishingPole","ItemFlashlightRed","ItemGPS","ItemHatchet_DZE","ItemKnife","ItemMachete","ItemMatchbox_DZE","ItemToolbox","NVGoggles"];
        crate_tools_buildable        = ["ItemToolbox","ItemEtool","ItemCrowbar","ItemKnife"];
        crate_tools_sniper            = ["ItemCompass","Binocular","Binocular_Vector","NVGoggles","ItemGPS"];

        crate_items                    = ["FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemBandage","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemGoldBar","ItemGoldBar10oz","CinderBlocks","ItemCanvas","ItemComboLock","ItemLightBulb","ItemLockbox","ItemSandbag","ItemTankTrap","ItemWire","MortarBucket","PartEngine","PartFueltank","PartGeneric","PartGlass","PartPlankPack","PartVRotor","PartWheel","PartWoodPile",["ItemGoldBar10oz",3],["metal_floor_kit",1],["cinder_wall_kit",1]];
        crate_items_high_value        = ["ItemBriefcase100oz","ItemVault","30m_plot_kit","ItemHotwireKit","ItemLockbox","ItemTopaz","ItemEmerald"];
        crate_items_food            = ["ItemWaterbottle","FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked"];
        crate_items_buildables        = [["forest_large_net_kit",2],["cinder_garage_kit",2],["cinder_door_kit",2],["ItemSandbagExLarge5X",5],["ItemComboLock",4],["CinderBlocks",20],["cinder_wall_kit",5],["ItemComboLock",4],"ItemLockbox",["ItemSandbag",10],["ItemTankTrap",10],["ItemWire",10],["MortarBucket",5],["metal_floor_kit",5],["sandbag_nest_kit",5],["ItemWoodCrateKit",5],["ItemFireBarrel_kit",5],["ItemGunRackKit",5],["storage_shed_kit",5],["forest_net_kit",2],["ItemTentDomed",5],["PartEngine",5],["PartVRotor",5],["Skin_Sniper1_DZ",5]];
        crate_items_vehicle_repair    = ["PartEngine","PartFueltank","PartGeneric","PartGlass","PartVRotor","PartWheel"];
        crate_items_medical            = ["ItemWaterbottle","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemBandage","FoodCanFrankBeans","FoodCanPasta"];
        crate_items_chainbullets    = ["2000Rnd_762x51_M134","200Rnd_762x51_M240","100Rnd_127x99_M2","150Rnd_127x107_DSHKM"];
        crate_items_sniper            = [["ItemPainkiller",5],"Skin_Sniper1_DZ","Skin_CZ_Soldier_Sniper_EP1_DZ","Skin_GUE_Soldier_Sniper_DZ",["ItemGoldBar10oz",3],["metal_floor_kit",1],["cinder_wall_kit",1]];
        crate_items_president        = ["ItemLockbox","ItemGoldBar10oz",["ItemGoldBar10oz",3],["metal_floor_kit",1],["cinder_wall_kit",1]];
        crate_items_crop_raider     = [["ItemKiloHemp",10],["ItemBriefcase100oz",1];
        crate_items_gem_tower         = [["ItemEmerald",1],["metal_floor_kit",5],["cinder_wall_kit",5]];

        crate_backpacks_all            = ["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Czech_Vest_Puch","DZ_TerminalPack_EP1","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_CompactPack_EP1","DZ_British_ACU","DZ_GunBag_EP1","DZ_CivilBackpack_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1"];
        crate_backpacks_large        = ["DZ_GunBag_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1","DZ_CivilBackpack_EP1"];

        crate_random                = [crate_items,crate_items_food,crate_items_buildables,crate_items_vehicle_repair,crate_items_medical,crate_items_chainbullets];

    /* END WAI MISSIONS CONFIG */

    /* STATIC MISSIONS CONFIG */

        static_missions                = false;        // use static mission file
        custom_per_world            = false;        // use a custom mission file per world

    /* END STATIC MISSIONS CONFIG */

    WAIconfigloaded = true;

};

 

 

please help man

 

Link to comment
Share on other sites

now this 20:33:30 Error in expression <emKiloHemp",10],["ItemBriefcase100oz",1];
crate_items_gem_tower         = [["ItemEmera>
20:33:30   Error position: <;
crate_items_gem_tower         = [["ItemEmera>
20:33:30   Error Missing ]
20:33:30 File z\addons\dayz_server\WAI\config.sqf, line 483

Link to comment
Share on other sites

  • 4 weeks later...

Any way to add marker so they don't spawn at the same place, on Napf I would love them to spawn at different place. Also I noticed when players finished killing all Ai mission doesn't end do you have a fix for that? I have no error at all in the rtp.

 

Thanks Awesome missions btw, players love it.

Link to comment
Share on other sites

  • 2 weeks later...
3 hours ago, rpg4e said:

Is the Mainpost up-to-date? New missions aren't spawning, added up to hundred for each bandit/hero; removed junkyard.

the sections have to amount to 100. so if you have 10 missions, each mission must have 10.  Or as long as it adds up to 100

Link to comment
Share on other sites

2 hours ago, Jyggs said:

Is it normal to hear the Radio "beep" sound when mission spawn more than once when using the radio add on?  I noticed than when close to another player I can hear their "beep" sound as well.

ive noticed this as well lol

Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...

So I installed the heavy militarized missions, and changed the config. And now Im getting this error. The default WAI missions worked fine before I added the new ones. My percentages also add up to 100.

 

 6:28:24 Error in expression <[0,_type,[]]];

if(wai_enable_minefield && _mines) then {
call {
if(_difficulty >
 6:28:24   Error position: <&& _mines) then {
call {
if(_difficulty >
 6:28:24   Error &&: Type String, expected Bool,code
 6:28:24 File z\addons\dayz_server\WAI\compile\mission_init.sqf, line 17

Link to comment
Share on other sites

  • 2 weeks later...

Hi there!

I have a few questions here...
When I installed WAI I only got supply drops, no AI is patroling or nothing else, it´s quiet like a grave in the game =)

And why do players see mission and I who is admin dosen´t see the players missions?
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...