Page 1 of 1

Stealth Boy

Posted: Sat Oct 27, 2018 10:14 pm
by Muttie
What does the Stealth Boy do?
I tested it with Bruce Carpenter and it had no effect on Sneak.

Example: I know that Bruce never detects me when I have 100% Sneak. But he does detect me when I step next to him with 99% Sneak. So I tested it with 99% Sneak and the Stealth Boy “on”, and I always got detected. Which means the Stealth Boy adds 0% to Sneak.

So other than switching “ghost on/off” what does it do? Is there something else? Is it a gimmick item without use? Or is the item bugged in FO2?

Re: Stealth Boy

Posted: Sun Oct 28, 2018 1:31 am
by NovaRain
The "ghost on" halves the detection range (based on watcher's PE and other conditions) when the player is within watcher's LOS.

Re: Stealth Boy

Posted: Mon Oct 29, 2018 2:35 am
by Muttie
I'm a bit confused.

However, after some time I found these two articles:
https://www.fonline-reloaded.net/wiki/i ... itle=Sneak
And:
https://www.fonline-reloaded.net/wiki/i ... ld_of_View

However, they appear to use modified rules.

But as I understand the basics:

Not being in the “detection range” means that Sneaking is automatically successful. But once inside the „detection range“ (which is 360 degree, just not in the shape of a circle) it's a normal sneak check on which the Stealth Boy has no influence.

So the benefit of the Stealth Boy is that I can get closer without having to make a sneak check (succeeds automatically) as it halves the detection range. But it doesn't help with sneaking itself (i.e. once I'm within the detection range).

Correct?

Re: Stealth Boy

Posted: Mon Oct 29, 2018 4:24 am
by NovaRain
Many mechanisms in FOnline are different from the vanilla game.
A more accurate article about Stealth mechanism is available on falltergeist's GitHub page.

Re: Stealth Boy

Posted: Mon Nov 12, 2018 11:42 pm
by Muttie
I tested a little in game, and there is a lot more to experiment with.

Anyway for the time being there is one question regarding the article:

It says:
If target is in front of the watcher...range increased about 3 times
But in the following example,
How tested:...one person (PE 7)...Result ranges: 35 tiles from the front w/o using sneak
it turns PE 7 into 35 (which is (7*3)+14 or 7*5 times). Not sure what the “unmentioned” factor is (day-light, empty map etc.?) or if “3 times” in the first example is a typo and should say “5 times”?

Re: Stealth Boy

Posted: Fri Nov 16, 2018 12:18 am
by Muttie
There are a lot of elements not covered actually.
For example, the effect of objects on LoV (detection range) which also seems to be different to LoF (line of fire), i.e. some objects block the LoV but not the LoF.
Or the ability to leave combat, which also appears to behave differently. For example, it seems as if characters are more “alert” in combat, i.e. objects do not block their LoV, instead they do follow around corners and such, even if they currently can't see the player. Also when firing at a NPC while undetected, that NPC seems to detect the player and returns fire or approaches towards the player's position, while other NPCs only run towards the attacked NPC it seems.

It's a bit of a pity really. Sneak has a lot of potential, especially as a combat skill, but the mechanic is so weird, it seems impossible to use reliably.
Starting with the game failing to communicate that there are two sneak modes. A “normal” one and a “successful” one. It's just silly to toggle sneak on/off to check if leaving combat suddenly becomes possible. Or being detected seemingly at random when the game re-rolls sneak, and adjusts the Sneak mode without telling.
Not telling the player the numbers is a theme in Fallout, but game-play wise it makes using mechanics like this rather difficult and obscure.

Anyway, (after a lot of try and error) I managed to reach Rodriguez undetected (requires 100% Sneak and a Stealth Boy, plus I may have got lucky to get past the first Mexican guard on the 2nd floor, i.e. his LoV may have been blocked by a companion. At least, it worked or failed very irregularly, but perhaps my “sneak mode” changed either by reloading or the automatic re-roll, who knows). Either way, there is nothing to do up there, lol. Well, except perhaps looting the place without killing them all.

And I tried a bit of combat. At the camp of Super Mutants it is possible to do some damage by sneaking, firing and then stepping behind the stack of tires (who do block LoF, in opposite to barrels, btw :roll:) to prevent the counter-fire. Then end combat, rinse and repeat. However, I'm not comfortable with that mechanic, i.e. I don't know what to expect most of the times, starting with figuring out behind which objects I can take cover, or knowing exactly when I can or can't leave combat. Besides it needs an attack that can “knock out” the target or some other means to avoid the alerted NPC, but even then it feels like a strategy that can very quickly go sour.

I think there is a lot of room to develop strategies but it's a bit awkward to handle, and it needs a lot of experimenting to figure out how it works, and even then it's still mostly try and error, as the game communicates very little.

For example, during combat it seems as if only the NPC shot at detects me (runs either towards me or returns fire), while any other NPC only runs towards the attack (aka the NPC shot at). However, another time (with MacGyver) it was impossible to leave combat. No matter the distance or sneak skill, MacGyver (once hostile) would always detect me and restart combat. Another time (first ghoul encounter) they were programmed to run towards me once I left combat (which was cool actually, didn't expect the mod to react to that). And last there is the general clunkiness of the mechanic itself, on top of its lack of transparency. So it's really hard to predict how the game will behave or react, making sneak a rather odd instrument. In fact, I'm still not sure what to expect when using it in combat, or how much is possible. For example, in regard to companions, or a melee “hit & disappear” strategy ala Riddick (with high sequence and a lot of AP (Bonus Move)) etc. Lot of potential, but hard to tap into.

Re: Stealth Boy

Posted: Fri Nov 16, 2018 2:37 am
by NovaRain
Muttie wrote:it turns PE 7 into 35 (which is (7*3)+14 or 7*5 times). Not sure what the “unmentioned” factor is (day-light, empty map etc.?) or if “3 times” in the first example is a typo and should say “5 times”?
Yes it's a typo.
The engine logic for checking if target is within watcher's perception range is like this:

Code: Select all

if (target is in front of watcher) {
	perception_range = 5 * watcher_perception;
	if (target has TransGlass_ flag on) { // Stealth Boy effect
		perception_range /= 2;
	}
	if (target == player) {
		if (successful sneak) {
			perception_range /= 4;
			if (player_sneak_skill > 120) {
				perception_range -= 1;
			}
		} else if (sneak mode on) { // unsuccessful sneak
			perception_range = 2 * perception_range / 3;
		}
	}
}
if (distance <= perception_range)
	return 1;
}

// in back of watcher
if (in combat) {
	perception_range = 2 * watcher_perception;
} else {
	perception_range = watcher_perception;
}
if (target == player) {
	if (successful sneak) {
		perception_range /= 4;
		if (player_sneak_skill > 120) {
			perception_range -= 1;
		}
	} else if (sneak mode on) { // unsuccessful sneak
		perception_range = 2 * perception_range / 3;
	}
}
if (distance <= perception_range)
	return 1;
} else {
	return 0;
}
Muttie wrote:For example, it seems as if characters are more “alert” in combat, i.e. objects do not block their LoV
Yes, because as you can see the above function does not check LoV blocking. LoV blocking check is done in caller functions (if within PE range and no LoV blocking = I see you!), but sometimes the engine just calls the above function in combat.

Re: Stealth Boy

Posted: Sat Nov 17, 2018 4:29 am
by Muttie
Thanks, that also answered another question I had :) (i.e. in which order the detection range is reduced, i.e. Sneak or Stealth Boy first, and apparently it's halved (Stealth Boy), then quartered (sneak) and then minus one (for 120% sneak), which can make a difference sometimes.)
i.e. PE 20 is reduced to 1.5 and not 2.