View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-18-2022 , 19:31   Re: How is PVS ( Potentially view set ) calculated for an origin ?
Reply With Quote #5

I found a simpler way to do it using SV_ValidClientMulticast.

PHP Code:
// Is Origin in player's potentially view set?
bool:IsOriginInPlayerPVS(const idFloat:fMessageOrigin[3])
{
    static 
leafnum;
    
leafnum OrpheuCallSV_PointLeafnumfMessageOrigin );

    return 
boolOrpheuCallSV_ValidClientMulticastidleafnumMSG_PVS );

all i need are the signatures ReHLDS latest version REHLDS_v311-776
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh