1.Observer's maximum sight range is reduced, based on opponent's relative direction: 0%, 20%, 40% and 60% (for front, front-side, back-side and back respectively). For sneakers, the following algorithm decides the visibility:
2.First, raw Sneak skill value of the opponent is taken. Then the following boni are applied:
2.1For being next to a wall (1 hex, or 5 with Ghost perk): +30.
2.2For being hidden behind an object (there is an unpassable scenery between the opponent and the target no more than 2 hexes from the opponent): +60.
2.3For using Stealth Boy: +60.
3.At this point of calculations, Sneak is capped at 300. Then the following penalties are applied:
3.1 For opponent's relative direction: -72, -36, -12, 0.
3.2 For wielding weapons: -36 for two handed rifle in active slot, -72 for heavy weapons in active slot.
3.3 For wearing armours: -36 for Combat Armor and variants, -72 for Metal Armor and variants.
3.4 For running: -60, unless with Silent Running perk.
4.The opponent is invisible whenever its distance from the observer increased by final Sneak/6 is larger than observer's FRONT sight range (regardless of the actual direction).
5. Everything said when sneaked is downgraded to whisper.
6. Active Motion Sensor reveals all critters in 15 hexes radius (whether behind a wall or not). It consumes Small Energy Cells and Micro Fusion Cells. Use Science on it to see remaining charges.
7.Stealth Boy disappears on use and grants a 20 minutes long Sneak bonus. Consuming more resets the timer to 20 minutes.
1.TEST Test id=1512659329
observer's maximum fov range decreased to 44 (0% front penalty)
Front penalty is applied and calculated correctly.
Ok1.TEST Test id=925095993
observer's maximum fov range decreased to 36(20% front-side penalty)
Front-side penalty is applied and calculated correctly.
Ok1.TEST Test id=846234016
observer's maximum fov range decreased to 22(50% back penalty)
Back penalty is applied incorrectly but calculated correctly. Must be 60% according to written parameters Fixed1.TEST Test id=1130024564
observer's maximum fov range decreased to 27(40% back-side penalty)
Back-side penalty is applied and calculated correctly
OkSome of those values are rounded down when calculated i suppose it's not a bug or anomaly.
Reduction should be rounded down2.TEST Test id=1231675441
you ARE a sneaker , base sneak value:300
Base sneak value is taken correctly.
Ok2.1TEST Test id=1231675441
you are not behind a wall.
When not standing near a wall or scenery object , it's checked and confirmed correctly.
Ok2.1TEST Test id=1160730710
you are within 4 hexes to nearest wall:adding 30
you have ghost perk
sneak after bonus (330)
sneak after capping (300)
Ghost perk presence is checked and applied correctly when standing near an actual wall , capped bonus is denied correctly.
Ok2.1TEST
http://imageshack.us/photo/my-images/403/wallv.jpg/
When not standing near an actual wall it conforms that i am , this is common in many places with such objects , crates , old cars etc. etc.
2.1 TEST Test id= 184448816
You don't gain bonus standing 1 hex near a wall without ghost perk , debug tool doesn't confirm that you are not behind a wall but it doesn't conform that you are and don't give any bonus Fixed a bug with wall distance. Should work now (check after update)2.2TEST Test id=1938642027
you are partially occluded: adding 60
sneak after bonus (390)
sneak after capping (300)
Using a barrel it conforms and checks it's presence and adds bonus correctly as well denies it. 390 is due to ghost perk presence.
Ok3. It is capped at 300 and no bonuses exceed that.
Ok3.1TEST test id= 811000269
Modifying sneak: -72 (front)
Front penalty is applied correctly.
Ok3.1TEST test id= 1225563405
Modifying sneak: -36 (front-side)
Front-side penalty is applied correctly.
Ok3.1TEST test id= 982148565
Modifying sneak: -12 (back-side)
Back-side penalty is applied correctly.
Ok3.1TEST test id= 490254343
Modifying sneak: 0 (back)
Back penalty is applied correctly.
Ok3.2TEST test id= 1384804035
Modifying sneak: -72 ( heavy weapon , counted as if it was in main slot)
Heavy weapon penalty is applied correctly.
Ok3.2TEST test id= 282777756
Modifying sneak: -36 ( rifle )
Two handed weapon penalty is applied correctly.
Ok3.3TEST test id= 1104711025
Modifying sneak: -36 (
metal armor)
Debug tool recognizes all combat variants as metal armor Fixed, but penalty is applied correctly.
Ok3.3TEST test id= 45245687
Modifying sneak: -72 (metal armor)
All metal armor variants apply correct penalty.
Ok3.4 I tested sneak in general before , silent running works and sneak isn't compromised in any way if running with the perk.
Ok4.TEST Test id= 1026211547
your visibility at distance 6:VISIBLE
distance reduction (sneak/6):16
front_fov-reduction >= distance (19 >= 6)
Confirms.
Ok5. Using /o still is possible when sneaking. Fixed6. Science has no effect on it , you can't charge it with anything and it doesn't work and you can't " activate it " only " use " FixedGreen means works fine and red something is wrong. btw when i will be in the mood i will check whats going on with the AC.
EDIT7. ; 2.3TEST test id = 492158353
you have active stealth boy: adding 60
OkStealth boy timer is incorrect. At least 40+ minutes has to be 20.6. Motion sensor does it function properly , science works on it ,
but recharging still doesn't work.
1.TEST Test id=837754643
observer's maximum fov range decreased to 20% (
60% back penalty)
Back penalty is applied correctly now.
Ok2.1TEST Test id=1332810946
you are not behind a wall
Not Okyou are within 1 hexes to nearest wall: adding 30
OkWall bonus is applied correctly without ghost perk , but debug tool recognizes that you are behind the wall and you are not at the same time. Weird.
5. /o doesn't work while sneaking
OkI checked various armors , weapons , obstacles and it seems fine. For now i don't have any other ideas what to test about sneak.
Atom i hate that i am the one telling you this , about the AC in TB no one can understand how it supposed to work , can you describe that feature ummm ..... the simple way ?