AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [L4D2] How to make special infections focus on attacking survivors (https://forums.alliedmods.net/showthread.php?t=347114)

caphao1101 04-02-2024 10:56

[L4D2] How to make special infections focus on attacking survivors
 
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....

Marttt 04-02-2024 20:50

Re: [L4D2] How to make special infections focus on attacking survivors
 
You can achieve that with Actions extension

https://forums.alliedmods.net/showthread.php?t=336374

caphao1101 04-03-2024 10:02

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

Originally Posted by Marttt (Post 2820500)
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?

Marttt 04-04-2024 08:50

Re: [L4D2] How to make special infections focus on attacking survivors
 
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

cravenge 04-04-2024 10:11

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

Originally Posted by Marttt (Post 2820554)
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.

ProjectSky 04-06-2024 12:29

Re: [L4D2] How to make special infections focus on attacking survivors
 
vscript has a StartAssault function, which can be invoked using RunScriptCode or SDKCall.


All times are GMT -4. The time now is 23:05.

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