Author Topic: Disabling fall damage  (Read 937 times)

0 Members and 1 Guest are viewing this topic.

aphexjh

  • Full Member
  • ***
  • Posts: 125
  • Karma: +7/-0
    • View Profile
    • hallowed mod
Disabling fall damage
« on: January 04, 2016, 02:06:38 AM »
Hi guys. How do I disable falling damage? Is there a value I can adjust in the player def which controls the fall damage? Thanks.

Radegast

  • Newbie
  • *
  • Posts: 27
  • Karma: +3/-1
  • Alpha Labs scientist
    • View Profile
    • ET: Legacy
Re: Disabling fall damage
« Reply #1 on: January 04, 2016, 04:42:54 AM »
You can disable the fall damage in the base/def/damage.def file:

Code: [Select]
entityDef damage_softfall {
"damage" "0"
}

entityDef damage_hardfall {
"damage" "0"
}

entityDef damage_fatalfall {
"damage" "0"
}

aphexjh

  • Full Member
  • ***
  • Posts: 125
  • Karma: +7/-0
    • View Profile
    • hallowed mod
Re: Disabling fall damage
« Reply #2 on: January 04, 2016, 02:54:28 PM »
Thank you Radegast  :)