Jump to content

WIA vehicle and heli patrols not working


Lulzfail567

Recommended Posts

//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!

Link to comment
Share on other sites

I honestly got no clue whats wrong here

I was gonna say that the */ and /* between everything is messing it all up but that's only examples on how to spawn everything in.

Also, are you 100% sure that you're coords are right? I know you said it but are you 100%?

Link to comment
Share on other sites

I had a friend who codes take a look at this. It was right in front of my nose lol. I was trying to apply the group spawn with a set numbers of variables to heli drops and patrols. If you are having trouble with this I would be glad to help after spending 3 hrs myself over a simple problem; however, it's hard to explain.

Link to comment
Share on other sites

  •  
  • [[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;

This is your first mistake for the vechical patrol if you look in your rpt. on your server it will show that it doesn't recognize the command you have to set it up like the others

 

[[24157.236,20066.455,0.00010681152],[24730.332,21084.027,-353.24347],150,"UH1H_DZ",5,1,"Random",4,"random","","Random",true] spawn heli_para;

 

but always look at your .rpt in your server logs it will show the mistaken spots. mine was all that stuff above each one. just had to put in the line very simple and delete all the crazy mess. to make it more organized

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
  • Discord

×
×
  • Create New...