Upvote Upvoted 331 Downvote Downvoted
1 ⋅⋅ 110 111 112 113 114 115 116 ⋅⋅ 234
HUD editing: short questions, quick answers
posted in Customization
3361
#3361
0 Frags +
mousiopehttps://www.youtube.com/watch?v=3FcfR4C2nW0
whats his hud?

Eevove's hud

EDIT: Also, question, does anyone know how to add the CONTINUE (E) to another hud?

[quote=mousiope]https://www.youtube.com/watch?v=3FcfR4C2nW0
whats his hud?[/quote]
[url=https://www.dropbox.com/sh/84gv5u64dxqbnz8/AABI0GrIjUmS1d3LkftgJWDpa?dl=0]Eevove's hud[/url]


EDIT: Also, question, does anyone know how to add the[url=http://prntscr.com/bu74rn] CONTINUE (E)[/url] to another hud?
3362
#3362
-1 Frags +

http://puu.sh/q6tE2/dad1de67d2.jpg

How do I make the invisible box bigger so the "Ubercharge" fits and looks better?

http://puu.sh/q6tE2/dad1de67d2.jpg

How do I make the invisible box bigger so the "Ubercharge" fits and looks better?
3363
#3363
0 Frags +

Guess I got another one:

I'm looking for the round timer on PL, CP, AD and any other mode that uses one single timer. I looked in hudobjectivestatus.res for it to be empty. I looked in hudobjectivetimepanel.res for it to show me everything from the background for the timer to the "waiting for players" or "setup" text... but not the timer itself. Been looking around like a madman but can't find it.

Where is the round timer for these modes? Thanks again in advance.

Guess I got another one:

I'm looking for the round timer on PL, CP, AD and any other mode that uses one single timer. I looked in hudobjectivestatus.res for it to be empty. I looked in hudobjectivetimepanel.res for it to show me everything from the background for the timer to the "waiting for players" or "setup" text... but not the timer itself. Been looking around like a madman but can't find it.

Where is the round timer for these modes? Thanks again in advance.
3364
#3364
whitelist.tf
1 Frags +

HudMatchStatus.res > ObjectiveStatusTimePanel

Opening vgui_drawtree, navigating the tree and then 'find in files' for the element name in an extracted copy of the default hudfiles will in 99% of the cases result in the right file or point you in a direction you can work with.

HudMatchStatus.res > ObjectiveStatusTimePanel

Opening vgui_drawtree, navigating the tree and then 'find in files' for the element name in an extracted copy of the default hudfiles will in 99% of the cases result in the right file or point you in a direction you can work with.
3365
#3365
0 Frags +
nerdzzz_http://puu.sh/q6tE2/dad1de67d2.jpg

How do I make the invisible box bigger so the "Ubercharge" fits and looks better?

That's the TargetID you're looking at. Specifically, the "secondary" one since it's the Medic's where you heal people. You can change the size of it by going into scripts/hudlayout.res, finding CSecondaryTargetID, and modifying the "tall" variable on that. Note you may need to rework the background to accommodate this change.

[quote=nerdzzz_]http://puu.sh/q6tE2/dad1de67d2.jpg

How do I make the invisible box bigger so the "Ubercharge" fits and looks better?[/quote]
That's the TargetID you're looking at. Specifically, the "secondary" one since it's the Medic's where you heal people. You can change the size of it by going into scripts/hudlayout.res, finding CSecondaryTargetID, and modifying the "tall" variable on that. Note you may need to rework the background to accommodate this change.
3366
#3366
0 Frags +

[oops]

[oops]
3367
#3367
whitelist.tf
0 Frags +
TeddyAnd this is exactly an example of the 1% where this is not the case. I've tried using the vgui_drawtree tool and there is no "objectivestatustimepanel.res" and the timer is missing in the locations I mentioned above.

ehm.. I mentioned the file: HudMatchStatus.res where you find the section 'ObjectiveStatusTimePanel' which in turn contains TimePanelValue which is your timer element, used for the default timer, koth timer & stopwatch timer

[quote=Teddy]And this is exactly an example of the 1% where this is not the case. I've tried using the vgui_drawtree tool and there is no "objectivestatustimepanel.res" and the timer is missing in the locations I mentioned above.[/quote]
ehm.. I mentioned the file: [i]HudMatchStatus.res[/i] where you find the section 'ObjectiveStatusTimePanel' which in turn contains [i]TimePanelValue[/i] which is your timer element, used for the default timer, koth timer & stopwatch timer
3368
#3368
0 Frags +
WiethoofdTeddyAnd this is exactly an example of the 1% where this is not the case. I've tried using the vgui_drawtree tool and there is no "objectivestatustimepanel.res" and the timer is missing in the locations I mentioned above.ehm.. I mentioned the file: HudMatchStatus.res where you find the section 'ObjectiveStatusTimePanel' which in turn contains TimePanelValue which is your timer element, used for the default timer, koth timer & stopwatch timer

Damn you and reading my post before my ninja edit. I misread your post originally leading to that response. Thanks. It helped. :)

[quote=Wiethoofd][quote=Teddy]And this is exactly an example of the 1% where this is not the case. I've tried using the vgui_drawtree tool and there is no "objectivestatustimepanel.res" and the timer is missing in the locations I mentioned above.[/quote]
ehm.. I mentioned the file: [i]HudMatchStatus.res[/i] where you find the section 'ObjectiveStatusTimePanel' which in turn contains [i]TimePanelValue[/i] which is your timer element, used for the default timer, koth timer & stopwatch timer[/quote]
Damn you and reading my post before my ninja edit. I misread your post originally leading to that response. Thanks. It helped. :)
3369
#3369
0 Frags +

Aight I got another that's been bugging me:

I can use "teambg_1", "teambg_2", and "teambg_3" to change background images based on the team you're on. How can I change a color (not image) used for text or a solid colored box depending on which team you're on? Is there a way or am I going to have to figure something out in the hud animations and/or making my own images to use as a workaround?

Thanks once again in advance.

Aight I got another that's been bugging me:

I can use "teambg_1", "teambg_2", and "teambg_3" to change background [i]images[/i] based on the team you're on. How can I change a color (not image) used for text or a solid colored box depending on which team you're on? Is there a way or am I going to have to figure something out in the hud animations and/or making my own images to use as a workaround?

Thanks once again in advance.
3370
#3370
0 Frags +

i started using the updated yahud cmyk again and i did some edits to it but i have an issue with the hud. in the first picture thats how i usually have my med hud where i remove the bar and the big charge number and just have the small uber percent under the crosshair but as you can see the quick switch menu is on the screen. its on ingame hud when i start tf2 but if i hud_reloadscheme to remove it, the bar and number comes back in black as you see in the second picture. i also added outlines to the damage numbers but i have no idea if that would cause it.

here is my hudanimations_custom file and my hudmedicharge.res

how do i fix all of this if possible

thanks in advanced

i started using the updated [url=http://www.teamfortress.tv/33738/ive-updated-some-huds]yahud cmyk[/url] again and i did some edits to it but i have an [url=http://imgur.com/a/zSrLT]issue[/url] with the hud. in the first picture thats how i usually have my med hud where i remove the bar and the big charge number and just have the small uber percent under the crosshair but as you can see the quick switch menu is on the screen. its on ingame hud when i start tf2 but if i hud_reloadscheme to remove it, the bar and number comes back in black as you see in the second picture. i also added outlines to the damage numbers but i have no idea if that would cause it.

here is my [url=http://pastebin.com/wF0d1S3b]hudanimations_custom[/url] file and my [url=http://pastebin.com/4xmJvsNU]hudmedicharge.res[/url]

how do i fix all of this if possible

thanks in advanced
3371
#3371
1 Frags +

How do i get rid of this "%excludes_text%" on my casual panel ?

http://i.imgur.com/XAk1Jr2.jpg?1

How do i get rid of this "%excludes_text%" on my casual panel ?
[img]http://i.imgur.com/XAk1Jr2.jpg?1[/img]
3372
#3372
0 Frags +

The colums for the name score and ping are messed up https://puu.sh/qayMM/a2a9afe6c3.jpg
where do i change these?

The colums for the name score and ping are messed up https://puu.sh/qayMM/a2a9afe6c3.jpg
where do i change these?
3373
#3373
1 Frags +

This question has been asked before, but I tried everything and still didn't fixed it. How to disable this quickswitch shit?
I'm using Egg Hud.

https://puu.sh/qaA00/80a86ee5e1.jpg

This question has been asked before, but I tried everything and still didn't fixed it. How to disable this quickswitch shit?
I'm using Egg Hud.
[img]https://puu.sh/qaA00/80a86ee5e1.jpg[/img]
3374
#3374
1 Frags +
selThe colums for the name score and ping are messed up https://puu.sh/qayMM/a2a9afe6c3.jpg
where do i change these?

You have to edit scoreboard.res on the "scores" part.

[quote=sel]The colums for the name score and ping are messed up https://puu.sh/qayMM/a2a9afe6c3.jpg
where do i change these?[/quote]
You have to edit scoreboard.res on the "scores" part.
3375
#3375
1 Frags +
johnpbselThe colums for the name score and ping are messed up https://puu.sh/qayMM/a2a9afe6c3.jpg
where do i change these?
You have to edit scoreboard.res on the "scores" part.

good lord I cant believe i missed that, thanks man

[quote=johnpb][quote=sel]The colums for the name score and ping are messed up https://puu.sh/qayMM/a2a9afe6c3.jpg
where do i change these?[/quote]
You have to edit scoreboard.res on the "scores" part.[/quote]

good lord I cant believe i missed that, thanks man
3376
#3376
0 Frags +

How do I change the colors of the background of the round timer
https://puu.sh/qaRBw/904f0d2175.jpg

How do I change the colors of the background of the round timer
https://puu.sh/qaRBw/904f0d2175.jpg
3377
#3377
whitelist.tf
0 Frags +

HudObjectiveKothTimePanel.res for the King of the Hill timers

HudObjectiveKothTimePanel.res for the King of the Hill timers
3378
#3378
0 Frags +
WiethoofdHudObjectiveKothTimePanel.res for the King of the Hill timers

I don't see any fgcolor field to change it so it can be solid or a different color

[quote=Wiethoofd]HudObjectiveKothTimePanel.res for the King of the Hill timers[/quote]
I don't see any fgcolor field to change it so it can be solid or a different color
3379
#3379
0 Frags +

how can i move the team colored box here to the left because every time i try to it gets cut off
https://puu.sh/qbmkf/4db1afd2fc.jpg

"TeamIndicator"
{
"ControlName" "CTFImagePanel"
"fieldName" "TeamBG"
"xpos" "-50"
"ypos" "0"
"zpos" "-1"
"wide" "100"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" //1
"enabled" "1"
"image" "replay/thumbnails/"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}

how can i move the team colored box here to the left because every time i try to it gets cut off
https://puu.sh/qbmkf/4db1afd2fc.jpg

"TeamIndicator"
{
"ControlName" "CTFImagePanel"
"fieldName" "TeamBG"
"xpos" "-50"
"ypos" "0"
"zpos" "-1"
"wide" "100"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" //1
"enabled" "1"
"image" "replay/thumbnails/"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}
3380
#3380
0 Frags +
duck_how can i move the team colored box here to the left because every time i try to it gets cut off
https://puu.sh/qbmkf/4db1afd2fc.jpg

"TeamIndicator"
{
"ControlName" "CTFImagePanel"
"fieldName" "TeamBG"
"xpos" "-50"
"ypos" "0"
"zpos" "-1"
"wide" "100"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" //1
"enabled" "1"
"image" "replay/thumbnails/"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}

What file is this element in? Most likely there is an element in the same file or in hudlayout.res that defines the visible area for the element. By moving the team indicator to the left you probably move it out of this area, resuling in the element beeing cut off.

[quote=duck_]how can i move the team colored box here to the left because every time i try to it gets cut off
https://puu.sh/qbmkf/4db1afd2fc.jpg

"TeamIndicator"
{
"ControlName" "CTFImagePanel"
"fieldName" "TeamBG"
"xpos" "-50"
"ypos" "0"
"zpos" "-1"
"wide" "100"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" //1
"enabled" "1"
"image" "replay/thumbnails/"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}[/quote]

What file is this element in? Most likely there is an element in the same file or in hudlayout.res that defines the visible area for the element. By moving the team indicator to the left you probably move it out of this area, resuling in the element beeing cut off.
3381
#3381
0 Frags +
JBduck_how can i move the team colored box here to the left because every time i try to it gets cut off
https://puu.sh/qbmkf/4db1afd2fc.jpg

"TeamIndicator"
{
"ControlName" "CTFImagePanel"
"fieldName" "TeamBG"
"xpos" "-50"
"ypos" "0"
"zpos" "-1"
"wide" "100"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" //1
"enabled" "1"
"image" "replay/thumbnails/"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}

What file is this element in? Most likely there is an element in the same file or in hudlayout.res that defines the visible area for the element. By moving the team indicator to the left you probably move it out of this area, resuling in the element beeing cut off.

I figured it out, i was able to put it in hudplayerclass and not have it clip

[quote=JB][quote=duck_]how can i move the team colored box here to the left because every time i try to it gets cut off
https://puu.sh/qbmkf/4db1afd2fc.jpg

"TeamIndicator"
{
"ControlName" "CTFImagePanel"
"fieldName" "TeamBG"
"xpos" "-50"
"ypos" "0"
"zpos" "-1"
"wide" "100"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" //1
"enabled" "1"
"image" "replay/thumbnails/"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}[/quote]

What file is this element in? Most likely there is an element in the same file or in hudlayout.res that defines the visible area for the element. By moving the team indicator to the left you probably move it out of this area, resuling in the element beeing cut off.[/quote]

I figured it out, i was able to put it in hudplayerclass and not have it clip
3382
#3382
0 Frags +

Is it possible to change the color of text outlines, or can it only be black?

Is it possible to change the color of text outlines, or can it only be black?
3383
#3383
0 Frags +

i found a way to use custom images on huds on this thread link.It worked but however i cant place health or ammo over it, i tried to change the zpos but it wont worked.
Example

Health Numbers

Show Content
"G_PlayerStatusHealthValueShadow"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValueShadow"
"xpos" "c-248"
"ypos" "r80"
"zpos" "21"
"wide" "124"
"tall" "50"
"visible" "1"
"enabled" "1"
"paintbackground" "1"
"bgcolor_override" "255 0 0 0"
"paintbackgroundtype" "2"
"labelText" "%Health%"
"textAlignment" "center"
"font" "G_FontHuge"
"fgcolor" "G_Shadow"
}

Custom Image

Show Content
"Viewmodel"
{
"visible" "1"
"ControlName" "CTFImagePanel"
"fieldName" "scatter" //this field doesn't affect anything
"xpos" "l-100"
"ypos" "411"
"zpos" "1"
"wide" "875"
"tall" "70"
"enabled" "1"
"image" "replay/thumbnails/doomlayout" // edit this field for primary weapon
"scaleImage" "1"
}
i found a way to use custom images on huds on this thread [url=http://www.teamfortress.tv/16994/transparent-viewmodels-concept]link[/url].It worked but however i cant place health or ammo over it, i tried to change the zpos but it wont worked.
[url=https://www.youtube.com/watch?v=oQx75tN74Rk&feature=youtu.be]Example[/url]

Health Numbers
[spoiler]
"G_PlayerStatusHealthValueShadow"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValueShadow"
"xpos" "c-248"
"ypos" "r80"
"zpos" "21"
"wide" "124"
"tall" "50"
"visible" "1"
"enabled" "1"
"paintbackground" "1"
"bgcolor_override" "255 0 0 0"
"paintbackgroundtype" "2"
"labelText" "%Health%"
"textAlignment" "center"
"font" "G_FontHuge"
"fgcolor" "G_Shadow"
}
[/spoiler]



Custom Image
[spoiler] "Viewmodel"
{
"visible" "1"
"ControlName" "CTFImagePanel"
"fieldName" "scatter" //this field doesn't affect anything
"xpos" "l-100"
"ypos" "411"
"zpos" "1"
"wide" "875"
"tall" "70"
"enabled" "1"
"image" "replay/thumbnails/doomlayout" // edit this field for primary weapon
"scaleImage" "1"
}[/spoiler]
3384
#3384
0 Frags +

I changed the timebg in hudobjectivetimepanel to
"TimeBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TimeBG"
"xpos" "c-40"
"ypos" "0"
"zpos" "-10"
"wide" "80"
"tall" "17"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/bg_black"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/bg_black"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}
But this happens: http://puu.sh/qdTvk/1c37cd7620.jpg And I want to have a team colored box but can't figure out how

I changed the timebg in hudobjectivetimepanel to
"TimeBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TimeBG"
"xpos" "c-40"
"ypos" "0"
"zpos" "-10"
"wide" "80"
"tall" "17"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/bg_black"
"scaleImage" "1"
"teambg_1" "replay/thumbnails/bg_black"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"

"src_corner_height" "23"
"src_corner_width" "23"
"draw_corner_width" "0"
"draw_corner_height" "0"
}
But this happens: http://puu.sh/qdTvk/1c37cd7620.jpg And I want to have a team colored box but can't figure out how
3385
#3385
0 Frags +

IDK why but when i tried to customize the capture point icons this happened http://puu.sh/qe2j7/781accfb27.jpg

IDK why but when i tried to customize the capture point icons this happened http://puu.sh/qe2j7/781accfb27.jpg
3386
#3386
whitelist.tf
2 Frags +
duck_IDK why but when i tried to customize the capture point icons this happened http://puu.sh/qe2j7/781accfb27.jpg

Check the flags on the original vtf for the capture progress image, there is a 'loop' flag called Clamp S/T which need to be set so it doesn't start looping like that.

For the team colored time background you need to use a CTFImagePanel and teambg_1-3, check other huds who have it (mine in WietHUD), in your case the xpos might be wrong and move it out of the box and I would recommend using a proportionaltoparent 1 and/or a cs-0.5 for centering this element if you don't pin it.

[quote=duck_]IDK why but when i tried to customize the capture point icons this happened http://puu.sh/qe2j7/781accfb27.jpg[/quote]
Check the flags on the original vtf for the capture progress image, there is a 'loop' flag called [i]Clamp S/T[/i] which need to be set so it doesn't start looping like that.

For the team colored time background you need to use a CTFImagePanel and [i]teambg_1-3[/i], check other huds who have it ([url=https://github.com/Wiethoofd/WietHUD/blob/master/resource/ui/HudObjectiveTimepanel.res#L27]mine[/url] in WietHUD), in your case the xpos might be wrong and move it out of the box and I would recommend using a [i]proportionaltoparent 1[/i] and/or a [i]cs-0.5[/i] for centering this element if you don't pin it.
3387
#3387
0 Frags +

"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"

"PositiveColor" "Heal Numbers"
"NegativeColor" "Damage Numbers"
"delta_lifetime" "1.40"
"delta_item_font" "surface60"
"delta_item_font_big" "surface60"
}

Changing combat text. Have the BOLDED options ever worked? They do nothing for me. Color alpha don't seem to work either.

"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
[b] "text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"[/b]
"PositiveColor" "Heal Numbers"
"NegativeColor" "Damage Numbers"
"delta_lifetime" "1.40"
"delta_item_font" "surface60"
"delta_item_font_big" "surface60"
}

Changing combat text. Have the [b]BOLDED[/b] options ever worked? They do nothing for me. Color alpha don't seem to work either.
3388
#3388
0 Frags +

Is there a way to get rid of the domination / revange in the killfeed?

Is there a way to get rid of the domination / revange in the killfeed?
3389
#3389
1 Frags +

What hud file would I need to edit in order to fix this?

http://steamcommunity.com/sharedfiles/filedetails/?id=731751609

What hud file would I need to edit in order to fix this?

http://steamcommunity.com/sharedfiles/filedetails/?id=731751609
3390
#3390
0 Frags +
Wiethoofdduck_IDK why but when i tried to customize the capture point icons this happened http://puu.sh/qe2j7/781accfb27.jpgCheck the flags on the original vtf for the capture progress image, there is a 'loop' flag called Clamp S/T which need to be set so it doesn't start looping like that.

For the team colored time background you need to use a CTFImagePanel and teambg_1-3, check other huds who have it (mine in WietHUD), in your case the xpos might be wrong and move it out of the box and I would recommend using a proportionaltoparent 1 and/or a cs-0.5 for centering this element if you don't pin it.

I got the cap icons to work but I still can't get this time bg to work
"TimeBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TimeBG"
"xpos" "0"
"ypos" "0"
"zpos" "-1"
"wide" "52"
"tall" "21"
"visible" "1"
"enabled" "1"
"image" "replay/tumbnails/bg_black"
"teambg_1" "replay/tumbnails/bg_black"
"teambg_2" "replay/tumbnails/bg_red"
"teambg_3" "replay/tumbnails/bg_blue"
"proportionaltoparent" "1"
"paintbackground" "1"
"scaleImage" "1"
"src_corner_height" "20"
"src_corner_width" "20"
"draw_corner_height" "0"
"draw_corner_width" "0"
"pin_to_sibling" "TimePanelValue"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"

if_match
{
"visible" "0"
}
}

[quote=Wiethoofd][quote=duck_]IDK why but when i tried to customize the capture point icons this happened http://puu.sh/qe2j7/781accfb27.jpg[/quote]
Check the flags on the original vtf for the capture progress image, there is a 'loop' flag called [i]Clamp S/T[/i] which need to be set so it doesn't start looping like that.

For the team colored time background you need to use a CTFImagePanel and [i]teambg_1-3[/i], check other huds who have it ([url=https://github.com/Wiethoofd/WietHUD/blob/master/resource/ui/HudObjectiveTimepanel.res#L27]mine[/url] in WietHUD), in your case the xpos might be wrong and move it out of the box and I would recommend using a [i]proportionaltoparent 1[/i] and/or a [i]cs-0.5[/i] for centering this element if you don't pin it.[/quote]
I got the cap icons to work but I still can't get this time bg to work
"TimeBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TimeBG"
"xpos" "0"
"ypos" "0"
"zpos" "-1"
"wide" "52"
"tall" "21"
"visible" "1"
"enabled" "1"
"image" "replay/tumbnails/bg_black"
"teambg_1" "replay/tumbnails/bg_black"
"teambg_2" "replay/tumbnails/bg_red"
"teambg_3" "replay/tumbnails/bg_blue"
"proportionaltoparent" "1"
"paintbackground" "1"
"scaleImage" "1"
"src_corner_height" "20"
"src_corner_width" "20"
"draw_corner_height" "0"
"draw_corner_width" "0"
"pin_to_sibling" "TimePanelValue"
"pin_corner_to_sibling" "PIN_CENTER_TOP"
"pin_to_sibling_corner" "PIN_CENTER_TOP"

if_match
{
"visible" "0"
}
}
1 ⋅⋅ 110 111 112 113 114 115 116 ⋅⋅ 234
Please sign in through STEAM to post a comment.