Questions about modifying robber encounters

xuchixuchi

First time out of the vault
Everyone should be aware of the random cave encounters in which you will have different enemies inside, including the robbers that are actually carrying the best weapons on the mainland(They're the only random encounter enemies that can carry the turbo plasma rifle, the gauss rifle and the YK42B rifle). The chance to bump into them seems to be 1/13, and there's a luck check that need passing. Can anyone tell me the name of the script file for this? I'd like to enhance the chance for a "robbery".
In addition, I notice the soldiers carrying gauss rifle and vindicator in enclave base. Is there a way to get them into random encounters? I can't locate their pro and script number.
Thanks in advance.
 
Are you sure there's a luck check for finding a Robber cave? I am nearly positive there isn't, as I very frequently play low-luck characters, and to the best of my memory, always find robbers in caves. You mention a 1/13 chance...let's see, if memory serves, you can either find the cave full of:

1.Nothing
2.Scorpions
3.Mutated Pigrats
4.Geckos of mixed variety
5.Immature Deatchlaws
6.Cavern Geckos (my term for the Fire Geckos with no Flame Breath, only found in caves)
7.Mutated Molerats
8.Robbers

Unless I am missing something, that's a 1/8 (12.5%) chance.

Another little nitpick: These robbers are not the only random encounter with M72 Gauss Rifles. Another one is Bounty Hunters (when you're at a high level), though it requires playing an evil character.
 
ocelot said:
Are you sure there's a luck check for finding a Robber cave? I am nearly positive there isn't, as I very frequently play low-luck characters, and to the best of my memory, always find robbers in caves. You mention a 1/13 chance...let's see, if memory serves, you can either find the cave full of:

1.Nothing
2.Scorpions
3.Mutated Pigrats
4.Geckos of mixed variety
5.Immature Deatchlaws
6.Cavern Geckos (my term for the Fire Geckos with no Flame Breath, only found in caves)
7.Mutated Molerats
8.Robbers

Unless I am missing something, that's a 1/8 (12.5%) chance.

Another little nitpick: These robbers are not the only random encounter with M72 Gauss Rifles. Another one is Bounty Hunters (when you're at a high level), though it requires playing an evil character.


That "nothing" is actually the result of failing the luck check. At least a lot of people think that way.

And I don't know the details about the 13, only saw it somewhere else.

And I did forgot about the Bounty Hunters since I didn't get my karma that low even when playing as a devil. My bad.
 
The rate of random encounters is not script-driven. You have to edit the worldmap.txt file in data/data. Read this tutorial for more information on how to do that.

Hope this helps.
 
Ardent said:
The rate of random encounters is not script-driven. You have to edit the worldmap.txt file in data/data. Read this tutorial for more information on how to do that.

Hope this helps.

WORLDMAP.TXT do not determine what happens in the cave. At least I didn't find anything related to it.Thanks anyway.
 
Wow, a triple-post :)

xuchixuchi said:
WORLDMAP.TXT do not determine what happens in the cave. At least I didn't find anything related to it.Thanks anyway.

OK, I thought this was done differently and I didn't check, my bad. Anyway, the code you're looking for is in the map script, so e.g. cave01.int, although the meat of the script is defined in its header file, CVGENENC.H.
The chance of the robber encounter is indeed 1 in 13, but you can change it in the Choose_Encounter procedure. The Luck roll that you were talking about is also there.
 
IIRC, bounty hunter require you to be childkiller, not to have bad karma; kill a kid and you're good to go.
 
What kind of Luck roll is it? As I mentioned, I'm nearly sure I've always been able to find robbers sooner or later regardless of my Luck. Does it require good or bad luck to find a robber cave anyway? It's easily the most dangerous thing you can run into inside a cave.
 
ocelot said:
What kind of Luck roll is it? As I mentioned, I'm nearly sure I've always been able to find robbers sooner or later regardless of my Luck. Does it require good or bad luck to find a robber cave anyway? It's easily the most dangerous thing you can run into inside a cave.
Code:
if (is_success(do_check(dude_obj, 6, 0))) then begin
Good luck. It checks your luck stat against 10. With luck 10 you will pass every time and with luck 1 only 10 % of the time.
 
Darek said:
ocelot said:
What kind of Luck roll is it? As I mentioned, I'm nearly sure I've always been able to find robbers sooner or later regardless of my Luck. Does it require good or bad luck to find a robber cave anyway? It's easily the most dangerous thing you can run into inside a cave.
Code:
if (is_success(do_check(dude_obj, 6, 0))) then begin
Good luck. It checks your luck stat against 10. With luck 10 you will pass every time and with luck 1 only 10 % of the time.

And can you tell me which script file contains this line?
 
Can this encounter be found on any square of the map, or just in some? Is there any nice part of the map where one can focus the search for it?
 
Back
Top