mirror of
https://github.com/fortressforever/fortressforever-scripts.git
synced 2024-11-10 07:11:42 +00:00
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:
parent
f48571d932
commit
c586b718b4
1 changed files with 5 additions and 5 deletions
|
@ -724,12 +724,12 @@ end
|
|||
function baseflag:hasanimation() return true end
|
||||
|
||||
function baseflag:gettouchsize( mins, maxs )
|
||||
mins.x = mins.x
|
||||
mins.y = mins.y
|
||||
maxs.x = maxs.x
|
||||
maxs.y = maxs.y
|
||||
mins.x = mins.x * 1.50
|
||||
mins.y = mins.y * 1.50
|
||||
maxs.x = maxs.x * 1.50
|
||||
maxs.y = maxs.y * 1.50
|
||||
mins.z = 0
|
||||
maxs.z = maxs.z * 0.65
|
||||
maxs.z = maxs.z * 0.80
|
||||
end
|
||||
|
||||
function baseflag:getphysicssize( mins, maxs )
|
||||
|
|
Loading…
Reference in a new issue