Cataclysm-dda: Vehicle at 32 km/h rams into a little column and ultimitaly breaks ALL parts leaving nothing but ashes

Created on 20 Sep 2018  路  6Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug
i saved my game at storage units wanted to rush to the refugee center and go with my vehicle and ram everything into my way when i accedently rammed into a small column which broke my entire vehicle with me and my NPC still alive and in the same position before it broke apart

To Reproduce
Steps to reproduce the behavior:

  1. drive car and try to ram (i dont know how but it just broke v pics down)
    2.if it didnt work then explain the pics

Expected behavior
should stop since i am moving with a safe "extra" speed probably even ramm me outside without breaking vehicle

Screenshots
ZIP of save
Carboomwaitwhat.zip

1
234
2
214
3
asjd
4
rvas

Versions and configuration(please complete the following information):

  • Windows 10
  • Game Version 0.C-32309-g6e7b56a
  • Graphics version Tiles
  • Mods loaded [ DarkDaysAhead , Mining Mod , More Survival Tools , Classic RogueLike Classes , StatsThroughSkills , Vehicle Additions Pack , Tanks and other Vehicles , Bionic System Mod , Boats , Folding Parts Pack , Filthy Clothing , Makeshift Item Mod , Classes And Scenarios Mod , Disable NPC Needs , NPC Traits , Mytholigal Ryplicas]

Additional context
My RV speed might be between (32 - 48)

i dont know what happened so someone help

(P2 - High) <Bug> Vehicles [C++]

All 6 comments

My guess is that your kernel frame(the part that everyother parts is connected to) got destroyed and all other parts are considered as unconnected thus get destroyed by ludicrous amount of damage too.

If the frame at 0,0 is destroyed, it shifts the vehicle to place the 0,0 frame at a valid location.
It might be possible to make origin selection smarter, e.g. move it as close to vehicle center of mass as possible.

It doesn't necessarily have to be the entire vehicle. Occasionally a crash at low (>40mph) speeds will cause entire single tiles in the front row to disintegrate while the rest of the car suffers no damage. It's very hard to reproduce but since this is a similar issue I thought to leave it here.

I feel like the cure is worse than the disease here. Fixing an exploit that requires you to actively try to use and abuse it by replacing it with code that could cause your entire vehicle to spontaneously explode into shrapnel if you're not careful was maybe not the best thought-out plan?

Did a little testing about this. If you want to shred a car quickly, leave it driving against a pillar of the kind you find at gas stations. That seems to shred cars.

Did some real science on this issue. I set up this test with the map editor:
before

From left to right, we have standard cars lined up against a small column, guard rail, willow tree, and concrete wall tile.

The test consisted of the following:
Setup:
Removed all items from all cars.
Closed all doors on all cars before driving.

  1. Get in the car.
  2. Set the car's speed to 10 mph.
  3. Use Shift+Backslash to wait 30 in game minutes.
  4. Record results.

after
Car 1: Absolutely shredded
Car 2: Beat the guard rail and drove off
Car 3: Didn't beat the tree, but not nearly as damaged
Car 4: Similar to Car 3.

My conclusion is that there's something special about that terrain type that makes it especially damaging to vehicles. That said, it doesn't explain why the constructed vehicle's origin point didn't shift properly, but it does explain what did the damage.

Was this page helpful?
0 / 5 - 0 ratings