steveo3861
06-15-2007, 09:31 AM
All credit to Dystopia mod team for this, if they request I will take this down.
--------------------------------------------------------------------------------------
Add this to your resource folder
LoadingDialogNoBanner.res
"Resource/LoadingDialog.res"
{
"LoadingDialog"
{
"ControlName" "Frame"
"fieldName" "LoadingDialog"
"xpos" "322"
"ypos" "249"
"wide" "800"
"tall" "600"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"ImagePanel"
{
"ControlName" "ImagePanel"
"fieldName" "LoadingImage"
"xpos" "20"
"ypos" "20"
"wide" "100" //Image width
"tall" "100" //Image hight
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"image" "image" // image name
"scaleImage" "1"
}
"InfoLabel"
{
"ControlName" "Label"
"fieldName" "InfoLabel"
"xpos" "470"
"ypos" "570"
"wide" "250"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ""
"textAlignment" "west"
"dulltext" "1"
"brighttext" "0"
}
"progress"
{
"ControlName" "ProgressBar"
"fieldName" "Progress"
"xpos" "60"
"ypos" "570"
"wide" "400"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"CancelButton"
{
"ControlName" "Button"
"fieldName" "CancelButton"
"xpos" "720"
"ypos" "570"
"wide" "72"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#GameUI_Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"command" "Cancel"
"Default" "0"
}
}
---------------------------------------------------------------------------------------
For VAC servers too:
LoadingDialogVAC.res
"Resource/LoadingDialog.res"
{
"LoadingDialog"
{
"ControlName" "Frame"
"fieldName" "LoadingDialog"
"xpos" "322"
"ypos" "249"
"wide" "800"
"tall" "600"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"ImagePanel"
{
"ControlName" "ImagePanel"
"fieldName" "LoadingImage"
"xpos" "20"
"ypos" "20"
"wide" "100" //Image width
"tall" "100" //Image hight
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"image" "imagename" //Image Name
"scaleImage" "1"
}
"InfoLabel"
{
"ControlName" "Label"
"fieldName" "InfoLabel"
"xpos" "470"
"ypos" "570"
"wide" "250"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ""
"textAlignment" "west"
"dulltext" "1"
"brighttext" "0"
}
"VACImage"
{
"ControlName" "ImagePanel"
"fieldName" "VACImage"
"xpos" "20"
"ypos" "565"
"wide" "64"
"tall" "64"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"border" ""
"scaleimage" "1"
"image" "resource/icon_vac"
}
"progress"
{
"ControlName" "ProgressBar"
"fieldName" "Progress"
"xpos" "60"
"ypos" "570"
"wide" "400"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"CancelButton"
{
"ControlName" "Button"
"fieldName" "CancelButton"
"xpos" "720"
"ypos" "570"
"wide" "72"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#GameUI_Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"command" "Cancel"
"Default" "0"
}
}
Put your .vtf and .vmt in VGUI in materials and refer to the name in these .res files.
================================================== =================
Hey all,
I am trying to add an image to the map loading screen that appears when joining a server. However I cannot find where the files are located in the solution :confused:
Any help appreciated.
--------------------------------------------------------------------------------------
Add this to your resource folder
LoadingDialogNoBanner.res
"Resource/LoadingDialog.res"
{
"LoadingDialog"
{
"ControlName" "Frame"
"fieldName" "LoadingDialog"
"xpos" "322"
"ypos" "249"
"wide" "800"
"tall" "600"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"ImagePanel"
{
"ControlName" "ImagePanel"
"fieldName" "LoadingImage"
"xpos" "20"
"ypos" "20"
"wide" "100" //Image width
"tall" "100" //Image hight
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"image" "image" // image name
"scaleImage" "1"
}
"InfoLabel"
{
"ControlName" "Label"
"fieldName" "InfoLabel"
"xpos" "470"
"ypos" "570"
"wide" "250"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ""
"textAlignment" "west"
"dulltext" "1"
"brighttext" "0"
}
"progress"
{
"ControlName" "ProgressBar"
"fieldName" "Progress"
"xpos" "60"
"ypos" "570"
"wide" "400"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"CancelButton"
{
"ControlName" "Button"
"fieldName" "CancelButton"
"xpos" "720"
"ypos" "570"
"wide" "72"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#GameUI_Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"command" "Cancel"
"Default" "0"
}
}
---------------------------------------------------------------------------------------
For VAC servers too:
LoadingDialogVAC.res
"Resource/LoadingDialog.res"
{
"LoadingDialog"
{
"ControlName" "Frame"
"fieldName" "LoadingDialog"
"xpos" "322"
"ypos" "249"
"wide" "800"
"tall" "600"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"ImagePanel"
{
"ControlName" "ImagePanel"
"fieldName" "LoadingImage"
"xpos" "20"
"ypos" "20"
"wide" "100" //Image width
"tall" "100" //Image hight
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"image" "imagename" //Image Name
"scaleImage" "1"
}
"InfoLabel"
{
"ControlName" "Label"
"fieldName" "InfoLabel"
"xpos" "470"
"ypos" "570"
"wide" "250"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ""
"textAlignment" "west"
"dulltext" "1"
"brighttext" "0"
}
"VACImage"
{
"ControlName" "ImagePanel"
"fieldName" "VACImage"
"xpos" "20"
"ypos" "565"
"wide" "64"
"tall" "64"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"border" ""
"scaleimage" "1"
"image" "resource/icon_vac"
}
"progress"
{
"ControlName" "ProgressBar"
"fieldName" "Progress"
"xpos" "60"
"ypos" "570"
"wide" "400"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"CancelButton"
{
"ControlName" "Button"
"fieldName" "CancelButton"
"xpos" "720"
"ypos" "570"
"wide" "72"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#GameUI_Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"command" "Cancel"
"Default" "0"
}
}
Put your .vtf and .vmt in VGUI in materials and refer to the name in these .res files.
================================================== =================
Hey all,
I am trying to add an image to the map loading screen that appears when joining a server. However I cannot find where the files are located in the solution :confused:
Any help appreciated.