AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Charger Power - Objects Glow (1.7) [27-Jul-2023] (https://forums.alliedmods.net/showthread.php?t=186556)

Silvers 06-01-2012 02:01

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


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.

XDglory 06-02-2012 02:22

Re: [L4D2] Charger Power - Objects Glow (1.0) [01-Jun-2012]
 
will glow be removed if the object become unmovable(reach the l4d2_charger_power_push_limit)?

Silvers 06-02-2012 02:26

Re: [L4D2] Charger Power - Objects Glow (1.0) [01-Jun-2012]
 
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".

XDglory 06-02-2012 06:26

Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
 
It works great, thanks for your update!!

flagma 07-01-2012 22:01

Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
 
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 !

Silvers 07-02-2012 03:30

Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
 
Quote:

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


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

flagma 07-02-2012 15:08

Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
 
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 ?

Silvers 07-02-2012 15:13

Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
 
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.

blaquicat 10-05-2012 18:15

Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
 
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!

Silvers 10-07-2012 02:05

Re: [L4D2] Charger Power - Objects Glow (1.1) [02-Jun-2012]
 
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).


All times are GMT -4. The time now is 11:14.

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