NoDecay

Scales or disables decay of items, and deployables.

Total Downloads: 25,072 - First Release: Jun 25, 2015 - Last Update: Jul 13, 2018

5/5, 54 likes
  1. On the config, what does the multiplier mean? does setting it to 0 make it not decay? and 1 make it decay?
     
  2. I'm simply multiplying the amount of damage that was going to be applied by that number. If you set it to 1, you are doing damage * 1 so not affecting damage. If you set it to zero you are doing damage * 0, cancelling the damage. You could set it to 2 and it would do damage * *2, doubling normal decay damage, etc.

    The value can be floating point, so you can do 0.5 and this will amount to halving the damage, or 0.3 to reduce by 70% the damage, etc.
     
  3. ok, thanks I thought so
     
  4. Can you explain the numbers pertaining to the multiplier?

    0 = no decay?
    0.5 = half decay?
    1 = normal decay?
     
  5. That's exactly it. You could even set it to 2 to double the normal decay ratenif you wanted. Also note that entity health is a floating point number, a wall can have 345.4287039 health for instance.. The decay damage is usually non-integer (except for campfires which decay 1 hp at a time).
     
  6. Deicide666ra updated NoDecay with a new update entry:

    1.0.3

     
  7. Using Dev Branch:

    Code:
    [Info] [NoDecay] Unsupported decaying entity detected: campfire_deployed.prefab --- please notify author
    Maybe you should change

    Code:
    entity.LookupShortPrefabName() == "campfire_deployed"
    to

    Code:
    entity.LookupShortPrefabName().StartsWith( "campfire_deployed" )
     
  8. Ty will update tonight
     
  9. With new update (even though you're aware)
    (13:41:55) | [Oxide] 10:41 AM [Info] [NoDecay] Unsupported decaying entity detected: campfire_deployed.prefab --- please notify author
     
  10. Wulf

    Wulf Community Admin

    Try the attachment below until the author updates.
     

    Attached Files:

  11. No messages so far. Ty!
     
  12. Yeah, got that too:
    Code:
    Unsupported decaying entity detected: campfire_deployed.prefab
     
  13. Wulf

    Wulf Community Admin

  14. Yeah cheers Wulf...
    [DOUBLEPOST=1438885836][/DOUBLEPOST]How you getting on with the IO
     
  15. Hi, first of all: Great work!

    I got this Message from my Server today:

    cheers, Sin
     
  16. Wulf

    Wulf Community Admin

  17. Thanks but i dont know how to upload any .cs File on a Multiplay-Server :)
     
  18. Wulf

    Wulf Community Admin

    The host would need to.
     
  19. Edit: Okay i got an Email, they have updated it.
     
    Last edited by a moderator: Aug 6, 2015
  20. After latest Rust update I am getting this error in console:-

    Code:
     Unsupported decaying entity detected: campfire_deployed.prefab --- please notify author
    Everything else regarding the plugin seems to be working fine :)