Difference between revisions of "User:JRoush"
→Detection
imported>JRoush m (→Detection) |
imported>JRoush |
||
Line 22: | Line 22: | ||
== Detection == | == Detection == | ||
Detection is Oblivion's stealth mechanic. The concept isn't complicated: every actor has a degree of awareness of every other nearby actor, called a ''detection level''. If this detection level is above a certain threshold then the searching actor (the "detector") is fully aware of the hiding actor (the "target"). The detector can then attack, offer a greeting, report the target's crimes, etc. If the detection level falls below the threshold again, the detector "loses" the target and can no longer interact with it. | |||
Quite a few factors go into calculating detection levels. They fall into three basic categories: Sight, Sound, and Sneak Skill. Sight factors basically describe how well the detector can see the target, and only matter if the detector actually has a direct line-of-sight. Sound factors measure how much noise the target is making, from movement and from being in combat. Skill factors measure the ''relative'' sneak skill of the two actors. In all three cases, the distance from the detector to target plays a very important role. Whether or not the target has attacked the detector can make an enormous difference as well. | |||
The complete list of factors and their values is listed below. Note that each factor is given a 'shorthand' name for reference other formulas. Also note that many of the factors are conditional - they take a "default" value some times and a more complicated value at others. Some formulas even have conditional parts - an extra multiplier or additive bonus that is used only under certain circumstances. These conditions are given as clearly as possible in the formulas; just be sure to read them carefully. | |||
{|border="1" cellpadding="5" cellspacing="0" | {|border="1" cellpadding="5" cellspacing="0" | ||
Line 34: | Line 36: | ||
| <center> Max Detection Distance </center> | | <center> Max Detection Distance </center> | ||
| <center> maxDist </center> | | <center> maxDist </center> | ||
| [[fSneakMaxDistance]] ( | | [[fSneakMaxDistance]] * ([[fSneakExteriorDistanceMult]], for exterior cells) | ||
|- | |- | ||
| <center> Distance Factor </center> | | <center> Distance Factor </center> | ||
Line 75: | Line 77: | ||
| [[fSneakSoundsMult]] * distMult * losSound * swimSound * (running * moving + combat) | | [[fSneakSoundsMult]] * distMult * losSound * swimSound * (running * moving + combat) | ||
|- | |- | ||
! style="background:#efefef;" | <center> | ! style="background:#efefef;" | <center> Sight </center> | ||
! style="background:#efefef;" | <center> Shorthand </center> | ! style="background:#efefef;" | <center> Shorthand </center> | ||
! style="background:#efefef;" | <center> Value </center> | ! style="background:#efefef;" | <center> Value </center> | ||
|- | |- | ||
| <center> Line-of-Sight | | <center> Line-of-Sight Factor </center> | ||
| <center> | | <center> losSight </center> | ||
| 1.0 if detector has line of sight to target | | 1.0 if detector has line of sight to target | ||
0.0 otherwise | 0.0 otherwise | ||
|- | |- | ||
| <center> Swimming | | <center> Swimming Sight Factor </center> | ||
| <center> | | <center> swimSight </center> | ||
| [[fSneakSwimmingLightMult]] if target is under water | | [[fSneakSwimmingLightMult]] if target is under water | ||
1.0 otherwise | 1.0 otherwise | ||
Line 91: | Line 93: | ||
| <center> Light Factor </center> | | <center> Light Factor </center> | ||
| <center> light </center> | | <center> light </center> | ||
| [[fDetectionSneakLightMod]] + (light level on target) * ([[fDetectionNightEyeBonus]], if detector | | [[fDetectionSneakLightMod]] + (light level on target) * ([[fDetectionNightEyeBonus]], if detector has Night Eye) | ||
Light Factor is capped at 100 | Light Factor is capped at 100 | ||
|- | |- | ||
| <center> Invisiblity Factor </center> | | <center> Invisiblity Factor </center> | ||
| <center> invis </center> | | <center> invis </center> | ||
| 0.0 if target | | 0.0 if target has Invisibility | ||
1.0 - (target's | 1.0 - (target's Chameleon level, max 100) / 100.0, otherwise | ||
|- | |- | ||
| <center> Blindness Factor </center> | | <center> Blindness Factor </center> | ||
| <center> blind </center> | | <center> blind </center> | ||
| 1.0 - (detector's "Blindness" | | 1.0 - (detector's Blindness level, from "Blindness" stat) / 100.0 | ||
|- | |- | ||
| <center> '''Overall | | <center> '''Overall Sight Bonus''' </center> | ||
| | | | ||
| [[fSneakSleepBonus]] if detector is sleeping | | [[fSneakSleepBonus]] if detector is sleeping | ||
[[fSneakLightMult]] * distMult * | [[fSneakLightMult]] * distMult * losSight * swimSight * light * invis * blind, otherwise | ||
|- | |- | ||
! style="background:#efefef;" | <center> Skill </center> | ! style="background:#efefef;" | <center> Skill </center> | ||
Line 123: | Line 125: | ||
| | | | ||
| | | | ||
0.0 | -100.0 if invis >= 100.0 (i.e. target has Invisibility or 100% Chameleon) | ||
0.0 if target didn't attack detector -AND- (distance between target and detector) > maxDist | |||
[[fSneakBaseValue]] + ([[fSneakTargetAttackBonus]], if target attacked detector) + '''Overall Sound Bonus''' + '''Overall | [[fSneakBaseValue]] + ([[fSneakTargetAttackBonus]], if target attacked detector) + '''Overall Sound Bonus''' + '''Overall Sight Bonus''' + '''Overall Skill Bonus''', otherwise | ||
|- | |- | ||
|} | |} | ||
If the '''Overall Detection Level''' is greater than a certain threshold, the detector can | If the '''Overall Detection Level''' is greater than a certain threshold, the detector can becomes aware of the target. The thresholds are: | ||
{|border="1" cellpadding="5" cellspacing="0" | {|border="1" cellpadding="5" cellspacing="0" | ||
|- | |- | ||
Line 151: | Line 150: | ||
|- | |- | ||
|} | |} | ||
A final note: The target-is-in-combat bonus is fairly significant. Combined with the much lower combat threshold, this can make it ''very'' difficult for an actor to return to hiding once a hostile actor has seen them. |