Programming/soundscape maker/SoundscapeEditorPanelFindSoundscapesDialog.res.res

From Valve Developer Community
Jump to navigation Jump to search

SoundscapeEditorPanelFindSoundscapesDialog.res file needed for the vgui soundscape maker. Place inside your mods resource/vgui_base/ directory (if the directory doesnt exist then make it)

"resource/vgui base/SoundscapeEditorPanelFindSoundscapesDialog.res"
{
    "SoundscapeMakerFindSoundscapePanel"
    {
        "ControlName"        "CSoundscapeMakerFindSoundscapePanel"
        "fieldName"          "SoundscapeMakerFindSoundscapePanel"
        "xpos"               "c-225"
        "ypos"               "c-185"
        "wide"               "450"
        "tall"               "370"
        "visible"            "1"
        "enabled"            "1"
        "settitlebarvisible" "1"
		"title" 			 "Find Soundscape"
    }
	
	"FindSoundscapeList"
    {
        "ControlName"        "ListPanel"
        "fieldName"          "FindSoundscapeList"
        "xpos"               "5"
        "ypos"               "30"
        "wide"               "440"
        "tall"               "200"
        "visible"            "1"
        "enabled"            "1"
    }
	
	"SelectFolderButton"
    {
        "ControlName"        "Button"
        "fieldName"          "SelectFolderButton"
        "xpos"               "5"
        "ypos"               "236"
        "wide"               "135"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
		"labelText"		     "Select Folder"
		"command"		     "SelectFolder"
		"textAlignment"	     "center"
		"sound_released"	 "ui/buttonclickrelease.wav"
		"sound_armed"	 	 "ui/buttonrollover.wav"
    }
	"FindFolderTextEntry"
    {
        "ControlName"        "TextEntry"
        "fieldName"          "FindFolderTextEntry"
        "xpos"               "145"
        "ypos"               "236"
        "wide"               "300"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
		"maxchars"			 "512"
		"unicode"			 "0"
    }
	
	"SoundscapeLookupLabel"
    {
        "ControlName"        "Label"
        "fieldName"          "SoundscapeLookupLabel"
        "xpos"               "5"
        "ypos"               "260"
        "wide"               "135"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
		"labelText"		     "Soundscape To Find:"
		"textAlignment"	     "center"
    }
	"SoundscapeLookupName"
    {
        "ControlName"        "TextEntry"
        "fieldName"          "SoundscapeLookupName"
        "xpos"               "145"
        "ypos"               "260"
        "wide"               "300"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
		"maxchars"			 "128"
		"unicode"			 "0"
    }
	
	"div1"
    {
        "ControlName"        "divider"
        "fieldName"          "div1"
        "xpos"               "0"
        "ypos"               "287"
        "wide"               "500"
        "tall"               "1"
        "visible"            "1"
        "enabled"            "1"
    }
	"OnlyTextFilesCheckButton"
    {
        "ControlName"        "CheckButton"
        "fieldName"          "OnlyTextFilesCheckButton"
        "xpos"               "5"
        "ypos"               "290"
        "wide"               "200"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
        "selected"           "1"
		"labelText"		     "Only Search In .txt Files"
		"sound_released"	 "ui/buttonclickrelease.wav"
		"sound_armed"	 	 "ui/buttonrollover.wav"
    }
	"StopAfter1stFind"
    {
        "ControlName"        "CheckButton"
        "fieldName"          "StopAfter1stFind"
        "xpos"               "270"
        "ypos"               "290"
        "wide"               "200"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
        "selected"           "0"
		"labelText"		     "Stop After 1st File Found"
		"sound_released"	 "ui/buttonclickrelease.wav"
		"sound_armed"	 	 "ui/buttonrollover.wav"
    }
	"RecursivlySearch"
    {
        "ControlName"        "CheckButton"
        "fieldName"          "RecursivlySearch"
        "xpos"               "115"
        "ypos"               "314"
        "wide"               "250"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
        "selected"           "1"
		"labelText"		     "Recursivly Search Through Folders"
		"sound_released"	 "ui/buttonclickrelease.wav"
		"sound_armed"	 	 "ui/buttonrollover.wav"
    }
	
	"div2"
    {
        "ControlName"        "divider"
        "fieldName"          "div2"
        "xpos"               "0"
        "ypos"               "337"
        "wide"               "500"
        "tall"               "1"
        "visible"            "1"
        "enabled"            "1"
    }
	"SearchButton"
    {
        "ControlName"        "Button"
        "fieldName"          "div"
        "xpos"               "5"
        "ypos"               "345"
        "wide"               "440"
        "tall"               "20"
        "visible"            "1"
        "enabled"            "1"
		"labelText"		     "Search For Soundscape (Could take a while)"
		"command"		     "StartSearch"
		"textAlignment"	     "center"
		"sound_released"	 "ui/buttonclickrelease.wav"
		"sound_armed"	 	 "ui/buttonrollover.wav"
    }
}