Načítání...

Pain Killer 1.3

Stáhnout

1.191

Description:

The PainKiller script designed to enhance NPC behavior by allowing them to use painkillers when their health drops below a certain threshold. This mod simulates a realistic response to injury by giving NPCs a chance to recover health through painkillers, adding a dynamic element to the game.

Changelogs:
1.0
-Initial Release.

1.1
-Added Player Support.
-Reduced Animation Duration by 50%

1.2
-Added Screen Effects and Slow-Mo when player eats Painkiller.

1.3
-Performance Optimization.

Key Features:

  • Painkiller Activation for NPCs:
    • Configurable Settings: NPCs can use painkillers based on customizable settings including regeneration amount, cooldown time, and invincibility duration.
    • Health Threshold: Painkillers are activated when NPC health drops below a configurable percentage or if the NPC is injured.
    • Specific NPC Settings: Customize painkiller effects for specific NPCs based on their model.
    • Cooldown Management: Ensures NPCs cannot use painkillers continuously by managing cooldown times.

  • Player Painkiller Mechanics:
    • Automatic Use: Players can automatically use painkillers when health goes below the threshold.
    • Regeneration and Invincibility: Painkillers restore a percentage of health and provide temporary invincibility.
    • Cooldown and Duration: Configurable cooldown and invincibility duration for painkillers.
  • Animation and Effects:
    • Painkiller Animation: NPCs and players will play a specific animation when using painkillers.
    • Health Restoration: Painkillers restore health based on a percentage of the maximum health.
    • Invincibility: Provides temporary invincibility, making the player or NPC immune to damage for a short period.
  • Configuration Options:
    • INI File Configuration: All settings, including regeneration amounts, cooldowns, and activation thresholds, are customizable through an INI file.
    • Player and NPC Settings: Separate configurations for player and NPC painkiller effects to tailor the experience as desired.
  • Performance Considerations:
    • Efficient Handling: The script manages NPC and player painkiller effects efficiently to minimize performance impact.
    • Animation Loading: Handles animation loading to ensure smooth playback during painkiller use.



INI Options:
PainKillerEnabled: Toggle the entire painkiller functionality on or off.
PainKillerForEveryone: Apply the painkiller logic to all NPCs or only to specific NPCs defined in the settings.
PainKillerRegenAmount: Specifies the percentage of health restored by the painkiller.
CooldownSeconds: The cooldown period in seconds before an NPC can use painkillers again.
GodModeDurationSeconds: Duration for which the NPC is invincible after using a painkiller.
PainKillerActivationThreshold: Health percentage threshold below which painkillers can be activated.
NPC-specific Settings: Customizable settings for different NPC models.
Player Settings: Customizable settings for Player Character.

Installation:
-Place the all files into your scripts folder.
-Edit the PainKiller.ini file to configure NPCs.
-Launch the game and enjoy!

Requirements:
-Script Hook V
-Script Hook V .NET
Show Full Description

Poprvé nahráno: 09. Září 2024
Poslední aktulizace: 20. Září 2024
Last Downloaded: před 6 dny

All Versions

 1.3 (current)

675 stažení , 5,0 KB
20. Září 2024

 1.2

250 stažení , 5,0 KB
10. Září 2024

 1.1

96 stažení , 5,0 KB
10. Září 2024

 1.0

165 stažení , 4,0 KB
09. Září 2024

22 Komentářů