Blockland Forums > Modification Help
Changing fall damage
(1/2) > >>
Deathwishez:
Hey, I need to change the fall damage speed from 30 to 150.

How would I do that? I don't need it for every playertype, just one.
Chrono:
For future reference, tree(); is your best friend for finding every value on a datablock/object.

.minImpactSpeed is what you're looking for, even though with .upMaxSpeed being 80, they'll never reach that 150.
Deathwishez:
Okay, thanks.

Also, I'm changing a bunch of values that would cause the player to reach 150 just as easily as a regular player.
Chrono:
You'll have to change the maximum speeds, such as .upMaxSpeed, .upResistSpeed, .upResistFactor, .horizMaxSpeed, .horizResistSpeed, and .horizResistFactor

For a full list of values, either do .dump(); on a datablock, or use tree(); and search for a datablock in DatablockGroup
Greek2me:
Would this be for your 0gravity player?
Navigation
Message Index
Next page

Go to full version