hey, i havnt been on in a long time but im back to mapping and i was wondering if anyone knew how i could check if bullets pass through stuff such as a wall or fence or something.
Check bullets
lolcodpeople. You can make sure you have an obj next to a wall, shoot threw zed object (behind is the wall) and if you see a bullet mark on it. You know it did. :stroggtapir:
Hello, everybody, I am new here. Here is something might be helpful for you.www.zstar.hk www.edgei-ds.cn (many movies to download)www.tigersupermall.com
you cant detect passing through (without doing an own mod).
but hits can be detected with “pain” event in script.
//Edit
there could be a possibility, have to check that when i am back home
Yes you can detect hits with for example script_mover, but as far as I know you can’t make it work without it stopping the bullet. I don’t think there’s a way to detect bullet passing without blocking the bullet, but if you can make the background detect the hit, that would work.
But as it was said you can use a console command to see where the bullet goes, if you are doing that only for debugging purpose.
Start the map on a server, and set g_debugbullets 1 on server to show bullettrails (Red lines wherever bullets pass). Cg_railTrailTime sets how many milliseconds it takes for the bullettrails to fade completely, increase this too. Then open fire. 