Left 4 Dead 2

Left 4 Dead 2

[VScript] Custom Survivor Takeover (CST)
470 Comments
kouga 7 hours ago 
last time i played i got a repeat for some reason so i just wanted to double check with you. ill get back to you next time i play
ChapCanai  [author] 7 hours ago 
i thought it checks that already
kouga 7 hours ago 
okay a followup to that last problem. so is there a way for closet takeover to not reuse the survivors from cst? for example, if i have mary and she dies can she not appear in the closet anymore
kouga 14 Oct @ 12:50am 
ahhh shoot well alr. thanks friend!
ChapCanai  [author] 14 Oct @ 12:47am 
You have @survset_opposite + @clone in one profile? ye that will cause duplicates, so just have one target
kouga 14 Oct @ 12:46am 
if i try doing @survset_opposite + @clone it still gives me duplicate survivors, not really sure how it does that
ChapCanai  [author] 14 Oct @ 12:35am 
Or have multiple targets in the takeover field in a profile
ChapCanai  [author] 14 Oct @ 12:35am 
I thought it does that? You would have to purposefully put in a duplicate in the profiles_cfgs settings
kouga 14 Oct @ 12:33am 
or is that already possible?
kouga 14 Oct @ 12:33am 
something like, cst will keep track of which profile was already used and will prevent that profile from taking over more than once.
kouga 14 Oct @ 12:24am 
btw, think you could include a setting to prevent duplicate characters from taking over? sorta like the limited rescue setting in closet takeover :>>
ChapCanai  [author] 11 Oct @ 9:14pm 
Ye, have been using admin system with this
kouga 11 Oct @ 8:59pm 
yes it is
This mod is not compatible with Admin System? :(
CATSarekittens 11 Oct @ 3:58pm 
Will custom icons and arms ever be supported or is it highly unlikely?
braverewe26 7 Oct @ 12:44am 
i swear this us to have a thing in settings to only take over duplicate survivors
ChapCanai  [author] 30 Sep @ 3:47pm 
Have the same number of profiles as the number of survivors
Gumarelo22 30 Sep @ 11:36am 
dumb question, but how can i avoid the survivors being duplicated when playing with 8 survivors or more?
ChapCanai  [author] 28 Sep @ 1:58am 
But i think VSSM could probably do it better than mine
ChapCanai  [author] 28 Sep @ 1:50am 
I guess so, but only if all 8 survivors spawn at the start of the campaign and not in the middle of the round.
I have also been using this as a survivor randomizer, if that's a related thing
CATSarekittens 28 Sep @ 1:46am 
Are you able to use this as a character manager? Like can it prevent duplicate vanilla characters if you want to play with 8 survivors?
ChapCanai  [author] 28 Sep @ 1:12am 
If you type: !skinswap francis
Then francis must be in your team from the start
Mister_Swiss 28 Sep @ 1:09am 
I didn’t try it with !survbot, and every time I do it I get the same message; “target model not found: {name}”
ChapCanai  [author] 28 Sep @ 12:22am 
Did you also try to do !skinswap on a survivor that you spawned with !survbot? because those who spawn late won't be recorded into a list, and !skinswap only works on those in that list
ChapCanai  [author] 27 Sep @ 11:54pm 
Currently it does not takeover survivors that spawn in the middle of the round (eg !survbot), so better to set the survcount in the settings only. For !skinswap, can you give an example on how you typed it out?
Mister_Swiss 27 Sep @ 10:48pm 
Sorry to bother again, but how do I make it so that I can spawn in custom survivors with the “!servbot” command from the survivor manager mod? Also the “!skinswap” command isn’t working for me, it keeps saying target model not found, even for the original survivors
Mister_Swiss 27 Sep @ 5:41pm 
nvm, please ignore that second part
Mister_Swiss 27 Sep @ 5:36pm 
how exactly does this work? like how do I spawn in new survivors like the arcade ones? also I already had the survivor manager mod, but when I got this, every time I use "!survswap" I switch and stay the same survivor
ChapCanai  [author] 25 Sep @ 3:03pm 
@Negrilson
What are your settings and profiles?
Negrilson 25 Sep @ 10:44am 
eh alguien sabe porque se duplican los sobrevivientes pense que solo serian los 12 suvivor nomas?
ChapCanai  [author] 23 Sep @ 9:10pm 
@TankDemp
Nice,
For the hud, I have not figured out how, still a beginner in these stuff,
Thanks for trying it out
Aeris>︿< 23 Sep @ 8:39pm 
@ChapCanai
Thanks i figured it out! i got another question related to the hud.

Do you think we can unique hud for each custom survivors? or is that something that is hardcoded /impossible to implement?

man your the goat, i swear this mod is so amazing xD im having so much fun messing around with it!
ChapCanai  [author] 23 Sep @ 6:43pm 
@TankDemp
When using this script, the way to select characters is different. See here: https://gtm.steamproxy.vip/workshop/filedetails/discussion/3521730239/592902428426243132/
Aeris>︿< 23 Sep @ 1:33pm 
Hey, Sorry for bothering, do you know why whenever i start a campaign. despite me picking my character in main menu. once ingame it switch me to someone else? is there any fix to that? thanks in advance! your mod is amazing!
ChapCanai  [author] 21 Sep @ 11:08pm 
@superloft7
Thank you. I will put that in the description
I was wondering about the difference between GetDisplayName and GetPlayerName
P h ム s m 20 Sep @ 5:27pm 
@superloft7 thanks that worked! It makes sense since they're nameless (survivor) inside game's code
superloft7 18 Sep @ 5:48am 
@kouga and @P h ム s m

EDIT: Create survivor.txt weapon preference file. They work for me and they pick up weapons now.
kouga 18 Sep @ 5:35am 
both work? @superloft7
P h ム s m 17 Sep @ 1:16am 
Yeah tried that but didn't work, after completing a chapter the customs will keep their t1 weapons or worse, just their pistols ignoring everything else
ChapCanai  [author] 16 Sep @ 11:02pm 
Since the l4b2 weapon preferences are based on the display name, do you think that duplicating and renaming another preference file to match with your custom survivor name could work?
ChapCanai  [author] 16 Sep @ 9:07pm 
@P h ム s m
Yep, i had to edit the l4b2 code abit to make custom survivors use the weapon preferences of vanilla survivors
P h ム s m 16 Sep @ 4:22pm 
I get this isn't 100% compatible with Left4Bots2? The custom survivors stop taking items (pain pills, molotovs, medkits, etc) after completing a chapter, the only fix is killing and reviving them on spot or losing the map
Poolsup (TH) 16 Sep @ 10:44am 
something wrong on versus mode the pistol spread off anywhere
SPSick 14 Sep @ 4:15pm 
Subtitles require sound scripts and also vcd files ( I think) which is kinda complicated rn
ChapCanai  [author] 13 Sep @ 8:57pm 
@Gumarelo22
Unfortunately thats too advanced for me, sorry
Gumarelo22 13 Sep @ 8:14am 
dumb question, but will there be any possibility of subtitles for the survivors in the collection? like ada or hunk
Poolsup (TH) 13 Sep @ 1:23am 
is not about that there was custom campaign have custom sound and script voice