Jump to content

AI recruitment for epoch


Lacost

Recommended Posts

How can I make the AI not kill players? They have a tendency to kill random players that have not hurt me.

 

 

this helped for me also tested with players

 

Set group combat mode (engagement rules).
Mode may be one of:
"BLUE" (Never fire)
"GREEN" (Hold fire - defend only)
"WHITE" (Hold fire, engage at will)
"YELLOW" (Fire at will)
"RED" (Fire at will, engage at will)
 
SAFE, CARELESS - Units will try to stay on roads, not caring about finding any cover
AWARE - Units try to stay mostly on roads, occasionally using cover
COMBAT, STEALTH - Units will try to utilize cover whenever possible
Link to comment
Share on other sites

The script is awesome, thanks for sharing it.

But I'm having a bit of a problem with AI inside a vehicle with you, if they're gunning, they will only fire once the player leaves the vehicle.

 

Also, would there be a way of ordering the AI to engage a certain target?

Cheers.

Link to comment
Share on other sites

!="bon_recruit_newunit"

battleye kicks me for

 #0 "bon_recruit_newunit" = <NULL-object>   PublicVariable .txt

does placement matter ?? I put these at the bottom.

I tried adding ................

!="bon_recruit_newunit" 

and.........................

1="bon_recruit_newunit"

 

 

got it working ;) Learned  new BE stuff....

Link to comment
Share on other sites

Works like a charm, thanks for the script...

 

I am also trying to add to sauerland but having an issue..

 

This is what I was using in order to get into that trader city but it puts him all the way south on the edge of the map...

 

My World Cords from the DB are 146,[15494.1,16990.9,1.221]]

		class Item2
		{
			side="GUER";
			class Vehicles
			{
				items=1;
				class Item0
				{
					position[]={15494.1,16990.9,1.221};//Trader City Seedorf Sauerland
					azimut=350.087;
					special="NONE";
					id=101;
					side="GUER";
					vehicle="UN_CDF_Soldier_SL_EP1";
					leader=1;
					skill=0.60000002;
					init="this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;this enableSimulation false;this setcaptive true;this addAction [""Recruit Units"",""bon_recruit_units\open_dialog.sqf""]";
				};
			};
		};

The original was

		class Item2
		{
			side="GUER";
			class Vehicles
			{
				items=1;
				class Item0
				{
					position[]={8260.7832,4.104394,15461.444};//Trader City Lenzburg
					azimut=138.222;
					special="NONE";
					id=101;
					side="GUER";
					vehicle="UN_CDF_Soldier_SL_EP1";
					leader=1;
					skill=0.60000002;
					init="this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;this enableSimulation false;this setcaptive true;this addAction [""Recruit Units"",""bon_recruit_units\open_dialog.sqf""]";
				};
			};
		};

I just changed the cords, did I do something incorrect? I mean i did but what am I overlooking?

Link to comment
Share on other sites

love it so far but not letting on to my player base till i work out one little issue when you trade even if you have no gold you still get the ai anyone else had this, also i may have missed it but has anyone got them firing from the gunners seat while you are in the drivers seat they target fine just don't fire

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...