Difference between revisions of "Portals on Moving Surfaces"

From Valve Developer Community
Jump to: navigation, search
m (moved Allowing portals on moving surfaces to Portals on Moving Surfaces: Article is about more than just allowing moving portals.)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
 
In order to allow portals to remain on moving surfaces set the "sv_allow_mobile_portals" 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.
 
In order to allow portals to remain on moving surfaces set the "sv_allow_mobile_portals" 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.
 +
{{note|In order to use sv_allow_mobile_portals without cheats you must name the point_servercommand "enable_mobile_portals_command"}}
 
{{bug|Portals will display the opening animation a second time if the surface ever stops moving}}
 
{{bug|Portals will display the opening animation a second time if the surface ever stops moving}}
 
{{note|Portals on moving surfaces behave differently than static portals. They calculate physics much more loosely and can fling passing objects around at strange speeds and angles.}}
 
{{note|Portals on moving surfaces behave differently than static portals. They calculate physics much more loosely and can fling passing objects around at strange speeds and angles.}}
 
[[Category:Portal 2 Tutorials]]
 
[[Category:Portal 2 Tutorials]]

Revision as of 04:05, 29 August 2015

In order to allow portals to remain on moving surfaces set the "sv_allow_mobile_portals" 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.

Note:In order to use sv_allow_mobile_portals without cheats you must name the point_servercommand "enable_mobile_portals_command"
Bug: Portals will display the opening animation a second time if the surface ever stops moving
Note:Portals on moving surfaces behave differently than static portals. They calculate physics much more loosely and can fling passing objects around at strange speeds and angles.