Difference between revisions of "Movement Game Settings"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JRoush
(Added Creature walk speed, not on weight cap)
imported>JRoush
Line 131: Line 131:
   (fMoveWeightMin + WornWeight)/(fMoveWeightMax - fMoveWeightMin)
   (fMoveWeightMin + WornWeight)/(fMoveWeightMax - fMoveWeightMin)


Two notes: (1) 'WornWeight' is capped so it can't be greater than fMoveWeightMax, and (2) the default fMoveWeightMin is 0.0 which reduces this formula to something sensible looking.
Two notes: (1) 'WornWeight' is capped so it can't be greater than fMoveWeightMax, and (2) the default fMoveWeightMin is 0.0.  This reduces the formula to something sensible looking.


HeightScale is the product of the character's race/gender Height value, and any SetScale values which may be affecting the character. See [http://www.uesp.net/wiki/Oblivion:Races UESP: Races] for Height values for each race/gender combination.
HeightScale is the product of the character's race/gender Height value, and any SetScale values which may be affecting the character. See [http://www.uesp.net/wiki/Oblivion:Races UESP: Races] for Height values for each race/gender combination.

Revision as of 19:46, 27 September 2010

The following settings control Movement Speeds:

Setting Default Value Description
fMoveCharWalkMin 90.0 Minimum base walking speed
fMoveCharWalkMax 130.0 Maximum base walking speed
fMoveCreatureWalkMin 5.0 Minimum base walking speed for creatures
fMoveCreatureWalkMax 300.0 Maximum base walking speed for creatures
fMoveEncumEffect 0.4 Worn armor/weapons encuberence affect with weapon ready
fMoveEncumEffectNoWea 0.3 Worn armor/weapons encuberence affect without weapon ready
fMoveWeightMin 0.0 Movement encumberance minimum worn weight
fMoveWeightMax 150.0 Movement encumberance maximum worn weight
fMoveNoWeaponMult 1.1 Speed multiplier without weapon ready
fMoveRunMult 3.0 Speed multiplier for being in run mode
fMoveRunAthleticsMult 1.0 Speed multiplier for athletics when in run mode
fMoveSneakMult 0.6 Speed multiplier for being in sneak mode
fPerkHeavyArmorExpertSpeedMult 0.5 Perk worn heavy armor weight multiplier??? (Initial value of 0.5 reduces worn armor weight by half)
fPerkHeavyArmorMasterSpeedMult 0.0 Perk worn heavy armor weight multiplier, replacing above??? (Initial value of 0 reduces worn armor weight to 0)
fPerkHeavyArmorSinkGravityMult 15.0 Unknown impact perk
fPerkLightArmorExpertSpeedMult 0.0 Perk worn light armor weight multiplier??? (Initial value of 0 reduces worn armor weight to 0)
fArmorWeightLightMaxMod 0.6 Unknown impact setting
fMoveSwimWalkBase 0.5 Unknown impact setting
fMoveSwimWalkAthleticsMult 0.02 Unknown impact setting
fMoveSwimRunBase 0.5 Unknown impact setting
fMoveSwimRunAthleticsMult 0.1 Unknown impact setting
fSubmergedMaxSpeed 2.0 Unknown impact setting
fMoveMinFlySpeed 5.0 Minimum flying speed
fMoveMaxFlySpeed 300.0 Maximum flying speed

Walking

The basic walking speed is different depending on whether or not you have a weapon drawn. Note having fists ready counts as having a weapon drawn. Without a weapon drawn it is:

WalkSpeed = (fMoveCharWalkMin + (fMoveCharWalkMax - fMoveCharWalkMin)* speed/100) *
  EncumbranceMultiplier * HeightScale * fMoveNoWeaponMult

EncumbranceMultiplier = 1 - fMoveEncumEffectNoWea *
  (fMoveWeightMin + WornWeight)/(fMoveWeightMax - fMoveWeightMin)

With a weapon drawn it is:

WalkSpeed = (fMoveCharWalkMin + (fMoveCharWalkMax - fMoveCharWalkMin)* speed/100) *
  EncumbranceMultiplier * HeightScale

EncumbranceMultiplier = 1 - fMoveEncumEffect *
  (fMoveWeightMin + WornWeight)/(fMoveWeightMax - fMoveWeightMin)

For Creatures, the formula is:

WalkSpeed = (fMoveCreatureWalkMin + (fMoveCreatureWalkMax - fMoveCreatureWalkMin)* speed/100) *
  EncumbranceMultiplier * HeightScale

EncumbranceMultiplier = 1 - fMoveEncumEffect *
  (fMoveWeightMin + WornWeight)/(fMoveWeightMax - fMoveWeightMin)

Two notes: (1) 'WornWeight' is capped so it can't be greater than fMoveWeightMax, and (2) the default fMoveWeightMin is 0.0. This reduces the formula to something sensible looking.

HeightScale is the product of the character's race/gender Height value, and any SetScale values which may be affecting the character. See UESP: Races for Height values for each race/gender combination.

WornWeight is the sum of equipped weapons/armor, possibly modified by skill levels and Perks. Exactly what contributes to WornWeight is uncertain. Equipped arrows do not count, but armor, shields and weapons do.

Running

Movement speed when in running mode is calculated from WalkSpeed:

RunSpeed = WalkSpeed * (fMoveRunMult + fMoveRunAthleticsMult * athletics/100)

Speed and athletics are effective for values between 0 and 255. It seems that negative speeds "wrap" and can actually make you faster. Luck and fatigue have no effect.

Encumbrance also does not appear to have any affect. The EncumbranceMultiplier is only affected by worn armor and carried weapons, and strength does not help compensate in any way for equipped heavy armor and weapons. The default values of fMoveEncumEffectNoWea and fMoveEncumEffect mean that there is a slight extra speed penalty for having a weapon drawn when you have heavy armor and weapons equipped.

The bad news is there doesn't seem to be a way to easily introduce fatigue and/or encumbrance based movement penalties by just tweaking game settings values. This means that it is not possible to have NPC and creatures "slow down when puffed or burdened" without adding scripting to every single NPC/creature. This makes burden based poisons pretty much useless unless they are strong enough to overburden and pin them down. Anything less than 100% encumbrance doesn't slow them down at all, but the final straw that overburdens them suddenly pins them to the spot. Draining fatigue does help reduce the damage they deal, but it doesn't slow them down when they are chasing you.

Sneaking

Movement speed when in sneak mode is a simple modification to the run or walk speed:

SneakWalkSpeed = WalkSpeed * fMoveSneakMult
SneakRunSpeed = RunSpeed * fMoveSneakMult

Swimming

Please update me.

Flying

Exact formula is unkown, but suspected to be;

Flying Speed = fMoveMinFlySpeed + (fMoveMaxFlySpeed - fMoveMinFlySpeed) * Speed/100