AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Fixing PVS/PAS Engine Messages when using a entity view. (https://forums.alliedmods.net/showthread.php?t=346866)

Natsheh 03-22-2024 20:11

Fixing PVS/PAS Engine Messages when using a entity view.
 
Hello, dear modders, i would like some help with a rehlds bug when a player has a certain view and PVS/PAS are not heard/seen from the view point rather from the player position,

Can someone write me a code/snippet in C++ of fixed issue, much appreciation since i suck at coding C++/C#

georgik57 03-23-2024 12:45

Re: Fixing PVS/PAS Engine Messages when using a view entity.
 
this should only happen if you use addtofullpack to set the player view origin
i get away with this by setting the real view origin of the camera in FM_UpdateClientData pre while using a single entity in my camera plugin. maybe it could help you.
https://forums.alliedmods.net/attach...8&d=1648490539

Natsheh 03-23-2024 15:38

Re: Fixing PVS/PAS Engine Messages when using a view entity.
 
Quote:

Originally Posted by georgik57 (Post 2819932)
this should only happen if you use addtofullpack to set the player view origin
i get away with this by setting the real view origin of the camera in FM_UpdateClientData pre while using a single entity in my camera plugin. maybe it could help you.
https://forums.alliedmods.net/attach...8&d=1648490539

nvm i fixed it, and i submitted a fix to rehlds repo

The fix:
Spoiler


All times are GMT -4. The time now is 19:01.

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