IsShootableThruObstacle
What is the easiest way to check if the weapon I have is able to shoot at something throught some obstacle (some wall or some doors)? I mean if I can make some damage of the enemy which is behind some obstacle like a wall of a door.
|
Re: IsShootableThruObstacle
I do not think you can know whether it shootable or not unless you hack game dll attack tracing.
|
Re: IsShootableThruObstacle
Isn't there a way to know the thickness of the obstacle - which should affect shootable thing the most?
|
Re: IsShootableThruObstacle
Would you know "max. value of thickness" of obstacle when it's still possible to shoot though it for every weapon?
Furthermore thickness isn't the only aspect that is used to determine that. It's also depends on:
|
Re: IsShootableThruObstacle
I just want to replace this function in podbot mm by something simpler and written more optimized:
Code:
bool IsShootableThruObstacle (edict_t *pEdict, Vector vecDest) |
All times are GMT -4. The time now is 03:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.