Left 4 Dead 2

Left 4 Dead 2

815 ratings
Team Switch/Morph Script
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Survivors: Survivors
Infected: Special Infected
Game Content: Scripts
File Size
Posted
Updated
43.622 KB
27 Oct, 2023 @ 4:09am
27 Apr @ 12:30am
9 Change Notes ( view )

Subscribe to download
Team Switch/Morph Script

Description
NOTICE: This addon uses scripts. This will not work in Dedicated servers. Use local/listen servers, or singleplayer instead.
An upside to this is that if you can see this addon's effects, everyone else can.
To use, type in chat:
!<name of subject to morph into>
/<name of subject to morph into>

To target other players in chat:
!<name of subject to morph into> <name of your victim>
/<name of subject to morph into> <name of your victim>

Special Infected Variants:
!smoker - !smoker1 - !smoker2
!boomer - !boomer1 - !boomer2 - !boomette
!hunter - !hunter1 - !hunter2
!tank - !tank1 - !tank2 - !tank3

The above commands will respawn and morph you if you're dead.

Alternatively you can get and/or swap only special infected abilities like pouncing or vomiting with the ability command. This works as a survivor as well.
!ability <name of special infected or ability>
!a <name of special infected or ability>

Also includes additional commands that change your team, but does not change your character. This can cause a lot of weird effects.
Use case of this is just for fun.
There are multiple different command names for each team available in the code.
!spectator - !spec - !team1 - !t1
!survivor - !surv - !team2 - !t2
!infected - !inf - !team3 - !t3
!survivor1 - !surv1 - !team4 - !t4
Targetting other players still works with these commands:
!survivor <name of your victim>
/survivor <name of your victim>

Simple script with my own code for changing teams/classes that was made in a day.
Yes, you can freely change into the Infected in non-Versus modes using these commands.

Technical Stuff
Click here to know about other features of this mod like changeable settings.
Popular Discussions View All (5)
20
26 Apr @ 10:14pm
PINNED: Bug Reports
Shadowysn
4
28 Jul, 2024 @ 6:06am
Can you become a common infected too?
Dager
2
3 Nov, 2023 @ 2:26pm
yall how do i fix the problem that every time i go to infected a new survivor spawns
ModestShoducks
118 Comments
ElBrayanDelCallao 2 Jul @ 4:34pm 
hola buen hombre y paquitarme la habilidad del infectado cuando soy sobrevivinete y quiero quitarme la !a hunter la hilbilida y ser normal como póngo ?
Frank2000 ✈ 27 Jun @ 6:22pm 
Hello, excuse me can you add a function to swap all players teams with a single command?

infected to survivors
survivors to infected

I hope it wouldnt be much a problem thanks! (excluding the bots ofc)
DogeChipszz 7 Jun @ 4:27pm 
maybe make the tank fling stuff? last time i played you couldnt
Shadowysn  [author] 3 Jun @ 9:24pm 
@Advaxin
thought it'd be common knowledge by now that game-changing scripts require it to be local servers
Advaxin 3 Jun @ 5:13pm 
commands dont work
General Vex (rad) 9 May @ 1:44pm 
when chage to spectator team and go to next map, i go idle for some unkown reason
Gustavo 2 May @ 2:01am 
When I swap my character into a L4D2 survivor in a L4D1 campaign, the model switches but the hands are still the same. Is that a normal occurrence?
Zafi 29 Apr @ 8:09am 
DUDE THANK YOU SO MUCH FOR BRINGING MY SUGGESTION COME TO LIFE IN YOUR WORK, AND YOU ADD MORE ABILITIES? DAMN

chat, this modder is W
Shadowysn  [author] 27 Apr @ 1:16am 
@Zafi
Added new !ability command to mod so you can use hunter pounce as survivor quickly again, among other special infected abilities.
Shadowysn  [author] 26 Apr @ 10:16pm 
@Zafi
The 4th and 5th screenshot show the intended method to get the special infected ability. That hunter pounce glitch is completely unintended and not great if you wanted to respawn as a normal survivor.