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

[L4D2] How to make special infections focus on attacking survivors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
caphao1101
Member
Join Date: Aug 2023
Old 04-02-2024 , 10:56   [L4D2] How to make special infections focus on attacking survivors
Reply With Quote #1

As the title above, can anyone help me create a special infection team (AI) to gather and attack survivors immediately after spawning, instead of attacking alone. I am using sm 1.11
My idea from this video -> https://www.youtube.com/watch?v=MleQAcw3sKg
Thank you everyone for reading....
caphao1101 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-02-2024 , 20:50   Re: [L4D2] How to make special infections focus on attacking survivors
Reply With Quote #2

You can achieve that with Actions extension

https://forums.alliedmods.net/showthread.php?t=336374
__________________
Marttt is offline
caphao1101
Member
Join Date: Aug 2023
Old 04-03-2024 , 10:02   Re: [L4D2] How to make special infections focus on attacking survivors
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
You can achieve that with Actions extension

https://forums.alliedmods.net/showthread.php?t=336374
Thanks Marttt but this is my first time hearing it, can you show me how to use it?
caphao1101 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-04-2024 , 08:50   Re: [L4D2] How to make special infections focus on attacking survivors
Reply With Quote #4

I have no experience with this extension.
Another workaround is trying to use the CommandABot VScript command (BOT_CMD_ATTACK enum).
I believe left4dhooks nowadays has a native for this
I know that CommandABot works for survivors bot, but never tried for SI bot

https://developer.valvesoftware.com/...ns/CommandABot
__________________
Marttt is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 04-04-2024 , 10:11   Re: [L4D2] How to make special infections focus on attacking survivors
Reply With Quote #5

Quote:
Originally Posted by Marttt View Post
I have no experience with this extension.
Another workaround is trying to use the CommandABot VScript command (BOT_CMD_ATTACK enum).
I believe left4dhooks nowadays has a native for this
I know that CommandABot works for survivors bot, but never tried for SI bot

https://developer.valvesoftware.com/...ns/CommandABot
It works for bot SIs as well, I have tried before.

Last edited by cravenge; 04-04-2024 at 10:11.
cravenge is offline
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 04-06-2024 , 12:29   Re: [L4D2] How to make special infections focus on attacking survivors
Reply With Quote #6

vscript has a StartAssault function, which can be invoked using RunScriptCode or SDKCall.
ProjectSky 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 13:08.


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