CleverRaven / Cataclysm-DDA

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

Towing doesn't work #76499

Open Falconinglasses opened 1 month ago

Falconinglasses commented 1 month ago

Describe the bug

As of 14 september version towing doesn't work at all, no matter what you attach to what, you end up with cable overextending and breaking loose.

Attach save file

N/A

Steps to reproduce

Attach anything to anything and try driving.

Expected behavior

Expected 7 ton humvee with v8 to tow away wreck of superbike weighting 233 kg. Ended up *** for an hour, and then used sledgehammer to break it. Then using debug tried to tow anything with anything, nothing worked.

Screenshots

Screenshot_2024-09-17-18-33-11-034_com cleverraven cataclysmdda experimental

Versions and configuration

There is no such thing in my android version

Additional context

How are you supposed to move wrecks in this game?

Falconinglasses commented 1 month ago

Screenshot_2024-09-17-18-50-06-025_com.cleverraven.cataclysmdda.experimental.jpg

However it seems that extra light vehicles can be towed, but my V8 is too weak to tow 20 kilo bike. I guess the only way to move anything that cant move by itself is by smashing it with sledgehammer and then moving individual pieces of scrap.

CoroNaut commented 1 month ago

Unfortunately on my system, I can't reproduce. The v12 i spawned in can tow a cube van no problem. I was even able to get up to 170 before hitting the side of a building and just dying. Perhaps this is android only issue? image

TESTINGONE-trimmed.tar.gz

RenechCDDA commented 1 month ago

@Falconinglasses This absolutely needs a save attached.

Falconinglasses commented 1 month ago

@CoroNaut @RenechCDDA finally i did it, i pulled a save outta here(sorry it took so long, miui isnt very friendly to me and closest pc i can use without breaking a law and breaking into houses is about 70km away)) https://drive.google.com/file/d/1tX4MKiO6Cvv0Su2DCuGWctTI5VSz9l_p/view?usp=drivesdk

PatrikLundell commented 1 month ago

Note that towing only works if the vehicles have enough wheels. You can only tow a fairly limited piece of a wreck if it doesn't have enough wheels. Also note that it's easier to tow wreck parts on comparatively smooth surfaces, such as a road, but the pieces stop to cooperate when getting out onto the grass.

CoroNaut commented 1 month ago

I downloaded your save and tried dragging some wreckage around. If they didn't have enough wheels (like Patrik says), they didn't move. The superbike I hooked up to a v12 went north when I tried towing it south.

I also kind of expect that I should be able to even tow a 42kg electric scooter with only 1 wheel with a v12. But I can't. Any other vehicle with enough wheels gets towed around just fine. I even collided one of the vehicles I was towing into a full wreck, and the wreck moved quite a distance from the impacts before it stopped getting hit by my towed vehicle. Definitely some jank here.

It would be reasonable to cut the power of your engine by even -75% if the towed vehicle doesn't have wheels, not being able to pull them at all is just weird. Bonus points if it makes a dirt trail when you pull vehicles across grass or flowers.

Towing an ice cream cart with its wheels taken off in a test world (1). it went north when I went west... and only snapped when I was about 30 ish tiles away (2). I then put the wheels back on, and it followed me perfectly, but about 10 tiles away rather than 8 (3, 4). Anyway, very strange behavior, and not what I would have expected.

TESTINGONE-trimmed.tar.gz

1. image 2. Untitled 3. image 4. image

Falconinglasses commented 1 month ago

Yeah, by the cooment above is about what is going of with towing in this game, i could add tho, if towing wheeless wreks were to be a thing there could be even a mechanic to damage them further, even sometimes like "Towing cable broke steel frame/*quarterpanel because of overload" Because yes, i can tow a bicycle across the road, but the moment its gets to dirt(perfectly traversable(i van even Grab it and pull it with me)) it acts as a 10000000000 ton ultimate anvil becomes unmovable.