This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Common Mistakes"

Jump to navigation Jump to search
408 bytes added ,  14:24, 6 April 2009
→‎GetBaseActorValue Includes Ability Fortify Effects: ways to fix. Huge thanks to ABO for this.
imported>Dev akm
(→‎Persistent Doors: GetBaseActorValue Includes Ability Fortify Effects)
imported>Dev akm
(→‎GetBaseActorValue Includes Ability Fortify Effects: ways to fix. Huge thanks to ABO for this.)
Line 18: Line 18:
== GetBaseActorValue Includes Ability Fortify Effects ==
== GetBaseActorValue Includes Ability Fortify Effects ==


The GetBaseAV function does '''not''' accurately report the unmodified base value of stats that are changed by constant ability fortify effects. To get the true base value, you'll have to check for any constant ability fortify effects and subtract them from the result of GetBaseAV. This is a common problem with many player leveling mods.
The GetBaseAV function does '''not''' accurately report the unmodified base value of stats that are changed by constant ability fortify effects. To get the true base value, you'll have to check for any constant ability fortify effects and subtract them from the result of GetBaseAV. This is a common problem with many player leveling mods.
 
One approach to solving this is to write a script that iterates through all the player's spells and their effects to find fortify abilities and adjust the base values accordingly. You can find a good example of this solution in the '''Realistic Leveling''' mod.
 
A simpler approach would be to use the [[GetTotalAEAbilityMagnitude]] function, but this appears to actually be slower than doing it yourself.


== Persistent Doors ==
== Persistent Doors ==
Anonymous user

Navigation menu