Script [STANDALONE][ESX] [QBcore] BleedingEffect

0 Tracked
0 Follower

Mar 3, 2025

19 Mesaj

15 Reaction

0 Solution

3

First Message

No reward!

No reward!

No reward!

No reward!

Joined
Mar 3, 2025
Messages
19
Reaction score
15
Points
3
Location
Netherlands
Credits
173
Watch the Showcase video here

Tebex



  • Configuration Options

    All configurable options are defined in config.lua. Below is a summary of the main settings:

    Debug

    • Config.Debug
      Set to true to enable debug messages in the console; false to disable.
  • Bleeding Mechanics

    • Config.BleedRate
      Description: Health points lost per interval during bleeding.
      Default: 1
    • Config.BleedInterval
      Description: Time in milliseconds between each health reduction/update and ground blood update.
      Default: 1000
  • Particle Effect Settings

    • Config.BloodParticleDict
      Description: Particle dictionary used for blood effects.
      Default: "scr_rcbarry2"
    • Config.GroundBloodParticle
      Description: Particle effect name for blood on the ground.
      Default: "scr_wheel_blood"
    • Config.FaceBloodParticle
      Description: Particle effect name for blood on the player's face.
      Default: "scr_wheel_blood"
    • Config.ChestBloodParticle
      Description: Particle effect name for blood on the player's chest/clothes.
      Default: "scr_wheel_blood"
    • Config.FaceBoneIndex
      Description: Bone index where the face blood effect is attached.
      Default: 12844
    • Config.ChestBoneIndex
      Description: Bone index where the chest blood effect is attached.
      Default: 24816
  • Disorientation Settings

    • Config.DisorientationThreshold
      Description: Player health below which disorientation (camera shake) is applied.
      Default: 50
    • Config.DisorientationIntensity
      Description: Intensity of the camera shake effect.
      Default: 1.0
  • Damage Threshold Settings

    • Config.HitThresholdForShot
      Description: Number of valid shot (non-melee) damage events required to trigger bleeding and the injured walk effect.
      Default: 3
    • Config.HitThresholdForMelee
      Description: Number of melee (punch) damage events required to trigger bleeding (face wounds are applied).
      Default: 2
  • Injured Walk & Slow Run

    • Config.InjuredWalkAnimSet
      Description: Animation clipset used for the injured (curved) walk. You can try different variations (e.g., "move_m@injured", "move_m@injured@a").
      Default: "move_m@injured"
    • Config.SlowRunHealthThreshold
      Description: Health threshold below which the slow run effect is enforced.
      Default: 150
    • Config.RunSpeedMultiplier
      Description: Movement speed multiplier applied when health is below the slow run threshold.
      Default: 0.7 (70% of normal speed)
  • Ground Blood Behavior

    • Config.ForceGroundBlood
      Description: If true, ground blood effects will be spawned even if player coordinates are (0,0,0).
      Default: true
  • Face Wound Overlay (for Melee Damage)

    • Config.FaceWoundOverlayType
      Description: Head overlay type used for displaying wounds (commonly 0 for blemishes).
      Default: 0
    • Config.FaceWoundOverlayValue
      Description: Specific overlay value to use for wounds; adjust to achieve your desired texture.
      Default: 1
    • Config.WoundHealingTime
      Description: Total time in milliseconds for wounds to fully heal after bandaging.
      Default: 180000 (3 minutes)
    • Config.WoundHealingInterval
      Description: Interval in milliseconds between healing steps.
      Default: 5000
 

Topics

5,143

Messages

8,730

Members

50,019

Latest member

Rambotronado113

Top