Forum Jump :

Author Message


Posts: 90
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Spades_Neil

 
#1 Posted at 2012-08-27 01:37        
     
EDIT: Something weird is happening. On my end I've observed OpFor shooting other OpFor units who were affiliated with the Civilian faction after doing what I explained below. I'm trying to figure out how and why now, because I haven't been able to replicate it outside of the mission I've been busy with for the past few weeks.


So I've had a dilemma. I'm working on a game mode where I want there to be a four-way conflict between four hostile armies. Problem is, ArmA only has three military factions; BlueFOR, OpFOR, and the Resistance/Independents.

Previously, the popular notion is the military will NEVER shoot civilians. This is true. They won't shoot civilian units. However... there's a way around this.

First thing which you probably already knew, is you can make civilians hostile toward other factions. You can do this by adding the following to your Init.sqf
Civilian setFriend [EAST, 0];
Civilian setFriend [WEST, 0];
Civilian setFriend [RESISTANCE, 0];

However, if you do the opposite...
EAST setFriend [Civilian, 0];
WEST setFriend [Civilian, 0];
Resistance setFriend [Civilian, 0];
... the main factions still won't shoot back at the civilians even as they slaughter their men. Not yet anyway. Remember what I said, they won't shoot at civilian units. However, the same is not true for the civilian faction.


Remember to set the civilian leader to have no chance of spawning.

Military units won't fire on civilian units but they will fire on other military units. I forget what inspired me to try it, but I plopped down some Independent units to see what would happen.

Low and behold, the Independents started shooting the 'civilian' faction!!

Hopefully this will help people make a hostile "civilian" faction.

This post was edited by Spades_Neil (2012-08-27 06:34, ago)

ArmA 2 | S.T.A.L.K.E.R. - Exclusion Zone Sandbox
A simulation for life in The Zone.

Author Message


Posts: 1484
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2012-08-27 02:19        
     
Not seeing any difference.


Advertisement


Author Message


Posts: 90
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Spades_Neil

 
#3 Posted at 2012-08-27 02:40        
     
I forgot to mention, make the civilian leader have zero chance of spawning. Try that. Well this is bizarre. Suddenly it's not working. I made an example on Utes to show what I meant and now it's not working.

Yet, I observed OpFor opening fire on other OpFor units who were affiliated with the Civilian faction with another mission. I even have it recorded on Fraps. I wonder why they're suddenly not doing it? :S

EDIT: I checked the mission that it originally happened on... they are DEFINITELY shooting back at the civilian faction grouped Russian units. I even made normal Russians attack Civilian-grouped Russian. I have footage proof. They are shooting back.

I wonder if because of the sheer volume of enemies being killed in my other mission, it's tricking the enemy AI into shooting them for "teamkilling"?

This post was edited by Spades_Neil (2012-08-27 06:19, ago)

ArmA 2 | S.T.A.L.K.E.R. - Exclusion Zone Sandbox
A simulation for life in The Zone.