Left 4 Dead 2

Left 4 Dead 2

Special Infected Synchronization (AI+)
101 kommentarer
Thumos  [ophavsmand] 27. juli kl. 10:16 
@Rtma Eros Paragon The `EFL_NO_THINK_FUNCTION` constant variable prevents the entity from performing its think functions.

To learn more about these constant variables, I recommend viewing the Garry's Mod Wiki. [wiki.facepunch.com]
Rtma Eros Paragon 27. juli kl. 2:11 
What exactly does this function do that is missing currently?
Thumos  [ophavsmand] 27. juli kl. 0:23 
@Rtma Eros Paragon It turns out I forgot to add the `EFL_NO_THINK_FUNCTION` constant variable to the `Sync Only` and `AI+` versions of the `Special Infected Synchronization` add-ons. I'll have to fix this error in the next update.
Rtma Eros Paragon 26. juli kl. 23:59 
I am experiencing my console being filled with these error messages lately, any idea on how to fix?

LOCALS
[@ITERATOR@] 1
[camera] INSTANCE
[@INDEX@] 0
[cameras] ARRAY
[this] TABLE
[alive_survivors] TABLE
[this] TABLE
[specials] TABLE
[alive_survivors] TABLE
[total_survivors] TABLE
[this] TABLE

AN ERROR HAS OCCURED [the index 'EFL_NO_THINK_FUNCTION' does not exist]

CALLSTACK
*FUNCTION [IsCameraActive()] scripts/vscripts/sisync-ai+_logicmanager.nut line [23]
*FUNCTION [IsCutscenePlaying()] scripts/vscripts/sisync-ai+_logicmanager.nut line [10]
*FUNCTION [UpdateScope()] scripts/vscripts/sisync-ai+_scopemanager.nut line [33]
DELTA_SHARk_67 4. juli kl. 3:02 
Is it normal that it disables my means of finding the dead locked up?
Thumos  [ophavsmand] 4. maj kl. 14:32 
ツ Apparently, I forgot to add the link to the guide while I was editing my comment. Nevertheless, you can set up a local Versus server to use this add-on. Here's the guide that'll show you how to modify the `addonconfig.cfg` file in the `./left4dead2/cfg/` directory.
K1ll3r 4. maj kl. 12:57 
Can it be done if the vpk method is used?
Thumos  [ophavsmand] 2. maj kl. 18:00 
ツ Since this add-on uses VScripts, the only way you can use it in Versus would be to set the value of the `versus` variable underneath `RestrictAddons` to `0` and then create a local server. For more details, you can view this guide which shows you how to enable add-ons in Versus on local servers.
K1ll3r 2. maj kl. 15:18 
works on vs?
Thumos  [ophavsmand] 20. apr. kl. 11:51 
@exactly 1 knight If you want to play campaigns as if it were Versus, then I recommend installing the `Special Infected Synchronization (Competitive)` add-on instead as the `MaxSpecials` option is set to `4` by default which will allow up to four special infected to spawn at once.
exactly 1 knight 20. apr. kl. 9:54 
Is making all 4 special infected spawn at the same time as simple as changing "MaxSpecials" to 4? I wonder if you could pseudo-recreate a VS mode like experience this way? (Without the kicking and racial slurs, of course.)
Thumos  [ophavsmand] 5. mar. kl. 13:47 
@Sasha Pines (no brain) At one point, the `MaxSpecials` variable was set to `3` as I figured that three special infected normally spawned in official campaigns. However, I realized that the third special infected only spawned as soon as one of the active special infected was killed.

Because I figured that some campaigns would modify either the `cm_MaxSpecials` or `MaxSpecials` variable at certain times (ex. the finale in Chapter 3 of The Passing), I let the Director handle those two variables automatically instead of manually setting them at specified values.
Sasha Pines (no brain) 5. mar. kl. 6:22 
question why there only 2 si spawn at a time instead 4 like older version i renember ?
Thumos  [ophavsmand] 26. feb. kl. 20:44 
@Wenda I don't think this add-on has any impact on the amount of Witches that spawn in a map.
I STAPLE TAPEWORMS ON MY 26. feb. kl. 20:22 
does this increase the amount of witches per map?
I STAPLE TAPEWORMS ON MY 23. feb. kl. 14:01 
oh thank you
Thumos  [ophavsmand] 23. feb. kl. 13:59 
@Wenda I played the first chapter of The Passing with this add-on disabled, and the Tank still spawns before I reached the primary weapons. The only difference I encountered is that the Tank didn't attack until I actually saw him because the `cm_AggressiveSpecials` variable is normally set to `false` by default.

If you want an easier time going against the Tank in the first chapter of The Passing, I recommend setting the `AllowAggressiveSpecials` option in the `settings.txt` file to `false` so he doesn't immediately attack as soon as he spawns.
I STAPLE TAPEWORMS ON MY 21. feb. kl. 4:00 
also with multiple witches spawning a map
I STAPLE TAPEWORMS ON MY 21. feb. kl. 3:26 
im having an issue on some campaigns where a tank can spawn a lot earlier than he should
examples being on the passing before you can get to the tier 1 guns or during the intro of cold stream
I STAPLE TAPEWORMS ON MY 21. feb. kl. 3:20 
does this effect tank spawns at all?
✪.√ᴇɴĐɆ††₳™ 18. feb. kl. 7:12 
thanks to your detailed explanation! :krstar::krstar::krstar::krstar::krstar:
Thumos  [ophavsmand] 17. feb. kl. 8:25 
@.√ᴇɴℊᴇᴀɴᴄᴇ While this add-on doesn't disable the Charger's damage resistance during his charge animation, the `Special Infected Synchronization (Competitive)` add-on includes the `ModifyChargeHealth` option in the `settings.txt` file located in the `./ems/sisync-comp/` directory which will allow the Charger to take normal damage while charging.
✪.√ᴇɴĐɆ††₳™ 17. feb. kl. 7:47 
does this script disable the 66% melee attack resistance on Charger? (while in charging)
Thumos  [ophavsmand] 13. feb. kl. 13:00 
@Destructible Dummy After looking through my VScripts in this add-on, it turns out the `DynamicSpecialTimer` option wasn't actually in the `settings.txt` file. I'll have to update this add-on to resolve this issue.
Mitochondria 13. feb. kl. 7:51 
Instead of actually working, it got me an error:
AN ERROR HAS OCCURED [the index 'DynamicSpecialTimer' does not exist]

CALLSTACK
*FUNCTION [ManualRespawnOverrider()] scripts/vscripts/sisync-ai+_infectedmanager.nut line [145]
*FUNCTION [SpecialRespawnModifier()] scripts/vscripts/sisync-ai+_infectedmanager.nut line [180]
*FUNCTION [UpdateScope()] scripts/vscripts/sisync-ai+_scopemanager.nut line [47]

LOCALS
[survivor_percentage] 1
[total_survivors] TABLE
[alive_survivors] TABLE
[this] TABLE
[total_survivors] TABLE
[alive_survivors] TABLE
[this] TABLE
[specials] TABLE
[alive_survivors] TABLE
[total_survivors] TABLE
[this] TABLE
Mitochondria 13. feb. kl. 7:51 
There's an error whenever I change the variable in the settings confg:

InitialSpawnDelayMax = 120
InitialSpawnDelayMin = 60

OverrideInitialSpawnDelay = true
OverrideRespawnInterval = true
RespawnIntervalMax = 60
RespawnIntervalMin = 60

Additionally, I've tested without some addons that modifies Special AI like (Competitive Bots), yet again, it's not working for some reason; deleting the ems file is a thing to reboot this issue but its still persists. Thank you:health:
Rtma Eros Paragon 7. feb. kl. 21:48 
Thanks for the information, I am testing those now.
Thumos  [ophavsmand] 6. feb. kl. 6:20 
@Rtma Eros Paragon You can modify the options in the `settings.txt` file located in the `sisync-ai` folder.

As for the mob and special directions, here are the options the numbers are referring to according to the Director Scripts wiki page :
---
SPAWN_NO_PREFERENCE = -1
SPAWN_ANYWHERE = 0
SPAWN_BEHIND_SURVIVORS = 1
SPAWN_NEAR_IT_VICTIM = 2
SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS = 3
SPAWN_SPECIALS_ANYWHERE = 4
SPAWN_FAR_AWAY_FROM_SURVIVORS = 5
SPAWN_ABOVE_SURVIVORS = 6
SPAWN_IN_FRONT_OF_SURVIVORS = 7
SPAWN_VERSUS_FINALE_DISTANCE = 8
SPAWN_LARGE_VOLUME = 9
SPAWN_NEAR_POSITION = 10
Rtma Eros Paragon 6. feb. kl. 2:44 
I still do not know what the numbers used for direction of mobs/si and a descriptive list to choose from.
Rtma Eros Paragon 6. feb. kl. 2:25 
Which file actually applies the settings? the one in the aisync-ai folder or cfg?
Thumos  [ophavsmand] 29. nov. 2024 kl. 12:39 
@Dread-Captain Ephrer Atargrius That's not good. I've tried running this add-on without any other add-ons enabled and special infected were able to spawn after waiting for the initial spawn delay to be met (usually 30-60 seconds).

In the meantime, could you check the console by pressing the ` key to see if any errors pop up? Afterwards, could you try disabling all your other add-ons besides this one to see if specials are able to spawn? If they do spawn, could you also try re-enabling each one to find the culprit?
DaddyFlapJacks 27. nov. 2024 kl. 21:41 
for some reason this made no special infected spawn at all for me
im not sure what the issue is, no conflicting mods
Tri Tran 31. aug. 2024 kl. 22:10 
Thanks for the details :steamthumbsup:
Thumos  [ophavsmand] 31. aug. 2024 kl. 19:42 
@Tri Tran The `MaxSpecials` option isn't available for this add-on which is why the option you're trying to add will be removed when the map loads. If you want to modify the `MaxSpecials` option, I recommend using the `Special Infected Synchronization (Competitive)` add-on instead especially since it contains many more options in the `./ems/sisync-comp/` directory.

As for `z_tank_speed 240`, the add-on will simply modify command variables if they exist in-game which is how you're able to add new ones to the `convars.txt` file.
Tri Tran 31. aug. 2024 kl. 19:24 
Hello, why I cannot add "MaxSpecials" to "/ems/sisync-ai+/settings.txt"? It will restore default.
but, i can add "z_tank_speed 240" to "convars.txt"
Thumos  [ophavsmand] 24. juni 2024 kl. 23:33 
@☣ROBLOX, NwiKing☣ Yes, setting the `ShouldAllowSpecialsWithTank` option in the `settings.txt` file located in the `./ems/sisync-ai+/` directory will allow the special infected to spawn while the Tank is active.
☣ROBLOX, NwiKing☣ 24. juni 2024 kl. 23:19 
ShouldAllowSpecialsWithTank = true right?
Tri Tran 22. juni 2024 kl. 19:49 
I trust you'll address the issue promptly. Thank you. :steamthumbsup:
Thumos  [ophavsmand] 20. juni 2024 kl. 8:54 
@Tri Tran That's not good. I'll have to look into this.
Tri Tran 20. juni 2024 kl. 0:12 
"AN ERROR HAS OCCURED [the index 'MaxSpecials' does not exist]

CALLSTACK
*FUNCTION [unknown()] scripts/vscripts/sisync-ai+.nut line [167]
*FUNCTION [unknown()] scripts/vscripts/sisync-ai+.nut line [260]

LOCALS
[exception] "the index 'cm_MaxSpecials' does not exist"
[this] TABLE
[specials] TABLE
[survivors] TABLE
[this] TABLE"

Please, help me! SI don't' appear in campaign
Thumos  [ophavsmand] 13. juni 2024 kl. 12:54 
@Xeno :] That depends on the campaign you're playing and whether the Director decides to modify either the `MaxSpecials` or `cm_MaxSpecials` variable. For instance, The Passing's final chapter will set the `MaxSpecials` variable to `5` once the finale begins and will be changed to `3` during Tank fights.

https://github.com/Stabbath/L4D2-Decompiled/blob/master/Decompiled%20VScripts/c6m3_port_finale.nut
(^^^) Xeno 13. juni 2024 kl. 10:44 
So it would be random sometimes it could be 2 or 4 SI will appear?
Thumos  [ophavsmand] 13. juni 2024 kl. 8:51 
@Xeno :] I decided to let the Director automatically handle the amount of special infected for the `Only Sync` and `AI+` version since I originally wanted these add-ons to synchronize their spawns without changing the gameplay too much.
(^^^) Xeno 13. juni 2024 kl. 4:30 
Little confused but only 2 of the SI attack or spawn at the same time on my pov
☣ROBLOX, NwiKing☣ 9. juni 2024 kl. 23:20 
Thanks a lot :)
Thumos  [ophavsmand] 9. juni 2024 kl. 23:20 
@☣ROBLOX, NwiKing☣ After thinking about it for a while, I could probably add an option to change the `ShouldAllowSpecialsWithTank` variable in a future update.
☣ROBLOX, NwiKing☣ 7. juni 2024 kl. 2:59 
But i dont want versus gameset what should i do?
Thumos  [ophavsmand] 6. juni 2024 kl. 20:06 
Unfortunately, the `MaxSpecials` variable doesn't exist in this version. Even if the option was in the `settings.txt` file, that wouldn't allow the special infected to spawn while the Tank is active.

To allow the special infected to spawn, you would need to set the `ShouldAllowSpecialsWithTank` variable to `true`. While the option to do so isn't in the `settings.txt` file for this add-on, it's available for the `Competitive` version which you can find in the `Special Infected Synchronization Bundle`.
☣ROBLOX, NwiKing☣ 6. juni 2024 kl. 10:06 
I think when tank appears, special aren't spawned so I added MaxSpecialsTank = 4 in setting.txt
will it work?
Thumos  [ophavsmand] 29. apr. 2024 kl. 4:53 
@Rtma Eros Paragon The numbers determine what type of direction the special infected will spawn from. For instance, setting the `PreferredMobDirection` variable to `7` will set it to `SPAWN_IN_FRONT_OF_SURVIVORS` which will make the special infected prefer to spawn ahead of the survivors if they're able to.

If you'd like to know what other options are available for the `PreferredMobDirection` variable, you can view its description at this wiki page .