point_push for Pneumatic Diversity Vents

Avatar
Collin1971
14 Posts
Posted Jun 10, 2013
So recently I've been trying to recreate the Pneumatic Diversity Vent (which I'll call PDV). My original method worked fine, I used a trigger_push underneath the tube and more trigger_push(s) for traveling the cube through the vents. There was only three problems with the original design:

A. Suction didn't go through portals (expected)
B. Only worked if physics object was directly under it (expected)
C. Turrets got stuck as if they were made of glue (what the ----?)

So, I switched over to a method of using point_push. Now, at first I thought it was going to work GREAT reading other posts about it, so I changed the trigger_push underneath the tube to a point_push with a smaller range and negative magnitude, and compiled the map. All went fine :thumbup:

It had the BEAUTIFUL particle effects and sucked physics objects from a more "circular" radius. Once again, until I tried to put a turret through. Apparently the point_push attracts stuff to it's center... and tries to keep it that way. Putting a cube through sorta worked, it circled once around the point_push and then went into the tube... the turrets however treated it like a black hole and just got stuck. (I sorta took advantage of this for fun and spawned a metric ton of turrets, turns out if a turret is getting sucked into the point_push and another turret is touching the one being sucked in, they stick together and fly into the point_push, which kinda f---s everything up... :lol: )

The main effect I wanted though, (just to see if it worked) was to have the suction go through portals. And after about 50 thousand portals shot trying to get the suction to work, it finally cooperates and spawns the particles in the portal. However, the radius around the portal is stupidly weak. You almost have to put something inside the portal for it to be even affected. :notwant:

So, my question is, I'm I doing it all wrong, or is there a better way?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Collin1971
14 Posts
Posted Jun 10, 2013
Replied 1 hour later
Sorry for posting such a stupid topic only to find my own answer, to anyone wondering how I fixed it, read the "Finishing up" part here: https://developer.valvesoftware.com/wiki/Diversity_Vent
Avatar
ChickenMobile
2,460 Posts
Posted Jun 10, 2013
Replied 4 hours later
It is never closed until it gets necroposted!
Avatar
FelixGriffin
2,680 Posts
Posted Jun 10, 2013
Replied 2 hours later
Just added a little note to the page, you need the NPCs flag on the triggers to be checked for turrets to be affected.
Avatar
User
630 Posts
Posted Jun 11, 2013
Replied 3 hours later
"...place a point_push facing up (-90, 0, 0). Adjust the Radius to about 250, and set the Magnitude to -40. This will add an effect of dust being sucked into the portal when placing portals."

Hmm it pulls Objects, but Dust? I mean, Info_particle_system makes the Dust, but not point_push, or am i wrong? ^^

Avatar
FelixGriffin
2,680 Posts
Posted Jun 11, 2013
Replied 6 hours later
It's a new feature added in Portal 2. Point_push entities create a dust effect if they go through portals.
Avatar
User
630 Posts
Posted Jun 11, 2013
Replied 53 minutes later
Oh okay
Advertisement
Registered users don’t see ads! Register now!
Avatar
Collin1971
14 Posts
Posted Jun 11, 2013
Replied 1 hour later
Yes, from experience the point_push only creates the particles for the portals themseleves, so you still have to add a info_particle_system pointing down with the particle system of 'broken_tube_suck'

And FelixGriffen, I completely disregarded the NPC flag! Thanks :smile: