How to find X and Y positions

Published by soulza on

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #109770
    soulza
    Participant

    there are two ways , old way and new way

    NEW WAY

    Thought this will come in handy for our members

    Mofiki-s-Coordinate-Finder_1.png.e7e0b7a

    OLD WAY

    Spoiler

    A lot of people have asked about moving panels in game

    what ever you do you will need to open up a config file to move them
    use notepad++ its easier
    ok  so you want to move your hitlog but cant work out the X Y values?
    Posted Image
    This is will work for any monitor size as you have taken your own screen shot the X Y values will be ok for you
     
    the info panel co-ords work from the center of the screen

    x=0 y=0 would put it dead center

    each view has its own settings ,arcade ,sniper ,strategic for where the panel is placed on the screen(from the dead center)

     

    so would look like this :-

    <arcade visible=”true”>
         <location x=”-175″ y=”0″/>
         <delay>3</delay>
       </arcade>
       

       <sniper visible=”true”>
         <location x=”-175″ y=”100″/>
         <delay>3</delay>
       </sniper>
       
     
       <strategic visible=”true”>
         <location x=”200″ y=”200″/>
         <delay>3</delay>
       </strategic>

     

    the code above places the three panels in slightly different places depending on the mode you are viewing

     

    “the X= settings move the panels either right (plus numbers)
    or left (- minus numbers) along the horizontal(across the screen) line.
    The Y= settings move the panels either up(-minus numbers)
    or down (plus numbers) on the vertical(top to bottom) line.”
    instead of :
    “the Y= settings move the panels either right (plus numbers)
    or left (- minus numbers) along the horizontal(across the screen) line.
    The X= settings move the panels either up(-minus numbers)
    or down (plus numbers) on the vertical(top to bottom) line.” as it written in the topic)) .hope it will help)

     

    however its not that straight forward as within each panel there are textfileds ,these take thier positions from how you have placed the panels above ,example here is the code for  target name.

     

    <targetName visible=”true”>
       <location x=”-80″ y=”-35″/>
       <text font=”MicraC” size=”25″ color=”0xDAEBE7″ alpha=”100″ align=”center” bold=”true” leading=”0″ width=”350″ height=”60″/>
       <filter size=”3″ angle=”0″ distance=”0″ color=”0x000000″ alpha=”100″ strength=”200″/>
       <format>{{target}}</format>
     </targetName>

    for arguments sake lets say we want to positon this for arcade view ,we already defined where the bottom left corner of the arcade panel is going to be above ,so now the X and Y values take thier co-ords off that.

     

    lol is this getting to complicated for you yet?

    what i would do is not touch the settings withing the panels as you can see above its complicated ,but concentrate on moving the panels themselves

    the settings above i have moved the three panels in slightly different places on the screen but i suspect you will keep all three at the same co ords

     

    your X Y values  are x=”320″ y=”478″  so you are pushing the panels 320 pixels down the page (from the center) and 478 pixels right(from the center)

     

    now back to my method of using a screenshot,

    i play on full res so my center marker is at X960  Y555 aprox.

    if i wanted to draw the panel  below center and off to the left

     

     

    i use my method and get reading of X790 Y730

     

    now i subtract these numbers from the center marker

    X center 960

    X new 790

    = new co ord for X = 270

    do the same for Y

     

    Y center 555

    Y new 730

    =new co ord for Y = -145

     

    this is how you get the co ords working off 0,0 as the center marker

     

    looking back at this it looks complicated but once it clicks in your head you can pinpoint any

    pixel on the screen as a placment.

    because you used a panel that takes co-ords off center marker it is more complicated.

    hope i put this so you can understand it.

     

     

     

    #109771
    PlazmaKeks
    Participant

    Damn, it’s good to see you here mate.

    Welcome…

    #109772
    VIKINGO_008
    Participant

    Owwww …. excellent tool thanks for the input….!!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.