GUI Rework

Discussion in 'Archive' started by Ducky, Aug 22, 2012.

  1. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    The descriptions haven't changed for like 5 years, but melee upgrade does actually increase the range substantially. SMG1 is relatively accurate whilst moving, but that's what SMG2 is for.
     
  2. Z100000M

    Z100000M Vithered Weteran

    Messages:
    9,120
    Likes Received:
    70
    Trophy Points:
    0
    Well, thats pretty derp for me to not notice the text like that.
    Not that it would be any helpful to begin with anyway.
     
  3. Ducky

    Ducky 2D Artist

    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Which previous one ? The one before I messed around with the subpanel or the steam-release-sized class menu ?

    Yes, just had a second look - it took me a while at the first time to figure out that class.res is actually defined in the file class2.res (*cough*naming conventions*cough*), but it seems now that I can fix at least the gaps. And maybe even scale it back to the steam-size - though I have a vague suspicion, that there is some code-side scaling involved...

    The reason why I didn't touch yet it is, that it's ugly work :p. Some dev obviously moved a lot of panel initialisations from the code to the .res file (like the contents of the class dropdown), so I can't just take the old class.res and do some adjustments, but have to move/resize most of the over 60 elements for a complete resize...

    Do you want this to be done with priority ?
     
  4. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    As in the pane behind it.
     
  5. Ducky

    Ducky 2D Artist

    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Try the attached class2.res (in resource/ui/) - the spacings between the weapon/skill boxes should be equidistant.

    I've also modified the alignment of the border/background elements to get rid of the overlapping transparencies - but that still gives me some headaches: Despite the correct positions, there are pixel-gaps appearing between border elements, so I had to overlap them at the top border again.

    While this is not visible, I suspect that gaps might show up under different or higher resolutions...

    This problem seems to be only with the class panel - other panels (vehicle, team-select) do not have these awkward problems... Is there some weird scaling stuff done in the code just for that panel ??
     

    Attached Files:

  6. Ducky

    Ducky 2D Artist

    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
  7. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    I can't really check anything at the moment, I'm still getting my stuff set up over here for the next week. I don't have anything installed at all.
     
  8. Ducky

    Ducky 2D Artist

    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    See screenshot.
    The effect is better noticable when it pops up from the dark base panel, I think this is the best choice so far - and it doesn't ruin the overall style.
     

    Attached Files:

  9. Marshall Mash

    Marshall Mash 3D Artist

    Messages:
    590
    Likes Received:
    0
    Trophy Points:
    0
    How do you open and edit .res files?
     
  10. Candles

    Candles CAPTAIN CANDLES, DUN DUN DUN, DUN DUN DUN DUN.

    Messages:
    4,251
    Likes Received:
    10
    Trophy Points:
    0
    Notepad.
     
  11. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    That seems pretty good Ducky. Can you show me with the skill panel?
     
  12. Marshall Mash

    Marshall Mash 3D Artist

    Messages:
    590
    Likes Received:
    0
    Trophy Points:
    0
    Oh wait i'm being a moron, I thought those were the texture files for the UI.
    Anyone know where those are? :|
     
  13. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Texture files for the UI are in materials/vgui.
     
  14. Ducky

    Ducky 2D Artist

    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    See attachment, it's less apparent due to the size, but if I start making it even brigther it starts looking too baby-blueish again (ymmv, depending on monitor contrast etc.) ...
     

    Attached Files:

  15. w00kie

    w00kie Mustachioed Mexican

    Messages:
    3,863
    Likes Received:
    13
    Trophy Points:
    0
    looks like it may work out quite well without being ugly at all :)

    the only thing that still looks off is the close-button (colour and form), maybe change to something like this if possible:

    [​IMG]

    [​IMG]
     
    Last edited: Sep 8, 2012
  16. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    round doenst fit empires at all ...
     
  17. w00kie

    w00kie Mustachioed Mexican

    Messages:
    3,863
    Likes Received:
    13
    Trophy Points:
    0
    Yeah, let's make it look like a cursor. Empires has lots of them :headshot:
     
  18. Ducky

    Ducky 2D Artist

    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    OP Updated: Hud and weapon/skill icons.


    Round things are quickly ruined by the rectangular mouseover highlight, and it looks too good and shiny and mac-ish to go with the rest :P
     
  19. LordDz_2

    LordDz_2 Strange things happens here

    Messages:
    2,956
    Likes Received:
    93
    Trophy Points:
    0
    Yeah, why doesn't emp have it's own cursor ?
     
  20. w00kie

    w00kie Mustachioed Mexican

    Messages:
    3,863
    Likes Received:
    13
    Trophy Points:
    0
    I was referring to the player representation on the map, it's all mouse cursors, loads n loads of them :rolleyes:
     

Share This Page