Surrender Module – Arma 2

From Bohemia Interactive Community
Revision as of 03:27, 10 November 2009 by Lou Montana bi wiki (talk | contribs) (Creation, will need some more work)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Surrender (SRRS) module makes AI soldiers surrendering when in confusion, or outnumbered.

Initialization

Paths

Editor:

Modules (F7) > Surrender

Data:

ca\modules\SRRS

Editor setup

Optional parameters

Set variables to Zone Restriction mudule with desired values:

  • bordersize = <number>; - set the border size, between the "normal" area and the immediate death area
Example: Zora_Module setvariable ["bordersize", 250];
Default value: 1000m

Set global variables with desired values:

  • BIS_SRRS_Debug = <number>; - allow or not debug - -1 for no debug, 0 for all debug, and 1 for "loop processing"
Example: BIS_SRRS_Debug = 0;
Default value: -1

Behaviour

  • Soldiers surrendering will drop their weapons and put their hands behind their head
  • Soldiers surrendering will be setCaptive, disableAI "move", will leave their group, will disembark from their vehicle if they have one and won't be able to climb in another
  • Group leaders can tell their soldiers to surrender
  • You'll have to place on the map at least one unit of the faction you will create with this module, or setFriend their side, so the created patrols attack their enemies

Known bugs

  • Sometimes, the soldier will lower his hands. Don't worry, he's harmless :-)