Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Glare (2.15) [10-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 07-18-2015 , 16:00   Re: [L4D & L4D2] Glare (1.1) [10-May-2012]
Reply With Quote #31

Quote:
Originally Posted by Silvers View Post
If you use CSM, changing your character will mess all attachment points on the player, only way is to reattach everything, but since CSM has no forward to tell me when the model has changed, I'm not ever going to bother fixing.
Would adding a forward to whenever a client changes characters help?

I myself have a version of survivor_chat_select where I added this global forward but never released because I though it'd never be useful, if you need so, I could update it with this forward

PHP Code:
/**
 * Class Selection Forward
 * @param userid             Userid of the client who changed characters
 * @param oldCharacter    Previous m_survivorCharacter value for this client
 * @string  oldModel         Previous Player Model for this client
 * @param newCharacter  New m_survivorCharacter value for this client
 * @string  newModel       New Player Model for this client
 */
L4D2_OnCharacterChanged(any:useridoldCharacter, const String:oldModel[], newCharacter, const String:newModel[]) 
PHP Code:
public L4D2_OnCharacterChanged(any:useridoldCharacter, const String:oldModel[], newCharacter, const String:newModel[])
{
    
PrintToChatAll("Client %N had changed their character from (%i / %s) to (%i / %s)"GetClientOfUserId(userid), oldCharacteroldModelnewCharacternewModel);

This is what this snippet results in
Spoiler


Would this help?
__________________
DeathChaos25 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-15-2015 , 06:29   Re: [L4D & L4D2] Glare (1.1) [10-May-2012]
Reply With Quote #32

That's a great idea if you have time. I could have 2 versions up there, the stock one and a version which accommodates for !CSM
__________________
Silvers is offline
Voevoda
Senior Member
Join Date: Aug 2016
Old 05-01-2020 , 17:05   Re: [L4D & L4D2] Glare (1.3) [01-Apr-2020]
Reply With Quote #33

Hi Silvers

you can combine it here with this plugin:
https://forums.alliedmods.net/showpo...&postcount=716
Voevoda is offline
ceasedU
Member
Join Date: Sep 2018
Old 05-15-2020 , 09:46   Re: [L4D & L4D2] Glare (1.4) [10-May-2020]
Reply With Quote #34

i find that in this latest version, if someone uses csm, the new character's glare is pointed down and keeps flashing the screen as they walk. this did not occur in the last update tho.

is this normal that the glare is pointed upwards on some characters on spawn? (without ever changing character via csm)
ceasedU is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-15-2020 , 10:00   Re: [L4D & L4D2] Glare (1.4) [10-May-2020]
Reply With Quote #35

Quote:
Originally Posted by ceasedU View Post
i find that in this latest version, if someone uses csm, the new character's glare is pointed down and keeps flashing the screen as they walk. this did not occur in the last update tho.

is this normal that the glare is pointed upwards on some characters on spawn? (without ever changing character via csm)
Which game? Which characters? I can't see anything wrong from the update. CSM will cause attachments to bug, if you switch weapon it should reset the position. Glare on spawn pointing up I haven't seen, will check again next time I'm ingame.
__________________
Silvers is offline
ceasedU
Member
Join Date: Sep 2018
Old 05-17-2020 , 09:59   Re: [L4D & L4D2] Glare (1.4) [10-May-2020]
Reply With Quote #36

Quote:
Originally Posted by Silvers View Post
Which game? Which characters? I can't see anything wrong from the update. CSM will cause attachments to bug, if you switch weapon it should reset the position. Glare on spawn pointing up I haven't seen, will check again next time I'm ingame.
game: l4d2, any character
in this particular update when i go 3rd person the glare flashes my screen as i walk/run. However in the previous version (1.2) this doesnt occur. this occurs using csm.

Last edited by ceasedU; 05-17-2020 at 10:06. Reason: corrected mistake
ceasedU is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-17-2020 , 10:10   Re: [L4D & L4D2] Glare (1.4) [10-May-2020]
Reply With Quote #37

CSM will break the position and switching weapons should fix. I don't see how this is a 1.4 specific issue, I have no problem when using.
__________________
Silvers is offline
RDiver
Member
Join Date: Mar 2010
Old 05-17-2020 , 15:36   Re: [L4D & L4D2] Glare (1.4) [10-May-2020]
Reply With Quote #38

Quote:
Originally Posted by ceasedU View Post
i find that in this latest version, if someone uses csm, the new character's glare is pointed down and keeps flashing the screen as they walk. this did not occur in the last update tho.

is this normal that the glare is pointed upwards on some characters on spawn? (without ever changing character via csm)
Here is exactly the same as @ceasedU stated. In my case only Zoey the character is affected. The glare direction is randonly pointed out of the gun itself.

These are the relevant plugins:
- Survivor Chat Select 1.6.1 (Forked)
- Real Zoey Unlock (1.2)
- Survivor Identity Fix for 5+ Survivors

Image: https://imgur.com/JPzKTG7

Same concern as everyone using yr valuable plugin.

Last edited by RDiver; 05-17-2020 at 15:37.
RDiver is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-17-2020 , 16:28   Re: [L4D & L4D2] Glare (1.5) [17-May-2020]
Reply With Quote #39

Quote:
Originally Posted by RDiver View Post
In my case only Zoey the character is affected.
That + the screenshot helped. Thanks. Fixed.
__________________
Silvers is offline
Heraldo Xavier
New Member
Join Date: May 2020
Old 05-18-2020 , 11:55   Re: [L4D & L4D2] Glare (1.5) [17-May-2020]
Reply With Quote #40

Hey! Thanks for making this script. I noticed that in L4D1 some of the positions gets broken, just like how in L4D2 Zoey holding the Spas would:

https://i.imgur.com/iM0ujte.jpg https://i.imgur.com/DipUcX8.jpg

And in first person the glare just stays floating at right side, off the weapon:

https://i.imgur.com/PG3OHbQ.jpg https://i.imgur.com/1BvQGXI.jpg https://i.imgur.com/B9omYPd.jpg
Heraldo Xavier 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 22:59.


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