Difference between revisions of "Category:Actor Values"

6,885 bytes added ,  23:58, 9 November 2011
m
changed 'Offset' to 'Script' to reflect OBSE useage
imported>TheImperialDragon
(It's a start...)
 
imported>JRoush
m (changed 'Offset' to 'Script' to reflect OBSE useage)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The following stats can be accessed using the Actor Value commands:
== Actor Value Mechanics ==
There are six factors that contribute to an Actor Value:
{|border="1" cellpadding="5" cellspacing="0"
|-
! style="background:#efefef;" | <center> Factor </center>
! style="background:#efefef;" | <center> Description </center>
! style="background:#efefef;" | <center> Notes </center>
|-
| <center> '''Base''' </center>
| The AV value from the Actor's ''base form'' - all instances of the actor share this value (e.g. all 'Imps' share the same Base Health).  This factor is set by the designer in the CS, and then adjusted to the actor's level in game.  It can be further modified by skill & attribute level increases, the [[SetActorValue|SetAV]] console+script commands, and certain Ability effects (see notes).
| This value is stored a little differently for different actor values. For some (Skills & Attributes in particular) it may only have values between 0 and 255.
|-
| <center> '''Calculated Base''' </center>
| The contribution to an AV from ''other'' AVs and game settings.  For example, the Calculated Base for the player's [[Health]] is [[fPCBaseHealthMult]] * [[Endurance]]. 
| This factor is generally used ''only for the player character''.  NPC and Creature health, to use the same example, do ''not'' depend on their endurance.
|-
| <center> '''Calculated Multiplier''' </center>
| A multiplier to the AV from ''other'' AVs and game settings. 
| This factor is almost always 1.0; the exception is the [[MagickaMultiplier]] for the player character.
|-
| <center> '''Max Modifier''' </center>
| For Actors with middle process or higher.  This factor is modified by 'recoverable' effects such as Fortify, Drain, Feather. 
| Because it is stored only for actors with middle process, this modifier will be reset to zero if/when an actor's cell is unloaded. 
Furthermore, ''for the player only'', this modifier is recalculated every time the game is reloaded, apparently to guarantee that it's not affected by spells and equipment that are no longer active.
|-
| <center> '''Script Modifier''' </center>
| For all Actors.  This factor is doesn't seem to be used by the combat or magic systems.  It is modified only by the [[ModActorValue|ModAV]] and [[ForceActorValue|ForceAV]] ''script'' commands (''not'' the console versions).
| Since it's not affected by ordinary damage or magic, changes this modifier cannot be undone by restoration spells or chapel healing, etc.  If changed by a script, it is the script author's responsibility to change it back by the same amount later.
|-
| <center> '''Damage Modifier''' </center>
| For Actors with low process or higher.  This factor is modified by the [[ModActorValue|ModAV]] and [[ForceActorValue|ForceAV]] ''console'' commands, by direct damage from combat, falling, lava, etc., and by 'nonrecoverable' effects like Damage & Restore. 
|  This modifier is intended only for '''negative''' values.  Any change that would increase it above zero sets it to zero instead.  However, there is a bug that sometimes allows positive values for NPCs and creatures.  See the Note below for details.
|-
|}
 
There are two different 'versions' of an Actor Value that play a role in Oblivion:
 
Calculated Base Value  =  (Base + Calculated Base) * (Calculated Multiplier)
    Current Value      =  Calculated Base Value + Max Modifier
                              + Script Modifier + Damage Modifier
 
{|border="1" cellpadding="5" cellspacing="0"
|-
! style="background:#efefef;" | <center> Value </center>
! style="background:#efefef;" | <center> Used For </center>
|-
| <center> '''Calculated Base Value''' </center>
| Returned by the [[GetBaseActorValue|GetBaseAV]] console+script commands.  This value is used to check mastery level in a skill, and (for Alchemy) to compute player-created potion strength.
|-
| <center> '''Current Value''' </center>
| Returned by the [[GetActorValue|GetAV]] console+script commands.  This is the value used for the vast majority of AV checks.  It is the value shown in the menu and HUD for the player's stats.
|-
|}
 
The 'Maximum' value shown in the HUD for Health/Magicka/Fatigue is
Maximum Value = Calculated Base Value ( + Max Modifier, if Max Modifier > 0)
This is ''not'' the actual maximum value of these stats - they can be raised above this value using the script modifier.  This is not seen in-game only because the Script modifier is so rarely used.
 
=== Notes ===
* These formulas do not apply to '''Fame''', '''Infamy''', [[Bounty]], or [[Encumbrance]].  These AVs are calculated differently, and stored differently as well.  See the specifically pages for these stats for details.
* When player stats are displayed in the menu, they are shown as <font color="Green">green</font> if the Current value is greater than the Calculated Base value, <font color="Red">red</font> if the Current value is less than the CBV, and <font color="Blue">blue</font> if the two are equal.
* For ''recoverable'' effects from ''abilities'' on the ''player'' (and only the player), the base modifier is changed instead of the max modifier.  This is why benefits from birthsigns and certain quest rewards (like the Skeleton Key) can grant skill mastery perks.
* There is a bug in the code for NPCs and creatures that allows the Damage modifier to be made positive if the ''current'' value of the modifier is zero.  This means that e.g. casting a Restore Health spell on an NPC who is already at full health will actually add to their max health.  However, any further change to the Damage modifier, including taking damage or casting the spell a second time will trigger the non-bugged code and force the Damage modifier to be <= zero.
 
== List of Actor Values ==
 
The following stats can be accessed using the Actor Value commands. The code versions are used with the 'C' versions of various [[:Category: Actor Functions (OBSE)|OBSE Actor Functions]].
{| cellpadding="5" cellspacing="0" border="1" style="background-color: #ffeded;"
|-
!style="background:#ffdead;" |Actor Value
!style="background:#ffdead;border-right=2;" |Code
!style="background:#ffdead;" |Actor Value
!style="background:#ffdead;" |Code
|-
|[[Strength]]
|0
|[[Intelligence]]
|1
|-
|[[Willpower]]
|2
|[[Agility]]
|3
|-
|[[Speed]]
|4
|[[Endurance]]
|5
|-
|[[Personality]]
|6
|[[Luck]]
|7
|-
|[[Health]]
|8
|[[Magicka]]
|9
|-
|[[Fatigue]]
|10
|[[Encumbrance]]
|11
|-
|[[Armorer]]
|12
|[[Athletics]]
|13
|-
|[[Blade]]
|14
|[[Block]]
|15
|-
|[[Blunt]]
|16
|[[Hand to Hand|HandToHand]]
|17
|-
|[[Heavy Armor|HeavyArmor]]
|18
|[[Alchemy]]
|19
|-
|[[Alteration]]
|20
|[[Conjuration]]
|21
|-
|[[Destruction]]
|22
|[[Illusion]]
|23
|-
|[[Mysticism]]
|24
|[[Restoration]]
|25
|-
|[[Acrobatics]]
|26
|[[Light Armor|LightArmor]]
|27
|-
|[[Marksman]]
|28
|[[Mercantile]]
|29
|-
|[[Security]]
|30
|[[Sneak]]
|31
|-
|[[Speechcraft]]
|32
|[[Aggression]]
|33
|-
|[[Confidence]]
|34
|[[Energy]]
|35
|-
|[[Responsibility]]
|36
|[[Bounty]]
|37
|-
|'''Fame'''[[:Category:Actor Values#Fame and Infamy|*]]
|38
|'''Infamy'''[[:Category:Actor Values#Fame and Infamy|*]]
|39
|-
|[[MagickaMultiplier]]
|40
|[[NightEyeBonus]]
|41
|-
|[[AttackBonus]]
|42
|[[DefendBonus]]
|43
|-
|[[CastingPenalty]]
|44
|[[Blindness]]
|45
|-
|[[Chameleon]]
|46
|[[Invisibility]]
|47
|-
|[[Paralysis]]
|48
|[[Silence]]
|49
|-
|[[Confusion]]
|50
|[[DetectItemRange]]
|51
|-
|[[SpellAbsorbChance]]
|52
|[[SpellReflectChance]]
|53
|-
|[[SwimSpeedMultiplier]]
|54
|[[WaterBreathing]]
|55
|-
|[[WaterWalking]]
|56
|[[StuntedMagicka]]
|57
|-
|[[DetectLifeRange]]
|58
|[[ReflectDamage]]
|59
|-
|[[Telekinesis]]
|60
|[[ResistFire]]
|61
|-
|[[ResistFrost]]
|62
|[[ResistDisease]]
|63
|-
|[[ResistMagic]]
|64
|[[ResistNormalWeapons]]
|65
|-
|[[ResistParalysis]]
|66
|[[ResistPoison]]
|67
|-
|[[ResistShock]]
|68
|[[Vampirism]]
|69
|-
|[[Darkness]]
|70
|[[ResistWaterDamage]]
|71
|}
 
==== Fame and Infamy ====
<nowiki>*</nowiki> - Fame and Infamy cannot be used as parameters for [[GetActorValue]], [[SetActorValue]], or [[ModActorValue]]. Use [[GetPCFame]] ([[GetPCInfamy|Infamy]]), [[SetPCFame]] ([[SetPCInfamy|Infamy]]), and [[ModPCFame]] ([[ModPCInfamy|Infamy]]) instead. [[:Category: Actor Functions (OBSE)|OBSE Actor Functions]] can accept it as a parameter, however.


* [[Strength]]
* [[Intelligence]]
* [[Willpower]]
* [[Agility]]
* [[Speed]]
* [[Endurance]]
* [[Personality]]
* [[Luck]]
* [[Health]]
* [[Magicka]]
* [[Fatigue]]
* [[Encumbrance]]
* [[Acrobatics]]
* [[Armorer]]
* [[Athletics]]
* [[Blade]]
* [[Block]]
* [[Blunt]]
* [[Hand_to_Hand|HandToHand]]
* [[Heavy_Armor|HeavyArmor]]
* [[Alchemy]]
* [[Alteration]]
* [[Conjuration]]
* [[Destruction]]
* [[Illusion]]
* [[Mysticism]]
* [[Restoration]]
* [[Light_Armor|LightArmor]]
* [[Marksman]]
* [[Mercantile]]
* [[Security]]
* [[Sneak]]
* [[Speechcraft]]
* [[Aggression]]
* [[Confidence]]
* [[Energy]]
* [[Responsibility]]
* [[Bounty]]
* [[MagickaMultiplier]]
* [[NightEyeBonus]]
* [[AttackBonus]]
* [[DefendBonus]]
* [[CastingPenalty]]
* [[Blindness]]
* [[Chameleon]]
* [[Invisibility]]
* [[Paralysis]]
* [[Silence]]
* [[Confusion]]
* [[DetectItemRange]]
* [[SpellAbsorbChance]]
* [[SpellReflectChance]]
* [[SwimSpeedMultiplier]]
* [[WaterBreathing]]
* [[WaterWalking]]
* [[StuntedMagicka]]
* [[DetectLifeRange]]
* [[ReflectDamage]]
* [[Telekinesis]]
* [[ResistFire]]
* [[ResistFrost]]
* [[ResistDisease]]
* [[ResistMagic]]
* [[ResistNormalWeapons]]
* [[ResistParalysis]]
* [[ResistPoison]]
* [[ResistShock]]
* [[Vampirism]]
* [[Darkness]]
* [[ResistWaterDamage]]
[[Category: Actor Value Functions]]
[[Category: Actor Value Functions]]
Anonymous user