Value Modifications (or ValueMods) can be applied to items or classes to grant players buffs of various kinds to that item, or just whenever they have that item or class equipped.
An object can have a list of ValueMods applied to it. Setting the ValueMods for an item/class implies replacing whatever ValueMods were applied to it in the unmodded game. Therefore, if you want to extend the ValueMods applied but keep existing ones, you will have to make use of the provided getter functions to retrieve the original mods before overwriting.
In the below function definitions, T is the type of the value for the ValueMod in that pair, which could be a float, integer, boolean or string depending on the mod.
ValueMods may also be applied to classes, like the OOTB "Light", "Medium" and "Heavy, or the pre-OOTB classes like "Pathfinder", "Sentinel" or "Brute". To set the ValueMods for a class:
In the below example, the Light Assault Rifle is modified such that when equipped, the player will be given the Rage perk. In addition, whenever the player has the Brute armor class, they will have the SuperHeavy perk.
Below is the list of available value mods. All ValueMods fall under the ValueMods namespace, so for instance you could refernce one with ValueMods.Rage.
Below is a listing of all ValueMods not associated with a perk. Some of these are associated with packs, some were associated with weapon upgrades in the past, and others are not used in the unmodded game at all.
ValueMod
Type
Units
Description
None
ValueMod that has no effect
HealthBuff
float
Health
Absolute increase to the player's health pool
HealthRegenTimeBuff
float
% decrease
Decrease in time before health regen starts
HealthRegenRateBuff
float
% increase
Increase in rate at which health regenerates
EnergyRegenTimeBuff
float
% decrease
Decrease in time before energy regen starts (default is 0, so only negative values will have effect)
EnergyRegenRateBuff
float
% increase
Increase in rate at which energy regenerates
WalkSpeedBuff
float
% increase
Increase to walking speed
RadarLink
boolean
If true, sensors always show enemy markers at full visibility when in range
BuildTimeBuff
float
% decrease
Decrease in time taken to set up deployables
DeployableRepairRateBuff
float
% increase
Increase in the rate of repairing deployables
StickyHands
boolean
If true, player is immune to concussive effects that would cause them to drop the flag
EnergyDrainBuff
float
% increase
Increase to energy drain effect of an item
TrapDetection
boolean
If true, the player can see markers for enemy mines
ThrustPackCostReduction
float
% decrease
Decrease in energy cost for the thrust pack
ThrustPackPowerBuff
float
% increase
Increase in the power of the thrust pack
ShieldPackBuff
float
% increase
Increase in effictiveness for the shield pack
JammerPackRadiusBuff
float
% increase
Increase in range for the jammer pack
DeployableHealthBuff
float
Health
Additional health for deployable items
DeployableRangeBuff
float
% increase
Increase in range for deployable sensors and turrets
ExtraDeployables
integer
Deployables
Increase in the number of deployables allowed out at once
ShocklanceEnergyCost
float
Energy
Energy cost to use the Shocklance
StealthPackEntryTimeReduction
float
% decrease
Decrease in time taken to go invisible, including after damage or jamming
StealthPackPulseIgnoreTime
float
seconds
Time after going in stealth that you won't be uncloaked by damage
BlackoutLengthReduction
float
% decrease
Decrease in the length of the effect of Blackout grenades
ExtraAmmoSpawnBuff
float
% increase
Increase in amount of spawning ammo
MaxSkiSpeed
float
Speed
Absolute increase in the maximum speed achievable by skiing alone
TerminalSkiSpeed
float
Speed
Absolute increase in the maximum possible skiing speed
MaxJetSpeed
float
Speed
Absolute increase in maximum speed achievable by jetting alone
TerminalJetSpeed
float
Speed
Absolute increase in the maximum possible jetting speed
MaxSkiControl
float
% increase
Increase in maximum amount of turning control while skiing
PeakSkiControlSpeed
float
Speed
Change in the speed value at which maximum ski control is reached
SkiControlVariance
float
Variance
Change in variance of the normal distribution for ski control around the peak
StoppingDistanceBuff
float
% increase
Increase to stopping distance when skiing is stopped