Difference between revisions of "Encumbrance"
Jump to navigation
Jump to search
imported>TheImperialDragon (some little more info) |
imported>JRoush m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Encumbrance is the total amount of weight the actor is carrying in his/her inventory. If the encumberance value ever passes the encumbrance capactity (determined by [[strength]]), then the actor will no longer be able to move, until the encumbrance value is lower than the capacity. Encumbrance can also affect how fast the actor can move. | Encumbrance is the total amount of weight the actor is carrying in his/her inventory. If the encumberance value ever passes the encumbrance capactity (determined by [[strength]]), then the actor will no longer be able to move, until the encumbrance value is lower than the capacity. Encumbrance can also affect how fast the actor can move. | ||
Encumbrance is calculated and displayed differently from other actor values. | |||
* The maximum encumbrance of an actor is calculated from their ''current'' strength: | |||
Maximum Encumbrance = (Current Strength) * [[fActorStrengthEncumbranceMult]] | |||
* For NPCs and Creatures, [[GetBaseActorValue|GetBaseAV]] returns the total weight of items in the inventory of the actor's ''base form''. This value is largely useless, since the inventory of an actor reference almost always differs from the base form. | |||
[[GetBaseActorValue|GetBaseAV]] Encumbrance = (Weight of items in base inventory) | |||
* For the Player, [[GetBaseActorValue|GetBaseAV]] will also include the calculated maximum encumbrance. This value is doubly useless; adding maximum encumbrance to default encumbrance makes no sense at all. The player's default inventory has a total weight of 4, so: | |||
[[GetBaseActorValue|GetBaseAV]] Encumbrance = (Player Strength) * fActorStrengthEncumbranceMult + 4 | |||
* For calculating the current encumbrance of an actor, the '''Base/Calculated Base''' factor is the total weight of items in the actor's current inventory (including effects from armor perks). The '''Max''', '''Script''', and '''Damage''' modifier are added to this as usual (except for display in the inventory menu; see below). | |||
[[GetActorValue|GetAV]] Encumbrance = (Weight of items in inventory) + Max Modifier | |||
+ Script Modifier + Damage Modifier | |||
* For the Inventory menu, where negative encumbrances would be confusing, the game generates slightly different values for maximum and current encumbrance. This means that the encumbrance returned by GetAV will not always match what is shown in the menu. | |||
Modifier Sum = Max Modifier + Script Modifier + Damage Modifier | |||
Displayed Maximum Encumbrance = Maximum Encumbrance ( - Modifier Sum, if Modifier Sum < 0) | |||
Displayed Current Encumbrance = Inventory Weight ( + Modifier Sum, if Modifier Sum > 0) | |||
* Because the '''Base''' factor of encumbrance is calculated dynamically, [[SetActorValue|SetAV]] has no effect on player encumbrance. Due to the way encumbrances are cached, however, it ''will'' temporarily affect high-process NPCs. Any changes made with [[SetActorValue|SetAV]] will be discarded when the actor's cell is unloaded. | |||
[[Category:Actor Values]] | [[Category:Actor Values]] |
Latest revision as of 03:45, 24 September 2011
Encumbrance is the total amount of weight the actor is carrying in his/her inventory. If the encumberance value ever passes the encumbrance capactity (determined by strength), then the actor will no longer be able to move, until the encumbrance value is lower than the capacity. Encumbrance can also affect how fast the actor can move.
Encumbrance is calculated and displayed differently from other actor values.
- The maximum encumbrance of an actor is calculated from their current strength:
Maximum Encumbrance = (Current Strength) * fActorStrengthEncumbranceMult
- For NPCs and Creatures, GetBaseAV returns the total weight of items in the inventory of the actor's base form. This value is largely useless, since the inventory of an actor reference almost always differs from the base form.
GetBaseAV Encumbrance = (Weight of items in base inventory)
- For the Player, GetBaseAV will also include the calculated maximum encumbrance. This value is doubly useless; adding maximum encumbrance to default encumbrance makes no sense at all. The player's default inventory has a total weight of 4, so:
GetBaseAV Encumbrance = (Player Strength) * fActorStrengthEncumbranceMult + 4
- For calculating the current encumbrance of an actor, the Base/Calculated Base factor is the total weight of items in the actor's current inventory (including effects from armor perks). The Max, Script, and Damage modifier are added to this as usual (except for display in the inventory menu; see below).
GetAV Encumbrance = (Weight of items in inventory) + Max Modifier + Script Modifier + Damage Modifier
- For the Inventory menu, where negative encumbrances would be confusing, the game generates slightly different values for maximum and current encumbrance. This means that the encumbrance returned by GetAV will not always match what is shown in the menu.
Modifier Sum = Max Modifier + Script Modifier + Damage Modifier Displayed Maximum Encumbrance = Maximum Encumbrance ( - Modifier Sum, if Modifier Sum < 0) Displayed Current Encumbrance = Inventory Weight ( + Modifier Sum, if Modifier Sum > 0)