Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upFoot crank not powerful enough. #18114
Comments
This comment has been minimized.
This comment has been minimized.
|
I agree. with gears a bike can move 300+ lbs uphill. |
Coolthulhu
closed this
in
#18226
Sep 9, 2016
This comment has been minimized.
This comment has been minimized.
|
You will have to re-open this, as testing revealed that simply increasing the power of foot pedals does not change the ability to pedal a bicycle under load. I had intended to expand that pull request beyond a simple power tweak, but I was unable to figure out where in the source the code would be. It turns out that some hard-coded element is not making it respect how much weight the character can drag. |
This comment has been minimized.
This comment has been minimized.
|
The issue might be in part the relationship between speed/maxspeed and power. the max speeds for vehicles in this game have historically been kind of absurd, and I suspect pedal power is balanced off more sane speeds |
This comment has been minimized.
This comment has been minimized.
|
As I stated in the pull request, testing revealed that increasing the power failed to make the bicycle behave sanely in relation to whether it could be dragged. |
This comment has been minimized.
This comment has been minimized.
|
yea... if you up your strength enough with debug you can break the speed of sound with a wheel chair. |
This comment has been minimized.
This comment has been minimized.
|
DangerNoodle (great name), I was commenting on the issue that arises if the hard limit is removed. dug some more and found some various code for acceleration and aerodynamics and such that I can't quite figure out, seems like it increases k_aerodynamics by the number of parts on a vehicle (on the front of the vehicle?) up to 13(capped...?) but I couldn't find any indication of velocity squared anywhere along the line. edit: not sure how to keep the newlines in the code section edit2: looks like rolling resistance also increases non-linearly with speed, though not as much on normal roads as air resistance does. |
This comment has been minimized.
This comment has been minimized.
|
Ah, I see. Not sure how to go about handling the idea overall. If you are better able to handle it, that would be excellent. |
Soyweiser commentedAug 24, 2016
Per: http://smf.cataclysmdda.com/index.php?topic=13104.0
"Behaviour: Modifying a bicycle to switch in a Cargo Space and some cargo from inventory produces the report "Bicycle is too heavy for its engines!" and prevents acceleration.
Expected behaviour: Since the bicycle is still light enough for the player to drag (133kg at 223 movement cost on a diagonal), and a foot crank is ostensibly more efficient than walking+dragging, it appears that the weight limit on it is drastically too low, particularly considering pedicabs can easily carry 2+ passengers for an easy 100kg+ payload to transport.
This may be related to the undervalued weight limit on pushing/pulling wheeled vehicles, since in reality pushing a two tonne vehicle to the gas station is very achievable, while in Catacylsm a 250+kg motorbike is "too heavy to shift" for an average strength human."