Oblivion

File information

Last updated

Original upload

Created by

abo

Uploaded by

abo2

Virus scan

Safe to use

About this mod

Tweaks all fatigue/encumbrance/movement settings to be more realistic and provide better gameplay. Adds immersive blur/pant fatigue warnings. Adds to all actors fatigue drains for health/encumbrance, fatigue burns for standing/walking/climbing, fatigue/movement based chance of stagger/trip, and NPC/creature panting/grunting. Includes repair fatigue

Requirements
Permissions and credits
Mirrors
Realistic Fatigue
=================

Version: 2.4
Author: Donovan Baarda ([email protected])

** ATTENTION: This mod requires OBSE v0015 or greater! **

Tweaks all fatigue/encumbrance/movement settings to be more realistic and provide better gameplay. Adds immersive blur/pant fatigue warnings. Adds to all actors fatigue drains for health/encumbrance, fatigue burns for standing/walking/climbing, fatigue/movement based chance of stagger/trip, and NPC/creature panting/grunting. Includes repair fatigue utility.

Inspired by the mods "More Realistic Encumberment and Fatigue" by Bayli & Mentalor, "Immersive Health Indication" by Oblivionmasta, and "Running Revised" by Deathless Aphrodite. Thanks to hfffoman for providing the NPC panting sounds. Designed to work together with Realistic Health, Realistic Leveling, and Carry Sacks but does not require them.

Introduction
------------

This is a modification for Elderscrolls:Oblivion that improves how fatigue, encumbrance, and movement work. In Oblivion by default, any character can regenerate fatigue while running, even when carying as much as they can lift. Endurance has no impact on regeneration rate of fatigue, and it recovers so fast fatigue affecting potions and spells are useless. Encumbrance has no affect on fatigue at all. If you go over the magic encumbrance limit, you can't move, but if you are just below it, you can run forever. Fatigue and health have only bars to indicate how low they are. Right up until the moment of death or collapse you appear unimpaired, making your death a suprise every time it happens.

The mod attempts to address these problems and provide a better gaming experience by making fatigue more important and realistic. It affects all actors equally and doesn't just disadvantage the player. It attempts to be simple and easily configurable, with minimal game changes so it should be highly compatible with other mods. It has the following features;

* Fully configurable using a RealisticFatigue.ini settings file. The default settings provided should work for most users. All features can be adjusted or turned off if required. Supports both advanced and simple modes where advanced settings can be set directly or auto-calculated from simple high level settings.

* Adds immersive visual blur and panting sounds that gradually increase in intensity and frequency as player fatigue gets lower. You will notice when you are getting fatigued.

* Tweaks all fatigue, encumbrance, and movement game settings to be more realistic and provide better gameplay. The settings are based on research into real human fatigue, encumbrance, and movement models.

* Uses a Fatigue Effects ability applied to all actors so that scripted effects are applied equally to all actors including creatures, NPCs, and the player. Even your horse will start to whinny and stumble if you ride it too hard.

* Adds fatigue drains for low health and high encumbrance. Your fatigue reserve is reduced when you are over encumbered and when your health drops.

* Adds extra encumbrance based fatigue burns for standing, walking, and climbing uphill. Fatigue burns for walking and running are slightly reduced when going downhill. Sitting removes any encumbrance based fatigue drains and burns, so your fatigue will recover faster if you sit down.

* Adds fatigue, movement, and terrain based chances of staggering or tripping. You are most likely to stagger or trip on landing or hitting a step. Running sidewards or backwards increases the chance of tripping or staggering, and high agility and luck reduce it. The chance increases as fatigue gets low, so you will see your enemies start to stagger and trip as you wear them down.

* Adds no fatigue recovery when underwater without water-breathing.

* Adds experience earned for strength, endurance and agility skills for high encumbrance, low fatigue, and trip chances. Lifting heavy stuff will slowly increase all your strength skills. Often having low fatigue will slowly increase all your endurance skills. Performing actions that risk trip/stagger will slowly increase your agility skills.

* Adds NPC lipsynced panting for NPCs and creature "hit" grunting sounds when they get low fatigue. You can hear when your enemy is getting worn down, or your horse is being ridden too hard and might stumble.

* Adjusts all horse's fatigue to be more realistic so that horses are harder to knock out and don't get fatigued as easily.

* Uses OBSE to find and apply effects to all actors in a way that does not leave anything behind in savegames, so it can be safely deactivated with no special install/uninstall requirements or risks.

* Very clean and efficient scripts that should not cause any noticeable FPS impact on even low end machines.

* Includes a repair fatigue utility to repair fatigue drains left behind by deactivated mods. At the console just run "startQuest aaRFRepair".

With the default settings in practice these changes make endurance, encumbrance, and fatigue matter. Endurance and encumbrance now directly impact on fatigue in highly visible ways. A higher endurance makes your fatigue regenerate faster, but it recovers slow enough that fatigue affecting potions and spells are useful. Standing, walking, running, climbing, and jumping now drain fatigue depending on how much you are carrying. Only the mightiest athletes wearing just a loincloth can run forever. Everyone else running will eventually start to blur, pant, stagger, and trip. Though the encumbrance limit is higher, carrying too much drains your fatigue more. You can lift more if you have to, but more than 50% encumbrance is unsustainable and can only be done for short bursts with rests in between. You should try to stay below 33% encumbrance to be effective in combat, but the lower the better.

I recommend my Carry Sacks mod as a convenient way to carry all your loot in a container that you can drop for combat and pick up again afterwards.

Installation
------------

You do not need to perform any special uninstall operations when upgrading from previous versions of Realistic Fatigue. The included fatigue repair utility will automatically remove any fatigue drains left behind by older versions. To install just;

1) Download and install OBSE v0016 or greater.

2) Download and install OBMM v1.1.0 or greater.

3) Run OBMM and create an OMOD by clicking on "Create; Add archive", selecting this archive, agreeing to import omod data, and clicking on "Create omod".

4) Activate this omod with OBMM.

5) Select the config options presented to suit your preferences.

Note OBMM automatically launches OBSE if you have it installed when launching Oblivion. If you really must install this without using OBMM then you will have to edit the RealisticFatigue.ini file and replace all the <valuename> tags with values, otherwise this mod will not work correctly.<br><br>DeInstallation<br>--------------<br><br>You don't need to do anything special to uninstall this mod. It should be safe to just deactivate this mod in OBMM. Fatigue effects will be removed and fatigue will recover normally to the correct levels.<br><br>Usage<br>-----<br><br>You don't need to do anything special to use this mod. Just activate it with OBMM and you will start to feel the effects. Load order is not important, but you should be aware that game settings are set from the RealisticFatigue.ini file when games are loaded. Make sure that any other mods that change the same game settings via scripts and config files are using the same values. All features can be adjusted or disabled by settings in the RealisticFatigue.ini config file in the Oblivion\Data folder. See the config file for details on what all the settings are and how they work.<br><br>The repair fatigue utility is a quest that can be run at any time from the console. It fully restores your fatigue and removes any lingering drains that might have been applied by removed mods. It is automatically run when this mod is first loaded to remove any drains left behind by previous versions of RealisticFatigue. To run it manually at the console, just do;<br><br> startQuest aaRFRepair<br><br>Implementation<br>--------------<br><br>Writing this mod required a lot of research and experimenting to find out what all the undocumented settings do. This research behind the modified settings is now documented on the TES Oblivion wiki at;<br><br> http://cs.elderscrolls.com/constwiki/index.php/Fatigue_Game_Settings<br> http://cs.elderscrolls.com/constwiki/index.php/Movement_Game_Settings<br> http://cs.elderscrolls.com/constwiki/index.php/FActorLuckSkillMult<br><br>I also have very rough documentation on the encumbrance, fatigue, and movement research i did available on my wiki at;<br><br> http://minkirri.apana.org.au/wiki/RealisticFatigue<br><br>See the RealisticFatigue.ini configuration file for details of all the settings changed. New settings similar to the running and jumping settings have been added as quest variables for standing, walking and climbing fatigue burns. The standing fatigue burn is a bit different and uses fFatigueStandMult*encumbLevel^2. This means fatigue burned standing is minimal unless you are lifting very large amounts. Most values are scaled between 0 and 1 using the following values;<br><br> healthLevel = (1 - health/healthBase)<br> fatigueLevel = (1 - fatigue/fatigueBase)<br> encumbLevel = encumb/encumbMax<br><br>The fatigue drain for low health or high encumbrance uses the following formula, where healthGain defaults to 1.05 and encumbGain defaults to 1.0. This makes you collapse just before zero health or at full encumbrance. At 1/2 health your fatigue will be drained by 1/4. At 1/2 encumbrance your fatigue will be drained by 1/4;<br><br> fatigueDrain% = healthDrainGain*healthLevel^2 + encumbDrainGain*encumbLevel^2<br><br>The blur effect uses the hitshader with increasing intensity and frequency for each heartbeat every 1.0 to 0.3333 seconds (60 to 180 beats per minute). The pant effect plays increasing volume panting sounds every 4 heartbeats. The blur and pant effect intervals and intensities use the following formulas, where blurGain defaults to 2.0 and pantGain defaults to 1.0. This makes you start to very faintly blur/pant at 1/2 fatigue. At 1/4 fatigue you blur/pant noticably, and as you approach zero fatigue you blur/pant excessively;<br><br> blurInterval = 1.0 - 0.6666 * fatigueLevel^2<br> blurLevel = blurGain * fatigueLevel^3<br> pantInterval = 4 * blurInterval<br> pantLevel = pantGain * fatigueLevel^2<br><br>The NPC lipsync panting uses the same formulas but uses different single-pant sounds every 2 heartbeats, and does not include any blur. For creatures, the creature's "hit" sound is played every 4 heartbeats. The setting used to adjust the intensity for NPC's and creatures is npcPantGain.<br><br>The probability of tripping and staggering depends on fatigue, movements, and agility modified by luck (see FActorLuckSkillMult on CS wiki). The percentage chance of tripping every 1secs, or when you land or hit a step uses the following formula, where staggerGain defaults to 0.04 and tripGain defaults to 0.02. These settings are approximately the probabilty of staggering/tripping when running backwards or with zero fatigue. The fatigueTripGain and moveTripGain settings can be used to adjust how much affect fatigue and movement have, and both default to 1.0.<br><br> agilityModifier = 66 / (agility + luckModifier + 33) ; scales beween 0.1 -&gt; 0.5 for agility 33 -&gt; 100<br> directionModifier = (0.01 + isMovingSidewards*0.24 + isMovingBackwards*0.99)<br> moveTripLevel = moveTripGain * directionModifier * (dt + abs(az/512))<br> fatigueTripLevel = fatigueTripGain * fatigueLevel^4 * dt<br> tripLevel = agilityModifier * (fatigueTripLevel + moveTripLevel)<br> if not isRunning:<br><span class="wbbtab"></span> tripLevel = 0.25 * tripLevel<br> staggerChance = staggerGain * tripLevel<br> tripChance = tripGain * tripLevel<br><br>The skill experience earned is applied to all strength, endurance, and agility skills per second based on the encumbLevel^2, fatigueLevel^2, and each chance of tripping;<br><br> strengthXP = encumbLevel^2 * fSkillStrengthEncumb * dt<br> enduranceXP = fatigueLevel^2 * fSkillEnduranceFatigue * dt<br> agilityXP = tripLevel * fSkillAgilityTrip<br><br>By default horses have only 50 fatigue which is stupidly low. Also, riders and rider equipment do not count as encumbrance. The horseEncumbMult (default 0.2) scales horse encumbrance to take into account horses are large and can carry more than their 50 strength gives. When the fatigue ability is applied to horses it will adjust their fatigueBase and calculate their encumbrance as;<br><br> fatigueBase = strength + endurance + agility + willpower + health/2<br> encumbrance = horseEncumbMult * (encumbrance + riderEncumbrance + rider.getScale*riderWeight)<br><br>Known Issues<br>------------<br><br>Sometimes after waiting the ability running on nearby actors seems to be stalled until something interacts with them. This means they will not have any of the scripted fatigue effects until you interact with them.<br><br>ChangeLog<br>---------<br><br>1.0 by Donovan Baarda (abo)<br> - Initial Release.<br><br>1.1 by Donovan Baarda (abo)<br> - Reduced fatigue burn RunBase/JumpBase from 10/20 to 3/6.<br> - Reduced pant/blur noticeable fatigue levels from ~50% to ~30%.<br><br>1.2 by Donovan Baarda (abo)<br> - Introduced different volume panting sounds so that panting<br><span class="wbbtab"></span> gradually increases in volume as well as frequency with fatigue.<br> - Lowered blur peak intensity from 4.0 to 3.0.<br> - Changed blur/pant intensity formula from x^4 to x^3 so onset is<br><span class="wbbtab"></span> more gradual.<br><br>1.3 by Donovan Baarda (abo)<br> - Fixed collapse from fatigue drain when hit.<br> - Fixed overblown blur effect on collapse or death.<br> - Lowered fFatigueReturnBase from 1.0 to 0.5 and fFatigueReturnMult from 0.1 to 0.05.<br> - Added x^4 encumbrance fatigue drain.<br> - Added Wounded/Encumbered fatigue drain message.<br> - Added *Gain variables for tuning effect intensities.<br> - Added OBSE dependency.<br><br>1.4 by Donovan Baarda (abo)<br> - Added OBMM install script to check installed OBSE version.<br> - Increased fatigue regen and lowered fatigue burn rates.<br> - Changed fFatigueReturnBase from 0.5 to 0.1 and fFatigueReturnMult from 0.05 to 0.08.<br> - Changed fFatigueRunBase from 3.0 to 5.0 and fFatigueRunMult from 20.0 to 15.0.<br> - Changed fFatigueJumpBase from 6.0 to 10.0 and fFatigueJumpMult from 40.0 to 30.0.<br> - Corrected script blur variable name from shaderGain to blurGain.<br> - Added verbose setting to turn off Encumbered/Wounded warnings.<br><br>1.5 by Donovan Baarda (abo)<br> - Fixed and tuned all fatigue settings to be less harsh for low level characters.<br> - Changed fFatigueReturnBase from 0.1 to 2.0 and fFatigueReturnMult from 0.08 to 0.06.<br> - Changed fFatigueRunBase from 5.0 to 6.0 and fFatigueRunMult from 15.0 to 12.0.<br> - Changed fFatigueJumpBase from 10.0 to 12.0 and fFatigueJumpMult from 30.0 to 24.0.<br> - Added settings fFatigueAttackWeaponBase 4.0 and fFatigueAttackWeaponMult 0.1.<br><br>1.6 by Donovan Baarda (abo)<br> - Added settings to make block and marksman fatigue burn less harsh for low level characters.<br> - Added fFatigueBlock* and fMarksmanFatigue* settings.<br><br>1.7 by Donovan Baarda (abo)<br> - Changed collapse on zero fatigue to a trip probability based on luck-modified acrobatics.<br> - Added tripGain variable for tuning trip probability.<br> - Changed collapse fatigue damage from 10.0 to 3.0.<br> - Changed wounded/encumbered fatigue drain to restore fatigue on health/encumbrance restore.<br> - Changed fMarksmanFatigueBurnPerSecond from 10.0 to 8.0.<br> - Changed pant frequency from 4.0-&gt;0.5secs to 3.0-&gt;0.4secs.<br><br>1.8 by Donovan Baarda (abo)<br> - Fixed bug when health, fatigue, or encumbrance is modified outside normal limits by other effects.<br> - Removed Encumbered/Wounded warnings and verbose setting.<br> - Turned off fatigue effects if dead.<br> - Turned off pant sound if swimming.<br> - Changed collapse fatigue damage from 3.0 to 6.0.<br> - Changed fFatigueRunBase from 6.0 to 5.0 and fFatigueRunMult from 12.0 to 10.0.<br> - Changed fFatigueJumpBase from 12.0 to 10.0 and fFatigueJumpMult from 24.0 to 20.0.<br> - Changed fPerkAthletics*FatigueMult from 1.0-&gt;0.6 to 1.0-&gt;0.80.<br><br>1.9 by Donovan Baarda (abo)<br> - Fixed bug where fatigueLevel was not limited =1.0 causing excessive blur/pant.<br> - Introduced variable heartbeat to smoothly scale blur/pant intervals.<br> - Totally tuned pant sounds, intensities, and intervals to scale much better.<br> - Added drown sounds for fatigue when swimming.<br> - Reduced blurGain from 3.0 to 2.0.<br> - Added fPerk*Armor*SpeedMult settings.<br> - Added hard variant selectable via omod install script.<br><br>1.10 by Donovan Baarda (abo)<br> - Rearranged script so that blur/pant effects react faster to fatigue drain changes.<br> - Added IsUnderWater detection for pant sounds when swimming on the surface.<br> - Changed heartbeat blurInterval equation from x^3 to x^2.<br> - Changed hard variant to be an additional esp containing only changed game settings.<br><br>1.11 by Donovan Baarda (abo)<br> - Optimized and improved IsUnderWater detection to work better for different sized races.<br><br>1.12 by Donovan Baarda (abo)<br> - Fixed fFatigueReturnBase in "hard" version so that it actually makes it harder, not easier.<br><br>1.13 by Donovan Baarda (abo)<br> - Switched to using new OBSE v0013 IsUnderWater detection.<br><br>2009-01-08 v2.0 by Donovan Baarda (abo)<br> - Added RealisticFatigue.ini configuration file.<br> - Revamped all settings based on researched fatigue/encumbrance models.<br> - Added Fatigue Affects ability to apply effects to all actors.<br> - Changed encumbrance fatigue drains from encumb^4 to encumb^2 now it affects all actors.<br> - Added extra stand/walk/climb fatigue burns.<br> - Added slightly reduced fatigue burn walking/running when going downhill.<br> - Changed tripping to include fatigue, run/backward/sideward movement, and terrain.<br> - Added stagger chance similar to trip chance.<br> - Added NPC lipsynced panting.<br> - Added aaRFRepair quest fatigue repair utility.<br> - Changed everything to use modAV2 to prevent leftover drains on uninstall.<br><br>2009-01-12 v2.1 by Donovan Baarda (abo)<br> - fixed config setting fFatigueClimbBase/Mult 8.0/16.0 -&gt; 4.0/8.0<br> - changed config setting staggerGain 0.1 -&gt; 0.05<br> - fixed ability/indicator potential onload race condition<br> - fixed ability/indicator/repair to include fortify/drain health/fatigue effects<br> - fixed climb fatigue burn no longer happens on lifts<br> - changed fatigue burns do not make fatigue negative<br> - changed isKnocked detection to use standup isIdlePlaying animation<br> - changed and simplified trip/stagger chance calculations<br> - added lowpass filters for dz and az step detection<br> - added console trip/stagger debugging output<br> - added experience for strength/endurance/acrobatics skills 0.01/0.01/0.01<br> - optimised indicator to use ability fatigueLeve/healthLevel values<br><br>2009-03-04 v2.2 by Donovan Baarda (abo)<br> - Add creature low fatigue hit sound "pant" so you hear when creatures are fatigued.<br> - Fix incorrect fatigue/health fortify/drain spell effect compensation.<br> - Add restore fatigue on death so resurected actors have full fatigue.<br> - Add turn off pant/blur indicators on player death.<br> - Change encumb/health fatigue drains/undrains to be immediate.<br> - Change stagger/trip from acrobatics to agility based.<br> - Change stagger/trip experience from acrobatics to agility skills.<br> - Change config setting fSkillAcrobaticsTrip to fSkillAgilityTrip.<br> - Fix negative trip experience accumulation for tripChance 0.<br> - Change trip agility experience to be independent of tripGain.<br> - Change encumb strength experience to be independent of encumbDrainGain.<br> - Change strength and endurance experience to require activity.<br> - Add console debug output for experience.<br> - Change base tripLevel trip/stagger chance from 0 -&gt; 2.5 to 0 -&gt; 1.0.<br> - Change trip step detection inverval 0.1 -&gt; 0.2 and z accel 1000 -&gt; 400.<br> - Change trip interval calc to include any activity for trip/stagger chance.<br> - Change trip/stagger to use rand instead of getRandomPercent.<br> - Improve script to reset ability by remove/add when its state gets cleared.<br> - Improve script ability by reducing the number of local vars.<br> - Change config recommended tripGain 0.01 -&gt; 0.05.<br> - Change config recommended staggerGain 0.05 -&gt; 0.25.<br> - Change config recommended fActorStrengthEncumbranceMult 10.0 -&gt; 8.0<br> - Change config recommended encumbMult 2.0 -&gt; 1.6<br> - Improve config comments explaining settings.<br> - Add config option choices to setup script.<br><br>2009-08-23 v2.3 by Donovan Baarda (abo)<br> - Fix don't add ability to the player again when dead.<br> - Add no fatigue recovery underwater if not waterbreathing.<br> - Add lowpass filter for pz with RC=0.1, and remove filters for vz and az, to smooth climb fatigue burn calculation.<br> - Change vertical movement fatigueBurn compensation to only apply when on ground.<br> - Change default climbGain from 1.0 to 1.5 to account for better climb fatigue burn calculation.<br> - Change encumbDrain to also apply when knocked to fix collapse/stand cycle.<br> - Change knocked state detection to not include standup animation.<br> - Change trip ledge detection tripInterval from 0.2 -&gt; 0.1 and az from 400.0 -&gt; 512.0.<br> - Change trip to delay collapse recovery based on fatigueLevel2.<br> - Add tripFatigueDamage=16 setting to control trip collapse duration.<br> - Add fix horse fatigue to strength+endurance+agility+willpower+health/2<br> - Add include rider and equipment in horse encumbrance.<br> - Add riderWeight=100.0*fActorStrengthEncumbranceMult/encumbMult setting for horse rider encumbrance.<br> - Add horseEncumbMult=0.2 setting to scale horse encumbrance.<br> - Improve fatigueLimit application to minimize fatigue "flutter" effect.<br> - Add config tweaks for actor combat AI game settings.<br><br>2009-11-01 v2.4 by Donovan Baarda (abo)<br> * Add config file load success detection<br> * Change riderWeight not autocalculated for mode=1<br> * Improve trip model<br> * Add fatigueTripGain and moveTripGain trip settings<br> * Minimize horse trip to always recover next frame<br> * Reduce panting when collapsed, and stop panting when knocked out.<br> * Change config recommended climbMult from 1.5 -&gt; 1.0<br> * Change config min/recommended/max tripGain from 0.01/0.05/0.10 to 0.01/0.02/0.04<br> * Change config min/recommended/max staggerGain from 0.05/0.25/0.50 to 0.02/0.04/0.08<br> * Change health based fatigueLimit changes to have less immediate effect on fatigue<br> * Tidy pz/dz swimming offset calculation code<br></valuename>