point_push for Pneumatic Diversity Vents
Quote from Collin1971 on June 10, 2013, 2:33 pmSo 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
![]()
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...
)
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.
So, my question is, I'm I doing it all wrong, or is there a better way?
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
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... )
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.
So, my question is, I'm I doing it all wrong, or is there a better way?
Quote from Collin1971 on June 10, 2013, 3:46 pmSorry 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
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

Quote from ChickenMobile on June 10, 2013, 8:00 pmIt is never closed until it gets necroposted!
It is never closed until it gets necroposted!
Quote from FelixGriffin on June 10, 2013, 10:52 pmJust added a little note to the page, you need the NPCs flag on the triggers to be checked for turrets to be affected.
Just added a little note to the page, you need the NPCs flag on the triggers to be checked for turrets to be affected.
Quote from User on June 11, 2013, 2:30 am"...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? ^^
"...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? ^^
Quote from FelixGriffin on June 11, 2013, 8:43 amIt's a new feature added in Portal 2. Point_push entities create a dust effect if they go through portals.
It's a new feature added in Portal 2. Point_push entities create a dust effect if they go through portals.
Quote from Collin1971 on June 11, 2013, 11:02 amYes, 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
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