ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.67k stars 622 forks source link

[Counter-Strike] The scoreboard ImagePanel is shown only within the scoreboard #3302

Closed SanAntonio2 closed 2 days ago

SanAntonio2 commented 2 years ago

I decided to return the old orangebox banner to the scoreboard, but it doesn't draw outside the scoreboard. Scoreboard.res code: `"ct-banner1"

{
    "ControlName"       "ImagePanel"
    "fieldName"         "ct-banner1"
    "xpos"              "145"
    "ypos"              "-25"
    "wide"              "234"
    "tall"              "50"
    "autoResize"        "1"
    "pinCorner"         "0"
    "visible"           "1"
    "enabled"           "1"
    "textAlignment"     "west"
    "image"             "gfx/vgui/cs_banner"
    "scaleImage"        "1"
            "linespacing"       "13"
    }`

How it looks in game: cs_bunker0000

One more question, so as not to create a new topic: in which file can be changed the position of the colon, near the timer?

kevinkarlssonbr commented 1 year ago

Do you know how I add in this format?

image

SanAntonio2 commented 1 year ago

Do you know how I add in this format?

Sorry for the late reply, yes I found a solution to my problem. Solution: Open "ScoreBoard.res" file (found in Half-Life\cstrike\resource\UI), for "ClientScoreBoard" change "autoResize" from "1" to "0".

kevinkarlssonbr commented 1 year ago

image

Even editing "autoResize", it remains cut.

franco1050 commented 1 year ago

Replying to https://github.com/ValveSoftware/halflife/issues/3302#issuecomment-1749854596

I know im late , i couldn't make the banner fit outside the scoreboard but i managed to fit it like this, i just had to move the "player list" and "server name" , and changed the Clientscoreboard thing to make it taller. I also added the banner on the spectator screen. It looks ugly but is the best i can do haha. mrMRZwX zPGboiE

I can share the .res and .tga files if you need them.

franco1050 commented 12 months ago

I got it uploaded to Gamebanana , here's the link for it if you wanna try it :

https://gamebanana.com/mods/472766

SanAntonio2 commented 12 months ago

Replying to #3302 (comment) Pretty much the same as yours. 0000 GUI_Orange_Box.zip

shawns-valve commented 2 days ago

It sounds like this was figured out.