Jump to content

RaymondThompson

Member
  • Posts

    6
  • Joined

  • Last visited

Reputation Activity

  1. Like
    RaymondThompson reacted to Markk311 in Wicked AI/Mission system   
    Spawning in units in custom spawns or from another script. Use the format in customSpawns.sqf
    [[0,0,0],                //position 4,                       //Number Of units 1,                        //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array. "Random",                 //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; This will spawn a group of 4 AI at position [0,0,0] with a skill level of 1 (If custom skills if turned on in the config then it would use custom skill array 1). If you need help with setting skills to your liking then look here. "Random" chooses a random weapon array then chooses a gun out of that. If this was set to 1 then it would pick a gun out of weapon set 1. Number of magazines is self-explanatory. Backpack and skin can be the name of the backpack or skin in "quotes" or just "" for a random skin definable in the config. Gear set is customizable in the config and can be 0-4 or "Random" for a random gear set. All of this can be found in customSpawns.sqf.
    [[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 "UH1H_DZ",                         //Classname of chopper (Make sure it has 2 gunner seats!) 5,                                 //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. "Random",                          //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; Spawning a paradrop goes along the same lines as spawning a group execpt they will paradrop in when a player gets within the specified distance. Here the position the units will be paradropped at is [911.21545,4532.7612,2.6292224]. The starting position is the position that the heli will spawn at when a player enters the area and then fly to the drop. The radius from drop is the distance a player has to be in from the position for the heli to spawn in. The rest is the same as spawning in a group.
     
     
    If ai_mission_system is set to true in the aiconfig then it will load mission system. The config for missions is located at "WAI \ missions \ missionCfg.sqf".
    In there you can set what vehicles you want to spawn in the mission system. There is also a customizable ammo box that spawns on some missions that you can set near the bottom. The ammo box will spawn with random weapons from ammo_box_guns and random tools from ammo_box_tools.
    Missions are located in the missions folder in missions. If you want to change what missions can spawn in look inside missionscfg.sqf.
×
×
  • Create New...