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

[L4D2] Relentless Witch


Post New Thread Reply   
 
Thread Tools Display Modes
Sev
Veteran Member
Join Date: May 2010
Old 12-28-2014 , 13:20   Re: [L4D2] Relentless Witch
Reply With Quote #31

Quote:
Originally Posted by Machine View Post
dcx2 found a better way to do this without any negative side effects and animation checking. I will update this again soon hopefully.
Any chance you've gotten around to this or still need time or have you decided against doing it?

Last edited by Sev; 12-28-2014 at 13:21.
Sev is offline
Machine
Senior Member
Join Date: Apr 2010
Old 12-28-2014 , 20:12   Re: [L4D2] Relentless Witch
Reply With Quote #32

Well yes and no. The best way was to detour the witchattack, so it needs an extension.

Heres the link to the package with the extension called l4d2_aidetours, the source for it and a new relentless witch plugin. Try it and see how it works for you and let me know.
Machine is offline
Sev
Veteran Member
Join Date: May 2010
Old 12-28-2014 , 20:15   Re: [L4D2] Relentless Witch
Reply With Quote #33

Sure thing, thanks.

EDIT:

Ah, no linux compile. A compiled linux version would be much appreciated.

Last edited by Sev; 12-28-2014 at 20:24.
Sev is offline
Machine
Senior Member
Join Date: Apr 2010
Old 12-28-2014 , 20:26   Re: [L4D2] Relentless Witch
Reply With Quote #34

Ahh I forgot you use linux. Sorry I don't have it.
Machine is offline
Sev
Veteran Member
Join Date: May 2010
Old 12-28-2014 , 21:14   Re: [L4D2] Relentless Witch
Reply With Quote #35

No problem.

Hopefully someone with knowledge of compiling a build for linux will be kind enough to compile one for Linux users. It would be much appreciated.
Sev is offline
spumer
Senior Member
Join Date: Aug 2011
Old 01-21-2015 , 13:13   Re: [L4D2] Relentless Witch
Reply With Quote #36

Quote:
Originally Posted by Sev View Post
No problem.

Hopefully someone with knowledge of compiling a build for linux will be kind enough to compile one for Linux users. It would be much appreciated.
By Sev request I build this extension for linux. Some changes added to Makefile and other .cpp files.
Sources and binary in attachment. GLHF!
Attached Files
File Type: 7z l4d2_aidetours_src.7z (27.3 KB, 131 views)
File Type: so l4d_aidetours.ext.so (253.0 KB, 204 views)
__________________
spumer is offline
Sev
Veteran Member
Join Date: May 2010
Old 02-27-2015 , 13:14   Re: [L4D2] Relentless Witch
Reply With Quote #37

Newest version with the extension seems to work flawlessly in coop, but it doesn't seem to do anything in versus.
Sev is offline
wendigo
Senior Member
Join Date: Nov 2012
Location: Denmark
Old 05-26-2015 , 14:06   Re: [L4D2] Relentless Witch
Reply With Quote #38

Quote:
Originally Posted by Machine View Post
Ahh I forgot you use linux. Sorry I don't have it.
Any update progress on the plugin overall?

Last edited by wendigo; 05-26-2015 at 14:06.
wendigo is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 07-20-2015 , 20:55   Re: [L4D2] Relentless Witch
Reply With Quote #39

Quote:
Originally Posted by Machine View Post
Well yes and no. The best way was to detour the witchattack, so it needs an extension.

Heres the link to the package with the extension called l4d2_aidetours, the source for it and a new relentless witch plugin. Try it and see how it works for you and let me know.
So, I tried this extension, and tried this snippet;
PHP Code:
public Action:L4D2_OnTankAttackUpdate(tank, &victim)
{
    if (
IsInfected(tank) && IsTank(tank) && IsPlayerAlive(tank))
    {
        for (new 
target 1target <= MaxClientstarget++)
        {
            if (
IsSurvivor(target) && IsPlayerAlive(target) && IsIncaped(target))
            {
                
PrintToChatAll("Tank (%i, %N) has changed targets to Survivor %N! (id:%i)"tanktanktargettarget);
                
victim target;
                return 
Plugin_Changed;
            }
        }
    }
    return 
Plugin_Continue;
}

stock bool:IsTank(client)
{
    return 
GetEntProp(clientProp_Send"m_zombieClass") == 8;
}

stock bool:IsSurvivor(client)
{
    return 
client && client <= MaxClients && IsClientInGame(client) && GetClientTeam(client) == 2;
}

stock bool:IsInfected(client)
{
    return 
client && client <= MaxClients && IsClientInGame(client) && GetClientTeam(client) == 3;
}

stock bool:IsIncaped(client)
{
    return 
bool:GetEntProp(clientProp_Send"m_isIncapacitated"1);

Except the target I want isn't actually assigned and the Tank just ignores the person and goes for someone else.
Spoiler
__________________
DeathChaos25 is offline
wendigo
Senior Member
Join Date: Nov 2012
Location: Denmark
Old 08-07-2015 , 14:32   Re: [L4D2] Relentless Witch
Reply With Quote #40

I think its fair to say, that this plugin has been abandoned by creator.
wendigo 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 06:52.


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