Pain Killer 1.3
457
22
457
22
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:
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
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
Poprvé nahráno: 09. září 2024
Poslední aktulizace: 20. září 2024
Last Downloaded: před jedním dnem
21 Komentářů
More mods by GogetaSsj4:
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:
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
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
Poprvé nahráno: 09. září 2024
Poslední aktulizace: 20. září 2024
Last Downloaded: před jedním dnem
what about the olayer though? finding painkillers through medkits when having full health would be dope
Nice
Player version please???!!
@thalilmythos Yes definitely I am working on player as well.
@voodoodres Player options will be added in this script in the upcoming versions
@Daddynnoob Thank you
Brilliant
@CoronaPrime Thank you
Nice mod, is this compatible with your other script, NPC Health and Armor Regeneration?
@Starfox1993 Yes It is compatible
@GogetaSsj4 Cool thanks, great mods.
@GogetaSsj4 This is dope, now I can roleplay as Max Payne to the fullest!
@-EcLiPsE- Thanks Glad you’re loving it, Now you can definitely enjoy playing with Max Payne with those painkillers.
@Starfox1993 Thank you :)
Anyway you could make like a VIP script where if you put a model of a NPC name, they would have guards to protect them. (Like a gang ped having over gang members protecting them, or a random business ped having military protecting them)
Any chance for limited painkillers? I mesn uou gotta admit the medkit idea was neat though
@thalilmythos gradually I will be implementing many more features.
@Burglim vipul script sounds good. Let's see how it turns out
This is quite useful! Finally the AI can have a way to heal themselves properly 😂! They be dyin too quick in the base game haha! Great work GogetaSsj4 🔥💯🤘🐺🔥
@WolfFire23309 Hey WolfFire,Thanks a lot! I'm glad you like it. It's a real pain when your AI buddies keep getting taken down. Hopefully, this will help them stay alive longer.