Fall Damage?

Discussion in 'Modifications' started by Stubbsy, Dec 12, 2014.

  1. Stubbsy

    Stubbsy Contributor

    In BasePlayer.cs, why doesn't this work when I set it to false? I remember when it would work, but now it's not.
    takesFallingDamage = false;

    In fact, any editing in that file doesn't work... Any reason why?
    Last edited: Dec 12, 2014
  2. Fixious

    Fixious Test Lead

    Can't remember how to remove fall damage, however if you set isInvincible = true; on line 180 it'll work (you won't take damage from anything).
  3. Stubbsy

    Stubbsy Contributor

    Changes in that file don't do anything. I don't understand why?
  4. Jordahan

    Jordahan World Leader of The 21st Century

    If you make the change in game, and not in .cs file, it'll work, had lots of fun with that and Prometheus.
  5. Stubbsy

    Stubbsy Contributor

    I'm sorry. Not entirely sure what you mean?
  6. Stubbsy

    Stubbsy Contributor

    Ohh, I got it.
    Last edited: Dec 12, 2014
  7. Belberith

    Belberith Legions Developer

    It's because most of the values in BasePlayer are overwritten by the correct class-specific values in OutriderPlayer, etc when loading, but not during runtime.
    Stubbsy likes this.
  8. 57thEnryu

    57thEnryu Member

    yeah when I ran my unlimited jets/od server I only changed the [classname]player.cs file.
    Stubbsy likes this.