Jump to content
Sign in to follow this  
revenicus

getting AI to fire on a civilian player

Recommended Posts

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

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

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

<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

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

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

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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×