Jagged Alliance 3

Jagged Alliance 3

View Stats:
How does lockpicking work?
Is it a chance based on your skill, calculated each time you try, or is it just "If your mechanical skill is above this number you'll get the door on your first try"..?

I've been savescumming a bit trying to figure this out, and it looks like it's option two, which is a strange choice to me.

Anyone else know for certain?
Originally posted by LotR[Henchman]:
If i'm not misreading the code:

Don't know the usual number, the game has difficulty settings defined in:
const.DifficultyPresetsNew , which i think are set by the map designers.
None = 0
Easy = 30
Medium = 50
Hard = 70
Very Hard = 90
Always = 100
Impossible = -1 (will be checked before any other check and automatically fail the check).

On top of that there's an additional difficulty (which can be random):
additionalDifficulty = InteractionRand(20, "Lockpick") / 2
Which, if i'm not misreading the InteracterionRand function, should add up to 10 more points, as the maximum would be 20 and we half that.

Now the check itself first looks if the tool has a bonus for the skillcheck (it's a negative number, as it lowers the difficulty).
Vickies tool = -10
The-Sci-Fi Crowbar = -15
Everything Else = 0

Then it adds the Difficulty from above (so e.g. "hard" = 70; + additional Difficulty of 10 => 80).

Now it looks if the Merc got the MrFixit Perk, which gives a whopping 15 bonus and substracts that from the difficulty.
Mr.Fixit = -15

Now it does the SkillCheck(unit, "Mechanical", difficulty) - which has no roll and just looks if the Merc Skill is greater than the difficulty.
If you fail by more than 20 points then the lock will get blocked.

Hope i didn't misread anything, let us know if so.
< >
Showing 1-2 of 2 comments
Twelvefield Oct 3, 2023 @ 10:36pm 
It's both. You probably won't have any success below 70. I guess it's remotely possible, but 70 seems to be the base for skill checks.

Even with high skill (say 90), there's still a fail chance. I imagine a theoretical 100 could fail, but again the possibility is remote. Not much need to push a skill past 90.
The author of this thread has indicated that this post answers the original topic.
LotR[Henchman] Oct 3, 2023 @ 11:50pm 
If i'm not misreading the code:

Don't know the usual number, the game has difficulty settings defined in:
const.DifficultyPresetsNew , which i think are set by the map designers.
None = 0
Easy = 30
Medium = 50
Hard = 70
Very Hard = 90
Always = 100
Impossible = -1 (will be checked before any other check and automatically fail the check).

On top of that there's an additional difficulty (which can be random):
additionalDifficulty = InteractionRand(20, "Lockpick") / 2
Which, if i'm not misreading the InteracterionRand function, should add up to 10 more points, as the maximum would be 20 and we half that.

Now the check itself first looks if the tool has a bonus for the skillcheck (it's a negative number, as it lowers the difficulty).
Vickies tool = -10
The-Sci-Fi Crowbar = -15
Everything Else = 0

Then it adds the Difficulty from above (so e.g. "hard" = 70; + additional Difficulty of 10 => 80).

Now it looks if the Merc got the MrFixit Perk, which gives a whopping 15 bonus and substracts that from the difficulty.
Mr.Fixit = -15

Now it does the SkillCheck(unit, "Mechanical", difficulty) - which has no roll and just looks if the Merc Skill is greater than the difficulty.
If you fail by more than 20 points then the lock will get blocked.

Hope i didn't misread anything, let us know if so.
Last edited by LotR[Henchman]; Oct 3, 2023 @ 11:51pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Oct 3, 2023 @ 4:44am
Posts: 2