Left 4 Dead 2

Left 4 Dead 2

291 betyg
Prevent AI Charge [Server Mod]
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
15.014 KB
11 jun, 2023 @ 5:40
23 okt, 2023 @ 2:57
8 ändringsnotiser ( visa )

Abonnera för att ladda ner
Prevent AI Charge [Server Mod]

Beskrivning
Prevent AI Charge By Solved/Devlos! Aka "Timonenluca"

Prevents the AI Charger from using he's ability by checking he's current angles towards he's target and the target's angles , we then use a compass on the .y Qangle off the charger and the target and check the nav sides for any next nav connecting in that direction including your current being either a edge or higher then 180.0 hammer units if this is the case we block the charger AI's input preventing him from doing something very stupid , that is charging into oblivion.

A Local/Dedicated Server Mod

Mod info

Mod info
Prevents The AI Charger , Charging himself into oblivion.
Prevents The AI Charger going into retreat mode on a jump.
Ai Charger now charges on a deadly edge instead if given the opportunity
Charger will simply snap he's Eye Angles continously on he's target to prevent a bad charge or hit
Charger will insta charge within melee distance
Predicted charge , Charger will follow he's target untill X distance on a very long charge.

Not Included
Priority targetting , senseflags or setting a variable to keep the AI from taking over or not turning him into a braindeath bot seems to be unavoidable so i ditched this and rather kept the vanilla one.

Credit to army_guy3 for being able to use he's VectorToQAngle code.
Check out he's cool mods: https://steamcommunity.com/id/4AG3154Be/myworkshopfiles/

50 kommentarer
maiaterix 6 feb @ 17:13 
Esta super Brother :steamthumbsup:
Jericho 31 maj, 2024 @ 20:20 
I kinda like the derpy charger tbh.
Joellis 3 jan, 2024 @ 20:48 
why is the charger so slow?
TheNamelessKing 12 nov, 2023 @ 9:27 
Cool but charger now hits walls very often, which gives away is location
Legoshi 26 okt, 2023 @ 11:56 
Interesting mod, makes the Charger much more annoying and tougher to fight, which I like. However, playing "Fairfield Terror", I did notice the Charger sometimes charged into walls despite not being into direct line of sight with survivors.
tom 23 okt, 2023 @ 3:36 
nice
devlos  [skapare] 23 okt, 2023 @ 3:00 
- Potentially fixed "U" turning charger.
- Optimized Code
- Reduced Predicted charge kicking by 15% from 75% to 60%.
tom 18 okt, 2023 @ 8:29 
@devlos r u gonna fix it?
devlos  [skapare] 15 okt, 2023 @ 1:56 
Uuuuh , ill take a look at it today and see if i can fix it. Im a very lazy person.