Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dodge direction  (Read 957 times)

Gwahli

  • Escaped Lunatic
    • View Profile
Dodge direction
« on: May 12, 2021, 03:43:18 pm »

If someone dodges a projectile or a trap, is there any bias in the possible direction?
Are all eight directions equal or are cardinals preferred over diagonals?
Does it make any difference if the dodger is moving before instead of standing still?
Logged

DoubleG

  • Bay Watcher
    • View Profile
Re: Dodge direction
« Reply #1 on: May 13, 2021, 06:47:46 am »

In practise it seems that if there's a massive drop into magma or some spikes, or any other deadly obstacle, your dwarfs will dodge onto THAT tile. 9 times out of ten.
Logged

Gwahli

  • Escaped Lunatic
    • View Profile
Re: Dodge direction
« Reply #2 on: May 13, 2021, 08:57:05 am »

I rather try to make gobbos dodge and was pondering the http://dwarffortresswiki.org/index.php/DF2014:Trap_design#Dodge_Me_Trap.
If all eight directions are equal, then the "simple" =
Code: [Select]
........
^^^^^^^^
........
is just as good as the "advanced"
Code: [Select]
........
.^.^.^.^
^.^.^.^.
........
In both cases two of the eight directions provide save landing and six go into the pit.
Logged

DoubleG

  • Bay Watcher
    • View Profile
Re: Dodge direction
« Reply #3 on: May 13, 2021, 11:43:48 am »

I once had a problem with dwarfs dodging off an edge into a volcano, because of falling items. Pretty much all the directions they could dodge in were volcano death tiles, with a wall on the other side. I did notice they tended to dodge mostly directly to the side, so diagonals are PROBABLY not as likely for dodges. I think the four cardinal directions are more likely to be dodged into, unless they are unavailable. So the advanced option MAY be a better design.
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Dodge direction
« Reply #4 on: May 17, 2021, 04:50:57 am »

@Gwahli: Adanced uses diagonals because they take 41% longer to move diagonally, giving more attacks for slower creatures and allowing hitting of faster ones.

a particularly quick goblin has been known to run across a field of weapon traps, not getting hit once.

Gwahli

  • Escaped Lunatic
    • View Profile
Re: Dodge direction
« Reply #5 on: May 18, 2021, 03:24:40 pm »

With the "dodge me" trap they are not supposed to be hit. They are meant to dodge into the pit. You use low quality mechanisms so the traps are easy to dodge even.
Can a fast runner simply avoid all traps without even having to dodge?
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Dodge direction
« Reply #6 on: May 19, 2021, 04:55:22 am »

Yes. Weapon traps take time to fire, so a Peregrine falcon (moves at 1 tile tick at fastest) is harder to hit than a snail man.