Moving and functional gel tubes

Avatar
fedebenarg
70 Posts
Posted Jul 11, 2013
Hi! Right now, I'm making a Wheatley themed map, and I want to make a functional gel tube, that appears from the ceiling, making a hole in it. But I don't know how to make the tube move.
I tried with two connected path_track, but I don't see the tube move (and its roted 90 degrees from it original angle). What can I do?
NOTE: Maybe helps that the tubes and the path_tracks are in a func_instance
Advertisement
Registered users don’t see ads! Register now!
Avatar
TeamSpen210
608 Posts
Posted Jul 11, 2013
Replied 12 minutes later
You don't need to use path_tracks for a simple linear motion. Use a func_door or func_movelinear. Make them out of nodraw and parent the tubes to them.
Avatar
wrathofmobius
216 Posts
Posted Jul 11, 2013
Replied 1 minutes later
Attached is a (very lazy) setup of how I would do it. Make sure you've got prop_dynamics parented to a func_door or func_movelinear. Func_tracktrains could work but they're more complicated than what you need here.
Attachments
movetube.vmf
0.03 MB 30 downloads
Avatar
fedebenarg
70 Posts
Posted Jul 11, 2013
Replied 41 minutes later
I did what you said to me, but still I dont see results. Maybe I have to put a higher number in "Move Distance"
Avatar
TeamSpen210
608 Posts
Posted Jul 12, 2013
Replied 1 hour later
Retexture the movelinear with something visible. Did you set the right direction in the move direction parameter?
Avatar
josepezdj
2,386 Posts
Posted Jul 12, 2013
Replied 15 minutes later

fedebenarg wrote:
Hi! Right now, I'm making a Wheatley themed map, and I want to make a functional gel tube, that appears from the ceiling, making a hole in it. But I don't know how to make the tube move.
I tried with two connected path_track, but I don't see the tube move (and its roted 90 degrees from it original angle). What can I do?
NOTE: Maybe helps that the tubes and the path_tracks are in a func_instance

For the gel vactube not moving, make sue it's a prop_dynamic. For the angled spawn, you need to tick the flag "Fixed Orientation". Also make sure you specify the first path_track into the func_tracktrain's First Stop Target property.

Avatar
Dafflewoctor
415 Posts
Posted Jul 12, 2013
Replied 9 hours later
Also, if there is going to be gel coming from the tube, be sure to parent your info_paint_sprayer to the func_door/func_movelinear.

And to make the tube create a hole in the ceiling, tie the brushes you want to break to func_physboxes and set them to break on pressure.

Avatar
fedebenarg
70 Posts
Posted Jul 12, 2013
Replied 3 hours later
I did what you said to me , but still nothing. And, Dr. Toaster, I did that, but the brush doesn't appears
Avatar
wrathofmobius
216 Posts
Posted Jul 12, 2013
Replied 18 minutes later
Can you upload the vmf? I have a feeling this would be easier to troubleshoot if we knew exactly what your setup was.
Avatar
Dafflewoctor
415 Posts
Posted Jul 12, 2013
Replied 1 hour later

wrathofmobius wrote:
Can you upload the vmf? I have a feeling this would be easier to troubleshoot if we knew exactly what your setup was.

Yes, upload the vmf please.

Avatar
fedebenarg
70 Posts
Posted Jul 12, 2013
Replied 45 minutes later
Ok, here it is the vmf.
There's the modified instance file for the paint dropper inside. It must be in the instances/p2editor_old folder for it to work.
The chamber where the collision happens, is the second one, the one that you enter from the observation room
Avatar
wrathofmobius
216 Posts
Posted Jul 12, 2013
Replied 1 hour later
I didn't have too much time to look at it but it appears to be something with your instance. I copied everything out of the instance and it worked! (just remember, the prop_dynamic at the bottom of the tube also needs to be parented to the movelinear)

Nice looking map so far :thumbup:

Avatar
fedebenarg
70 Posts
Posted Jul 12, 2013
Replied 3 minutes later
Ok. Thanks!
Avatar
Skotty
671 Posts
Posted Jul 12, 2013
Replied 1 minute later
Just make sure you NEVER parent a func_movelinear to something, or it will break.
Avatar
fedebenarg
70 Posts
Posted Jul 12, 2013
Replied 4 minutes later
Understood. Thanks to all!
Avatar
fedebenarg
70 Posts
Posted Jul 12, 2013
Replied 26 minutes later
Well, the tube functions perfectly. Now, what can I do with the ceiling's missing brush?
Avatar
wrathofmobius
216 Posts
Posted Jul 12, 2013
Replied 1 hour later
What I'm guessing is happening with that is it's falling right when the map spawns and breaking on the floor. To prevent this, check the "Start Asleep" flag.
Avatar
fedebenarg
70 Posts
Posted Jul 12, 2013
Replied 16 minutes later
Perfect! It functioned perfectly! Thanks to all of you!
Avatar
fedebenarg
70 Posts
Posted Jul 13, 2013
Replied 3 hours later
Hi! I'm here again because the tubes doesn't release gel, and also, the dispenser doesn't appears. What can I do?
Advertisement
Registered users don’t see ads! Register now!
Avatar
Dafflewoctor
415 Posts
Posted Jul 13, 2013
Replied 8 hours later
If you're saying your gel dispenser model isn't appearing, make sure it's a prop_dynamic and that it's parented to your func_movelinear.

For your gel problem, you need to set the Start Active property of the info_paint_sprayer to yes, unless you want to use a trigger/button to start it. And of course it needs to be parented.