KillKillKill Posted January 31, 2015 Report Share Posted January 31, 2015 Hi all. Sorry, I am a noob admin with some experience. But I am confused.... I want to add more ai to this script. Do I also need to add coords or is it as simple as adding more numbers? This is my script. Any help is really appreciated. ............................ // Construction wai 2 [[1472, 12537,0.001],4,"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; [[1331, 12485,0.001],4,"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; [[1424, 12472,0.001],4,"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; [[[1356.66,12494.9,3.65],[1359.9459, 12532.396, 4.35043],[1366.6877, 12517.218, -0.055966262],[1380.8385, 12553.244, 7.7632465],[1386.1068, 12497.722, 11.530006],[1421.0057, 12525.689, 13.765746]], "KORD_high_TK_EP1","hard","GUE_Soldier_Sab","Bandit","Random",2,"","Random"] call spawn_static; ............................................................ Link to comment Share on other sites More sharing options...
0 AllenFromStacysmom Posted February 12, 2015 Report Share Posted February 12, 2015 change the number before hard. thats the number of Ai spawned Link to comment Share on other sites More sharing options...
0 KillKillKill Posted February 12, 2015 Author Report Share Posted February 12, 2015 Thanks. Link to comment Share on other sites More sharing options...
0 AllenFromStacysmom Posted February 12, 2015 Report Share Posted February 12, 2015 NP, if you want the AI have different skins, then you can start a new line EXAMPLE: [[1472, 12537,0.001],4,"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; [[1331, 12485,0.001],4,"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; [[1424, 12472,0.001],4,"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; [[1424, 12472,0.001],4,"hard","Random",3,"none","new skin name","Random","Bandit"] call spawn_group; Link to comment Share on other sites More sharing options...
0 Droge Worst Posted February 12, 2015 Report Share Posted February 12, 2015 If you want to add more AI to a centern spawnpoint you can change the number infront of hard. But if you want to add more AI on different spawnpoint you have to copy and paste the line and change the cords to the cords where you want them to spawn. Link to comment Share on other sites More sharing options...
0 sentan Posted February 13, 2015 Report Share Posted February 13, 2015 _difficulty = round(random 4)+1; switch (_difficulty) do { case 1 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; case 2 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; case 3 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; case 4 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; default { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; My settings for group spawning. Random Position, random number of groups and group size. Link to comment Share on other sites More sharing options...
0 KillKillKill Posted February 14, 2015 Author Report Share Posted February 14, 2015 Simple enough now. Thanks all. Link to comment Share on other sites More sharing options...
Question
KillKillKill
Hi all. Sorry, I am a noob admin with some experience. But I am confused.... I want to add more ai to this script. Do I also need to add coords or is it as simple as adding more numbers? This is my script. Any help is really appreciated.
............................
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now