[Release] LX Damages | Bone Location Damage | Instant Headshots

LX Damages :bomb: :drop_of_blood: - Get it on Tebex | £7 (Exc VAT)


LX Damages is a resource that processes damages based on body location, including realistic headshots, implementing proper body location damage.


Showcase Video

Embedded Video


Features

General

  • Any bullets hitting your (skull, face, neck, ear, jaw, etc), will completely kill your player.
  • Bullets hitting any part of you that isn’t your chest when wearing body armour, will no longer remove your body armour, it will remove from your health. However, if you are shot in the chest, it will of course remove from your body armour.

Performance

The resource doesn't exceed 0.01ms, since the v1.1.0 update.

Installation & Usage

  1. Purchase the resource from tebex.
  2. Wait until your receive the download in your email, or access it via your purchased assets in the keymaster
  3. In your server.cfg add ensure lx_damages to it, so the resource starts.

Check out our free resources:

[Release] LX Security | CCTV Camera Menu | Ace Permissions | Rotating/Zoom/Scrolling

2 Likes

Why does this script use a thread to check for damage when intercepting game events is just as reliable and doesn’t use nearly as much CPU time?

Yes, we are using a thread, but the tick count is only running every tick, when you’re damaged until your damage is processed, which takes 1 second, 2 at most, on rare cases, and then goes back to 0.01ms. if you really want to use a game event feel free, but it doesn’t cause any significant CPU time or effect, therefore we don’t need to.

Of course, we could have used game events, but it wasn’t really necessary, we may change this in the future, but as of right now, there is reason to.

We do appreciate your input :slight_smile:

v1.0.1 Update


  • Updated the JSON config to only support instant headshots, as this was requested in our Discord.

v1.1.0 Update


  • Changed the damaging system from the thread running every tick to using game events.
    Thanks to @distritic for suggesting this.
  • Optimized and sped up the memory storing and processing, no longer show your armor removing before, restoring it, and removing that value from your health.
  • I’ve looked into the onesync syncing issue, I couldn’t seem to reproduce it, after implementing POSSIBLE fixes.

NOTE: Performance is now incredibly improved, resmon very rarely exceeds 0.01ms, when it does hit it.


Preview

v1.1.1 Update


Fixes

  • Fixed the When you hit an animal, there is a get bone bug error, as it shouldn’t be running on any animals regardless.

What happens when a players wears a helmet?

1 Like

Would like to know this also

Hello, is it possible to to turn of headshot by fists?
its not every time but sometimes a person will just get one tapped by a fist