Portals on Moving Surfaces
Jump to navigation
Jump to search
In order to allow portals to remain on moving surfaces, set the "sv_allow_mobile_portals" (Doesn't work in original Portal) console variable to 1. Use a point_servercommand to do this. Be sure to set it back to zero when you no longer need portals to remain on moving surfaces.
Warning:Neither the player nor physics objects are ever expected to go through moving portals; thus, moving portal interactions tend to be very buggy and can completely break physics/momentum if you are not careful. Do not include moving portals in your map unless you are sure the player can never go near a moving portal.
Bug:Portals will display the opening animation a second time if the surface ever stops moving [todo tested in?]
Note:Placing 2 portals which will collide upon at least one of them moving, if you stand right between them just right, upon the portals' collision, you will be teleported into the void freefalling forever in darkness. As of yet, nobody knows at what point in the void you are transported to or how this is determined.
Note:Moving portals are used once during the campaign, in the level Neurotoxin Sabotage (sp_a2_bts5).