2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-11-21 13:51:47 +00:00

Add training UI elements (upstream)

This commit is contained in:
Jessie Hildebrandt 2023-01-15 02:33:02 -05:00
parent a998972a36
commit 9b61aa8151
3 changed files with 357 additions and 0 deletions

View File

@ -0,0 +1,93 @@
"Resource/UI/HudTraining.res"
{
"ObjectiveStatusTraining"
{
"ControlName" "EditablePanel"
"fieldName" "ObjectiveStatusTraining"
"xpos" "cs-0.5"
"ypos" "r138"
"zpos" "1"
"wide" "320"
"tall" "90"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
}
"GoalLabel"
{
"ControlName" "CExLabel"
"fieldName" "GoalLabel"
"xpos" "10"
"ypos" "5"
"zpos" "4"
"wide" "300"
"tall" "20"
"visible" "1"
"enabled" "1"
"wrap" "1"
"labelText" "%goal%"
"font" "Size 12"
"textAlignment" "North"
"fgcolor" "White"
}
"MsgLabel"
{
"ControlName" "CExRichText"
"fieldName" "MsgLabel"
"xpos" "10"
"ypos" "25"
"zpos" "3"
"wide" "280"
"tall" "45"
"visible" "1"
"enabled" "1"
"wrap" "1"
"labelText" ""
"textAlignment" "North"
"font" "Size 11"
"fgcolor" "White"
}
"PressSpacebarToContinue"
{
"ControlName" "CExLabel"
"fieldName" "PressSpacebarToContinue"
"xpos" "10"
"ypos" "70"
"zpos" "3"
"wide" "280"
"tall" "15"
"visible" "0"
"enabled" "1"
"wrap" "1"
"labelText" "#TF_Training_SpaceToContinue"
"textAlignment" "North"
"font" "Size 12"
"fgcolor" "White"
}
"HudTrainingMsgBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "HudTrainingMsgBG"
"xpos" "cs-0.5"
"ypos" "cs-0.5"
"zpos" "2"
"wide" "f0"
"tall" "f0"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"image" "replay/thumbnails/panels/material_transparent70"
"scaleImage" "1"
"teambg_2" "replay/thumbnails/panels/material_transparent70"
"teambg_3" "replay/thumbnails/panels/material_transparent70"
"src_corner_height" "32"
"src_corner_width" "32"
"draw_corner_width" "8"
"draw_corner_height" "8"
}
}

View File

@ -0,0 +1,55 @@
"Resource/UI/HudTrainingMsg.res"
{
"HudTrainingMsgBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "HudTrainingMsgBG"
"xpos" "0"
"ypos" "0"
"zpos" "-1"
"wide" "400"
"tall" "265"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"image" "replay/thumbnails/panels/material_transparent70"
"scaleImage" "1"
"teambg_2" "replay/thumbnails/panels/material_transparent70"
"teambg_3" "replay/thumbnails/panels/material_transparent70"
"src_corner_height" "32"
"src_corner_width" "32"
"draw_corner_width" "8"
"draw_corner_height" "8"
}
"GoalLabel"
{
"ControlName" "CExLabel"
"fieldName" "GoalLabel"
"xpos" "30"
"ypos" "40"
"zpos" "1"
"wide" "345"
"tall" "105"
"visible" "1"
"enabled" "1"
"wrap" "1"
"labelText" ""
"textAlignment" "North"
"font" "Size 14"
}
"GoalImage"
{
"ControlName" "CTFImagePanel"
"fieldName" "GoalImage"
"xpos" "27"
"ypos" "55"
"zpos" "1"
"wide" "45"
"tall" "45"
"visible" "0"
"enabled" "1"
"image" "../hud/hud_icon_attack"
"scaleImage" "1"
}
}

View File

@ -0,0 +1,209 @@
"Resource/UI/TrainingComplete.res"
{
"TrainingComplete"
{
"ControlName" "CTFTrainingComplete"
"fieldName" "TrainingComplete"
"xpos" "0"
"ypos" "0"
"zpos" "0"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
"Next"
{
"ControlName" "CExButton"
"fieldName" "Next"
"xpos" "cs-0.5"
"ypos" "rs1-20"
"zpos" "6"
"wide" "400"
"tall" "26"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"labelText" "#Button_NextTraining"
"textAlignment" "center"
"command" "next"
"font" "Size 15"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"border_default" "MaterialTransparent70"
"border_armed" "MaterialHypno"
}
"Quit"
{
"ControlName" "CExButton"
"fieldName" "Quit"
"xpos" "cs-0.5"
"ypos" "rs1-46"
"zpos" "6"
"wide" "400"
"tall" "26"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"labelText" "#Button_QuitTraining"
"textAlignment" "center"
"command" "quit"
"font" "Size 15"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"border_default" "MaterialTransparent70"
"border_armed" "MaterialHypno"
}
"Replay"
{
"ControlName" "CExButton"
"fieldName" "Replay"
"xpos" "cs-0.5"
"ypos" "rs1-70"
"zpos" "6"
"wide" "400"
"tall" "26"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"labelText" "#Button_ReplayTraining"
"textAlignment" "center"
"command" "replay"
"font" "Size 15"
"fgcolor" "Black"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"border_default" "MaterialTransparent70"
"border_armed" "MaterialHypno"
}
"BottomBar"
{
"ControlName" "ImagePanel"
"fieldName" "BottomBar"
"xpos" "0"
"ypos" "r50"
"zpos" "5"
"wide" "f0"
"tall" "50"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"fillcolor" "Blank"
}
"TopBar"
{
"ControlName" "ImagePanel"
"fieldName" "TopBar"
"xpos" "0"
"ypos" "0"
"zpos" "5"
"wide" "f0"
"tall" "50"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"fillcolor" "Blank"
}
}
"ImageBomb"
{
"ControlName" "ImagePanel"
"fieldName" "ImageBomb"
"xpos" "cs-0.5"
"ypos" "cs-0.5-30"
"zpos" "2"
"wide" "128"
"tall" "128"
"visible" "1"
"enabled" "1"
"mouseinputenabled" "0"
"proportionaltoparent" "1"
"image" "../hud/graduation_bomb"
"scaleImage" "1"
}
"Results"
{
"ControlName" "EditablePanel"
"fieldName" "Results"
"xpos" "cs-0.5"
"ypos" "cs-0.5"
"zpos" "1"
"wide" "400"
"tall" "275"
"visible" "1"
"enabled" "1"
"mouseinputenabled" "0"
"proportionaltoparent" "1"
"paintborder" "1"
"border" "MaterialTransparent70"
"ResultsLabel"
{
"ControlName" "CExLabel"
"fieldName" "ResultsLabel"
"xpos" "cs-0.5"
"ypos" "10"
"zpos" "1"
"wide" "f10"
"tall" "20"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"font" "Size 16"
"labelText" "%wintext%"
"textAlignment" "center"
"fgcolor" "White"
}
"ResultsText"
{
"ControlName" "CExRichText"
"fieldName" "ResultsText"
"xpos" "cs-0.5"
"ypos" "rs1-5"
"zpos" "2"
"wide" "f10"
"tall" "95"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"maxchars" "-1"
"text" ""
"wrap" "1"
"centerwrap" "1"
"textAlignment" "north"
"font" "Size 12"
}
"ResultsBG"
{
"ControlName" "EditablePanel"
"fieldName" "ResultsBG"
"xpos" "9999"
}
}
}