Left 4 Dead 2

Left 4 Dead 2

Survivor Shoving Script
 This topic has been pinned, so it's probably important
Captain Pentium  [developer] 22 Jan, 2020 @ 7:42am
Incompatibilities Thread
This script is incompatible with any other mod that has a mapspawn.nut file within it. However, it's easy enough to make this compatible with them if I add its .nut file's name into my own mapspawn.nut. If you want this to work with any other script mods you have installed, just tell me and I'll make it work.

Keep in mind, doing it this way still makes it show up as incompatible in the addons page but it works.

Other mods may be incompatible, so if you happen to find any please alert me, and other users, of their presence.

EDIT: Replaced folder with page (seriously, Past Me? Folder?) and reduced redundant word usage.

A list of previously incompatible mods can be found below. These now work in tandem with this script:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1946304784
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1932686022
Last edited by Captain Pentium; 26 Jan, 2020 @ 1:26pm
< >
Showing 1-13 of 13 comments
Typical 24 Jan, 2020 @ 9:13am 
for some reason this script its conflicting with this script: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1946304784
Captain Pentium  [developer] 24 Jan, 2020 @ 10:05am 
Originally posted by TypicalType:
for some reason this script its conflicting with this script: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1946304784
It should work with it now :boomer:
Captain Pentium  [developer] 25 Jan, 2020 @ 10:00am 
Originally posted by Just A Player:
for me still both are marked red

Sadly, I can’t fix the fact that it still shows up like that but they work side by side, regardless.
Shadowysn 25 Jan, 2020 @ 8:13pm 
I've updated my script addon's mapspawn.nut files to support your addon. Just letting you know. :P
Last edited by Shadowysn; 26 Jan, 2020 @ 12:07am
Shadowysn 26 Jan, 2020 @ 4:27am 
Originally posted by Just A Player PL:
Originally posted by Shadowysn:
I've updated my script addon's mapspawn.nut files to support your addon. Just letting you know. :P
Hell yeah, you're the best :boomer:
Thanks for the compliment. :P

Unfortunately those compatibilities are only on my end, meaning that if this addon's mapspawn.nut is loaded instead of mine, it's not gonna load the rest of my scripts.
Shadowysn 26 Jan, 2020 @ 4:35am 
Originally posted by Just A Player PL:
Originally posted by Shadowysn:
Thanks for the compliment. :P

Unfortunately those compatibilities are only on my end, meaning that if this addon's mapspawn.nut is loaded instead of mine, it's not gonna load the rest of my scripts.
so.... it still dont work? (yeah, my english is broken sry)
Well, what it means if that if this addon is loaded first, then it won't be compatible.
But if one of mine is loaded first, the compatibilities take effect.

You can try copy-pasting my .vpk addons from the workshop folder into addons. Keep in mind you'll have to do this every time I update the addon, otherwise the old one will stay outdated.
Last edited by Shadowysn; 26 Jan, 2020 @ 4:35am
Shadowysn 26 Jan, 2020 @ 6:20am 
Originally posted by Just A Player PL:
Originally posted by Shadowysn:
Well, what it means if that if this addon is loaded first, then it won't be compatible.
But if one of mine is loaded first, the compatibilities take effect.

You can try copy-pasting my .vpk addons from the workshop folder into addons. Keep in mind you'll have to do this every time I update the addon, otherwise the old one will stay outdated.
but i think easier way would creating one addon and try to fix them or something.
like this one: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=654267358&searchtext=realistic+ragdoll
That's a good idea, but if I had a lot of script addons then it's going to be a pain in the a** to create seperate combined addons of them all.

I'm thinking more of the lines of a single addon containing the mapspawn.nut file needed to initialize the scripts.
76561198863212435 4 Sep, 2020 @ 11:14am 
bro is this compatible with admin menu 2.0 / admin system?
Tsuey 24 Sep, 2020 @ 3:49am 
Hey!

The Last Stand update will ease up on the incompatibilities when using mapspawn.nut. I modified and tested your addon on the Beta to ensure everything will go smoothly for tomorrow.

When the update launches, you can update by doing the following:

1. Rename your "mapspawn.nut" file to "mapspawn_addon.nut" -- everyone gets their own now!

2. Modify that file just a bit...

The current technique used won't work anymore because Kerry Davis removed these from the preserved entity table, so we can't get round-persistent scope for Game Events this way anymore:

SpawnEntityFromTable("env_soundscape_triggerable", { vscripts = "script_file_name_here" });

So, instead, I now have the file named like this:

\scripts\vscripts\mapspawn_addon.nut

I updated it to contain just this one line to run the script on "worldspawn" instead, notable because it doesn't respawn each round so its scope is permanent:

EntFire( "worldspawn", "RunScriptFile", "survivorshoving" );

And it works!

You also don't need the lines which run "vscript_survivor_deathanim" and "vscript_survivor_ragdoll" anymore.
Captain Pentium  [developer] 24 Sep, 2020 @ 9:37am 
That's pretty awesome stuff, Tsuey! I'll be sure to fix it up once the update arrives. Thanks :scribe:
salter 18 Sep, 2021 @ 2:35pm 
Subbed to this addon and it doesn't seem to work anymore
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2592785859
please do you think you can make a script that enables survivor collision (it works with z_avoidteammates command, but I need sv_cheat to work and I don't know how to convert it to script)
trash 27 Mar, 2022 @ 7:25pm 
I'm wondering why it's not working, until I looked at the mods it's compatible with I knew why. I'm using the "Defib Survivor Ragdolls" and not the "Survivor Ragdolls (Global)"

EDIT: Aight I changed to "Survivor Ragdolls (Global)" so it should work now.

EDIT 2: Okay seems the Death Animations and Survivor Ragdolls is incompatible together, it's conflicting with the Files. So I'll have to unsubscribe from 1 of these addons.

Final EDIT: Okay still ain't working, I think Imma go back to the "Defib Survivor Ragdolls" and the other addons I unsubscribed to. Which means I'll also unsubscribe to this addon and subscribe to those addons I had to unsubscribe to.
Last edited by trash; 27 Mar, 2022 @ 7:39pm
< >
Showing 1-13 of 13 comments
Per page: 1530 50