Left 4 Dead 2

Left 4 Dead 2

Team Switch/Morph Script
126 Comments
Shadowysn  [author] Sep 7 @ 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 Sep 7 @ 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] Sep 7 @ 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 Sep 7 @ 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 Sep 5 @ 10:14am 
ESTA MUY DIVERTIDO EL MOD ME GUSTA MUCHO 10/10:steammocking:
Frank2000 ✈ Jul 11 @ 1:57pm 
Not even selecting every player ? ah darn okay. its alr thanks for responding.
Shadowysn  [author] Jul 11 @ 9:12am 
@Frank2000 ✈
Not sure how that can be implemented with the way this mod handles team switching.
Shadowysn  [author] Jul 11 @ 9:10am 
@ElBrayanDelCallao
!a none
or
!a n
or
!a no

Updated description.
ElBrayanDelCallao Jul 2 @ 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 ✈ Jun 27 @ 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 Jun 7 @ 4:27pm 
maybe make the tank fling stuff? last time i played you couldnt
Shadowysn  [author] Jun 3 @ 9:24pm 
@Advaxin
thought it'd be common knowledge by now that game-changing scripts require it to be local servers
Advaxin Jun 3 @ 5:13pm 
commands dont work
General Vex (rad) May 9 @ 1:44pm 
when chage to spectator team and go to next map, i go idle for some unkown reason
Dryl May 2 @ 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 Apr 29 @ 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] Apr 27 @ 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] Apr 26 @ 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.
Zafi Apr 23 @ 11:52am 
can you add back the glitch? that you can use hunter pounce in survivor. i want that thing
General Vex (rad) Apr 11 @ 3:53pm 
nervermid, i think was other mod, thank you anyway
General Vex (rad) Apr 11 @ 3:45pm 
Hello, i think thats a bug,every that a use ex:"!Louis coach" and pass to the next map, coach back coach not louis. sorry if someone report this before or if i bothered you.
DogeChipszz Mar 17 @ 4:52pm 
so cool!
Monkey Boy Mar 14 @ 2:06am 
thanks works now
Shadowysn  [author] Mar 13 @ 8:28pm 
@Monkey Boy
dont use windows 11 notepad its being retarded with ems files
use something else like wordpad or notepad++
Monkey Boy Mar 13 @ 12:23pm 
thanks,but the settings folder is written in some laungage that i dont understand,I cant even translate it to english.
Shadowysn  [author] Mar 11 @ 8:01am 
@Monkey Boy
...settings.
Monkey Boy Mar 11 @ 8:00am 
My friends cant change to inf or surv,any solution?
XenBenjo?? Mar 5 @ 10:41pm 
does only host can turn into special infected when play on local server? or the rest can be infected too by command?
Shadowysn  [author] Feb 12 @ 6:11am 
@FORGE
Only the host needs to install the mod.
FORGE Jan 30 @ 5:17pm 
does everyone need this mod or is it just the host of the server?
Shadowysn  [author] Jan 27 @ 1:19am 
@Melquisedec
That looks like usual performance warning prints with scripts which shouldn't have stopped the mod from working. Try searching for anything that says 'AN ERROR HAS OCCURED' in red text.
Something like this:
AN ERROR HAS OCCURED [the index 'im_an_error' does not exist]

CALLSTACK
*FUNCTION [main()] unnamed line [1]

LOCALS
[vargv] ARRAY
[this] TABLE
ᴿᴱᴻᴱ™ Jan 27 @ 1:09am 
Huh didnt even know about this. Imma check the code for sure.
Theikos Progonos Jan 26 @ 9:45am 
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 2.020154ms
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 1.511346ms
Melquisedec (STEAM_1:1:54323289): /zoey
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 1.607021ms
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 1.779511ms
Shadowysn  [author] Jan 26 @ 7:55am 
@Microdick excel
@Melquisedec
It's still working for me. Are there any errors related to the script in the console?
Microdick Excel Jan 26 @ 1:15am 
not working anymore :(
Theikos Progonos Jan 18 @ 12:31pm 
2025 not working
Shadowysn  [author] Nov 13, 2024 @ 10:14pm 
@Navidad sin Noel
You need a bot mod to make them leave the saferoom, something like Left 4 Bots 2
Shadowysn  [author] Nov 13, 2024 @ 9:47pm 
@乚乇下丅4乃乇刀
@>>> JEAXM <<<
@San Miguel Me Sonrie
Witch doesn't have any leftover code for being player-controlled, I'd have to make a completely new system to do it.
@xxsel
Nope, only way I can find for console commands will conflict with other mods like Admin System.
Shadowysn  [author] Nov 13, 2024 @ 9:47pm 
@Reversepolius
You can change into a tank to absorb all the shots before changing to your desired infected in a safe place, or use a supplementary mod like Admin System to move to a safe place or give yourself godmode.
@”*°• ddblock46 •°*”
Oops, bug. D:
@Sonichu
By default no, but there's two settings in the config file that control if the commands are allowed for non-admins.
Navidad sin Noel Oct 7, 2024 @ 10:09am 
no es mal Mod pero los malditos Bots inutiles se quedan en el spawn y no hacen nada
Theikos Progonos Sep 19, 2024 @ 6:57pm 
si se puede ser la witch pero el q hizo este mod no se fijo q existe :steamthumbsup:
Theikos Progonos Sep 12, 2024 @ 9:36pm 
:D
>>> JEAXM <<< Sep 6, 2024 @ 3:20pm 
sadly, we cant be the witch but the mod is spectacular and funny xdd
xxsel Aug 15, 2024 @ 3:52am 
is it possible to switch through the console? so thah it is not visible
Left4Bed11 Jul 23, 2024 @ 1:22pm 
can u be witch?
Star Jun 19, 2024 @ 4:33pm 
Can anyone in the game use it?
要撞大运喽 Jun 10, 2024 @ 8:31am 
ohhh:steamthumbsup:
ddblock46 Jun 4, 2024 @ 4:37pm 
I had this weird but cool glitch while paying around in a sandbox map.
when i died and used !ellis to respawn, i respawned as a survivor but could use the hunter's abilities.
Reversepolius May 21, 2024 @ 7:33am 
Is there any way to not have the bot survivors gun you down before you could even move when you become an infected besides them just getting incapped/dying before hand or somehow figuring out a way to get them to not shoot you.?
tianying Apr 22, 2024 @ 4:39am 
!t2