Side Relations

From Bohemia Interactive Community
Revision as of 08:05, 25 July 2010 by Talkingtoaj (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The game consists of 8 Sides: West, East, Civilian, Resistance, sideLogic, Friendly, Enemy or Unknown. You can determine which Side a unit is on by using the side command.

Sometimes you may want to use the faction command. Factions are slightly different to Sides. A US vehicle driven by a Russian will respond as belonging to the East Side, but the USMC faction.

Armed civilians will automatically shoot at anybody who is not friendly to Resistance, but everyone is friendly toward Civilians. This means an armed Civilian will be able to slaughter unfriendly AI troops with impunity.

You can set which sides Resistance is friendly to in the mission editor (click on the Intel box). However, it is not possible to change the Resistance side relationship during a game.


Hostile Civilians

You can arm Civilians by inserting code like the following in their initialisation field:

this addWeapon "Colt1911"; this addMagazine "7Rnd_45ACP_1911";

Armed civilians will automatically shoot at anybody who is not friendly to Resistance. Or, you can modify the Civilian side’s relation to other sides by:

civilian setFriend [west , 0];

However, the other sides (west in this case) will not shoot back allowing civilians to slaughter AI Western troops.

To allow other sides to shoot civilians, you can try a few tricks:

Method A: Move civilian units to a hostile side.

To shoot at West, you can make Resistance unfriendly to West and group them with Resistance, or you could move them to East side.

  1. Group your civilians with an East officer.
  2. put: deletevehicle this in the officer’s initialisation field (this will cause the officer not to appear)
  3. When you start the mission, the officer won't be there as he is deleted, but the civvies think they are East, will take over command and follow all waypoints, and fire on anyone on the opposite side

Method B: Make civilian units renegade

Place this code in the init field: this AddRating -10000

When a unit’s rating is below zero, the unit is considered "renegade" and is an enemy to everyone.