Rythron Posted April 22, 2014 Report Share Posted April 22, 2014 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 More sharing options...
THUNDERDOWNUNDER Posted April 22, 2014 Report Share Posted April 22, 2014 All I get is wait for host can anyone help? Link to comment Share on other sites More sharing options...
Rythron Posted April 22, 2014 Report Share Posted April 22, 2014 All I get is wait for host can anyone help? Something wrong in your mission.sqm i think.. check it Link to comment Share on other sites More sharing options...
THUNDERDOWNUNDER Posted April 22, 2014 Report Share Posted April 22, 2014 I went off this is this ok to use Link to comment Share on other sites More sharing options...
THUNDERDOWNUNDER Posted April 22, 2014 Report Share Posted April 22, 2014 soz I went off the script that insertcoins put up about cherno hill Link to comment Share on other sites More sharing options...
insertcoins Posted April 22, 2014 Report Share Posted April 22, 2014 soz I went off the script that insertcoins put up about cherno hill you did who with what now? Link to comment Share on other sites More sharing options...
Rythron Posted April 22, 2014 Report Share Posted April 22, 2014 soz I went off the script that insertcoins put up about cherno hill ?? Link to comment Share on other sites More sharing options...
Lacost Posted April 23, 2014 Author Report Share Posted April 23, 2014 -fix bug after disconnect. Step 2 updated Rythron 1 Link to comment Share on other sites More sharing options...
Rythron Posted April 23, 2014 Report Share Posted April 23, 2014 Just tried some stuff that is possible with the recruited AI I used the following KEYS " ` " " 1 ,2 ,3 " Thx Lacost for sharing http://youtu.be/UdBj0BVTOGs Link to comment Share on other sites More sharing options...
calamity Posted April 23, 2014 Report Share Posted April 23, 2014 Do I need to add stringtable.csv somewhere ?? Link to comment Share on other sites More sharing options...
Rythron Posted April 23, 2014 Report Share Posted April 23, 2014 Do I need to add stringtable.csv somewhere ?? In your mission file in the root , were the files , mission.sqm, description.exe, server_trader.sqf files are ! Link to comment Share on other sites More sharing options...
calamity Posted April 23, 2014 Report Share Posted April 23, 2014 In your mission file in the root , were the files , mission.sqm, description.exe, server_trader.sqf files are ! thankz alot...... Link to comment Share on other sites More sharing options...
calamity Posted April 23, 2014 Report Share Posted April 23, 2014 im getting a cannot load mission error and all trader marker lables are gone Link to comment Share on other sites More sharing options...
Radec59437 Posted April 23, 2014 Report Share Posted April 23, 2014 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 More sharing options...
Rythron Posted April 23, 2014 Report Share Posted April 23, 2014 im getting a cannot load mission error and all trader marker lables are gone Check your mission.sqm file again with closing brackets Link to comment Share on other sites More sharing options...
calamity Posted April 23, 2014 Report Share Posted April 23, 2014 Check your mission.sqm file again with closing brackets yup looks like I needed to put it before the class 1 closing bracket Thankz again. now to fix the BE kick restriction 0 publicvariable Link to comment Share on other sites More sharing options...
calamity Posted April 23, 2014 Report Share Posted April 23, 2014 maybe last question (not likely) how do I stop the battleye kick? PublicVariable Restriction #0 I tried adding this line in PublicVariable .txt 1="bon_recruit_newunit" still kicked ;( Link to comment Share on other sites More sharing options...
calamity Posted April 23, 2014 Report Share Posted April 23, 2014 !="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.... Rythron 1 Link to comment Share on other sites More sharing options...
calamity Posted April 24, 2014 Report Share Posted April 24, 2014 sooo they appear and follow me arond but how do I control them ?? Link to comment Share on other sites More sharing options...
Lacost Posted April 24, 2014 Author Report Share Posted April 24, 2014 sooo they appear and follow me arond but how do I control them ?? ~,backspace Link to comment Share on other sites More sharing options...
Radec59437 Posted April 24, 2014 Report Share Posted April 24, 2014 ~,backspace But without the targeting system, how do we get them to attack other players? Assuming it's using the Arma2 faction system, I guess that's not even possible? Link to comment Share on other sites More sharing options...
insertcoins Posted April 24, 2014 Report Share Posted April 24, 2014 I havent had the chance to make them attack other players. Other Ai (missions) is no problem, but they die a valliant but ultimately pointless death, standing in the open and shooting. Link to comment Share on other sites More sharing options...
FoRcE72 Posted April 24, 2014 Report Share Posted April 24, 2014 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 More sharing options...
peter_panzer Posted April 24, 2014 Report Share Posted April 24, 2014 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 More sharing options...
peter_panzer Posted April 24, 2014 Report Share Posted April 24, 2014 @ force i think it should be {15494.1,146,16990.9} if i remember right direction goes between the two world space numbers, middle number is directing, from whet ive been able to work out since i got thrown into the deep end and had to do all the server side gig FoRcE72 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now