Left 4 Dead 2

Left 4 Dead 2

Team Switch/Morph Script
Showing 1-9 of 9 entries
Update: 27 Apr @ 12:30am

* Forgot to include info.txt info for allowAbilityChangeForUsers last update.

Update: 27 Apr @ 12:23am

* Workaround fix for crash on attacking infected with human melee weapons as an infected yourself.
* Added !ability (!a) command to let you use special infected abilities without requiring changing to infected.
* Added allowAbilityChangeForUsers (default false) to settings.cfg to control !ability use for non-admins.

Update: 27 Jan @ 1:59am

* Fixed issue with hunter ability being given when you're a dead survivor and you respawn yourself using a survivor command.

Update: 29 Sep, 2024 @ 4:01am

* Fixed L4D2 survivors not using the appropriate voices when switched to on L4D1 maps.
* Fixed team-switcher's Tank not using the health multiplier based on difficulty, and ZombieTankHealth Director Option is now used if it exists instead of z_tank_health.
As an example, team-switched Tanks should now have 3000 on Easy, 4000 on Normal, 8000 on Advanced and Expert by default.

Update: 29 Jan, 2024 @ 1:43am

* Added failsafe to set sb_all_bot_game to 1 if it's at 0 to stop game from ending immediately if there's no human survivors on a team switch.

Update: 14 Dec, 2023 @ 9:34pm

* Fixed Something went wrong with Admin System's verification error if the Admin System mod is active.

Update: 28 Oct, 2023 @ 11:31pm

* Added target-ability to commands. You can now target other players to change them.
!tank funnyplayer620
!boomer SaltyVersusPlayer
Special Infected Bots are very crash-prone if they are put on a different team so they are disallowed from being team-changed. Class changing still works but their AI remains their old class.
Survivor Bots immediately delete themselves if they are put on a different team. They don't crash the game so they aren't disallowed, but there's no point changing them.

Update: 27 Oct, 2023 @ 5:24am

* Fixed bug where you are unable to move at all and can only escape via suicide if you morph while charging.
* Added SI variant commands that can be used via adding a number to the end or as a different name (boomette).
Example: !boomer1 !smoker2 !tank3
The normal commands will remain as randomized variants of the SI.

Update: 27 Oct, 2023 @ 4:09am