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

L4D2 detecting boomer leaker?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tRololo312312
Senior Member
Join Date: Apr 2015
Old 09-21-2016 , 17:21   L4D2 detecting boomer leaker?
Reply With Quote #1

Is there anyway a detect Leaker boomer in l4d2? basicly i would want to make it so normal boomers have boomer model and leakers have boomette model. But is there any netprop or anything to check they are leakers or not?
tRololo312312 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-21-2016 , 20:03   Re: L4D2 detecting boomer leaker?
Reply With Quote #2

How did you enable leaker in the game?
__________________
Spirit_12 is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 09-22-2016 , 14:46   Re: L4D2 detecting boomer leaker?
Reply With Quote #3

Quote:
Originally Posted by Spirit_12 View Post
How did you enable leaker in the game?
Theres a cvar for it.

boomer_leaker_chance

100 for always leaker. i use 1 (1%) myself.
tRololo312312 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-22-2016 , 16:58   Re: L4D2 detecting boomer leaker?
Reply With Quote #4

Not entirely sure, if this will work, but try this stock. See what it returns for Leaker.

PHP Code:
stock void GetInfectedClassint infected) {

    new class    =    
GetEntProp(infectedProp_Send"m_zombieClass");
    return class;

__________________
Spirit_12 is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 09-22-2016 , 17:23   Re: L4D2 detecting boomer leaker?
Reply With Quote #5

Leaker returns 2. Same as Boomer...
tRololo312312 is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 09-22-2016 , 18:25   Re: L4D2 detecting boomer leaker?
Reply With Quote #6

i noticed that theres a onscreen message saying "YOU ARE LEAKER!" when spawning as it in VS mode.
tRololo312312 is offline
Sev
Veteran Member
Join Date: May 2010
Old 09-24-2016 , 09:07   Re: L4D2 detecting boomer leaker?
Reply With Quote #7

That would be neat if someone found a way to include the Leaker back into the game as a 7th potential SI. Even if its using an existing model.

Last edited by Sev; 09-24-2016 at 09:08.
Sev is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-27-2019 , 21:16   Re: L4D2 detecting boomer leaker?
Reply With Quote #8

Changes Leaker type to Boomette model.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_leaker.sp - 239 views - 1.0 KB)
__________________

Last edited by Silvers; 01-22-2020 at 19:30.
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:14.


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