Wiethoofd@JB, the preloading trick should work, make sure to test cp_degrootkeep as well for the control points, A-C letters and the countdown timer. Also Steel will make you cry with 30 different icons and RGBA8888 instead of DTX5 saved VTFs!
I used the preloading trick for the control point icons and the cap animations. The icons work, the capture animations don't though. I asume the files I need to look into are icon_obj_cap_blu, icon_obj_cap_red and icon_obj_cap_mask?
I got these three set up like everything else and preloaded in main menu. With sv_pure, the default cap animations are used. Without sv_pure, the icon_obj_cap_blu/red are used but they are acting like I posted in #3886.
Preloading elements from mainmenuoverride.res:
Show Content
[code]
"icon_obj_cap_blu"
{
"ControlName" "EditablePanel"
"fieldname" "icon_obj_cap_blu"
"xpos" "9999"
"ypos" "9999"
"zpos" "11"
"wide" "0"
"tall" "0"
"visible" "0"
"SubButton"
{
"ControlName" "CExImageButton"
"fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
"wide" "0"
"tall" "0"
"autoResize" "0"
"pinCorner" "3"
"visible" "0"
"enabled" "0"
"tabPosition" "0"
"textinsetx" "0"
"use_proportional_insets" "1"
"font" "VersionFont"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"default" "1"
"SubImage"
{
"ControlName" "ImagePanel"
"fieldName" "SubImage"
"xpos" "9999"
"ypos" "9999"
"zpos" "1"
"wide" "12"
"tall" "12"
"visible" "1"
"enabled" "1"
"image" "../sprites/obj_icons/icon_obj_cap_blu"
"scaleImage" "1"
}
}
}
"icon_obj_cap_mask"
{
"ControlName" "EditablePanel"
"fieldname" "icon_obj_cap_mask"
"xpos" "9999"
"ypos" "9999"
"zpos" "11"
"wide" "0"
"tall" "0"
"visible" "0"
"SubButton"
{
"ControlName" "CExImageButton"
"fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
"wide" "0"
"tall" "0"
"autoResize" "0"
"pinCorner" "3"
"visible" "0"
"enabled" "0"
"tabPosition" "0"
"textinsetx" "0"
"use_proportional_insets" "1"
"font" "VersionFont"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"default" "1"
"SubImage"
{
"ControlName" "ImagePanel"
"fieldName" "SubImage"
"xpos" "9999"
"ypos" "9999"
"zpos" "1"
"wide" "12"
"tall" "12"
"visible" "1"
"enabled" "1"
"image" "../sprites/obj_icons/icon_obj_cap_mask"
"scaleImage" "1"
}
}
}
"icon_obj_cap_red"
{
"ControlName" "EditablePanel"
"fieldname" "icon_obj_cap_red"
"xpos" "9999"
"ypos" "9999"
"zpos" "11"
"wide" "0"
"tall" "0"
"visible" "0"
"SubButton"
{
"ControlName" "CExImageButton"
"fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
"wide" "0"
"tall" "0"
"autoResize" "0"
"pinCorner" "3"
"visible" "0"
"enabled" "0"
"tabPosition" "0"
"textinsetx" "0"
"use_proportional_insets" "1"
"font" "VersionFont"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"default" "1"
"SubImage"
{
"ControlName" "ImagePanel"
"fieldName" "SubImage"
"xpos" "9999"
"ypos" "9999"
"zpos" "1"
"wide" "12"
"tall" "12"
"visible" "1"
"enabled" "1"
"image" "../sprites/obj_icons/icon_obj_cap_red"
"scaleImage" "1"
}
}
}
[/code]
VMTS:
icon_obj_cap_blu:
Show Content
[code]
"UnlitGeneric"
{
"$translucent" 1
"$baseTexture" "vgui\replay\thumbnails\icon_obj_cap_blu"
"$vertexcolor" 1
"$no_fullbright" 1
"$ignorez" 1
"$detail" "vgui\replay\thumbnails\icon_obj_cap_mask"
"$detailblendmode" "9"
"$separatedetailuvs" "1"
}
[/code]
icon_obj_cap_mask:
Show Content
[code]
"UnlitGeneric"
{
"$translucent" 1
"$baseTexture" "vgui\replay\thumbnails\icon_obj_cap_mask"
"$vertexcolor" 1
"$no_fullbright" 1
"$ignorez" 1
}
[/code]
icon_obj_cap_red:
Show Content
[code]
"UnlitGeneric"
{
"$translucent" 1
"$baseTexture" "vgui\replay\thumbnails\icon_obj_cap_red"
"$vertexcolor" 1
"$no_fullbright" 1
"$ignorez" 1
"$detail" "vgui\replay\thumbnails\icon_obj_cap_mask"
"$detailblendmode" "9"
"$separatedetailuvs" "1"
}
[/code]
Anything I set up incorrectly or am missing completely?