Check bullets


(forbidden) #1

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.


(reaply) #2

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:


(zstarsales04) #3

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


(IndyJones) #4

there was a command to draw red line when u re shooting as well.


(reaply) #5

im sure it must be in dev map?


(Zer0Cool) #6

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


(-SSF-Sage) #7

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.


(Undead_fly) #8

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. :stuck_out_tongue: