# CRX mission header setting

<p class="callout info"><span style="white-space: pre-wrap;">based on the message: </span>[https://discord.com/channels/105462288051380224/1050433454388547644/1356396266107437237](https://discord.com/channels/105462288051380224/1050433454388547644/1356396266107437237)</p>

<p class="callout warning"><span style="white-space: pre-wrap;">Requirement: </span>****CRX Enfusion A.I. ( STABLE 1.3 Update v.1.3.14 )****</p>

****1. you will need to add thsi to your config of your dedicated server:****

**"missionHeader": {**

 **"m\_CRX\_Settings": {**

 **"m\_bIsCRX": true,**

 **"m\_fWeaponFiredReactionDistance": 500,**

 **"m\_fSuppressedWeaponFiredAudibleDistance": 100,**

 **"m\_bInvestigate": true,**

 **"m\_eCombatMode": "YELLOW",**

 **"m\_bSuppress": true,**

 **"m\_fPerceptionSafe": 1.0,**

 **"m\_fPerceptionVigilant": 3.0,**

 **"m\_fAimAccuracyErrorModifier": 0.0**

 **}**

**}**

****2. it will have somethin like that:****  
[![image.png](https://wiki.nabla.sh/uploads/images/gallery/2025-04/scaled-1680-/hcfimage.png)](https://wiki.nabla.sh/uploads/images/gallery/2025-04/hcfimage.png)

****3. Tweak the setting as you wish****

<table id="bkmrk-parameter-namedefaul"><colgroup><col></col><col></col><col></col><col style="width: 501px;"></col></colgroup><tbody><tr><th>Parameter Name

</th><th>Default Value

</th><th>Simple Description

</th><th>In-Game Effect

</th></tr><tr><td>`<span class="editor-theme-code">m_bIsCRX</span>`

</td><td>`<span class="editor-theme-code">true</span>`

</td><td>Enables CRX-specific settings

</td><td>Signals that CRX AI settings are active for this mission. Can be used by other scripts to toggle CRX-related features.

</td></tr><tr><td>`<span class="editor-theme-code">m_fWeaponFiredReactionDistance</span>`

</td><td>`<span class="editor-theme-code">500</span>`

</td><td>Distance (in meters) within which AI groups react to unsuppressed gunfire

</td><td>Higher values make AI detect and react to gunfire from farther away. They may become alert, take cover, or move toward the sound source.

</td></tr><tr><td>`<span class="editor-theme-code">m_fSuppressedWeaponFiredAudibleDistance</span>`

</td><td>`<span class="editor-theme-code">100</span>`

</td><td><span style="white-space: pre-wrap;">Distance (in meters) within which AI can hear </span>

****suppressed****

<span style="white-space: pre-wrap;"> gunfire</span>

</td><td>Controls how well AI detect suppressed gunfire. Useful for stealth missions — lower values mean better stealth, higher values mean AI are more aware of silent shots.

</td></tr><tr><td>`<span class="editor-theme-code">m_bInvestigate</span>`

</td><td>`<span class="editor-theme-code">true</span>`

</td><td>Enables AI investigation behavior

</td><td>If enabled, AI will investigate suspicious events like gunshots, dead bodies, or enemy presence. Makes AI behave more intelligently and realistically.

</td></tr><tr><td>`<span class="editor-theme-code">m_eCombatMode</span>`

</td><td>`<span class="editor-theme-code">"YELLOW"</span>`

</td><td>Initial combat readiness mode for AI

</td><td><span style="white-space: pre-wrap;">Controls how alert AI are: </span>

`<span class="editor-theme-code">YELLOW</span>`

<span style="white-space: pre-wrap;"> means alert but not engaged, </span>

`<span class="editor-theme-code">RED</span>`

<span style="white-space: pre-wrap;"> means fully engaged in combat, etc. Affects how quickly they react to enemies and how they patrol or hold positions.</span>

</td></tr><tr><td>`<span class="editor-theme-code">m_bSuppress</span>`

</td><td>`<span class="editor-theme-code">true</span>`

</td><td>Enables AI suppression fire behavior

</td><td>If enabled, AI will use suppressive fire tactics — shooting to pin enemies down rather than aiming directly, especially in combat or ambush situations.

</td></tr><tr><td>`<span class="editor-theme-code">m_fPerceptionSafe</span>`

</td><td>`<span class="editor-theme-code">1.0</span>`

</td><td><span style="white-space: pre-wrap;">AI perception level in </span>

**safe**

<span style="white-space: pre-wrap;"> (idle/patrolling) state</span>

</td><td>Higher values mean AI will more easily notice small sounds or movements while in relaxed or non-alert states.

</td></tr><tr><td>`<span class="editor-theme-code">m_fPerceptionVigilant</span>`

</td><td>`<span class="editor-theme-code">3.0</span>`

</td><td><span style="white-space: pre-wrap;">AI perception level in </span>

**vigilant**

<span style="white-space: pre-wrap;"> (alert but not engaged) state</span>

</td><td>Similar to above but applies during heightened alert status. The higher the value, the more easily AI spot threats even before direct engagement.

</td></tr><tr><td>`<span class="editor-theme-code">m_fAimAccuracyErrorModifier</span>`

</td><td>`<span class="editor-theme-code">0.0</span>`

</td><td>Modifies AI aim accuracy error. Positive = worse aim, Negative = better aim

</td><td><span style="white-space: pre-wrap;">Adjusts AI shooting skill: </span>

`<span class="editor-theme-code">+1.0</span>`

<span style="white-space: pre-wrap;"> makes them miss more often, </span>

`<span class="editor-theme-code">-0.5</span>`

<span style="white-space: pre-wrap;"> makes them more accurate than default. Useful to tweak AI difficulty based on your mission or gameplay balance.</span>

</td></tr></tbody></table>

[![image.png](https://wiki.nabla.sh/uploads/images/gallery/2025-04/scaled-1680-/U4qimage.png)](https://wiki.nabla.sh/uploads/images/gallery/2025-04/U4qimage.png)

[![image.png](https://wiki.nabla.sh/uploads/images/gallery/2025-04/scaled-1680-/ut7image.png)](https://wiki.nabla.sh/uploads/images/gallery/2025-04/ut7image.png)

goes from 0.0 to 3.0  
  
[![image.png](https://wiki.nabla.sh/uploads/images/gallery/2025-04/scaled-1680-/tWbimage.png)](https://wiki.nabla.sh/uploads/images/gallery/2025-04/tWbimage.png)

goes from 0.0 to 5.0

[![image.png](https://wiki.nabla.sh/uploads/images/gallery/2025-04/scaled-1680-/f1Pimage.png)](https://wiki.nabla.sh/uploads/images/gallery/2025-04/f1Pimage.png)

goes from -3.0 to 3.0