Left 4 Dead 2

Left 4 Dead 2

[VScript] Custom Survivor Takeover - CST
258 Comments
Poolsup (TH) Just now 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
[Sub2]TacticalMadnessYT 15 hours ago 
thanks, preciate you.Goated as always . love the work
[Sub2]TacticalMadnessYT 16 hours ago 
Anyone know the addon for them error signs from the 3rd to last pick (the one with need to restart)
ChapCanai  [author] 20 hours ago 
@SPSick
I'll try that out, thanks
SPSick 23 hours ago 
for defib fix, it might be worth using the sourcemod plugin version of it, I use it and it seems to work correctly.
ChapCanai  [author] Aug 4 @ 4:02am 
@Rudy The Fox
survivor icon tutorial of cst?
Rudy The Fox Aug 4 @ 3:40am 
the survivor icon tutorial of cst gonna need more work but take time for what your need
kouga Aug 1 @ 10:20pm 
hey do whatever you find is the least mind numbing lol. i support you
ChapCanai  [author] Aug 1 @ 9:58pm 
Maybe I should ditch parallel arrays and try to learn how to do it like in CWL, one cfg table per character
kouga Aug 1 @ 9:38pm 
you know what else you could add that would be cool? a new toggle setting for campaign-exclusive takeovers. meaning you can prevent certain characters from appearing on certain maps (so you wont find two whitakers or two jimmy gibbs in dead center)


now figuring out how to make it work in parallel arrays would be a pain in the ass, but i have a suggestion:

1) assign each map a value (c1m1 = 11, c6m4 = 64)
2) those values can then be added together to specify which maps certain survivors can appear in. taking the example from above, 11 + 64 is 75. you would then just put "75" inside the parallel array and this would mean your chosen character will only appear there.

this might require writing more guides and instructions for other players but it would also further this mods customizability to insane levels.

but what do you think? 😁
ChapCanai  [author] Jul 31 @ 7:02pm 
@wyngz
Wait, by "rebuild sound cache" i meant that you dont have to do it if you are not editing the wavs of the custom vscript talkers, just in case I said that wrong
wyngz Jul 31 @ 5:36pm 
i just started messing with this mod but that's great to keep in mind
ChapCanai  [author] Jul 31 @ 5:12pm 
@wyngz
Are you talking about the voices in the custom vscript talkers?
If so, that one can be any length, but must rebuild sound cache after that
wyngz Jul 31 @ 4:04pm 
do the voicelines have to still be the same length as the one they replace?
kouga Jul 30 @ 7:05pm 
no worries! i actually want to try my hand at making it work eventually. so just the rescue closet would be fantastic. (unless you could also fit in the chance infecteds can spawn in closets, but i wont pressure ya)

as for rescue voice, i got no idea. id say just go for it and figure out the voice later bc there is also the option of just muting every rescue voice :steamhappy:
ChapCanai  [author] Jul 30 @ 6:56pm 
@kouga
Im also wondering how to change the rescue call voice, because it would be pretty weird to hear the voice of the one who died but a different person comes out the closet
ChapCanai  [author] Jul 30 @ 6:54pm 
@kouga
your other feature suggestions are way past my skill level unfortunately
kouga Jul 30 @ 6:34pm 
actually holy shit its near the last page. lol
kouga Jul 30 @ 6:33pm 
@ChapCanai
honestly my idea was that once they ran out, there wont be anymore rescue closet survivors. but that can indeed be its own difficulty mod. maybe you could just set it to either loop through the list or stop takeovers. ur pick

if you do want to try it as a standalone mod, why not consider the rest of the features from my dream mod that ive mentioned over here a couple of pages back?

:D it would be INCREDIBLY fun
ChapCanai  [author] Jul 30 @ 6:22pm 
@kouga
Thats a good idea, thanks, I can try that. What should happen if the closet one dies again? Who will takeover them?
Im guessing use the next closet fella, but after all closet fellas are dead, what to do?
Maybe on closet rescue, it will just grab a random character from the settings (if theyre not already in the team) so no need for the "closet" label in the takeover settings?
kouga Jul 30 @ 9:26am 
hey @ChapCanai! got a question: lets say !survcount is 4 and a character dies....if they get rescued in the closet will takeover happen? if not could you maybe add that as a feature? like as an option in the takeovers setting in the cfg :))

takeovers = ["closet", "random", "clone", "closet"]
• if you put "closet", it will find the next survivor rescued in the closet to takeover
Leon The Fox Jul 28 @ 11:35pm 
i see you use the King's yusuke kudo beside's AvengedDeathAlert's yusuke kudo
ChapCanai  [author] Jul 28 @ 3:14am 
Chur
braverewe26 Jul 28 @ 3:07am 
well thats good im glad you got some working
ChapCanai  [author] Jul 28 @ 3:06am 
not 100% working right but better than silence i guess
braverewe26 Jul 28 @ 3:03am 
did you end up getting the voices working?
eidonabramm Jul 27 @ 10:08pm 
https://steamcommunity.com/sharedfiles/filedetails/?id=2631342767

this one works without crashing due to the issues i stated happen to others.

So if Im guessing right most of the the custom maps even if nothing is making themred in add ones are not all stable. man i wish valve would update the game
eidonabramm Jul 27 @ 9:59pm 
sadly I hink certain custom left 4 dead 1 campaigns jsut dont want to work where some can. most likley because alot of the old customs have not been brought up to date.
ChapCanai  [author] Jul 27 @ 9:57pm 
So in conclusion, the source engine is not rockstar advanced game enigne
eidonabramm Jul 27 @ 9:40pm 
Well combine the original 8 with the 19 custom it makes 27 due to me using sourcemod
ChapCanai  [author] Jul 27 @ 9:30pm 
excluding the 19th one which is Sniper of course
ChapCanai  [author] Jul 27 @ 9:29pm 
@eidonabramm
I tried your settings in buried deep, no problem for me, 18 custom survivors no crash
eidonabramm Jul 27 @ 9:25pm 
and i make sure no red on any custom campaign and this should work custom ones that have me start with l4d1 survivors but it crashes when I do.
eidonabramm Jul 27 @ 9:21pm 
this is in order could not post it together 1000 word limit
eidonabramm Jul 27 @ 9:21pm 
names = ["Yusuke", "Sara", "Haruka", "Blake", "Jeff", "Whitaker", "Survivor", "Pilot", "Mike", "Keith", "Amanda", "Hunter", "John", "Virgil", "Annie", "Gibbs", "Machinegunner", "Rifleman", "Sniper"]
char_nums = [-1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, 19]
context_names = ["Yusuke", "Sara", "Haruka", "Blake", "Jeff", "Whitaker", "Survivor", "Pilot", "Mike", "Keith", "Amanda", "Hunter", "John", "Virgil", "Annie", "Gibbs", "Machinegunner", "Rifleman", "Sniper"]
takeover_chance = [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
bots_only = true
auto_start_takeover = true
try_auto_takeover_on_update = false
try_restore_on_update = false
manual_takeover_commands = ["!takeover", "/takeover"]
shuffle = false
debug = false
}
eidonabramm Jul 27 @ 9:20pm 
models = ["models/survivors/survivor_yusuke.mdl", "models/survivors/survivor_sara.mdl", "models/survivors/survivor_haruka.mdl", "models/survivors/survivor_blake.mdl", "models/survivors/survivor_jeff.mdl", "models/survivors/survivor_whitaker.mdl", "models/survivors/survivor_unfallen.mdl", "models/survivors/survivor_pilotnc5.mdl", "models/survivors/survivor_operator.mdl", "models/survivors/survivor_keith.mdl", "models/survivors/survivor_amanda.mdl", "models/survivors/survivor_hunter.mdl", "models/survivors/survivor_john.mdl", "models/survivors/survivor_virgil.mdl", "models/survivors/survivor_femsoldier.mdl", "models/survivors/survivor_gibbs.mdl", "models/survivors/soldier_mg.mdl", "models/survivors/soldier_rifle.mdl", "models/survivors/soldier_sniper.mdl"]
eidonabramm Jul 27 @ 9:20pm 
{
toggles = [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true]
takeovers = ["clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone", "clone"]
ChapCanai  [author] Jul 27 @ 9:18pm 
@eidonabramm
Yes, buried deep, you mentioned
ChapCanai  [author] Jul 27 @ 9:18pm 
@eidonabramm
I dont have sourcemod to go up to 27
eidonabramm Jul 27 @ 9:17pm 
Oh and are you starting at the left 4 dead 1 survivors from there character selection??
ChapCanai  [author] Jul 27 @ 9:17pm 
May i also see your cst settings?
eidonabramm Jul 27 @ 9:17pm 
Hmm what if you used 27 survivors custom?
ChapCanai  [author] Jul 27 @ 9:15pm 
@eidonabramm
Ok I tried buried deep with 18 survivors (most I can go without sourcemod), and 10 of them are custom survivors. It seems to work fine for me, no crash
eidonabramm Jul 27 @ 9:04pm 
Okay it works fine on official campaigns but when I attempt to load for example buried deep custom campaign just before it can fully load into game it crashs me out
CoolingCashew31 Jul 27 @ 8:57pm 
"See out here. Freestyle is everything, old fashioned, new fashion, it's all about love of passion. We're gonna paint this whole city black and burn. They say pays the cost to be the boss right? Let's show them who's in charge. So takeover."
eidonabramm Jul 27 @ 8:57pm 
Let me see if that works cause I like playing the game with 27 or 28 characters.
ChapCanai  [author] Jul 27 @ 8:54pm 
What if you set all the char_nums to 0?
eidonabramm Jul 27 @ 8:46pm 
Yeah I tested it with just clones of the original eight it seems to work just fine again on not counting official campaigns but all custom campaigns having 27 clones of the 8 dosent cause any problems unless of course the custom maps are unstable with to many bots. But when I enable the custom surviors like Gibbs custom l4d1 maps crash if I cannot select the L4d2 survivors
ChapCanai  [author] Jul 27 @ 8:41pm 
But if the 27 survivors are not custom, then will it still crash?