Comments
Apr 16 @ 2:03am 
+rep
Apr 2 @ 3:56pm 
zombies futbol v2 com speciasi plsss dud
Mar 14 @ 5:11pm 
Waiter, more campaigns please! Great work.
Nov 13, 2025 @ 3:23am 
ayaya:balloonfish:
Nov 8, 2025 @ 4:12am 
Yes, thank you. Problem in my windows 10. Just downloaded older version of s2viewer
Nov 8, 2025 @ 3:15am 
I think it was updated to .NET 9 or 10. You might need to download the runtimes for those, or update Windows.
Nov 8, 2025 @ 1:31am 
I have the same problem as you solved here https://www.48675488.xyz/app/250820/discussions/7/4362373511164069561/ but open Source2Viewer.exe by cmd is also not working. Can you help me to find a solution?
NET Desktop Runtime 8.0.3 is installed
Oct 30, 2025 @ 10:02am 
🐰
May 16, 2025 @ 8:45pm 
:aya:
May 7, 2025 @ 7:03am 
ayaya
Apr 16, 2025 @ 3:14pm 
You would have to iterate though the players. I haven't used VSLib in a long time, so I can't remember exactly how it's used. It might be better to ask about it on the L4D2 discussion forums.
Apr 16, 2025 @ 3:09pm 
sorry, i'm not good at programming, i need to do this or what ?
if(Player("!nick").isBot())
{
Apr 16, 2025 @ 7:42am 
VSLib has a Player.IsBot() method.
Apr 16, 2025 @ 5:57am 
I tried to add: if (Player("!player").GetCharacterName != "Nick") but unfortunately this is wrong:steamthumbsdown:
Apr 16, 2025 @ 5:53am 
Rectus, u need help(( please :steamsad::steamsad::steamsad:

I have a script that deletes the inventory of a survivor, but I need to get rid of weapons exclusively from bots, i use VSLIB

( for example, if the player chose Nick as a survivor )

local inventory = Player("!nick").GetHeldItems();
if ( inventory )
{
foreach (wep in inventory)
wep.KillEntity();
}
Apr 14, 2025 @ 1:09pm 
its good,
thank you very much:steamthumbsup::steamthumbsup::steamthis:
Apr 14, 2025 @ 11:12am 
You'll need to run it on the spawned players. Try adding a trigger_multiple filtered for survivors, and add the output for !activator.
Apr 14, 2025 @ 11:03am 
thank you very much, I'm trying to do something but apparently I'm doing it wrong
https://prnt.sc/NCyWkwf2wmCE
Apr 14, 2025 @ 10:38am 
That function sets the "effects" property of the player entity to 4 or 0. You could do it directly with map I/O using an "addoutput effects 0" output to each player.
Apr 14, 2025 @ 10:21am 
I'm creating a map, survivors in l4d2 spawn with a flashlight on, I would like to turn off the flashlights.
I also found a command that turns them off, but my knowledge is zero
VSLib.Player.SetFlashlight ( bool turnFlashOn )
Apr 14, 2025 @ 9:53am 
Depends on what the issue is.
Apr 14, 2025 @ 8:22am 
Hello Rectus, сan you please a little bit help with the script:lunar2019piginablanket:
Apr 13, 2025 @ 7:03am 
Nope.
Apr 13, 2025 @ 4:21am 
can you fix homemade turret for bots to place it?
Apr 13, 2025 @ 4:20am 
but isnt buggy custom weapons working as well bots cant place sentry homemade turret they use as melee and working already lol :biohazard_demon:
Apr 13, 2025 @ 4:19am 
high physical damage and can move unfreezed props like cars and trash bins
Apr 13, 2025 @ 4:18am 
! i know but 7% times m72 killin my self
Apr 13, 2025 @ 4:17am 
It's because the rocket is a physics object, and there is no way of making ignore collision with the shooter. Hits are calculated on the server as well, so any lag or other issues can make it hit the shooter sometimes when firing.
Apr 13, 2025 @ 4:02am 
Why M72 explode on my self? must stand on ground and stop moving to shoot m72 law?
Apr 13, 2025 @ 4:01am 
Rectus why pipe shotgun and m72 LAW in custom wea l4d2 means anti tank and anti witch?
Mar 9, 2025 @ 5:42am 
Nope.
Mar 9, 2025 @ 5:06am 
can you make more custom weapons l4d2? :phoenixheart:
Feb 26, 2025 @ 11:23pm 
You're welcome!
Feb 26, 2025 @ 10:07pm 
i just wanted to thank you for the amazing addons you have done for the l4d2 community!! they're great
have a good year :zomv:
Feb 11, 2025 @ 12:38am 

𝒽𝒶𝓋𝑒
𝒶
𝓁𝑜𝓋𝑒𝓁𝓎
𝒹𝒶𝓎
Jan 4, 2025 @ 3:24am 
You too!
Jan 4, 2025 @ 12:48am 
You're a gem Rectus, have a splendid 2025.
Dec 25, 2024 @ 10:36am 
Hey, adding to ask a quick question about the L4D2 Vscripting.
Nov 14, 2024 @ 12:01am 
Yeah, unfortunately it's very limited in waht you can do with custom weapons.
Nov 13, 2024 @ 5:51pm 
@Rectus I checked your guide and apparently its not possible to have custom stats for a gun without clients downloading the gun files, even if one uses vanilla skins like the TLS update variants. On that basis it wouldnt be of any use for our public play :(
Nov 13, 2024 @ 10:14am 
ok wont dorry i just say thanks for nice ♥♥♥♥♥ bro
Nov 13, 2024 @ 9:53am 
I'm not able to work on L4D2 mods. What kind of example file do you need?
Nov 13, 2024 @ 9:35am 
Hi rectus, friending you to see if we can make a TLS alternative "new" weapon mod based on your Custom Weapon Base mod together. I essentially just need an example file. I can pay with steam game purchase or € payment if youre in the EU :demoticon: just slightly altered versions of vanilla guns using the TLS skins instead of normal.
Oct 4, 2024 @ 1:16am 
WONDERFUL small l4d2 helper realism :missing:acks!
lot of my fun moment thanks path men terms!
Sep 22, 2024 @ 10:42pm 
how did you get an achievmient thats 0.1 precent of players got
Jul 26, 2024 @ 11:35am 
I'm glad you like it!
Jul 26, 2024 @ 10:56am 
gnome guardians is soo gooddd
May 25, 2024 @ 11:53am 
thanks! :)
May 25, 2024 @ 8:06am 
Great work!
May 25, 2024 @ 7:28am 
Kinda , i do manipulate some but i still had to code all the weapon logic myself just like you did for the custom weapon base. :d