fakemeta forward FM_CheckVisibility
Hey, can someone explain to me what FM_CheckVisibility does, returns and what parameters does it have. I'm modifying a plugin that uses that to render entities when you spectate a bot, the bot position is {8192, 8192, 8192} and I set his view velocity, view position and view angles in FM_AddToFullPack and when a player spectates it the entities on the map doesn't render so the guy who made it used FM_CheckVisibility to render all the entities everytime , and it does a lot of lag, fps drop 150-200.
How can I render entities that are around the view position of the bot only for the players spectating it. FM_AddToFullPack PHP Code:
PHP Code:
PHP Code:
|
Re: fakemeta forward FM_CheckVisibility
Ok, I did something, I took the pSet from FM_AddToFullPack and then I tested it in FM_CheckVisibility to check if a player is spectating and to render the entities for him, but it still renders them for all.
FM_AddToFullPack : PHP Code:
PHP Code:
|
Re: fakemeta forward FM_CheckVisibility
|
Re: fakemeta forward FM_CheckVisibility
Ok, I think that I got it , but it still doesn't function at it should be:
FM_AddToFullPack : PHP Code:
PHP Code:
|
Re: fakemeta forward FM_CheckVisibility
someone?
|
Re: fakemeta forward FM_CheckVisibility
|
| All times are GMT -4. The time now is 02:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.