revenicus 0 Posted June 14, 2007 I've read the threads about getting AI to fire on civilian AI. that works. but I have a mission where you start out as a civilian by yourself, and I need OPFOR to fire on him. heres what ive tried: -RACS is friendly to no one -grouped him with a blufor commander -tried that setrating to -5000, didn't do anything -setcaptive false they look at me, and once in a while they'll fire at me if I run circles around them. but they don't react to me the way they react to indepedents or blufor. any ideas? Share this post Link to post Share on other sites
smoke52 0 Posted June 14, 2007 i have a couple ideas. you could try the dotarget and fire commands http://community.bistudio.com/wiki/doTarget http://community.bistudio.com/wiki/fire or you could try the MAP_MISC addon and use the invisible targets for the AI to fire upon. http://www.mapfact.net/include....8c05c90 Share this post Link to post Share on other sites
RaymondLu 0 Posted June 15, 2007 have u tried this? civilian setFriend [east, 0] Share this post Link to post Share on other sites
johnnyboy 3797 Posted June 15, 2007 Grouping the civilian with a BLUFOR leader (higher rank than the civilian), and setCaptive false should definitely work. I have a working mission where there are two opposing factions of civilians-- some grouped with blufor and some grouped with opfor. They fire on one another, and blufor and opfor fire on the correct civilians. Share this post Link to post Share on other sites
revenicus 0 Posted June 15, 2007 tried both. doesn't work. grouping the civilian to a blufor only works when its AI civilians. the opfor AI will definately kill the AI civilians, but not me. not the civilian players. when grouped to a blufor, they do look at me more then if i was just a civilian, but they still consider me an enemy. Share this post Link to post Share on other sites
mr.peanut 1 Posted June 15, 2007 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player addRating -100000 Now everyone will try and kill you. Share this post Link to post Share on other sites
revenicus 0 Posted June 15, 2007 Doesn't work. this is a MP mission btw, maybe thats why it doesn't work. Share this post Link to post Share on other sites
mr.peanut 1 Posted June 15, 2007 Ooops sorry. The command is addRating not setRating Share this post Link to post Share on other sites
revenicus 0 Posted June 15, 2007 Dofire just makes people automatically look at me, and shoot at me. I need opfor to react to the civ as they react to blufor. addrating doesn't work either. Share this post Link to post Share on other sites
JukkaN 0 Posted June 15, 2007 Make a trigger near the opfor guys And when it's activates they will shoot u Share this post Link to post Share on other sites
namreg 0 Posted June 25, 2007 You should open the mission.sqm file and change the side of your civilian to west Quote[/b] ]position[]={9907.599609,139.994995,10010.200195}; azimut=-179.600998; id=0; side="CIV"; vehicle="Civilian2"; player="PLAYER COMMANDER"; leader=1; rank="SERGEANT"; skill=0.600000; text=""; ...to this Quote[/b] ]position[]={9907.599609,139.994995,10010.200195}; azimut=-179.600998; id=0; side="WEST"; vehicle="Civilian2"; player="PLAYER COMMANDER"; leader=1; rank="SERGEANT"; skill=0.600000; text="perez"; That should be it Share this post Link to post Share on other sites
AZCoder 921 Posted May 25, 2010 namreg, you made my day, even if it was 3 years ago :) So obvious but I didn't think of it myself! Building a campaign where the player infiltrates dressed like a civilian, this works perfectly when I need OPFOR to figure out that the Civ is really BLUFOR. Share this post Link to post Share on other sites