shoot door open
Post Reply
Quote
Re: shoot door open
Posted by TheSchwartz on Tue Jan 4th at 1:15pm 2005


I've made this door that opens perfectly on touch and use, but getting it to open when I shoot at it has become a problem:

Flag: Use Opens
Flag: Touch Opens
Health (shoot open) = 5, I've tried 1 also

Any ideas on why this door not opens when I shoot at it?

[addsig]




Quote
Re: shoot door open
Posted by Myrk- on Tue Jan 4th at 1:42pm 2005


Omai gawd a floating head avatar! [addsig]



Quote
Re: shoot door open
Posted by Nickelplate on Tue Jan 4th at 3:05pm 2005


Make an invisible trigger in front of the door on both sides and make it so when you shoot the trigger it opens the door. I think what you need is a func_button then just make it so it doesnt move and make it shootable. then just have it trigger the door upon shootage. [addsig]



Quote
Re: shoot door open
Posted by Petrarch on Tue Jan 4th at 3:58pm 2005


You could make it a physbox and hinge it. Only trouble is that it'd probably swing back and hit you in the face.



Quote
Re: shoot door open
Posted by TheSchwartz on Wed Jan 5th at 9:28am 2005


I've made a solution to the problem - Make a one unit thick button on the front and back of the door and set the parent value equal to the name of the door. Make the buttonhs open the door vie the I/O system and make them shootable.

This will make the door open on fire and the buttons will move with the door due to the parent value.

I'll try and make a tutorial on this some time...

[addsig]





Post Reply