Difference between revisions of "FLowLevelNPCBaseHealthMult"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Picador
imported>Picador
(More details on formula)
 
Line 6: Line 6:
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.
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  [http://www.uesp.net/wiki/Oblivion:NPCs#Health here].  
* 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  [http://www.uesp.net/wiki/Oblivion:NPCs#Health 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]].
'Low level' is defined as level 4 in the default game.  The level is controlled by [[ILowLevelNPCMaxLevel]].

Latest revision as of 15:46, 13 August 2010

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