Left 4 Dead 2

Left 4 Dead 2

899 ratings
Team Switch/Morph Script
2
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>
To clear ability:
!a none
!a n
!a no

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?
ishowslow
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
127 Comments
Death by PUDDING!!!! 16 Oct @ 3:48pm 
Honestly, this was the most fun script ever, I really loved using it. The funniest part is that if you go !team4, then go as any survivor of your choosing, then pickup a few weapons, then be a infected, you can just literally turn on your teammates and shoot them. Which was honestly pretty funny, I really liked this script, thanks for making it!
Shadowysn  [author] 7 Sep @ 3:38am 
@Nawis
Ok that's the info I needed, the body left behind stays the same survivor type even after player survivor is changed so the admin system's revive using defib mechanics doesn't work as it can't find any body for the new survivor.
There is a roundabout way for this mod to respawn players using !<survivor> <playername> without need for body but I'll see if I can implement rez function.
Nawis 7 Sep @ 3:24am 
no, what i mean is that if a survivor dies (and he switched) e.g. bill into coach and coach died. usually u can try and revive bill or coach (both dont work) even if u do "reivve all" which usually works that will not work.
Shadowysn  [author] 7 Sep @ 3:12am 
@Nawis
use the team switch commands with dead players names to respawn them by default, admin system's revive does not expect players to be infected
you may also be changing yourself into that other survivor's character
Nawis 7 Sep @ 3:01am 
fun script, swapping to infected seems bugged, sadly if you switch to other players it also somtmes shows u as someone else, and u cant revive dead players that u switched with admin tools
bandav 5 Sep @ 10:14am 
ESTA MUY DIVERTIDO EL MOD ME GUSTA MUCHO 10/10:steammocking:
Frank2000 ✈ 11 Jul @ 1:57pm 
Not even selecting every player ? ah darn okay. its alr thanks for responding.
Shadowysn  [author] 11 Jul @ 9:12am 
@Frank2000 ✈
Not sure how that can be implemented with the way this mod handles team switching.
Shadowysn  [author] 11 Jul @ 9:10am 
@ElBrayanDelCallao
!a none
or
!a n
or
!a no

Updated description.
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 ?