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
This commit is contained in:
squeek 2015-04-12 14:06:22 -07:00
parent f48571d932
commit c586b718b4

View file

@ -724,12 +724,12 @@ end
function baseflag:hasanimation() return true end function baseflag:hasanimation() return true end
function baseflag:gettouchsize( mins, maxs ) function baseflag:gettouchsize( mins, maxs )
mins.x = mins.x mins.x = mins.x * 1.50
mins.y = mins.y mins.y = mins.y * 1.50
maxs.x = maxs.x maxs.x = maxs.x * 1.50
maxs.y = maxs.y maxs.y = maxs.y * 1.50
mins.z = 0 mins.z = 0
maxs.z = maxs.z * 0.65 maxs.z = maxs.z * 0.80
end end
function baseflag:getphysicssize( mins, maxs ) function baseflag:getphysicssize( mins, maxs )