Talk:Info placement helper

From Valve Developer Community
Jump to: navigation, search

Not sure where I would add this on the main page, but here is something I just found out: portals only check one info_placement_helper at a time, and which one the game chooses depends on the player view. What this means is if you have two or more helpers on the screen, the wrong one might get chosen and fail because it's nowhere near the portal shot. In my testing the worst case happened with two floor helpers that would make a close to vertical line on the screen if you connected them. Even if you are almost on top of the helper closest to you and shooting at the other one large distance away, it's the first one that will get checked, will fail radius check and the portal will not get aligned. If sometimes your helpers don't behave, you should run "developer 1;sv_portal_placement_debug 1" and check the console for "Portal Placement: considering helper so and so" to see which helper gets chosen. If having the helper work is crucial, you might have to toggle the misbehaving one on and off as necessary or remove it altogether. --SunnyOst (talk) 04:28, 12 November 2021 (PST)