I'm using this tutorial to try and get this gif to work on ya_hud. I followed the steps and got my "StatSummary.res" to look like this:
"TFStatsSummary"
{
"ControlName" "EditablePanel"
"fieldName" "TFStatsSummary"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
"Loading"
{
"ControlName" "CExLabel"
"fieldName" "Loading"
"font" "Heavy48"
"labelText" "Loading"
"textAlignment" "west"
"xpos" "40"
"ypos" "38"
"zpos" "210"
"wide" "237"
"tall" "38"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor" "ya_Main"
}
"MainBackground"
{
"ControlName" "ImagePanel"
"fieldName" "MainBackground"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" ""
"scaleImage" "1"
}
"SquidLoadingScreen"
{
"ControlName" "ScalableImagePanel"
"fieldName" "maw4qtw4nu_image"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}
And on the next step, like this:
"MapInfo"
{
"ControlName" "EditablePanel"
"fieldName" "MapInfo"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "0"
"enabled" "1"
"bgcolor_override" "46 43 42 255"
"Background"
{
"ControlName" "ImagePanel"
"fieldName" "Background"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "stamp_background_map"
"scaleImage" "1"
}
"MapImage"
{
"ControlName" "ImagePanel"
"fieldName" "MapImage"
"xpos" "0"
"ypos" "99999"
"zpos" "0"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
"image" ""
"scaleImage" "1"
}
"TheNameOfThisDoesntMatter"
{
"ControlName" "ScalableImagePanel"
"fieldName" "maw4qtw4nu_image"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}
When I launch TF2 and try to connect to a server, the gif doesn't show up. I'm assuming I either did something wrong or something in ya_hud is blocking it.
Please help?
I'm using [url=http://teamfortress.tv/thread/8247/show-your-hud-modifications/?page=55#1644]this tutorial[/url] to try and get [url=http://i.imgur.com/FkZ8zcY.gif]this gif[/url] to work on ya_hud. I followed the steps and got my "StatSummary.res" to look like this:
[quote] "TFStatsSummary"
{
"ControlName" "EditablePanel"
"fieldName" "TFStatsSummary"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
"Loading"
{
"ControlName" "CExLabel"
"fieldName" "Loading"
"font" "Heavy48"
"labelText" "Loading"
"textAlignment" "west"
"xpos" "40"
"ypos" "38"
"zpos" "210"
"wide" "237"
"tall" "38"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor" "ya_Main"
}
"MainBackground"
{
"ControlName" "ImagePanel"
"fieldName" "MainBackground"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" ""
"scaleImage" "1"
}
"SquidLoadingScreen"
{
"ControlName" "ScalableImagePanel"
"fieldName" "maw4qtw4nu_image"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
} [/quote]
And on the next step, like this:
[quote] "MapInfo"
{
"ControlName" "EditablePanel"
"fieldName" "MapInfo"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "0"
"enabled" "1"
"bgcolor_override" "46 43 42 255"
"Background"
{
"ControlName" "ImagePanel"
"fieldName" "Background"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "stamp_background_map"
"scaleImage" "1"
}
"MapImage"
{
"ControlName" "ImagePanel"
"fieldName" "MapImage"
"xpos" "0"
"ypos" "99999"
"zpos" "0"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
"image" ""
"scaleImage" "1"
}
"TheNameOfThisDoesntMatter"
{
"ControlName" "ScalableImagePanel"
"fieldName" "maw4qtw4nu_image"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}[/quote]
When I launch TF2 and try to connect to a server, the gif doesn't show up. I'm assuming I either did something wrong or something in ya_hud is blocking it.
Please help?
If you do get it working post it in a zip thats sick
If you do get it working post it in a zip thats sick
That's a really satisfying gif.
That's a really satisfying gif.
This is an autobiographical gif of bsc.
This is an autobiographical gif of bsc.
Well, given my little hud knowledge I would try making "maw4qtw4nu_image" in the "fieldname" section "TheNameOfThisDoesntMatter" instead -- I've found that, while sometimes you can get away with the two names not matching, it more often than not breaks the hud element. I could be completely wrong in this instance though; just something to try.
Your second pasted bit should then look like this:
"MapInfo"
{
"ControlName" "EditablePanel"
"fieldName" "MapInfo"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "0"
"enabled" "1"
"bgcolor_override" "46 43 42 255"
"Background"
{
"ControlName" "ImagePanel"
"fieldName" "Background"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "stamp_background_map"
"scaleImage" "1"
}
"MapImage"
{
"ControlName" "ImagePanel"
"fieldName" "MapImage"
"xpos" "0"
"ypos" "99999"
"zpos" "0"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
"image" ""
"scaleImage" "1"
}
"TheNameOfThisDoesntMatter"
{
"ControlName" "ScalableImagePanel"
"fieldName" "TheNameOfThisDoesntMatter"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}
Edit: Same with your first paste too; where you have "SquidLoadingScreen", you should change the fieldname below it to "SquidLoadingScreen". With normal hud editing, you always want the title given to a section of code and the fieldname to match.
Edit2: I just tried it on my end and I did get the gif to show up, but a few points:
- It doesn't scale to your resolution, it will be its original size
- Loss of quality. This can be fixed by clicking the "No level of detail" checkbox in VTFEdit before saving
- It covers up your stats summary
Well, given my little hud knowledge I would try making "maw4qtw4nu_image" in the "fieldname" section "TheNameOfThisDoesntMatter" instead -- I've found that, while sometimes you can get away with the two names not matching, it more often than not breaks the hud element. I could be completely wrong in this instance though; just something to try.
Your second pasted bit should then look like this:
[quote]"MapInfo"
{
"ControlName" "EditablePanel"
"fieldName" "MapInfo"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "0"
"enabled" "1"
"bgcolor_override" "46 43 42 255"
"Background"
{
"ControlName" "ImagePanel"
"fieldName" "Background"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "stamp_background_map"
"scaleImage" "1"
}
"MapImage"
{
"ControlName" "ImagePanel"
"fieldName" "MapImage"
"xpos" "0"
"ypos" "99999"
"zpos" "0"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
"image" ""
"scaleImage" "1"
}
[b]"TheNameOfThisDoesntMatter"[/b]
{
"ControlName" "ScalableImagePanel"
[b]"fieldName" "TheNameOfThisDoesntMatter"[/b]
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}[/quote]
Edit: Same with your first paste too; where you have "SquidLoadingScreen", you should change the fieldname below it to "SquidLoadingScreen". With normal hud editing, you always want the title given to a section of code and the fieldname to match.
Edit2: I just tried it on my end and I did get the gif to show up, but a few points:
- It doesn't scale to your resolution, it will be its original size
- Loss of quality. This can be fixed by clicking the "No level of detail" checkbox in VTFEdit before saving
- It covers up your stats summary
WhiskerBiscuit- It covers up your stats summary
This can be easily fixed by changing zpos to -1 or 0 (or something else, I don't remember exactly)
[quote=WhiskerBiscuit]
- It covers up your stats summary[/quote]
This can be easily fixed by changing zpos to -1 or 0 (or something else, I don't remember exactly)
Hergan5WhiskerBiscuit- It covers up your stats summary
This can be easily fixed by changing zpos to -1 or 0 (or something else, I don't remember exactly)
Yeah, just increment the zpos for both "TheNameOfThisDoesntMatter" entries down 1 until it no longer happens; I haven't tried it but I'd assume it works :> (although you'll need to restart each time you do I believe)
[quote=Hergan5][quote=WhiskerBiscuit]
- It covers up your stats summary[/quote]
This can be easily fixed by changing zpos to -1 or 0 (or something else, I don't remember exactly)[/quote]
Yeah, just increment the zpos for both "TheNameOfThisDoesntMatter" entries down 1 until it no longer happens; I haven't tried it but I'd assume it works :> (although you'll need to restart each time you do I believe)
This still isn't working for me.
The first part I'm supposed to paste looks like this (I'm keeping another entry under the gif one so you can check if I spaced it correctly.:
"TFStatsSummary"
{
"ControlName" "EditablePanel"
"fieldName" "TFStatsSummary"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
"Loading"
{
"ControlName" "CExLabel"
"fieldName" "Loading"
"font" "Heavy48"
"labelText" "Loading"
"textAlignment" "west"
"xpos" "40"
"ypos" "38"
"zpos" "210"
"wide" "237"
"tall" "38"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor" "ya_Main"
}
"MainBackground"
{
"ControlName" "ImagePanel"
"fieldName" "MainBackground"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" ""
"scaleImage" "1"
}
"SquidLoadingScreen"
{
"ControlName" "ScalableImagePanel"
"fieldName" "SquidLoadingScreen"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}
"BackgroundGeneral"
{
"ControlName" "ImagePanel"
"fieldName" "BackgroundGeneral"
"xpos" "c-427" //0
"ypos" "0"
"zpos" "200"
"wide" "854"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "../console/background_upward_widescreen"
"scaleImage" "1"
}
And the second bit looks like this:
"MapInfo"
{
"ControlName" "EditablePanel"
"fieldName" "MapInfo"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "0"
"enabled" "1"
"bgcolor_override" "46 43 42 255"
"Background"
{
"ControlName" "ImagePanel"
"fieldName" "Background"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "stamp_background_map"
"scaleImage" "1"
}
"MapImage"
{
"ControlName" "ImagePanel"
"fieldName" "MapImage"
"xpos" "0"
"ypos" "99999"
"zpos" "0"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
"image" ""
"scaleImage" "1"
}
"TheNameOfThisDoesntMatter"
{
"ControlName" "ScalableImagePanel"
"fieldName" "TheNameOfThisDoesntMatter"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}
Also the .vmt I created looks like this:
"UnlitGeneric"
{
"$baseTexture" "vgui/replay/thumbnails/squid"
"$vertexcolor" 1
"$vertexalpha" 1
"$nolod" 1
"$translucent" 1
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$basetexture"
"animatedtextureframenumvar" "$frame"
"animatedtextureframerate" "26"
}
}
}
Whisker I copied the one that you posted and I still didn't work.
This still isn't working for me.
The first part I'm supposed to paste looks like this (I'm keeping another entry under the gif one so you can check if I spaced it correctly.:
[quote] "TFStatsSummary"
{
"ControlName" "EditablePanel"
"fieldName" "TFStatsSummary"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
}
"Loading"
{
"ControlName" "CExLabel"
"fieldName" "Loading"
"font" "Heavy48"
"labelText" "Loading"
"textAlignment" "west"
"xpos" "40"
"ypos" "38"
"zpos" "210"
"wide" "237"
"tall" "38"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor" "ya_Main"
}
"MainBackground"
{
"ControlName" "ImagePanel"
"fieldName" "MainBackground"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" ""
"scaleImage" "1"
}
"SquidLoadingScreen"
{
"ControlName" "ScalableImagePanel"
"fieldName" "SquidLoadingScreen"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
}
"BackgroundGeneral"
{
"ControlName" "ImagePanel"
"fieldName" "BackgroundGeneral"
"xpos" "c-427" //0
"ypos" "0"
"zpos" "200"
"wide" "854"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "../console/background_upward_widescreen"
"scaleImage" "1"
}[/quote]
And the second bit looks like this:
[quote] "MapInfo"
{
"ControlName" "EditablePanel"
"fieldName" "MapInfo"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "0"
"enabled" "1"
"bgcolor_override" "46 43 42 255"
"Background"
{
"ControlName" "ImagePanel"
"fieldName" "Background"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "stamp_background_map"
"scaleImage" "1"
}
"MapImage"
{
"ControlName" "ImagePanel"
"fieldName" "MapImage"
"xpos" "0"
"ypos" "99999"
"zpos" "0"
"wide" "0"
"tall" "0"
"visible" "0"
"enabled" "0"
"image" ""
"scaleImage" "1"
}
"TheNameOfThisDoesntMatter"
{
"ControlName" "ScalableImagePanel"
"fieldName" "TheNameOfThisDoesntMatter"
"xpos" "c-70"
"ypos" "200"
"zpos" "3"
"wide" "205"
"tall" "105"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/squid"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
"scaleImage" "1"
} [/quote]
Also the .vmt I created looks like this:
[quote]"UnlitGeneric"
{
"$baseTexture" "vgui/replay/thumbnails/squid"
"$vertexcolor" 1
"$vertexalpha" 1
"$nolod" 1
"$translucent" 1
"Proxies"
{
"AnimatedTexture"
{
"animatedtexturevar" "$basetexture"
"animatedtextureframenumvar" "$frame"
"animatedtextureframerate" "26"
}
}
}[/quote]
Whisker I copied the one that you posted and I still didn't work.