Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Vehicle Too Heavy for Engines #22118
Game version: 6841 and 6846
Operating system: Windows 10
Tiles or curses: Tiles
Vehicles should move as expected
10000 pound vehicle with 2 V8 engines will not move due to 'being too heavy for its engines'. This occurs even after editing to change displacement on V8 engines to 10000 from 650.
Steps to reproduce the behavior
Not sure, I had a Mobile Meth Lab van that I was replacing frame parts (from normal frame to HD frame with HD boards and Military Composite plating) -- somewhere in this process this issue happened.
When you start the car's engines, the game checks the vehicle cache to see if you are still in a car when your action finishes. The car is not being found in the cache, and the too heavy message is the default response for failing to find the car (no car, no engines). My guess is that when you removed the frame where the initial point of the car was (where the cursor is when you examine a car), the game readjusts the initial point to the corner of the car, but it updated the internal vehicle x/y coordinates incorrectly (flipped x/y?).
Driving should not update the location checked. Its position is calculated on unrotated vehicle.
Traction can never drop vehicle acceleration to 0 (currently hardcoded to avoid painful accidents), meaning this message must mean that
Note that the "engines too heavy" message does not happen in any other case. If this message is printed, it implies that
The placement location is pointing to the red circled location on the image.
Separately, testing with freshly spawned
I think you can demonstrate another instance of this bug by having a vehicle face north, removing the parts in the center of the vehicle, and then driving it and turning it away from north and turning it off. The vehicle will probably fail to start.
IMHO, one solution would be to store the global position of an engine part in the activity instead. This would ensure the placement always refers to an existing part of the vehicle.