[L4D/L4D2]ThirdPersonShoulder_Detect(1.5.3 - 08/06/2020)
2 Attachment(s)
Simple Forwarding plugin so querying the client convar c_thirdpersonshoulder only happens once not multiple at once by otherplugins to lower client upstream, just by using a simple forward.
PHP Code:
but client is still first person. Plugins that use this: [L4D/L4D2]Lux's Model Changer [L4D/L4D2] Shotgun Sound Fix [L4D2]Survivor_Legs GitHub |
What's updated Pointer
update to 1.2 please refer to Github on code changes
https://github.com/LuxLuma/-L4D-L4D2...a?diff=unified |
Re: [L4D/L4D2]ThirdPersonShoulder_Detect(1.2.2 - 28/6/2017)
1.4
Rolled back to more simple backend Alot of bug regarding map changing reporting invalid varables for non thirdperson should users i can't replicate it so until i can, i'm rolling back update. please refer to Github on code changes https://github.com/LuxLuma/-L4D-L4D2...f916ce7bfa0f84 |
Re: [L4D/L4D2]ThirdPersonShoulder_Detect(1.4 - 18/7/2017)
So I found a bug that sometimes when your teammate is incapped, you can see their drop down animation gets repeated more than several times. It has fixed the defib animation being two models though. Possible to fix right?
|
Re: [L4D/L4D2]ThirdPersonShoulder_Detect(1.4 - 18/7/2017)
Quote:
also minor fixes to stop it being in your face, but does no checking at all with incapped stuff. What plugin are you talking about? |
Re: [L4D/L4D2]ThirdPersonShoulder_Detect(1.4 - 18/7/2017)
I have no idea, I'm just reporting the problem I have to see if you might have a solution. So with the survivor_leg plugin, we'd have the defib animation being weird seeing multiple models of yourself when you wake up. After installing this, that problem is fixed, but sometimes when your teammate incapped, the drop down animation will repeat multiple times
|
Re: [L4D/L4D2]ThirdPersonShoulder_Detect(1.4 - 18/7/2017)
dunno i don't mess with drop down anims on clients
|
Re: [L4D/L4D2]ThirdPersonShoulder_Detect(1.4 - 18/7/2017)
can you please make a "3rd person detect" (for L4D1) too, please?
Survivors can get into 3rd person when: # start healing # pounced by hunter # tied by smoker # stuned when a hunter pounces other survivor (in survival and vs mode). # stuned by boomer # stuned by witch #stuned by close explosion |
Re: [L4D/L4D2]ThirdPersonShoulder_Detect(1.4 - 18/7/2017)
1 Attachment(s)
Quote:
Otherplugins, using your plugin's forward, never query for that convar. And vice versa, your plugin query for that convar multiple times (once each 0.25 sec.). Also, I noticed several bugs when testing and when observing the source code. 1) I don't see a description of your forward meaning. However "TP_OnThirdPersonChanged" - I think that should mean - call forward only once as soon as person view mode is changed. However, it is called infinite times for me (see screenshot) - L4d1. Test plugin: Code:
#pragma semicolon 1 However, in that case, the name of the forward does not match the meaning. Why not make that forward do exactly how it is named, call the forward only once when person view mode is really changed instead of spamming. 2) You are creating forward call every time QueryClientConVarCallback of "c_thirdpersonshoulder" is raised. It's incorrect. Because if you set third person view, next exit the server, next enter the server again, "c_thirdpersonshoulder" will be initially == 1, but player is in 1st person mode! As soon as I use command "thirdpersonshoulder", "c_thirdpersonshoulder" is changed to "0", but real person view is not changed and at the same time according your logic new forward will be created when it shouldn't. I see you are using some fix, but it is intended for "bIsThirdPerson" value correction only. |
RE: Dragokas
Quote:
Quote:
Even tho english is my native language i'm very bad at it :D Quote:
I only try to guarantee that they are first person to avoid any mishap with people who don't use thirdperson shoulder, as I can't guarantee weather they are in firstperson or thirdpersonshoulder I can only try to make a best guess, people who actively use thirdpersonshoulder should can always toggle again this is due to valve not matching the cvar with the clientview correctly. Thanks for your input i'v improved the plugin and optimized with reducing other plugins receiving forward calls. |
All times are GMT -4. The time now is 10:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.