To edit character attributes in OpenCAGE navigate to View > Configuration Editors > Characters > Attributes.
From here you will be presented with a variety of attributes for the selected character.
There is no Save button: changes are saved as you make them. A character's file can name another character as its template. Where the selected character doesn't set a value itself, the editor shows the value from its template. When the editor opens it saves every character, writing the values each one inherits into its own file. A box with no value in the character or any of its templates is greyed out and isn't saved.
Note that these configs are generic between all characters, but some values are only used by certain character types.
Read on to see a list of available properties with information about each.
Attribute sets are global: every level of the game, and every mod's level, reads the same files, so a change here changes every character that uses the set, and every set built on it. A set's file can name another as its template and takes from it every value it doesn't set itself: CUTSCENE, INNOCENT, MELEE_HUMAN, SECURITY_GUARD and SPACESUIT_NPC are built on CIVILIAN, and RIOT_GUARD on SECURITY_GUARD. The banner across the top of the editor says so.
Used By... shows, for the selected set, the sets built on it and every character in every level's script that names it (a Character's attribute_set, or its class, which names the set of the same name). Spare Records... lists the sets nothing uses: on the game's own levels, MELEE_HUMAN and CUTSCENE_ANDROID. A character of your own that needs different values can take a spare set, so the game's own characters keep theirs. The window works as it does for ammo types; AI assistants ask the same with find_spare_config_records.
Max Health
int32
Minimum: 1
Maximum: 16000
Injured Percentage 1
int32
Minimum: 0
Maximum: 100
Injured Percentage 2
int32
Minimum: 0
Maximum: 100
Injured Percentage 3
int32
Minimum: 0
Maximum: 100
Health Regeneration Rate
int32
Minimum: 0
Maximum: 16000
Behaviour Tree
combobox
NoBehaviour can be used to make characters passive.WORLD/BEHAVIOR_TREE.DB lists, and OpenCAGE generates that list from these settings whenever the level is saved. After changing a class's tree, save each level you're going to play: a character whose tree its level doesn't list crashes the game when it spawns. Closing this editor lists any levels that still need saving.Attack Group
combobox
Targeting System
combobox
Alien Stun Decrease Per Second
float
Minimum: 0
Maximum: 1000
Damage Multiplier While Android EMP'd
float
Minimum: 1
Maximum: 10
Melee Holster Time
float
Minimum: 0
Maximum: 1000
Percent Chance of Shooting Over
float
Minimum: 0
Maximum: 1
Non Shooting In Cover Interval
float
Minimum: (min) 0 (max) 0.5
Maximum: 20
Shooting In Cover Interval
float
Minimum: 0.5
Maximum: 20
Minimum Distance to Player
float
Minimum: 0.1
Maximum: 100
From Hit
int32
Minimum: 1
Maximum: 5000
From Grapple Break
int32
Minimum: 1
Maximum: 5000
Time Between Shots
float
Minimum: 0.1
Maximum: 20
Time Between Shots (Shotgun)
float
Minimum: 0.1
Maximum: 20
Aim Accuracy Modifier
float
Minimum: 0
Maximum: 1
Shooting Interval
float
Minimum: (min) 0 (max) 0.5
Maximum: 20
Non Shooting Interval
float
Minimum: (min) 0 (max) 0.5
Maximum: 20
Stop Shooting After Time (No Visual)
float
Minimum: 0.1
Maximum: 100
Delay Before Shooting
float
Minimum: (min) 0 (max) 0.1
Maximum: 10
Damage Per Tick
int32
Minimum: 0
Maximum: 5000
Attack Interval
float
Minimum: 0
Maximum: 20
Attack Interval After Block
float
Minimum: 0
Maximum: 20
QTE Decay Rate
float
Minimum: 0
Maximum: 1
QTE Presses Required
int32
Minimum: 1
Maximum: 30
These settings define how loud the character's footsteps are to other NPCs. This is an internal sense metric, not the audio volume output by the game.
Maximum Speed
float
Minimum: 0
Maximum: 30
Minimum Speed
float
Minimum: 0
Maximum: 30
Clamped Input Loudness
float
Minimum: 0
Maximum: 1
Scaled Output Loudness
float
Minimum: 0
Maximum: 1
Loudness Crouch Multiplier
float
Minimum: 0
Maximum: 1
Max Search Time
float
Search Radius
float
Search Radius After Search
float
Systematic Weighting
float
Hearing Range
float
Minimum: 0
Maximum: 50
Character Sound
combobox
Max Range to Search For Idle Job
float
Minimum: 0
Maximum: 200
Min Time Between Idles When Stalking
float
Minimum: 0
Maximum: 200