Raised This Month: $51 Target: $400
 12% 

[L4D2] Charger Power - Objects Glow (1.7) [27-Jul-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
2980
Plugin Version:
1.7
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
20 
Plugin Description:
Creates a glow for the objects which chargers can move
Old 06-01-2012 , 02:01   [L4D2] Charger Power - Objects Glow (1.7) [27-Jul-2023]
Reply With Quote #1



About:
  • Creates a glow on movable objects only visible to Chargers.
  • Up to 64 prop_physics_override clones are created for the movable props, which are hidden from all players except Chargers.


Thanks:
  • Dont Fear The Reaper. - Many hours testing, finding models, fixing bugs etc.
  • disawar1 - Lots of support testing.
  • bubbabyte - Lots of support testing.


Cvars:

Saved to l4d2_charger_power_glow.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d2_charger_power_glow_allow "1"

// Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d2_charger_power_glow_color "255 0 0"

// How near to props do players need to be to enable their glow.
l4d2_charger_power_glow_range "500"

// Charger Power - Objects Glow plugin version.
l4d2_charger_power_glow_version 

Changes:
Code:
1.7 (27-Jul-2023)
    - Changes to fix warnings when compiling on SourceMod 1.11.

1.6 (15-Aug-2021)
    - Fixed "Cannot create new entity when no map is running" error. Thanks to "noto3" for reporting.

1.5 (13-Aug-2021)
    - Fixed not displaying a glow for all vehicle types. Thanks to "DonProof" for reporting.

1.4 (10-May-2020)
    - Extra checks to prevent "IsAllowedGameMode" throwing errors.
    - Various changes to tidy up code.
    - Various optimizations and fixes.

1.3 (05-May-2018)
    - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.

1.2 (04-Mar-2017)
    - Added "attacker" on moved objects.

1.1 (02-Jun-2012)
    - Support for the "Charger Power" plugins cvar "l4d2_charger_power_push_limit".

1.0 (01-Jun-2012)
    - Initial release.


Installation:
  • Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_charger_power_glow.sp - 242 views - 16.5 KB)
__________________

Last edited by Silvers; 07-27-2023 at 04:50.
Silvers is offline
XDglory
Member
Join Date: May 2012
Old 06-02-2012 , 02:22   Re: [L4D2] Charger Power - Objects Glow (1.0) [01-Jun-2012]
Reply With Quote #2

will glow be removed if the object become unmovable(reach the l4d2_charger_power_push_limit)?
XDglory is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-02-2012 , 02:26   Re: [L4D2] Charger Power - Objects Glow (1.0) [01-Jun-2012]
Reply With Quote #3

Very polite, thank you too, and for not testing 1.1.

1.1 (02-Jun-2012)
- Support for the "Charger Power" plugins cvar "l4d2_charger_power_push_limit".
__________________

Last edited by Silvers; 06-02-2012 at 03:15.
Silvers is offline
XDglory
Member
Join Date: May 2012
Old 06-02-2012 , 06:26   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #4

It works great, thanks for your update!!
XDglory is offline
flagma
New Member
Join Date: Jul 2012
Old 07-01-2012 , 22:01   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #5

Hi !
Thank u a lot for your charger power plugin !

I see this one and try to install it (with sdkhook + script + smx + cfg) but in game (versus online) i didn't see any glowing object like car or trash is it normal ?

i tried everything but nothing works please help me
thx U a lot !
flagma is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-02-2012 , 03:30   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #6

Quote:
Originally Posted by flagma View Post
i tried everything but nothing works please help me
thx U a lot !

They should be visible as Charger, all works for me.
__________________

Last edited by Silvers; 07-02-2012 at 15:12.
Silvers is offline
flagma
New Member
Join Date: Jul 2012
Old 07-02-2012 , 15:08   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #7

Really

I put smx in plugin, and sp in script.
I copy paste your cfg and named it charger glow etc...

But nothing work for me. maybe it's a problem with sdkhooks (maybe i made a mistake with that extension) maybe a conflict with another plugin :

Here my other plugin used :

-ZOMBIES CHARACTER SELECT (zcs)
-super infected
-bonus healing
-charger power
-charger power glow
-boomer splash
-scale
-witch control
-smoker cloud
-jockey pounce
-vicious infected

do you have any idea ?
flagma is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-02-2012 , 15:13   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #8

Check your private messages on here, and check your error logs on your server.

The cvars config is automatically generated, you should NOT create it yourself... The scripting file doesn't matter unless you are compiling yourself.
__________________

Last edited by Silvers; 07-02-2012 at 15:14.
Silvers is offline
blaquicat
Member
Join Date: Aug 2009
Old 10-05-2012 , 18:15   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #9

Any know compatibility isue with the l4d2_zcs?
http://forums.alliedmods.net/showthread.php?t=121461

I find out that sometimes the glow dont show, and sometimes show it to wrong classes..
I have a SS somewhere with a spitter and the glow..

edit: Found it!
http://steamcommunity.com/sharedfile.../?id=101034898

Thanks!

Last edited by blaquicat; 10-05-2012 at 18:18.
blaquicat is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-07-2012 , 02:05   Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
Reply With Quote #10

Ahh with zcs this would break, I never accounted for that plugin. Does it only break when zcs is installed?

Since there is no global forward in zcs telling other plugins when someone changed character (and I don't think there's an event) it would be very hard to fix, so there will be no fix until a global forward is provided from zcs (ask the author or someone else).
__________________
Silvers 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 00:57.


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