Portal Funneling: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(n)
m (Nesciuse moved page Portal Funneling/en to Portal Funneling without leaving a redirect: Move en subpage to basepage)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lang|Portal Funneling}}
{{LanguageBar}}
 
Portal funneling is a game mechanic in the [[Portal]] series. It automatically corrects the positions of players and objects moving at a high speed towards a [[prop_portal|portal]], so that they go perfectly into the portal rather than potentially hit the rim, much to the player's annoyance. It also appears to sometimes affect trajectory after the object goes through a portal. Note that players must be looking at a portal when funneling into it.
Portal funneling is a game mechanic in the [[Portal]] series. It automatically corrects the positions of players and objects moving at a high speed towards a [[prop_portal|portal]], so that they go perfectly into the portal rather than potentially hit the rim, much to the player's annoyance. It also appears to sometimes affect trajectory after the object goes through a portal. Note that players must be looking at a portal when funneling into it.


Line 5: Line 6:


==Related console commands and variables==
==Related console commands and variables==
{{varcom|sv_player_funnel_into_portals|p=1|d=arbitrary number|Enables funneling.}}
{{varcom|start}}
{{varcom|portal_funnel_debug {{portal2}}|p=0|d=arbitrary number|Prints debugging info to the [[console]] when funnel code is triggered.}}
{{varcom|sv_player_funnel_into_portals|1|arbitrary number|Enables funneling.}}
{{varcom|speed_funnelling_enabled {{portal2}}|p=1|d=arbitrary number|Enables funneling when running on [[propulsion gel]]. (Note that the command spells "funneling" incorrectly.)}}
{{varcom|{{portal2}}portal_funnel_debug|0|arbitrary number|Prints debugging info to the [[console]] when funnel code is triggered.}}
{{varcom|sv_player_funnel_gimme_dot {{portal2}}|p=0.9|d=arbitrary number {{confirm}}|When set to higher than 1, player trajectory will never be forced to be perpendicular to the portal after crossing it.}}
{{varcom|{{portal2}}speed_funnelling_enabled|1|arbitrary number|Enables funneling when running on [[propulsion gel]]. (Note that the command spells "funneling" incorrectly.)}}
{{varcom|sv_player_funnel_height_adjust {{portal2}}|p=128|d=[[hammer units]]|When the player is this far above a portal on the ground, funneling will occur. Below this height, none will happen.}}
{{varcom|{{portal2}}sv_player_funnel_gimme_dot|0.9|arbitrary number {{confirm}}|When set to higher than 1, player trajectory will never be forced to be perpendicular to the portal after crossing it.}}
{{varcom|sv_player_funnel_snap_threshold {{portal2}}|{{todo}}}}
{{varcom|{{portal2}}sv_player_funnel_height_adjust|128|[[hammer units]]|When the player is this far above a portal on the ground, funneling will occur. Below this height, none will happen.}}
{{varcom|sv_player_funnel_speed_bonus {{portal2}}|{{todo}}}}
{{varcom|{{portal2}}sv_player_funnel_snap_threshold}}
{{varcom|sv_player_funnel_well_above {{portal2}}|{{todo}}}}
{{varcom|{{portal2}}sv_player_funnel_speed_bonus}}
{{varcom|sv_props_funnel_into_portals {{portal2}}|p=1|d=arbitrary number|Enables funneling for objects such as {{ent|prop_weighted_cube}}s.}}
{{varcom|{{portal2}}sv_player_funnel_well_above}}
{{varcom|sv_props_funnel_into_portals_deceleration {{portal2}}|{{todo}}}}
{{varcom|{{portal2}}sv_props_funnel_into_portals|1|arbitrary number|Enables funneling for objects such as {{ent|prop_weighted_cube}}s.}}
{{varcom|{{portal2}}sv_props_funnel_into_portals_deceleration}}
{{varcom|end}}

Latest revision as of 08:56, 12 July 2024

English (en)Translate (Translate)

Portal funneling is a game mechanic in the Portal series. It automatically corrects the positions of players and objects moving at a high speed towards a portal, so that they go perfectly into the portal rather than potentially hit the rim, much to the player's annoyance. It also appears to sometimes affect trajectory after the object goes through a portal. Note that players must be looking at a portal when funneling into it.

In Portal, funneling can be toggled in the options menu. In Portal 2 it can only be disabled by console command.

Related console commands and variables

Cvar/Command Parameters or default value Descriptor Effect
sv_player_funnel_into_portals 1 arbitrary number Enables funneling.
Portal 2portal_funnel_debug 0 arbitrary number Prints debugging info to the console when funnel code is triggered.
Portal 2speed_funnelling_enabled 1 arbitrary number Enables funneling when running on propulsion gel. (Note that the command spells "funneling" incorrectly.)
Portal 2sv_player_funnel_gimme_dot 0.9 arbitrary number [confirm] When set to higher than 1, player trajectory will never be forced to be perpendicular to the portal after crossing it.
Portal 2sv_player_funnel_height_adjust 128 hammer units When the player is this far above a portal on the ground, funneling will occur. Below this height, none will happen.
Portal 2sv_player_funnel_snap_threshold
Todo: Effect description.
Portal 2sv_player_funnel_speed_bonus
Todo: Effect description.
Portal 2sv_player_funnel_well_above
Todo: Effect description.
Portal 2sv_props_funnel_into_portals 1 arbitrary number Enables funneling for objects such as prop_weighted_cubes.
Portal 2sv_props_funnel_into_portals_deceleration
Todo: Effect description.