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

[L4D & L4D2] Evil Witch


Post New Thread Reply   
 
Thread Tools Display Modes
KoMiKoZa
Senior Member
Join Date: Dec 2017
Location: Thy old times.
Old 01-08-2018 , 00:28   Re: [L4D & L4D2] Evil Witch
Reply With Quote #41

Quote:
Originally Posted by Spirit_12 View Post
I've just updated the syntax of the plugin and removed all the cluster from it. Give it a show and post here, if you guys face any issues. I might even be willing to look into the teleportation issue, but need a confirmation that everything else is working beforehand.
I'm not sure what cluster are you talking about, but thank you for the update nonetheless. I will load it up on the server and see if things are alright. Will be grateful if you fix the teleporting. It doesn't always occur but when it does...

While I still remember, there's another bug on this witch:

She may stop burning (if set on fire) upon going berserk/killing a survivor. Not a cool thing too. Another minor issue would be her walking speed when she goes into "follow survivor" mode, she kind of speeds up unnaturally and it looks silly, is it possible to add that follow speed option to the cfg?

Also, while I'm at it, may I'd like to ask a couple of questions:

1. I haven't found any proper plugins that ban idle exploiting (setting witch/tank on fire and going idle, making them lose their targets as an example, along with avoiding damage from SI/CI). This witch also suffers from it, if you throw a molotov at her and go idle (when she's not hit by it yet) she will just stand still and burn, could it be possible to fix it (as a separate plugin perhaps), or at least make her attack any survivor she sees first upon being set on fire, or is it too complicated/messy?

2. Is it possible to make her break doors on Realism Expert? Perhaps like a TankDoorFix plugin?

Thanks in advance.

UPD (01/09/2018 ): The witch seems to be fine, the plugin works. But she killed Louis bot and dissapeared into thin air (the same teleport issue). It has to do something with her switching targets. The logs showed that I startled her after Louis, but she didn't see me.

UPD (01/10/2018 ): Can confirm she extinguishes herself too if she's on fire, kills somebody and reaggroes.

UPD (01/26/2018 ): Somewhat-a-fix: Use the Relentless Witch mod. Gets the job done (she kills everyone), doesn't extinguish herself when on fire, her hp doesn't reset, she doesn't teleport.

Last edited by KoMiKoZa; 01-26-2018 at 00:14.
KoMiKoZa is offline
EatingPizza
Junior Member
Join Date: Oct 2012
Location: Atlanta
Old 03-18-2020 , 00:32   Re: [L4D & L4D2] Evil Witch
Reply With Quote #42

This plugin crashes the 1st map of The Passing due to the custom witch model. The solution (albeit not so elegant) is to just always precache the normal witch model so that the call to SetEntPropFloat(….ReplaceWitchScale) won't throw an exception.


Code:
public OnMapStart()
{
    if(L4D2Version)
        {
                g_sprite = PrecacheModel("materials/sprites/laserbeam.vmt");

                // precache the normal witch model (which is normally cached by the map)
                // But the first map of The Passing loads a custom witch model, and this
                // plugin then crashes when it tries to scale the normal witch model.
                PrecacheModel("models/infected/witch.mdl");
        }
        else
        {
                g_sprite = PrecacheModel("materials/sprites/laser.vmt");
        }
        HookWitchCount=0;
}

Last edited by EatingPizza; 03-19-2020 at 00:07.
EatingPizza is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-18-2020 , 19:01   Re: [L4D & L4D2] Evil Witch
Reply With Quote #43

EatingPizza, thanks for let us know!
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 09-29-2022 , 08:11   Re: [L4D & L4D2] Evil Witch
Reply With Quote #44

The fork aimed to provide an API:

Spoiler


Quote:
1.9.1 (Dragokas)
- Converted to a new syntax and methodmaps
- "sm_walkwitch" command made to use for admin only
- Added EW_OnWitchChanged() forward.

1.9.2 (Dragokas)
- Added optional argument for "sm_walkwitch" <witch id>
- added ConVar "l4d_witch_evil_enabled"

1.9.3 (Dragokas) 11-Mar-2020
- Added native "EW_WitchWalk"
- Registration of library "evil_witch"
Attached Files
File Type: zip Evil_Witch.zip (20.9 KB, 287 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 09-29-2022 at 08:12.
Dragokas 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:29.


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