Raised This Month: $ Target: $400
 0% 

L4D2 - restore health to bots


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Austin
Senior Member
Join Date: Oct 2005
Old 03-01-2022 , 02:38   Re: L4D2 - restore health to bots
Reply With Quote #2

You can use my set heath plugin to force the health amount when any players spawns into the map.
https://forums.alliedmods.net/showthread.php?t=151738

The plugin compiled.
https://www.sourcemod.net/vbcompiler.php?file_id=192029

Ther are two setting and for what you are doing you wil want
abs_l4d2_StartingHealthTimePeriod
set to some high value that would be at least as long as the longest map time like 20 minues or 1200 seconds


// Sets the health of the survivors at map start or at any spawn depending if the time below has expired
abs_l4d2_StartingHealth 100

// Set the time period in seconds after map start
// to set survivors health when you take over a bot
abs_l4d2_StartingHealthTimePeriod 1200

Last edited by Austin; 03-01-2022 at 02:44.
Austin is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode