Movement Tubes
Quote from Artesia on November 18, 2007, 4:07 amAlright so ive been working on this for a while now, trying to get this down for use in Glass Prison... It's still possible to get stuck inside the tube, but I think ive reduced it as much as I can.
I decided to make all the tubes not solid, and instead build an invisible brush based collision frame. I also designed this tube so that you could predictably launch combine balls through the tubes. Press the button to launch a combine tube.
I used trigger_push for horizontal movement, and Func_door for vertical. Also for vertical there is a func_brush parented to the door, the two together keep you crouched.
anyways, let me know what you think
Alright so ive been working on this for a while now, trying to get this down for use in Glass Prison... It's still possible to get stuck inside the tube, but I think ive reduced it as much as I can.
I decided to make all the tubes not solid, and instead build an invisible brush based collision frame. I also designed this tube so that you could predictably launch combine balls through the tubes. Press the button to launch a combine tube.
I used trigger_push for horizontal movement, and Func_door for vertical. Also for vertical there is a func_brush parented to the door, the two together keep you crouched.
anyways, let me know what you think
Quote from Leck on November 18, 2007, 4:46 amI've been grapping with these tubs too, and I did the same invisible brush frame, but I wanted the player to start by falling veritcally, which gave me problems because your not crouched then, and when changing to horizontal tubes you'd get stuck.
Yours seemed to work great, except when the energy ball went through it seemed to strike the wall outside the tube when it changed directions.
I've been grapping with these tubs too, and I did the same invisible brush frame, but I wanted the player to start by falling veritcally, which gave me problems because your not crouched then, and when changing to horizontal tubes you'd get stuck.
Yours seemed to work great, except when the energy ball went through it seemed to strike the wall outside the tube when it changed directions.
Quote from Artesia on November 18, 2007, 4:52 amyeah thats probably an easy fix, but not too big of a deal since all turns in my map will be hidden from external view
yeah thats probably an easy fix, but not too big of a deal since all turns in my map will be hidden from external view
Quote from youme on November 18, 2007, 7:47 amwhen you want the player to do something like crouch, use a point_clientcommand and trigger it with an overide of "+crouch"
when you want the player to do something like crouch, use a point_clientcommand and trigger it with an overide of "+crouch"
Quote from Lorithad on November 18, 2007, 1:13 pmyoume wrote:will there be cake?The cake is a lie.
The cake is a lie.
The cake is a lie.
The cake is a lie.
The cake is a lie.
The cake is a lie.
The cake is a lie.
The cake is a lie.
Quote from Artesia on November 18, 2007, 3:59 pmthat might be useful youme, the way I did it is rather easy tho, you're basically shoved into a playerclip elevator with a floor and a ceiling, as close together that you remained crouched. floor is a func_door and cieling is a parented brush, vice versa going down although I dont think it matters...
I decided that actualy using the model geometry is smoother, although you can get stuck on the connection joints, its more realistic than the ways you could get stuck with the invisible brushes. This also fixes how the energy pellets would seem to hit the wall but remain in the tube.
I updated the file download. its now a rar file with the .bsp and the .vmf so you can see what I did.
that might be useful youme, the way I did it is rather easy tho, you're basically shoved into a playerclip elevator with a floor and a ceiling, as close together that you remained crouched. floor is a func_door and cieling is a parented brush, vice versa going down although I dont think it matters...
I decided that actualy using the model geometry is smoother, although you can get stuck on the connection joints, its more realistic than the ways you could get stuck with the invisible brushes. This also fixes how the energy pellets would seem to hit the wall but remain in the tube.
I updated the file download. its now a rar file with the .bsp and the .vmf so you can see what I did.
Quote from Leck on November 18, 2007, 4:34 pmHaven't checked the newer version yet since I'm at work, but last night I fiddled with makng the tubes non-solid, and although it worked fine, the player's vision seemed to go through the tube walls at some points. I'll try it with solid tubes and youme's crouch thing...
Haven't checked the newer version yet since I'm at work, but last night I fiddled with makng the tubes non-solid, and although it worked fine, the player's vision seemed to go through the tube walls at some points. I'll try it with solid tubes and youme's crouch thing...
Quote from Artesia on November 18, 2007, 4:44 pmIm finally happy with my tubes the way they're working, I'll only mess with the crouch trigger if I seem to need to adjust it or something... seems like one more set of triggers that I dont currently need
Im finally happy with my tubes the way they're working, I'll only mess with the crouch trigger if I seem to need to adjust it or something... seems like one more set of triggers that I dont currently need