[CS:S] Stopping a bullet
The Orange Box update really screwed over one of my servers; it seems any brush tied to an entity can be penetrated by a bullet regardless of length (at least that's what members on the server are telling me). It's a glass texture server, so being able to shoot through walls is a very very bad thing. I've been attempting to stop a bullet if it passes through a wall, but I can't seem to get bullet_impact to work in a manner that'll allow me to detect it. What other methods might there be for detecting if a bullet hit a wall, and if so, stopping the bullet? (Yet I still need a bullet to continue if it hits a player, say a scout for example).
|
Re: [CS:S] Stopping a bullet
You can hook a Entity Touch function , I haven't done this in source yet but look through the forums I'm sure you'll find it
http://forums.alliedmods.net/showthr...t=entity+touch |
Re: [CS:S] Stopping a bullet
Hmm not all walls are entities so I don't think that'll work for me.
|
Re: [CS:S] Stopping a bullet
Bullets are hitscan in CSS, so the only way to "stop" them would be to stop the player from firing or to block the damage from being taken.
|
Re: [CS:S] Stopping a bullet
Ew, that makes it more difficult that it does. Alright thanks for the information, I'll just complain to Valve.
|
All times are GMT -4. The time now is 12:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.