Skip to content

Commit c586b71

Browse files
committed
Increase flag touch bounds a bit
* Height from 65% of model height to 80% * Width from 100% of model width to 150% + Stops a single SG from being able to completely block the flag, though you can still make it difficult to grab * See fortressforever/fortressforever#166 Flag model bounds: 26.254800796509 x 69.179306283593 Flag bounds before this change: 26.254800796509 x 45.048884835839 Flag bounds after this change: 39.382202148438 x 55.155250549316
1 parent f48571d commit c586b71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

maps/includes/base_teamplay.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -724,12 +724,12 @@ end
724724
function baseflag:hasanimation() return true end
725725

726726
function baseflag:gettouchsize( mins, maxs )
727-
mins.x = mins.x
728-
mins.y = mins.y
729-
maxs.x = maxs.x
730-
maxs.y = maxs.y
727+
mins.x = mins.x * 1.50
728+
mins.y = mins.y * 1.50
729+
maxs.x = maxs.x * 1.50
730+
maxs.y = maxs.y * 1.50
731731
mins.z = 0
732-
maxs.z = maxs.z * 0.65
732+
maxs.z = maxs.z * 0.80
733733
end
734734

735735
function baseflag:getphysicssize( mins, maxs )

0 commit comments

Comments
 (0)