FLowLevelNPCBaseHealthMult

Revision as of 16:46, 13 August 2010 by imported>Picador (More details on formula)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Description

Reduces the health of 'low level' NPCs to make the early part of the game less difficult. Increasing this value makes the early game harder.

  • NOTE: This multiplier is applied to the base starting health of a low-level NPC relative to the formula used for calculating NPC health normally; see FNPCAttributeHealthMult for details. The health gain per level for low-level NPCs is much higher than for non-low-level NPCs. The exact formula is here.

Essentially, after calculating NPC health normally, a low-level NPC has their health multiplied by: FLowLevelNPCBaseHealthMult + (1 - FLowLevelNPCBaseHealthMult) * ((NPC level - 1) / (ILowLevelNPCMaxLevel + 1)). This formula looks complicated, but it simply means that at level 1 health is multipled by this setting (default = .4), and this multiplier scales linearly up to 1 as the NPC approaches the first non-"low" level as defined by ILowLevelNPCMaxLevel.

'Low level' is defined as level 4 in the default game. The level is controlled by ILowLevelNPCMaxLevel.

Default value

0.400