Raised This Month: $32 Target: $400
 8% 

[L4D2] How can I make entity to be visible through the walls?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-20-2020 , 07:19   [L4D2] How can I make entity to be visible through the walls?
Reply With Quote #1

I need to separate survivor players by teams (in Realism mode),
so I'd like 1st player can only see 2nd (and vice versa) through the wall, 3 can only see 4 e.t.c.

How can I attach something to the player, and activate glowing on that entity, that is visible through the wall only for a specific player?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-20-2020 , 09:16   Re: [L4D2] How can I make entity to be visible through the walls?
Reply With Quote #2

Use SetTransmit I think it should work, like the Witch Glowing plugin

https://forums.alliedmods.net/showthread.php?p=2656161

If I'm correct, you need to "duplicate" the entity
And SetTransmit is this new entity, also setting the glow

The only behavior that I have experienced is that sometimes making this (SetTransmit to hide entities with glowing attributes) it appears on the position 0,0,0 of the map, invisible but with glowing

Also there is another option that is to use SendProxy Manager, here is the link https://forums.alliedmods.net/showthread.php?t=169795
The links were removed from the main post but you can find on github something related
I never get success in using it but they say that "should" be possible.
__________________

Last edited by Marttt; 10-20-2020 at 09:27.
Marttt is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-20-2020 , 11:11   Re: [L4D2] How can I make entity to be visible through the walls?
Reply With Quote #3

You don't understand. It is for L4D2. There are no "prop_glowing_object" entity (like in your link). Even if it was, it doesn't react on SetTransmit.
Also, I can't use such entities, because of "Realism" game mode. Such entities are invisible there by default.
They can't be seen through the wall in Realism.

As about SendProxy, I was unsuccessful in an attempt to compile it for L4D. Maybe, somebody other can.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 10-20-2020 at 11:34.
Dragokas is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-20-2020 , 13:28   Re: [L4D2] How can I make entity to be visible through the walls?
Reply With Quote #4

I wasn't suggesting you to use the prop_glowing_object, but to clone the entity, set GlowOverride on it and SetTransmit in the new entity only for the clients that must see
I don't know if in realism glow override works...anyway seems that I can't help, sorry.
__________________

Last edited by Marttt; 10-20-2020 at 13:30.
Marttt is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-20-2020 , 13:44   Re: [L4D2] How can I make entity to be visible through the walls?
Reply With Quote #5

Ahh, you didn't mention about "GlowOverride" before. I will try it. Thanks.

However, still searching for similar solution for L4D1 as well (using entities other than "prop_glowing_object" since they are also losing "visible through the wall" ability in realism).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode