Advertisement
Faguss

OFP ui aspect ratio configuration discrepancy

Dec 28th, 2014
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. 4:3 1280x960
  2. 5:4 1280x1024
  3.  
  4. Values from ARMA 1:
  5. uiTopLeftY=0.033333
  6. uiBottomRightY=0.966667
  7.  
  8. Values calculated using following formula:
  9. Resolution_H * uiTopLeftY = Top edge of UI (in pixels)
  10. Resolution_H * uiBottomRightY = Bottom edge of UI (in pixels)
  11.  
  12. 32 / 1024 = 0.03125
  13. 992 / 1024 = 0.96875
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement