Widescreen Scope Fix

User avatar
DoctorX
Trespasser
Posts: 57
Joined: 10 Mar 2016, 00:36

Widescreen Scope Fix

Postby DoctorX » 08 Nov 2017, 20:38

Here's a fix I did a while back for the scopes displaying as ovals instead of perfect circles on widescreen resolutions. Also fixes the 1-pixel gap some users get, esp with AMD cards:

configs\ui\scopes_16.xml

Code: Select all

<w>
  <wpn_crosshair x="0" y="0" width="1024" height="768">
    <auto_static x="128" y="0" width="768" height="768" stretch="1">
      <texture>wpn_crosshair</texture>
    </auto_static>
    <auto_static x="0" y="0" width="129" height="768" stretch="1">
      <texture>wpn_crosshair_add_l</texture>
    </auto_static>
    <auto_static x="895" y="0" width="130" height="768" stretch="1">
      <texture>wpn_crosshair_add_r</texture>
    </auto_static>
  </wpn_crosshair>

  <wpn_crosshair_l85 x="0" y="0" width="1024" height="768">
    <auto_static x="128" y="0" width="768" height="768" stretch="1">
      <texture>wpn_crosshair_l85</texture>
    </auto_static>
    <auto_static x="0" y="0" width="129" height="768" stretch="1">
      <texture>wpn_crosshair_add_l</texture>
    </auto_static>
    <auto_static x="895" y="0" width="130" height="768" stretch="1">
      <texture>wpn_crosshair_add_r</texture>
    </auto_static>
  </wpn_crosshair_l85>

  <wpn_crosshair_g36 x="0" y="0" width="1024" height="768">
    <auto_static x="128" y="0" width="768" height="768" stretch="1">
      <texture>wpn_crosshair_g36</texture>
    </auto_static>
    <auto_static x="0" y="0" width="129" height="768" stretch="1">
      <texture>wpn_crosshair_add_l</texture>
    </auto_static>
    <auto_static x="895" y="0" width="130" height="768" stretch="1">
      <texture>wpn_crosshair_add_r</texture>
    </auto_static>
  </wpn_crosshair_g36>

  <wpn_crosshair_rpg x="0" y="0" width="1024" height="768">
    <auto_static x="128" y="0" width="768" height="768" stretch="1">
      <texture>wpn_crosshair_rpg</texture>
    </auto_static>
    <auto_static x="0" y="0" width="129" height="768" stretch="1">
      <texture>wpn_crosshair_add_l</texture>
    </auto_static>
    <auto_static x="895" y="0" width="130" height="768" stretch="1">
      <texture>wpn_crosshair_add_r</texture>
    </auto_static>
  </wpn_crosshair_rpg>

  <wpn_crosshair_bino x="0" y="0" width="1024" height="768">
    <auto_static x="85" y="0" width="854" height="768" stretch="1">
      <texture>wpn_crosshair_bino</texture>
    </auto_static>
    <auto_static x="0" y="0" width="86" height="768" stretch="1">
      <texture>wpn_crosshair_add_l</texture>
    </auto_static>
    <auto_static x="938" y="0" width="87" height="768" stretch="1">
      <texture>wpn_crosshair_add_r</texture>
    </auto_static>
  </wpn_crosshair_bino>
</w>


Yours if you want it.

User avatar
olivius74
Loner
Posts: 474
Joined: 12 Apr 2014, 17:09

Re: Widescreen Scope Fix

Postby olivius74 » 09 Nov 2017, 09:39

Hello
Thank a lot,Sir,that is very useful as often in differents mods scopes aren't display correctly.
Cheers


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest