Page MenuHomeFeedback Tracker

Units shoot units if they're not "really" from their side
New, WishlistPublic

Description

Technically, units themselves do not specify which side they belong to.
It's defined by the unit's group's side.

So until now it's been perfectly possible to add eg. "OPFOR" units to a BLUFOR group, but now they kill each other if they don't "really" belong to the group's side.

Even the player treats them as enemies (Aiming at them with any unit selected will show the target crosshair).

Details

Legacy ID
3658518387
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Issues
Steps To Reproduce
  1. Go into the editor.
  2. Place a player unit and preview.
  3. In the debug console, execute the following to create a BLUFOR group with 30 O_Soldier_F (OPFOR) units, 30 meters in front of the player:

_group = createGroup opfor; for [{_i = 0}, {_i < 30}, {_i = _i + 1}] do { _group createUnit ["B_Soldier_F", [getPos player, [vectorDir player, 30] call BIS_fnc_vectorMultiply] call BIS_fnc_vectorAdd, [], 0, "NONE"]; }

  1. Watch the group self-destruct.
Additional Information

I've tried giving BLUFOR units opfor uniforms on to see if it was just due to the uniforms, but they won't fire at BLUFOR units disguised as OPFOR.

http://youtu.be/BUNEmB0gAwA

Event Timeline

MulleDK19 edited Steps To Reproduce. (Show Details)Sep 6 2013, 5:16 PM
MulleDK19 edited Additional Information. (Show Details)
MulleDK19 set Category to AI Issues.
MulleDK19 set Reproducibility to Always.
MulleDK19 set Severity to None.
MulleDK19 set Resolution to Open.
MulleDK19 set Legacy ID to 3658518387.May 7 2016, 4:34 PM
Bohemia added a subscriber: AD2001.Sep 6 2013, 5:16 PM

Confirmed, but I think it has to do something with the way the units are being spawned.

When placing an OPFOR soldier, and making him the group leader of a blufor rifle squad while setting his presence to 0 it's working just fine.