Raised This Month: $32 Target: $400
 8% 

[L4D2] Health Glows (1.0.1, 07/02-2011)


Post New Thread Reply   
 
Thread Tools Display Modes
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-28-2021 , 15:36   Re: [L4D2] Health Glows (1.0.1, 07/02-2011)
Reply With Quote #71

Quote:
Originally Posted by Marttt View Post
If you want to change glow settings, change the code lines below recompile.

Most of the glow settings are defined here:

Spoiler
If you prefer the original glow settings, change it to the values below:
Spoiler
__________________

Last edited by Marttt; 03-01-2021 at 08:12.
Marttt is offline
WhatsAnName
Member
Join Date: Jun 2018
Old 02-28-2021 , 15:47   Re: [L4D2] Health Glows (1.0.1, 07/02-2011)
Reply With Quote #72

its working just fine thank you.

Last edited by WhatsAnName; 02-28-2021 at 15:53.
WhatsAnName is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 02-28-2021 , 21:59   Re: [L4D2] Health Glows (1.0.1, 07/02-2011)
Reply With Quote #73

Thank you Marttt for updating/consolidating this plugin. I found the colors far too bright, so I compiled with these settings...

Code:
#define GLOW_HEALTH_HIGH_TYPE L4D2_IsSurvivorGlowDisabled() ? L4D2Glow_None : L4D2Glow_Constant
#define GLOW_HEALTH_HIGH_RANGE 0
#define GLOW_HEALTH_HIGH_MINRANGE 0
#define GLOW_HEALTH_HIGH_COLOR_R 0
#define GLOW_HEALTH_HIGH_COLOR_G 64
#define GLOW_HEALTH_HIGH_COLOR_B 0
#define GLOW_HEALTH_HIGH_FLASHING false

#define GLOW_HEALTH_MED_TYPE L4D2_IsSurvivorGlowDisabled() ? L4D2Glow_None : L4D2Glow_Constant
#define GLOW_HEALTH_MED_RANGE 0
#define GLOW_HEALTH_MED_MINRANGE 0
#define GLOW_HEALTH_MED_COLOR_R 72
#define GLOW_HEALTH_MED_COLOR_G 72
#define GLOW_HEALTH_MED_COLOR_B 0
#define GLOW_HEALTH_MED_FLASHING false

#define GLOW_HEALTH_LOW_TYPE L4D2_IsSurvivorGlowDisabled() ? L4D2Glow_None : L4D2Glow_Constant
#define GLOW_HEALTH_LOW_RANGE 0
#define GLOW_HEALTH_LOW_MINRANGE 0
#define GLOW_HEALTH_LOW_COLOR_R 80
#define GLOW_HEALTH_LOW_COLOR_G 0
#define GLOW_HEALTH_LOW_COLOR_B 0
#define GLOW_HEALTH_LOW_FLASHING false

#define GLOW_HEALTH_THIRDSTRIKE_TYPE L4D2_IsSurvivorGlowDisabled() ? L4D2Glow_None : L4D2Glow_Constant
#define GLOW_HEALTH_THIRDSTRIKE_RANGE 0
#define GLOW_HEALTH_THIRDSTRIKE_MINRANGE 0
#define GLOW_HEALTH_THIRDSTRIKE_COLOR_R 64
#define GLOW_HEALTH_THIRDSTRIKE_COLOR_G 64
#define GLOW_HEALTH_THIRDSTRIKE_COLOR_B 64
#define GLOW_HEALTH_THIRDSTRIKE_FLASHING true
With these setting, green is barely perceptible (except in dark places), yellow is noticeable, red is a little brighter but still not bright, and black&white/thirdstrike actually flashes black and white, but at a lower brightness so it is not obnoxious.

If anyone wants it, here is the source and a compiled version.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2healthglow.sp - 206 views - 22.3 KB)
__________________
Mystik Spiral is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-01-2021 , 08:11   Re: [L4D2] Health Glows (1.0.1, 07/02-2011)
Reply With Quote #74

Updated my post with less brighter colors (50% brightness), as requested, and fixed the HP calculation on temporary health. Added flashing effect on black and white, like Mystik Spiral did.
__________________

Last edited by Marttt; 03-01-2021 at 08:14.
Marttt is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 03-01-2021 , 11:10   Re: [L4D2] Health Glows (1.0.1, 07/02-2011)
Reply With Quote #75

Quote:
Originally Posted by Marttt View Post
Updated my post with less brighter colors (50% brightness), as requested, and fixed the HP calculation on temporary health. Added flashing effect on black and white, like Mystik Spiral did.
Thanks again Marttt for updating this plugin and fixing the temporary health.
If anyone wants the same thing, but with approximately 25% brightness (instead of 50% brightness), see the source and compiled version below.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2healthglow.sp - 390 views - 23.7 KB)
__________________
Mystik Spiral is offline
swiftswing1
Member
Join Date: Oct 2020
Old 06-02-2023 , 10:16   Re: [L4D2] Health Glows (1.0.1, 07/02-2011)
Reply With Quote #76

is it possible to make this compatible with lux's model changer? as in health glows over the silhouette of the model rather than the character itself.
swiftswing1 is offline
Reply



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 19:06.


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