Problem: Bullets Peircing Walls in CS:S Map
Post Reply
Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by RedSpo0n on Wed Jan 19th at 1:51am 2005


Greetings all.

I eyeballed through the forum and didn't find anything helpful.

My problem is this: I've created a map to learn Hammer and it's turned out really well for my first map since Duke3D, except for one thing.

While the map plays fine, all the walls and floor burshes are allowing Bullets to pass through. Like the common wood crate. Not breaking, but you can still get hit on the other side. This means that you can fire from one room into the next. Not good. And the really sad part is that just about ALL the guns are shooting through.

Now, I've had some suggestions from some of the other mapping sites, (I setup a small test range in the "backyard" of the map to try out the solutions I was given.), and none of them work.

Double walls (touching) allow the bullet to pass.
Double walls (with a gap inbetween) and the bullet passes BOTH.
Double wall with one wall textured with No bullet - BULLETS FIRE THOUGH BOTH WALLS.
Single wall with increased thickness - I end up with a wall like 15 feet thick before the bullets stop passing though it entirely. (Even a little damage passing though is not ok) Huge walls should not be the answer - because Valves maps have thinner walls than what I'm using and they don't pass bullets.

I've tried a great variety of textures to see if perhaps the textures I chose are the problem, but it seems the choice of texture doesn't play a role in ballistics, in the manner I need.

Is there a way to tag brushes, say, with an entity that makes them bulletproof (I.E. you can't shoot though it)?
Or perhaps there is a variable on the brushes themselves I can't find?

Please, help me out. This is frustrating me knowing I've got a good map aside from this problem.





Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by DrGlass on Wed Jan 19th at 3:28am 2005


Are these walls, world entites? i.e. they are not func_brush, func_detail, or func_wall.

check your compile log for errors. That could be a problem.

How thick are your walls in units? I tend to make most walls 16 units thick and 8 units thick if they are inside a home.

Also remeber that a rife bullet is able to shoot all the way through a metal car, so a thin plaster wall would be like hot butter for a .50 rifle shot.

I'm working on a CS map ATM, I'll see if I have the same problem.




Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by cloudsofthought on Wed Jan 19th at 3:31am 2005


This thread might help: http://www.hl2world.com/bbs/viewtopic.php?t=24299 You may have to register, so I guess I'll reprint his findings here. All credit goes to SAJ at that forum though:

I couldnt find a definitive answer to how bullet penetration relates to brushes, so I decided to test it myself.

usp:5
glock:8
barretta(dual):8
228:9
es 5-7:11
deagle:11

single shottie:0
pump shottie:0

ump45:5
tmp:8
mp5:8
es c90:11

clarion:13
idf defender:13
carbine(no silencer):13
carbine(w-silencer):13
krieg 552: 13
krieg commando:13
bullpup/aug:15
d3/au-1:15
ak47:15
scout:15
awp:17

The numbers relate to how many units of standard world brush a particular weapon can travel through at 90 degrees to the surface.
It seems its units , not brushes that penetration(ooer) uses.

I hope this is of some use to people(took bloody ages).

Also, it's my understanding that the texture of the brush does effect the penetration (ex. stone texture blocks more than wood tex). But I may be wrong.

And how many units deep are your walls?





Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by RedSpo0n on Wed Jan 19th at 4:52am 2005


Yes, they're world entities, and have not been tied to any Func_entities. (aside from a few special cases that work the way they should, like Glass windows)

Thickness varies by brush, but the list you just put up should help me adjust the brush sizes to prevent the bullets from passing.

I quick check tells me that one of my thinnest walls is 8 units thick. So, I'll have to basicly double wall thickness.

Drat. Oh well. What must be done, must be done.

As for a 50cal round - I'm quite aware of the capabilities of the various weapons in terms of realisim - but this is Counter-strike. And just for the sake of gameplay,I'd prefer that, for the most part, the players engage each other directly, dispite what thier weapon could do to the real-world counter part.

Thank you for the info.





Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by DjBourgeoisie on Wed Jan 19th at 2:58pm 2005


Theres a really simple solution to your problem, if you want to prevent bullets from penetrating a wall, instead of resizing the thickness of it, simply put a blockbullets brush over the wall. Problem solved.



Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by omnix32 on Wed Jan 19th at 4:34pm 2005







Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by omnix32 on Wed Jan 19th at 4:35pm 2005


BLOCK_BULLETS BRUSH WILL NOT WORK. TESTED IT YESTERDAY.





Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by Dred_furst on Wed Jan 19th at 4:37pm 2005


Nice post...
[addsig]




Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by DocBadwrench on Wed Jan 19th at 6:01pm 2005


Intriguing stuff. Here's another noob question to lob at you: What constitutes a "unit" in Hammer. I've noticed the numeric length/width/depth values when creating brushes, but didn't know if those were inches, meters, or what not. Is this the "unit" value which you're referring to?




Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by DjBourgeoisie on Wed Jan 19th at 9:07pm 2005


? quoting omnix32
BLOCK_BULLETS BRUSH WILL NOT WORK. TESTED IT YESTERDAY.

really? then you are doing something wrong because I have used this in my maps where I wanted it and it works just fine.





Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by DrGlass on Thu Jan 20th at 2:20am 2005


? quote:
Intriguing stuff. Here's another noob question to lob at you: What constitutes a "unit" in Hammer. I've noticed the numeric length/width/depth values when creating brushes, but didn't know if those were inches, meters, or what not. Is this the "unit" value which you're referring to?


1 unit = 1 inch

Your grid scale in units can be seen at the bottom right of hammer, you will also see the size in units of any selected brush in your grid windows.




Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by omnix32 on Thu Jan 20th at 6:45am 2005


the block_bullet brush would not stop my bullets from going through to the wall. I used a block_bullett brush of 2 units thick. I will test again to be sure.

fun mapping.






Quote
Re: Problem: Bullets Peircing Walls in CS:S Map
Posted by DrFrag on Thu Jan 20th at 3:21pm 2005


Bah ... I have brick walls a foot thick and a carbine can shoot through them.






Post Reply