CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.7k stars 4.2k forks source link

Riding on a bicycle from the roof (don't ask) leaves you floating in the air #57720

Open Night-Pryanik opened 2 years ago

Night-Pryanik commented 2 years ago

Describe the bug

Aside from what's in the title, bicycle is placed underground, not on the ground.

Steps to reproduce

  1. Somehow get a bicycle on the roof of some building.
  2. Additional: put your trusty dog in a wire basket - in the name of the science, of course!
  3. Make a clear path by smashing the gutters (if applicable).
  4. Ride the bicycle and move to the edge of the roof and beyond.
  5. Observe bicycle has fallen down to -1 z-level (the soil level), and that bicycle is mostly undamaged.
  6. Observe you're floating in the air, despite message log says You fell down a ledge!.
  7. Observe your trusty dog has fallen too.

Expected behavior

  1. Bicycle should fall down to the ground level, like all other vehicles do (at least when I tested the same situation with a car, it correctly landed down on ground level).
  2. Bicycle should take "normal" damage from the falling, like all other vehicle do.
  3. Player character should fall down too.

Screenshots

Starting disposition изображение

After my bicycle (and my dog) has fallen down изображение

Location of bicycle изображение

Versions and configuration

Windows 10 x64, 0.F-8389.

Additional context

No response

PatrikLundell commented 2 years ago

How are the following vehicles treated?

What I'm looking for here is something that might help figure out why different vehicles are treated differently. The presence of an engine or motor might be one aspect, and the absence of human power might be another, while two wheels might be a third.

Night-Pryanik commented 2 years ago

Electric bicycle: player is floating in the air. Normal motorcycle: player is floating in the air. On high speed the motorcycle is floating in the air too. изображение

Electric scooter: on low speed player is floating in the air. On high speed player is falling down. Normal scooter: player is floating in the air.

PatrikLundell commented 2 years ago

Hm. Didn't exactly narrow it down... What about a three wheel MC (i.e. one which a side carriage) or a quad? Could a roof be the distinguishing factor?

(And thanks for performing the experiments!).

Night-Pryanik commented 2 years ago

Quad bike: at 12 km/h player is floating in the air. At 64km/h player is falling down. Motorcycle with a sidecart: at 12 km/h player is floating in the air. At 64km/h player is falling down.

Seems like the speed plays some role in here.

Could a roof be the distinguishing factor?

Could you please elaborate?

PatrikLundell commented 2 years ago

Ah, sorry. We're starting on a roof, but I was thinking of the vehicle having a roof. All of the vehicles that leave you in the air are lacking roofs as vehicle parts.