Raised This Month: $ Target: $400
 0% 

[L4D1] Hunter AI able to use the lunge ability to attack survivors instead of fleeing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ALTERNATESYNDROME
Junior Member
Join Date: Apr 2023
Old 05-01-2023 , 10:23   [L4D1] Hunter AI able to use the lunge ability to attack survivors instead of fleeing
Reply With Quote #1

Hello!

I was wondering if anybody could make a sourcemod plugin for L4D1 where the AI hunter can use his lunge ability on survivors, instead of only using it to run away from survivors. Basically lunging onto them

And also for players to able to use the lunge ability in versus when playing as an Hunter.
The controls for it should be left click without crouching (or just basic left click) to lunge

And yes, this is based off the beta development of L4D1.

Thanks!

Last edited by ALTERNATESYNDROME; 05-01-2023 at 10:27.
ALTERNATESYNDROME is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 05-01-2023 , 10:41   Re: [L4D1] Hunter AI able to use the lunge ability to attack survivors instead of fle
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?p=2775297

P.S. I just realized that you are saying l4d1, then this plugin may not work for you.
__________________

Last edited by HarryPotter; 05-01-2023 at 10:44.
HarryPotter is offline
TotalChaos SourcePawner
Senior Member
Join Date: Feb 2023
Location: IN PINEAPPLE, UNDER SEA
Old 05-02-2023 , 11:27   Re: [L4D1] Hunter AI able to use the lunge ability to attack survivors instead of fle
Reply With Quote #3

Quote:
Originally Posted by ALTERNATESYNDROME View Post
Hello!

I was wondering if anybody could make a sourcemod plugin for L4D1 where the AI hunter can use his lunge ability on survivors, instead of only using it to run away from survivors. Basically lunging onto them

And also for players to able to use the lunge ability in versus when playing as an Hunter.
The controls for it should be left click without crouching (or just basic left click) to lunge

And yes, this is based off the beta development of L4D1.

Thanks!
I actually made a plugin that forces Hunters to always lunge instead of pounce. It works for both humans and bots.
It was a private plugin for a few months now. I had plans to release it here, but I never went through with it.
It has full support for L4D2, and partial support for L4D1.

The reason why it only has partial support for L4D1 is because the above plugin that HarryPotter mentioned ("Hunter Patch" by "fdxx") is required for my plugin to work outside of Co-op, and that plugin only supports L4D2.
This is because it uses GameData signatures that apparently doesn't exist for L4D1, being CTerrorPlayer::OnLungeStart, CLunge::IsAbilityReadyToFire, CTerrorPlayer::OnPouncedOnSurvivor, and CTerrorPlayer::OnTakeDamageInternal. There may be some L4D1 GameData signatures for these, but not all of them unfortunately.
If I knew how to make GameData signatures, I would've ported Hunter Patch to L4D1 a long time ago.

That being said, does anybody here know how to make GameData signatures? And does anybody have working GameData signatures for the above things that I mentioned?
TotalChaos SourcePawner is offline
ALTERNATESYNDROME
Junior Member
Join Date: Apr 2023
Old 05-03-2023 , 13:22   Re: [L4D1] Hunter AI able to use the lunge ability to attack survivors instead of fle
Reply With Quote #4

No worries, ill try to make a thread asking about the GameData stuff. Ill shortly reply to you the solution with the GameData stuff, if someone will respond.
ALTERNATESYNDROME 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 03:12.


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