留言
bilibili✈桐风谷早苗 2025 年 11 月 13 日 上午 3:23 
ayaya:balloonfish:
.d1234 2025 年 11 月 8 日 上午 4:12 
Yes, thank you. Problem in my windows 10. Just downloaded older version of s2viewer
Rectus 2025 年 11 月 8 日 上午 3:15 
I think it was updated to .NET 9 or 10. You might need to download the runtimes for those, or update Windows.
.d1234 2025 年 11 月 8 日 上午 1:31 
I have the same problem as you solved here https://psteamcommunity.yuanyoumao.com/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
gni.794 2025 年 10 月 30 日 上午 10:02 
🐰
Meem Crates 2025 年 5 月 16 日 下午 8:45 
:aya:
KASHI 2025 年 5 月 7 日 上午 7:03 
ayaya
Rectus 2025 年 4 月 16 日 下午 3:14 
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.
шнобель 2025 年 4 月 16 日 下午 3:09 
sorry, i'm not good at programming, i need to do this or what ?
if(Player("!nick").isBot())
{
Rectus 2025 年 4 月 16 日 上午 7:42 
VSLib has a Player.IsBot() method.
шнобель 2025 年 4 月 16 日 上午 5:57 
I tried to add: if (Player("!player").GetCharacterName != "Nick") but unfortunately this is wrong:steamthumbsdown:
шнобель 2025 年 4 月 16 日 上午 5:53 
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();
}
шнобель 2025 年 4 月 14 日 下午 1:09 
its good,
thank you very much:steamthumbsup::steamthumbsup::steamthis:
Rectus 2025 年 4 月 14 日 上午 11:12 
You'll need to run it on the spawned players. Try adding a trigger_multiple filtered for survivors, and add the output for !activator.
шнобель 2025 年 4 月 14 日 上午 11:03 
thank you very much, I'm trying to do something but apparently I'm doing it wrong
https://prnt.sc/NCyWkwf2wmCE
Rectus 2025 年 4 月 14 日 上午 10:38 
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.
шнобель 2025 年 4 月 14 日 上午 10:21 
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 )
Rectus 2025 年 4 月 14 日 上午 9:53 
Depends on what the issue is.
шнобель 2025 年 4 月 14 日 上午 8:22 
Hello Rectus, сan you please a little bit help with the script:lunar2019piginablanket:
Rectus 2025 年 4 月 13 日 上午 7:03 
Nope.
Mohsen! 2025 年 4 月 13 日 上午 4:21 
can you fix homemade turret for bots to place it?
Mohsen! 2025 年 4 月 13 日 上午 4:20 
but isnt buggy custom weapons working as well bots cant place sentry homemade turret they use as melee and working already lol :biohazard_demon:
Mohsen! 2025 年 4 月 13 日 上午 4:19 
high physical damage and can move unfreezed props like cars and trash bins
Mohsen! 2025 年 4 月 13 日 上午 4:18 
! i know but 7% times m72 killin my self
Rectus 2025 年 4 月 13 日 上午 4:17 
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.
Mohsen! 2025 年 4 月 13 日 上午 4:02 
Why M72 explode on my self? must stand on ground and stop moving to shoot m72 law?
Mohsen! 2025 年 4 月 13 日 上午 4:01 
Rectus why pipe shotgun and m72 LAW in custom wea l4d2 means anti tank and anti witch?
Rectus 2025 年 3 月 9 日 上午 5:42 
Nope.
Mohsen! 2025 年 3 月 9 日 上午 5:06 
can you make more custom weapons l4d2? :phoenixheart:
Rectus 2025 年 2 月 26 日 下午 11:23 
You're welcome!
Salveei 2025 年 2 月 26 日 下午 10:07 
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:
Ritsu 2025 年 2 月 11 日 上午 12:38 

𝒽𝒶𝓋𝑒
𝒶
𝓁𝑜𝓋𝑒𝓁𝓎
𝒹𝒶𝓎
Rectus 2025 年 1 月 4 日 上午 3:24 
You too!
Puffy 2025 年 1 月 4 日 上午 12:48 
You're a gem Rectus, have a splendid 2025.
Allen Scott 2024 年 12 月 25 日 上午 10:36 
Hey, adding to ask a quick question about the L4D2 Vscripting.
Rectus 2024 年 11 月 14 日 上午 12:01 
Yeah, unfortunately it's very limited in waht you can do with custom weapons.
Pringles™ 2024 年 11 月 13 日 下午 5:51 
@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 :(
Mohsen! 2024 年 11 月 13 日 上午 10:14 
ok wont dorry i just say thanks for nice ♥♥♥♥♥ bro
Rectus 2024 年 11 月 13 日 上午 9:53 
I'm not able to work on L4D2 mods. What kind of example file do you need?
Pringles™ 2024 年 11 月 13 日 上午 9:35 
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.
Mohsen! 2024 年 10 月 4 日 上午 1:16 
WONDERFUL small l4d2 helper realism :missing:acks!
lot of my fun moment thanks path men terms!
Woodwo 2024 年 9 月 22 日 下午 10:42 
how did you get an achievmient thats 0.1 precent of players got
Rectus 2024 年 7 月 26 日 上午 11:35 
I'm glad you like it!
Dekaloss 2024 年 7 月 26 日 上午 10:56 
gnome guardians is soo gooddd
devlos 2024 年 5 月 25 日 上午 11:53 
thanks! :)
Rectus 2024 年 5 月 25 日 上午 8:06 
Great work!
devlos 2024 年 5 月 25 日 上午 7:28 
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
Rectus 2024 年 5 月 25 日 上午 6:01 
Oh, that's really neat. I'm guessing it works by manipulating the netprops of the regular weapon entities. I never thought of doing it that way.
devlos 2024 年 5 月 25 日 上午 5:37 
Well i just released this , it's the mod. You can now add custom primary weapons without requiring melee_scripts , still a work in progress but it's based off your work rectus!
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3254000850
Jhoshua Wolfox 2024 年 3 月 31 日 上午 9:33 
Ouch, that impossibility to reload would kill any weapons idea. It was worth a shot, you have been amazing at explaining, i just wish Left 4 Dead 2 would be more open ended on the weapons aspect of the game. Thank you for your time, i still remember how crazy it was back in the day when your mod was posted!