Author Topic: Detection  (Read 2778 times)

0 Members and 1 Guest are viewing this topic.

V1t3r

  • Newbie
  • *
  • Posts: 26
  • Viter Hellmet(Storm mage)
    • View Profile
Detection
« on: October 31, 2012, 11:04:45 AM »
Guys, can you explain to me, how works detection in game? Its just an random chance to detect spikes/teleports or some stats needed for improve detection chance?
Every Ooze() had a maniacal dream: destroy all heavy doors(). Killing oozes you save the door's life XD

Mateusz P-G

  • Hero Member
  • *****
  • Posts: 560
  • Polish Translator
    • View Profile
Re: Detection
« Reply #1 on: October 31, 2012, 03:11:30 PM »
As far as I know, the character's level plays major role
in chances for detecting traps. Other factor is the depth
level of the dungeon in which the trap was generated.

So, knowing how Bjorn usually designs checks/rolls in
Dweller, it's most propably something like 0 to character
level rolled against 0 to trap (depth) level. When the
first number is higher, the trap is detected.

FoV radius (including Ranger's built-in +1 light radius
ability or Lightsource items) has no impact on this either,
as all "detects" are only performed at point-blank range.
« Last Edit: October 31, 2012, 03:56:11 PM by Mateusz P-G »
If you remember the sprites from my avatar, know that you're awesome!

Dweller admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 927
    • View Profile
Re: Detection
« Reply #2 on: November 01, 2012, 05:06:27 PM »
Character level plays a big part. Dungeon level does not affect the chance at all (maybe it should?)

I looked at the code and you detect a trap if a random number between 0 and (4+chr.lvl) is greater than 5.

This means that at level 1 you'll never have a chance to discover a trap. At level 2 you'll have 20% chance. At level 3 you have 33%. Level 4 = ~42%, lvl 5 = 50%, lvl 6 = ~55%, lvl 10 = ~69%, lvl 20 = ~82%.

Mateusz P-G

  • Hero Member
  • *****
  • Posts: 560
  • Polish Translator
    • View Profile
Re: Detection
« Reply #3 on: November 02, 2012, 02:32:16 AM »
Character level plays a big part. Dungeon level does not affect the chance at all (maybe it should?)

Gah, wrong assumptions, oh well.
Anyway - it should totally take depth into equation, so that the
closer to GK's lair, the better "security systems" he's got installed!
;D

How about 0~(4+chr.lvl) vs Depth*2?
(Since first Dungeon lvl is depth 2, it gives 4 on the right side of the
equation, giving 20% chance for lvl 1 chars, kinda sad they got no
chance for now).
« Last Edit: November 02, 2012, 02:38:08 AM by Mateusz P-G »
If you remember the sprites from my avatar, know that you're awesome!

Dweller admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 927
    • View Profile
Re: Detection
« Reply #4 on: November 03, 2012, 10:09:47 PM »
Well, if dungeon depth should be taken into account you might as well skip it all together and say that you always have a 25% chance to detect a trap regardless of depth and character level. Why make stuff too complicated? We could add a passive character perk that increases trap detection chance. And items that help with trap detection. And spells for that matter. Sometimes I feel that I try to complicate Dweller to much and hide key mechanics behind complicated calculations that are hard to understand as a player.

swooboo

  • Jr. Member
  • **
  • Posts: 73
  • Russian/Hebrew Translator
    • View Profile
Re: Detection
« Reply #5 on: December 20, 2012, 10:24:55 PM »
I disagree with you on the "overcomplication" in this case. But I don't think that trap detection
should depend on dungeon level. Rather, consider making the 'easiness of detection' a property
of a trap, and maybe generate 'impossible to detect' traps deeper in the dungeon. Now that would
bring some spice into the game! Also, this makes me think about a good artifact.. But spoilers!