shotgun breaching css

shotgun breaching css

Re: shotgun breaching css Posted by StixNStonz on Tue Jul 5th 2005 at 7:12pm
StixNStonz
71 posts
Posted 2005-07-05 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
DrGlass
1825 posts
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 Rof on Wed Jul 6th 2005 at 5:11pm
Rof
210 posts
Posted 2005-07-06 5:11pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
You might try doing something fancy with using multiple (say 4 or 5),
small damage-activated invisible func_buttons placed close to one
another, targeting a math_counter to check if all are activated. Then
reset the buttons with a very fast time (0.1 second?). If the counter
hits the limit, trigger the door to break.

Since only the shotguns fire multiple "bullets" at once, only a shotgun
(or multiple players firing at the same place) could trigger all the
buttons simultaneously (assuming your reset time is faster than
automatic fire). You could also use filters to filter-out blast damage
from grenades, if you so desire.

You'd also have to Kill the buttons after the break, to make sure the
player could pass through them. Or put them in at the doorframe, where
the hinges are.

Contrived, but mapping is all about contrivance.
VMEX, Pakrat & Entspy
Re: shotgun breaching css Posted by StixNStonz on Wed Jul 6th 2005 at 8:12pm
StixNStonz
71 posts
Posted 2005-07-06 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 French Toast on Thu Jul 7th 2005 at 4:56am
French Toast
3043 posts
Posted 2005-07-07 4:56am
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
Hah, sweet :smile:
Re: shotgun breaching css Posted by DrGlass on Thu Jul 7th 2005 at 7:03pm
DrGlass
1825 posts
Posted 2005-07-07 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
StixNStonz
71 posts
Posted 2005-07-08 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
French Toast
3043 posts
Posted 2005-07-08 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.
Re: shotgun breaching css Posted by parakeet on Mon Jul 11th 2005 at 5:22pm
parakeet
544 posts
Posted 2005-07-11 5:22pm
parakeet
member
544 posts 81 snarkmarks Registered: Apr 30th 2004 Occupation: n/a Location: Eastern US
The button thing is overkill.
Im not sure about this single situation but what i've learned about
entity overkill is that its a great way to learn about how the entities
interact with each other and how to set them up in innovative ways..
then after you figure it out you delete it and do it a simpler way =p
.else /me ~kill you
www.arclan.net
Re: shotgun breaching css Posted by DrGlass on Mon Jul 11th 2005 at 9:20pm
DrGlass
1825 posts
Posted 2005-07-11 9:20pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
parakeet said:
<DIV class=quote>
<DIV class=quotetitle>? quote:</DIV>
<DIV class=quotetext>

The button thing is overkill.
Im not sure about this single situation but what i've learned about entity overkill is that its a great way to learn about how the entities interact with each other and how to set them up in innovative ways.. then after you figure it out you delete it and do it a simpler way =p
</div></div>

You dont build an atom bomb to learn about wires. Though it is a good way to learn.