Portals on Moving Surfaces

From Valve Developer Community
Jump to: navigation, search
English (en)Polski (pl)Translate (Translate)

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.pngWarning: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.
Icon-Bug.pngBug:Portals will display the opening animation a second time if the surface ever stops moving  [todo tested in?]
Note.pngNote: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.pngNote:Moving portals are used once during the campaign, in the level Neurotoxin Sabotage (sp_a2_bts5).
Portals casted upon a moving surface

Stub

This article or section is a stub. You can help by adding to it.