Laddar...

Pain Killer 1.3

Ladda ner
05ee84 painkiller

542

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

Först uppladdad: 9 september 2024
Senast uppdaterad: 20 september 2024
Senast nedladdad: 2 dagar sen

All Versions

 1.3 (current)

281 nerladdade , 5 KB
20 september 2024

 1.2

158 nerladdade , 5 KB
10 september 2024

 1.1

17 nerladdade , 5 KB
10 september 2024

 1.0

79 nerladdade , 4 KB
9 september 2024

21 Kommentarer