Portal Glitch Prevention: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(screenshot)
(wording, formatting, etc)
Line 1: Line 1:
{{cleanup}}
{{cleanup}}
__NOTOC__


[[Image:PortalBumping.png|thumb|300px|right|An example of Portal Bumping]]
[[Image:PortalBumping.png|thumb|200px|right|An example of Portal Bumping]]
'''Portal Bumping'''
====Portal Bumping====
 
If the player shoots a Portal at the corner of the other Portal, it is sometimes possible to "bump" the second Portal up to 32 units through walls and other objects, to get the second Portal in a place that should be impossible. This glitch works on Valve's maps. How to fix:
If the player shoots a Portal at the corner of the other Portal, it is sometimes possible to "bump" the second Portal through walls and other objects, to get the second Portal in a place that should be impossible. This glitch works on Valve's maps. How to fix:
Place func_portal_bumpers around the edges of things like cleansers, and a func_noportal_volume as well.
Place func_portal_bumpers around the edges of things like cleansers, and a func_noportal_volume as well.
Portal bumping on the last level of Portal. Portal bumping here allows you to really mess with the game. This is why it is so important to fix this.
Portal bumping on the last level of Portal. Portal bumping here allows you to really mess with the game. This is why it is so important to fix this.
Line 10: Line 10:
{{note|nubSawace is credited for spreading knowledge of this bug; his video demonstration of the bug is available [[http://www.youtube.com/watch?v=HNEaYCXpvXs here]]}}
{{note|nubSawace is credited for spreading knowledge of this bug; his video demonstration of the bug is available [[http://www.youtube.com/watch?v=HNEaYCXpvXs here]]}}


'''Going Behind Portals'''
====Going Behind Portals====
 
Avoid 1 unit thick walls. Players can abuse these and get behind them{{how?}}, although it is very difficult.
Avoid 1 unit thick walls. Players can abuse these and get behind them, although it is very difficult.
 
'''Edge Hopping'''


====Edge Hopping====
This works on one of Valve's maps. Make sure your metal walls, especially if they are detailed with some blocks sticking out, cannot be traversed.
This works on one of Valve's maps. Make sure your metal walls, especially if they are detailed with some blocks sticking out, cannot be traversed.


Line 21: Line 19:
The following issues are not glitches in the sense of programming errors, but if not carefully considered by the mapper, they can be abused to circumvent parts of a puzzle and complete it in unintended ways.
The following issues are not glitches in the sense of programming errors, but if not carefully considered by the mapper, they can be abused to circumvent parts of a puzzle and complete it in unintended ways.


'''Seal the bottom of Goo Pits!'''
====Seal the bottom of Goo Pits!====
 
Seal the bottom of goo pits properly. It doesn't kill instantly. Depending on the layout of your map someone may be able to get outside of or on top of it from here, and reenter later.
A lot of people ignore this. Seal the bottom of goo pits properly. It doesn't kill instantly. Depending on the layout of your map someone may be able to get outside of or on top of it
from here, and reenter later.
 
'''Infinite Loop'''


====Infinite Loop====
Watch out if your room has a portalable surface on the floor, with another on a higher section of floor, or for portalable ceiling over portalable floor. The player can abuse these to gain momentum to perform a fling. Some players have circumvented entire challenges in seconds using fling.
Watch out if your room has a portalable surface on the floor, with another on a higher section of floor, or for portalable ceiling over portalable floor. The player can abuse these to gain momentum to perform a fling. Some players have circumvented entire challenges in seconds using fling.


[[Image:JumpFromButton.jpg|thumb|300px|right|Here, the player can jump from the button to the ledge, bypassing the intending solution]]
[[Image:JumpFromButton.jpg|thumb|200px|right|Here, the player can jump from the button to the ledge, bypassing the intending solution]]
 
'''Jumping off switches and other things'''


====Jumping off switches and other things====
Players can jump onto switches and railings. Ensure they cannot jump off of these to get somewhere unintended.
Players can jump onto switches and railings. Ensure they cannot jump off of these to get somewhere unintended.


'''Portal through Portal AKA Portal Standing'''
====Portal-through-Portal AKA Portal Standing====
 
A varation of the "peek-a-portal" technique, Portal standing lets a player use a Portal as a ledge, allowing the player to continue moving by shooting additional Portals.  
Ensure the player cannot stand in one Portal, fire a portal somewhere unintended then quickly step back inside the portal they stood in to end up in an unintended area.
 
'''Portalable hallways with triggers'''


====Portalable hallways with triggers====
When building hallways with triggers, make sure that the player can't portal past the triggers.
When building hallways with triggers, make sure that the player can't portal past the triggers.


'''Trigger_Looks and You'''
====Trigger_Looks====
 
Always have a backup trigger in case the [[trigger_look]] doesn't get looked at. (where applicable)
Always have a backup trigger in case the look doesn't get.. looked at. (where applicable)
 
'''Item climbing'''
 
Abusing the physics system with Prop_physics objects to climb walls. Not much you can do about this unless you have invisible blocking brushes to block areas the player shouldn't be able to get too yet.


'''Unintended Shields'''
====Item climbing====
If your map contains physics props (such as chairs, cameras, etc), the player can collect these and climb them to get to higher areas. Not much you can do about this unless you have invisible blocking brushes to block areas the player shouldn't be able to get to yet.


====Unintended Shields====
Make sure that turret related areas don't have any unintended shields. If the player has access to a dead turret that could be used to shield, and circumvent part of the map (eg. getting a box) find a place to put a cleanser to kill the turret, or make the turret Fizzle out when dead.
Make sure that turret related areas don't have any unintended shields. If the player has access to a dead turret that could be used to shield, and circumvent part of the map (eg. getting a box) find a place to put a cleanser to kill the turret, or make the turret Fizzle out when dead.


'''Placing portals behind objects'''
====Placing portals behind objects====


This glitch shouldn't affect the gameplay itself, but will make your map look bad. It happens when a portal is placed too close to an object, a switch, for example, and the object will float on the portal. To avoid this, just make a brush 4 units tall, a little bit thicker and wider than the object that is affected from the glitch. Then, place the object on the new brush, group them, and place them where  your switch/button or everything else should be. Now the glitch is fixed without any noportal/portalbumper surface.
This glitch shouldn't affect the gameplay itself, but will make your map look bad. It happens when a portal is placed too close to an object, a switch, for example, and the object will float on the portal. To avoid this, just make a brush 4 units tall, a little bit thicker and wider than the object that is affected from the glitch. Then, place the object on the new brush, group them, and place them where  your switch/button or everything else should be. Now the glitch is fixed without any noportal/portalbumper surface.

Revision as of 04:06, 4 January 2011

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.


An example of Portal Bumping

Portal Bumping

If the player shoots a Portal at the corner of the other Portal, it is sometimes possible to "bump" the second Portal up to 32 units through walls and other objects, to get the second Portal in a place that should be impossible. This glitch works on Valve's maps. How to fix: Place func_portal_bumpers around the edges of things like cleansers, and a func_noportal_volume as well. Portal bumping on the last level of Portal. Portal bumping here allows you to really mess with the game. This is why it is so important to fix this.

Note.pngNote:nubSawace is credited for spreading knowledge of this bug; his video demonstration of the bug is available [here]

Going Behind Portals

Avoid 1 unit thick walls. Players can abuse these and get behind themTemplate:How?, although it is very difficult.

Edge Hopping

This works on one of Valve's maps. Make sure your metal walls, especially if they are detailed with some blocks sticking out, cannot be traversed.

Other design considerations

The following issues are not glitches in the sense of programming errors, but if not carefully considered by the mapper, they can be abused to circumvent parts of a puzzle and complete it in unintended ways.

Seal the bottom of Goo Pits!

Seal the bottom of goo pits properly. It doesn't kill instantly. Depending on the layout of your map someone may be able to get outside of or on top of it from here, and reenter later.

Infinite Loop

Watch out if your room has a portalable surface on the floor, with another on a higher section of floor, or for portalable ceiling over portalable floor. The player can abuse these to gain momentum to perform a fling. Some players have circumvented entire challenges in seconds using fling.

Here, the player can jump from the button to the ledge, bypassing the intending solution

Jumping off switches and other things

Players can jump onto switches and railings. Ensure they cannot jump off of these to get somewhere unintended.

Portal-through-Portal AKA Portal Standing

A varation of the "peek-a-portal" technique, Portal standing lets a player use a Portal as a ledge, allowing the player to continue moving by shooting additional Portals.

Portalable hallways with triggers

When building hallways with triggers, make sure that the player can't portal past the triggers.

Trigger_Looks

Always have a backup trigger in case the trigger_look doesn't get looked at. (where applicable)

Item climbing

If your map contains physics props (such as chairs, cameras, etc), the player can collect these and climb them to get to higher areas. Not much you can do about this unless you have invisible blocking brushes to block areas the player shouldn't be able to get to yet.

Unintended Shields

Make sure that turret related areas don't have any unintended shields. If the player has access to a dead turret that could be used to shield, and circumvent part of the map (eg. getting a box) find a place to put a cleanser to kill the turret, or make the turret Fizzle out when dead.

Placing portals behind objects

This glitch shouldn't affect the gameplay itself, but will make your map look bad. It happens when a portal is placed too close to an object, a switch, for example, and the object will float on the portal. To avoid this, just make a brush 4 units tall, a little bit thicker and wider than the object that is affected from the glitch. Then, place the object on the new brush, group them, and place them where your switch/button or everything else should be. Now the glitch is fixed without any noportal/portalbumper surface.

See also