Jump to content

Lulzfail567

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Lulzfail567

  1. ///////////////////////////////////////////////////////
    ///Use the built in mission system (config file for mission system in mission folder)
    ai_mission_sysyem = True;
    
    ///////////////////////////////////////////////////////
    /// clears all Weapons and Magazines off body on death
    ai_clear_body = False;
    
    /// Clears dead bodies after given time
    ai_clean_dead = True;
    
    /// Time (in seconds) after which a dead body will be cleaned up
    cleanup_time = 1800;
    ///////////////////////////////////////////////////////
    /// Sets radius for AI patrols (call spawn_group)
    ai_patrol_radius = 300;
    
    /// Sets number of waypoints to add in patrol area (call spawn_group)
    ai_patrol_radius_wp = 10;
    
    /// Sets behavior of AI groups 
    ai_combatmode = "RED";
    ai_behaviour = "SAFE";
    
    ///////////////////////////////////////////////////////
    /// Turns on AI info sharing (Makes them very hard even on low skill settings)
    ai_ahare_info = True;
    
    /// Distance AI will let other enemies know of your position (currently only on kill) 
    ai_share_distance = 300;
    
    ///////////////////////////////////////////////////////
    /// Gain humanity for killing an AI unit (True: is on. False: is off.) 
    ai_humanity_gain = True;
    
    /// Humanity added for AI kill 
    ai_add_humanity = 50;
    
    /// Adds bandit kill when killing an AI (True: on. False: off.)
    ai_banditkills_gain = True;
    
    ///////////////////////////////////////////////////////
    /// Allows you to set a custom skill array for units. (True: will use these arrays. False: will use number in spawn array)
    ai_custom_skills = False;
    
    /// Custom skill array. Use 0 to use this with ai_custom_skills = True 
    ai_custom_array1 = [
    ["aimingAccuracy",0.60],
    ["aimingShake",0.60],
    ["aimingSpeed",1.00],
    ["endurance",1.00],
    ["spotDistance",1.00],
    ["spotTime",1.00],
    ["courage",1.00],
    ["reloadSpeed",1.00],
    ["commanding",1.00],
    ["general",1.00]
    ];
    
    /// Custom skill array. Use 1 to use this with ai_custom_skills = True 
    ai_custom_array2 = [
    ["aimingAccuracy",0.15],
    ["aimingShake",0.20],
    ["aimingSpeed",1.00],
    ["endurance",1.00],
    ["spotDistance",1.00],
    ["spotTime",1.00],
    ["courage",1.00],
    ["reloadSpeed",1.00],
    ["commanding",1.00],
    ["general",1.00]
    ];
    
    /// Custom skill array. Use 2 to use this with ai_custom_skills = True 
    ai_custom_array3 = [
    ["aimingAccuracy",0.60],
    ["aimingShake",0.60],
    ["aimingSpeed",1.00],
    ["endurance",1.00],
    ["spotDistance",1.00],
    ["spotTime",1.00],
    ["courage",1.00],
    ["reloadSpeed",1.00],
    ["commanding",1.00],
    ["general",1.00]
    ];
    
    /// Arrays used in "Random" custom skill 
    ai_skill_random = [ai_custom_array1,ai_custom_array2,ai_custom_array3];
    
    ///////////////////////////////////////////////////////
    /// Allows AI on static guns to have a loadout 
    ai_static_useweapon = True;
    
    /// Allows you to set custom array for AI on static weapons. (True: On False: Off) 
    ai_static_skills = True;
    
    /// Custom skill array. Use this with ai_static_skills = True;
    ai_static_array = [
    ["aimingAccuracy",0.15],
    ["aimingShake",0.20],
    ["aimingSpeed",0.50],
    ["endurance",1.00],
    ["spotDistance",1.00],
    ["spotTime",1.00],
    ["courage",1.00],
    ["reloadSpeed",1.00],
    ["commanding",1.00],
    ["general",1.00]
    ];
    
    ///////////////////////////////////////////////////////
    /// Gearset arrays for unit Loadouts ///
    
    /// 0 ///
    ai_gear0 = [
    ["ItemBandage","ItemBandage","ItemPainkiller"],
    ["ItemKnife","ItemFlashlight"]
    ];
    
    /// 1 ///
    ai_gear1 = [
    ["ItemBandage","ItemBandage","ItemPainkiller"],
    ["ItemKnife","ItemFlashlight"]
    ];
    
    /// 2 ///
    ai_gear2 = [
    ["ItemBandage","ItemBandage","ItemPainkiller"],
    ["ItemKnife","ItemFlashlight"]
    ];
    
    /// 3 ///
    ai_gear3 = [
    ["ItemBandage","ItemBandage","ItemPainkiller"],
    ["ItemKnife","ItemFlashlight"]
    ];
    
    /// 4 ///
    ai_gear4 = [
    ["ItemBandage","ItemBandage","ItemPainkiller"],
    ["ItemKnife","ItemFlashlight"]
    ];
    
    /// Gearsets to use if set to "Random" ///
    ai_gear_random = [ai_gear0,ai_gear1,ai_gear2,ai_gear3,ai_gear4];
    
    ///////////////////////////////////////////////////////
    /// Weapon arrays for unit Loadouts ///
    /// Format is ["Gun","Ammo"] ///
    
    /// 0 ///
    ai_wep0 = [
    ["RPG7V","PG7VR"] 
    ];
    
    /// 1 ///
    ai_wep1 = [
    ["FN_FAL","20Rnd_762x51_FNFAL"]
    ];
    
    /// 2 ///
    ai_wep2 = [
    ["M249_m145_EP1_DZE","200Rnd_556x45_M249"] 
    ];
    
    /// 3 ///
    ai_wep3 = [ 
    ["SCAR_H_STD_EGLM_Spect","20rnd_762x51_B_SCAR"]
    ];
    
    /// 4 ///
    ai_wep4 = [
    ["M107","10Rnd_127x99_m107"]
    ];
    
    /// 5 ///
    ai_wep5 = [
    ["Stinger","Stinger"]
    ];
    
    
    /// 6 ///
    ai_wep6 = [
    ["Javelin","Javelin"]
    ];
    
    /// 7 ///
    ai_wep7 = [
    ["AK_74","30Rnd_545x39_AK"]
    ];
    
    
    /// 8 ///
    ai_wep8 = [
    ["M8_carbineGL","100Rnd_556x45_BetaCMag"]
    ];
    
    
    /// 9 ///
    ai_wep9 = [ 
    ["M240_DZ","100Rnd_762x51_M240"]
    ];
    
    
    /// 10 ///
    ai_wep10 = [
    ["M249_DZ","200Rnd_556x45_M249"]
    ];
    
    /// Arrays used in "Random" for weapons///
    ai_wep_random = [ai_wep0,ai_wep1,ai_wep2,ai_wep3,ai_wep4,ai_wep5,ai_wep6,ai_wep7,ai_wep8,ai_wep9,ai_wep10];
    
    ///////////////////////////////////////////////////////
    /// Backpacks used when "" for random ///
    ai_packs = [
    "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"
    ];
    
    ///////////////////////////////////////////////////////
    /// Skins used when "" for random ///
    ai_skin = [
    "Bandit1_DZ",
    "BanditW1_DZ",
    "BanditW2_DZ",
    "Camo1_DZ",
    "Sniper1_DZ",
    "Soldier1_DZ",
    "Survivor2_DZ",
    "SurvivorW2_DZ",
    "GUE_Soldier_MG_DZ",
    "GUE_Soldier_Sniper_DZ",
    "GUE_Soldier_Crew_DZ",
    "GUE_Soldier_2_DZ",
    "RU_Policeman_DZ",
    "Pilot_EP1_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",
    "FR_OHara_DZ",
    "FR_Rodriguez_DZ",
    "CZ_Soldier_Sniper_EP1_DZ",
    "Graves_Light_DZ",
    "Bandit2_DZ",
    "SurvivorWcombat_DZ"
    ];
    //////////////////////////////////////////////////////
    WAIconfigloaded = True;
    

    I've had the same problem myself with tanks and helis. You have to go into AIconfig.sqf this is what my file looks like. not you may have to go into your missions and add the wep classes to spawn.

  2. //Custom Spawns file//
    /*
    Custom group spawns Eg.
    
    [[500.21545,3002.7612,2.6292224],                 //position
    5,                        //Number Of units
    1,                        //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
    "ai_wep0,ai_wep1,ai_wep2,ai_wep3,ai_wep4,ai_wep5,ai_wep6,ai_wep7,ai_wep8,ai_wep9,ai_wep10",                 //Primary gun set number. "Random" for random weapon set.
    4,                        //Number of magazines
    "",                       //Backpack "" for random or classname here.
    "Bandit2_DZ",             //Skin "" for random or classname here.
    "Random"                  //Gearset number. "Random" for random gear set.
    ] call spawn_group;
    
    Place your custom group spawns below
    */
    [[7100,2500,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[7000,2700,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6700,3000,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6500,2900,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6700,2800,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6400,2700,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6700,2500,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6600,2500,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6400,2600,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6500,2400,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6800,2300,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6400,2400,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6500,2300,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6800,2500,0.001],10,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    /*
    Custom static weapon spawns Eg. (with one position)
    
    [[[911.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
    "D30_Ins",             //Classname of turret
    0.5,					  //Skill level 0-1. Has no effect if using custom skills
    "Bandit2_DZ",			  //Skin "" for random or classname here.
    1,						  //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
    2,						  //Number of magazines. (not needed if ai_static_useweapon = False)
    "",						  //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
    "Random"				  //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
    ] call spawn_static;
    
    Custom static weapon spawns Eg. (with mutiple positions)
    
    [[[911.21545,4532.7612,2.6292224],[921.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
    "SearchLight_CDF,Class = KORD_high",             //Classname of turret
    0.5,					  //Skill level 0-1. Has no effect if using custom skills
    "Bandit2_DZ",			  //Skin "" for random or classname here. 
    1,						  //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
    2,						  //Number of magazines. (not needed if ai_static_useweapon = False)
    "",						  //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
    "Random"				  //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
    ] 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
    "UH1Y_DZE",		        //Classname of vehicle (make sure it has driver and two gunners)
    1						//Skill level of units 
    ] spawn heli_patrol;
    
    Place your heli patrols below
    */
    [[7100,2500,0.001],[[6500,2400,0.001],8,1,"Random",8,"","Bandit2_DZ","Random"] spawn heli_patrol;      //Gun Box
    
    
    
    
    /* 
    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
    20,                     //Number of waypoints to give
    "M1A2_TUSK_MG",		//Classname of vehicle (make sure it has driver and gunner)
    1						//Skill level of units 
    ] spawn vehicle_patrol;
    
    Place your vehicle patrols below this line
    */
    
    [[7100,2500,0.001],   //Position to patrol
    [6500,2400,0.001],	// Position to spawn at
    200,					//Radius of patrol
    10,                     //Number of waypoints to give
    "M1A2_TUSK_MG",		//Classname of vehicle (make sure it has driver and gunner)
    1						//Skill level of units 
    ] 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
    "UH1Y",                         //Classname of chopper (Make sure it has 2 gunner seats!)
    20,                                 //Number of units to be para dropped
    1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
    "ai_wep0,ai_wep1,ai_wep2,ai_wep3,ai_wep4,ai_wep5,ai_wep6,ai_wep7,ai_wep8,ai_wep9,ai_wep10",                          //Primary gun set number. "Random" for random weapon set.
    4,                                 //Number of magazines
    "",                                //Backpack "" for random or classname here.
    "Bandit2_DZ",                      //Skin "" for random or classname here.
    "Random",                          //Gearset number. "Random" for random gear set.
    True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
    ] spawn heli_para;
    
    Place your paradrop spawns under this line
    */
    [[7100,2500,0.001],[[6500,2400,0.001],8,1,"Random",8,"","Bandit2_DZ","Random"] spawn heli_para;      //Gun Box
    
    

    I have tried all I can think of to get this to work. The vehicle and heli patrols won't work. Here is what I currently have in, and yes I have the vehicles in the proper place.

    please show me how to code the para, helis and veh.

    thanks much!

  3. /Custom Spawns file//
    /*
    Custom group spawns Eg.
    
    [[500.21545,3002.7612,2.6292224],                 //position
    5,                        //Number Of units
    1,                        //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
    "ai_wep0,ai_wep1,ai_wep2,ai_wep3,ai_wep4,ai_wep5,ai_wep6,ai_wep7,ai_wep8,ai_wep9,ai_wep10",                 //Primary gun set number. "Random" for random weapon set.
    4,                        //Number of magazines
    "",                       //Backpack "" for random or classname here.
    "Bandit2_DZ",             //Skin "" for random or classname here.
    "Random"                  //Gearset number. "Random" for random gear set.
    ] call spawn_group;
    
    Place your custom group spawns below
    */
    [[7100,2500,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[7000,2700,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6700,3000,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6500,2900,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6700,2800,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6400,2700,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6700,2500,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6600,2500,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6400,2600,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6500,2400,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6800,2300,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6400,2400,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6500,2300,0.001],5,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    [[6800,2500,0.001],10,1,"Random",8,"","Bandit2_DZ","Random"] call spawn_group;      //Gun Box
    /*
    Custom static weapon spawns Eg. (with one position)
    
    [[[911.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
    "D30_Ins",             //Classname of turret
    0.5,					  //Skill level 0-1. Has no effect if using custom skills
    "Bandit2_DZ",			  //Skin "" for random or classname here.
    1,						  //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
    2,						  //Number of magazines. (not needed if ai_static_useweapon = False)
    "",						  //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
    "Random"				  //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
    ] call spawn_static;
    
    Custom static weapon spawns Eg. (with mutiple positions)
    
    [[[911.21545,4532.7612,2.6292224],[921.21545,4532.7612,2.6292224]], //position(s) (can be multiple).
    "SearchLight_CDF,Class = KORD_high",             //Classname of turret
    0.5,					  //Skill level 0-1. Has no effect if using custom skills
    "Bandit2_DZ",			  //Skin "" for random or classname here. 
    1,						  //Primary gun set number. "Random" for random weapon set. (not needed if ai_static_useweapon = False)
    2,						  //Number of magazines. (not needed if ai_static_useweapon = False)
    "",						  //Backpack "" for random or classname here. (not needed if ai_static_useweapon = False)
    "Random"				  //Gearset number. "Random" for random gear set. (not needed if ai_static_useweapon = False)
    ] 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
    "UH1Y",		        //Classname of vehicle (make sure it has driver and two gunners)
    1						//Skill level of units 
    ] spawn heli_patrol;
    
    Place your heli patrols below
    */
    [[7100,2500,0.001],8,1,"Random",8,"","Bandit2_DZ","Random"] spawn heli_patrol;      //Gun Box
    
    
    
    
    /* 
    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
    20,                     //Number of waypoints to give
    "M1A2_TUSK_MG",		//Classname of vehicle (make sure it has driver and gunner)
    1						//Skill level of units 
    ] spawn vehicle_patrol;
    
    Place your vehicle patrols below this line
    */
    [[7100,2500,0.001],8,1,"Random",8,"","Bandit2_DZ","Random"] spawn vehicle_patrol;      //Gun Box
    
    
    
    
    /*
    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
    "UH1Y",                         //Classname of chopper (Make sure it has 2 gunner seats!)
    20,                                 //Number of units to be para dropped
    1,                                 //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
    "ai_wep0,ai_wep1,ai_wep2,ai_wep3,ai_wep4,ai_wep5,ai_wep6,ai_wep7,ai_wep8,ai_wep9,ai_wep10",                          //Primary gun set number. "Random" for random weapon set.
    4,                                 //Number of magazines
    "",                                //Backpack "" for random or classname here.
    "Bandit2_DZ",                      //Skin "" for random or classname here.
    "Random",                          //Gearset number. "Random" for random gear set.
    True                               //True: Heli will stay at position and fight. False: Heli will leave if not under fire. 
    ] spawn heli_para;
    
    Place your paradrop spawns under this line
    */
    [[7100,2500,0.001],8,1,"Random",8,"","Bandit2_DZ","Random"] spawn heli_para;      //Gun Box
    

    Hello, I'm having problems setting up my para drops, vehicle patrols and heli patrols with Wai. I'll post what I'm putting in it.

    I have got the man patrols to work, I just need help with the line of scripting for para, vehicle, and heli patrols.

    Thanks much!

×
×
  • Create New...