Re: shotgun breaching css
Posted by StixNStonz on
Tue Jul 5th 2005 at 7:12pm
71 posts
17 snarkmarks
Registered:
Feb 25th 2005
Occupation: student
Location: canada
So i have this door thats in a pretty tactical spot. On one side, i want a simple lock that can be shot off. I figure this could just be a prop_dynamic that upon X damage breaks and triggers the door to unlock.
But on the otherside, i want there to be no lock, BUT have it 'breachable' only by a shotty (this is CSS). Im playing around with the filters but am not sure yet, is this possible? I figure i'll need a small stopbullets brush in the door to stop anyone from shooting the lock through the door, the brush being killed when the door is breached or the lock is shot.
Any help on how to make this door?
*edit: k so it looks like the only damage filters useable in CSS are either explosion (blast) or bullets. Nothing separate for shotty.
Perhaps i could set the min damage to hurt, to very high? High enough so it would only accept the damage from a close-range shotty shell (as nothing else gives that much damage in one hit)? Or would the engine see a shell more as 10-small-bullets-none-of-which-meet-the-min-damage?
Re: shotgun breaching css
Posted by DrGlass on
Tue Jul 5th 2005 at 11:52pm
Posted
2005-07-05 11:52pm
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
I'd just give it 500 hit points and call it a day, I mean, even in real life if you shoot a door enough it will break, no matter what gun you use.
I'd do it with a small func_breakable with the nodraw texture.
Re: shotgun breaching css
Posted by StixNStonz on
Wed Jul 6th 2005 at 8:12pm
71 posts
17 snarkmarks
Registered:
Feb 25th 2005
Occupation: student
Location: canada
thats crazy
crazy enough to work. I'll try it out.
Re: shotgun breaching css
Posted by DrGlass on
Thu Jul 7th 2005 at 7:03pm
DrGlass
member
1825 posts
632 snarkmarks
Registered:
Dec 12th 2004
Occupation: 2D/3D digital artist
Location: USA
If you really have your heart set on the shot gun thing, find some dmg reports on close range shotgun blast, then make a physbox or breakable with a minimum damage setting just under the shot gun damage so only a single blast of high damage will break it.
The button thing is overkill.
Infact you only really need a 200 damage filter becuase no wepons apart from the AWP will deliver that much damage with one bullet.
The set up could be a physbox that is parented to the door (so it opens with the door) but once the physbox is broken it will unlock the door from both sides
Re: shotgun breaching css
Posted by StixNStonz on
Fri Jul 8th 2005 at 5:19pm
71 posts
17 snarkmarks
Registered:
Feb 25th 2005
Occupation: student
Location: canada
6 breakables set to disable themselves onbreak, and enable again in 0.05 sec.
Each adds 1 to math_counter (and in 0.05 secs removes 1), if counter reaches 4 it kills em all, unlocks, opens.
Ta Da, first shotgun breachable door in CS!
*edit. With a filter on bullet damage only, so hegren doesnt work. The 6-button way also disables AWPs. Only problem is if 4 guys shoot simultaneously.
Re: shotgun breaching css
Posted by French Toast on
Fri Jul 8th 2005 at 5:52pm
3043 posts
304 snarkmarks
Registered:
Jan 16th 2005
Occupation: Kicking Ass
Location: Canada
I'm sure they'll do that.
"Alright, on 3!"
Trust me, it's safe.