Template:PatchDiff/October 20, 2017 Patch/tf/tf2 misc dir.vpk/scripts/hudanimations tf.txt

From Team Fortress Wiki
Jump to: navigation, search
18351835 Animate SourceLabel Alpha 255 Linear 0.1 0.3
18361836 Animate SourceLabel FgColor "100 255 100 255" Linear 0.1 0
18371837 Animate SourceLabel FgColor CreditsGreen Linear 0.5 1
1838N/A Animate SourceLabel ypos -25 Deaccel 0 3.0
18391838 Animate SourceLabel Alpha 0 Linear 2.9 0.3
18401839 
18411840 Animate SourceLabelGlow Alpha 255 Linear 0.0 0.1
18421841 Animate SourceLabelGlow FgColor "100 255 100 255" Linear 0.1 0
18431842 Animate SourceLabelGlow FgColor CreditsGreen Linear 0.5 1
18441843 Animate SourceLabelGlow Alpha 200 Linear 0.5 1
1845N/A Animate SourceLabelGlow ypos -25 Deaccel 0 3.0
18461844 Animate SourceLabelGlow Alpha 0 Linear 2.9 0.3
18471845}
18481846 
19111909 Animate VotesLabel FgColor TanLight Deaccel 0 0.1.5
19121910}
19131911 
N/A1912event QuestMap_Start
N/A1913{
N/A1914 FireCommand 0.0 "switch_off"
N/A1915 FireCommand 0.4 "switch_on"
N/A1916 
N/A1917 StopEvent QuestMap_StaticBarOverlayLoop 0
N/A1918 StopEvent QuestMap_StaticBarOverlayBrighten 0
N/A1919 StopEvent QuestMap_StaticBarOverlayDarken 0
N/A1920 StopEvent QuestMap_StaticFadeOut 0
N/A1921 StopEvent QuestMap_StaticBar1Loop 0
N/A1922 StopEvent QuestMap_StaticBar2Loop 0
N/A1923 
N/A1924 // Reset
N/A1925 Animate StaticBar1 ypos -50 Linear 0 0
N/A1926 Animate StaticBar2 ypos -10 Linear 0 0
N/A1927 Animate StaticOverlay alpha 255 Linear 0 0
N/A1928 Animate StaticOverlay xpos 270 Linear 0 0
N/A1929 Animate StaticOverlay ypos 160 Linear 0 0
N/A1930 Animate StaticOverlay wide 0 Linear 0 0
N/A1931 Animate StaticOverlay tall 0 Linear 0 0
N/A1932 Animate BlackOverlay alpha 255 Linear 0 0
N/A1933 
N/A1934 
N/A1935 // Grow full wide, and a little tall
N/A1936 Animate StaticOverlay ypos 155 Accel 0.01 0.25
N/A1937 Animate StaticOverlay tall 10 Accel 0.01 0.25
N/A1938 Animate StaticOverlay wide 540 Accel 0.01 0.25
N/A1939 Animate StaticOverlay xpos 0 Accel 0.01 0.25
N/A1940 
N/A1941 // Grow full tall
N/A1942 Animate StaticOverlay tall 320 Accel 0.3 0.15
N/A1943 Animate StaticOverlay ypos 0 Accel 0.3 0.15
N/A1944 
N/A1945 Animate BlackOverlay alpha 0 Linear 0.6 0
N/A1946 
N/A1947 // Start mostly staticy, then reduce to the loop
N/A1948 RunEvent QuestMap_StaticBarOverlayLoop 2
N/A1949 RunEvent QuestMap_StaticBar1Loop 0.7
N/A1950 RunEvent QuestMap_StaticBar2Loop 0.7
N/A1951}
N/A1952 
N/A1953event QuestMap_MapLoaded
N/A1954{
N/A1955 // Remove the black and fade out
N/A1956 Animate DisconnetedContainer alpha 0 Linear 0.2 0
N/A1957 Animate BlackOverlay alpha 0 Linear 0.6 0
N/A1958 Animate StaticOverlay alpha 20 Deaccel 0.6 1.2
N/A1959}
N/A1960 
N/A1961event QuestMap_LoadingLoop
N/A1962{
N/A1963 Animate DisconnetedContainer alpha 255 Linear 0 0
N/A1964}
N/A1965 
N/A1966event QuestMap_StaticFadeOut
N/A1967{
N/A1968 RunEvent QuestMap_StaticBar1Loop 0
N/A1969 RunEvent QuestMap_StaticBar2Loop 0
N/A1970 // Start mostly staticy, then reduce to the loop
N/A1971 Animate StaticOverlay alpha 255 Linear 0 0
N/A1972 Animate StaticOverlay alpha 20 Deaccel 0 0.4
N/A1973 RunEvent QuestMap_StaticBarOverlayLoop 1
N/A1974}
N/A1975 
N/A1976event QuestMap_StaticBar1Loop
N/A1977{
N/A1978 Animate StaticBar1 ypos -50 Linear 0 0 // Reset
N/A1979 Animate StaticBar1 ypos r0 Linear 0 5
N/A1980 RunEvent QuestMap_StaticBar1Loop 5
N/A1981}
N/A1982 
N/A1983event QuestMap_StaticBar2Loop
N/A1984{
N/A1985 Animate StaticBar2 ypos -10 Linear 0 0 // Reset
N/A1986 Animate StaticBar2 ypos r0 Linear 0 15
N/A1987 RunEvent QuestMap_StaticBar2Loop 15
N/A1988}
N/A1989 
N/A1990event QuestMap_StaticBarOverlayLoop
N/A1991{
N/A1992 RunEvent QuestMap_StaticBarOverlayBrighten 0
N/A1993 RunEvent QuestMap_StaticBarOverlayDarken 1
N/A1994}
N/A1995 
N/A1996event QuestMap_StaticBarOverlayBrighten
N/A1997{
N/A1998 Animate StaticOverlay alpha 30 Linear 0 3
N/A1999 RunEvent QuestMap_StaticBarOverlayBrighten 3
N/A2000}
N/A2001 
N/A2002event QuestMap_StaticBarOverlayDarken
N/A2003{
N/A2004 Animate StaticOverlay alpha 1 Linear 0 2
N/A2005 RunEvent QuestMap_StaticBarOverlayDarken 5
N/A2006}
N/A2007 
N/A2008event QuestNodeView_PinTipHighlight
N/A2009{
N/A2010 Animate PinTipLabel fgcolor TanDark Linear 1 0.2
N/A2011 Animate PinTipLabel fgcolor TanLight Linear 1.2 0.2
N/A2012 
N/A2013 Animate PinTipLabel fgcolor TanDark Linear 1.4 0.2
N/A2014 Animate PinTipLabel fgcolor TanLight Linear 1.6 0.2
N/A2015}
N/A2016 
N/A2017event QuestMapIntro_StageReveal
N/A2018{
N/A2019 Animate StageDesc xpos 300 Linear 0 0
N/A2020 Animate StageDesc Alpha 0 Linear 0 0
N/A2021 Animate StageDesc fgcolor TanDark Linear 0 0
N/A2022 
N/A2023 Animate StageDesc xpos 270 Deaccel 0 0.4
N/A2024 Animate StageDesc Alpha 255 Bias 0.3 0 0.4
N/A2025 Animate StageDesc fgcolor TanLight Linear 0.4 0.4
N/A2026}
N/A2027 
N/A2028event QuestMapIntro_ShowStage
N/A2029{
N/A2030 Animate IntroDesc fgcolor TanDark Linear 0 0.4
N/A2031}
N/A2032 
N/A2033event QuestMapIntro_ClearStage
N/A2034{
N/A2035 Animate IntroDesc fgcolor TanLight Linear 0 0.4
N/A2036}
N/A2037 
N/A2038event QuestNodeView_QuestPurchased
N/A2039{
N/A2040 FireCommand 2 "show_items"
N/A2041}
N/A2042 
N/A2043event QuestViewSubPanel_QuestPurchased
N/A2044{
N/A2045 Animate ActivationFlash Alpha 255 Linear 0 0
N/A2046 Animate ActivationFlash wide f0 Linear 0 0
N/A2047 Animate ActivationFlash ypos 0 Linear 0 0
N/A2048 Animate ActivationFlash tall 46 Linear 0 0
N/A2049 
N/A2050 Animate ActivationFlash Alpha 0 Deaccel 0.2 0.5
N/A2051 Animate ActivationFlash wide f0 Deaccel 0 0.5
N/A2052 Animate ActivationFlash ypos 46 Linear 0 0.5
N/A2053 Animate ActivationFlash tall 0 Linear 0 0.5
N/A2054 FireCommand 0 "playsoundentry CYOA.OrangePanelCollapse"
N/A2055 
N/A2056 FireCommand 1 "toggle_expand"
N/A2057 FireCommand 1 "playsoundentry CYOA.objectivepanelexpand"
N/A2058 
N/A2059 SetVisible AcceptButton 0 0
N/A2060}
N/A2061 
N/A2062event QuestViewSubPanel_SelectMouseOver
N/A2063{
N/A2064 Animate BGImageDarkener Alpha 0 Linear 0 0.1
N/A2065}
N/A2066 
N/A2067event QuestViewSubPanel_SelectMouseExit
N/A2068{
N/A2069 Animate BGImageDarkener Alpha 150 Linear 0 0.1
N/A2070}
N/A2071 
N/A2072event QuestMap_ShowLegend
N/A2073{
N/A2074 Animate Legend ypos 240 Bias 0.6 0 0.2
N/A2075 Animate Legend Alpha 255 Linear 0.1 0.1
N/A2076}
N/A2077 
N/A2078event QuestMap_HideLegend
N/A2079{
N/A2080 Animate Legend ypos 290 Bias 0.6 0 0.2
N/A2081 Animate Legend Alpha 0 Linear 0 0.1
N/A2082}
N/A2083 
N/A2084event QuestMap_CreditNotificationAcknowledge
N/A2085{
N/A2086 RunEventChild CreditNotification QuestMap_CreditHideAnim 0
N/A2087 SetVisible CreditNotification 0 3
N/A2088}
N/A2089 
N/A2090event QuestMap_CreditHideAnim
N/A2091{
N/A2092 SetVisible Body 0 0
N/A2093 SetVisible OkButton 0 0
N/A2094 Animate CreditImage xpos 14 Spline 0 1.5
N/A2095 Animate CreditImage ypos 293 Spline 0 1.5
N/A2096 Animate CreditImage wide 15 Spline 0 1.5
N/A2097 Animate CreditImage tall 15 Spline 0 1.5
N/A2098 
N/A2099 Animate StaticBG Alpha 0 Bias 0.7 2 1
N/A2100 Animate StaticDarken Alpha 0 Bias 0.7 2 1
N/A2101}
N/A2102 
N/A2103event QuestMap_CreditNotificationShow
N/A2104{
N/A2105 RunEventChild CreditNotification QuestMap_CreditShowAnim 0
N/A2106 SetVisible CreditNotification 1 0
N/A2107}
N/A2108 
N/A2109event QuestMap_CreditShowAnim
N/A2110{
N/A2111 // Reset everything
N/A2112 Animate CreditImage xpos 245 Linear 0 0
N/A2113 Animate CreditImage ypos 130 Linear 0 0
N/A2114 Animate CreditImage wide 50 Linear 0 0
N/A2115 Animate CreditImage tall 50 Linear 0 0
N/A2116 Animate CreditImage alpha 255 Linear 0 0
N/A2117 Animate StaticBG Alpha 255 Linear 0 0
N/A2118 Animate StaticDarken Alpha 255 Linear 0 0
N/A2119 SetVisible Body 1 0
N/A2120 SetVisible OkButton 1 0
N/A2121}
N/A2122 
N/A2123event ObjectiveCompletedByUser
N/A2124{
N/A2125 Animate ScorerLabel xpos -20 Bias 0.8 0 0.4
N/A2126 Animate ScorerLabel alpha 0 Linear 1.8 0.2
N/A2127 
N/A2128 Animate ScorerLabelBlur xpos -20 Bias 0.8 0 0.4
N/A2129 Animate ScorerLabelBlur alpha 0 Linear 1.8 0.2
N/A2130}
N/A2131 
N/A2132event QuestReport_ContractComplete
N/A2133{
N/A2134 RunEventChild QuestCompletionContainer ObjectiveCompletionFanfare 0
N/A2135 firecommand 3.2 "soundentry plng_contract_fully_completed"
N/A2136}
N/A2137 
N/A2138event QuestReport_ContractProgress
N/A2139{
N/A2140 RunEventChild QuestCompletionContainer ObjectiveCompletionFanfare 0
N/A2141 firecommand 3.2 "soundentry plng_contract_partially_completed"
N/A2142}
N/A2143 
N/A2144event ObjectiveCompletionFanfare
N/A2145{
N/A2146 //
N/A2147 // Reset / hide everything
N/A2148 //
N/A2149 Animate FolderImage tall 0 Linear 0 0
N/A2150 Animate FolderImage ypos 75 Linear 0 0
N/A2151 
N/A2152 Animate ProgressTitle tall 0 Linear 0 0
N/A2153 Animate ProgressTitle ypos 75 Linear 0 0
N/A2154 
N/A2155 Animate TopBar xpos r0 Linear 0 0
N/A2156 Animate BottomBar ypos 74 Linear 0 0
N/A2157 Animate BottomBar xpos r0 Linear 0 0
N/A2158 Animate AlphaBG tall 0 Linear 0 0
N/A2159 Animate LineItemContainer tall 0 Linear 0 0
N/A2160 
N/A2161 Animate AlphaBG alpha 190 Linear 0 0
N/A2162 
N/A2163 //
N/A2164 // Animate in
N/A2165 //
N/A2166 PlaySound 2 "ui/quest_alert.wav"
N/A2167 Animate TopBar xpos 0 Bias 0.7 2 0.4
N/A2168 Animate BottomBar xpos 0 Bias 0.7 2 0.4
N/A2169 
N/A2170 //
N/A2171 // Grow the title and bottom
N/A2172 //
N/A2173 Animate FolderImage ypos 50 Linear 2.55 0.2
N/A2174 Animate FolderImage tall 25 Linear 2.55 0.2
N/A2175 Animate AlphaBG tall 35 Linear 2.55 0.2
N/A2176 Animate LineItemContainer tall 35 Linear 2.55 0.2
N/A2177 
N/A2178 Animate BottomBar ypos 110 Linear 2.55 0.2
N/A2179 
N/A2180 Animate ProgressTitle ypos 50 Linear 2.55 0.2
N/A2181 Animate ProgressTitle tall 25 Linear 2.55 0.2
N/A2182}
N/A2183 
N/A2184event ObjectiveCompletionFanfareEnd
N/A2185{
N/A2186 //
N/A2187 // Collapse
N/A2188 //
N/A2189 Animate FolderImage tall 0 Linear 2 0.2
N/A2190 Animate FolderImage ypos 75 Linear 2 0.2
N/A2191 
N/A2192 Animate ProgressTitle tall 0 Linear 2 0.2
N/A2193 Animate ProgressTitle ypos 75 Linear 2 0.2
N/A2194 
N/A2195 Animate BottomBar ypos 74 Linear 2 0.2
N/A2196 Animate AlphaBG tall 0 Linear 2 0.2
N/A2197 Animate LineItemContainer tall 0 Linear 2 0.2
N/A2198 
N/A2199 // Animate out
N/A2200 Animate TopBar xpos r0 Accel 2.4 0.4
N/A2201 Animate BottomBar xpos r0 Accel 2.4 0.4
N/A2202}
N/A2203 
N/A2204event RegionZoom
N/A2205{
N/A2206 FireCommand 0.2 "update_region_visiblity"
N/A2207}
N/A2208 
N/A2209// The screen area is 540 x 315
N/A2210 
N/A2211event StartRegionZoomIn
N/A2212{
N/A2213 Animate bgimage xpos -108 Linear 0 0.2
N/A2214 Animate bgimage ypos -63 Linear 0 0.2
N/A2215 
N/A2216 Animate bgimage wide 756 Linear 0 0.2
N/A2217 Animate bgimage tall 441 Linear 0 0.2
N/A2218}
N/A2219 
N/A2220event StartRegionZoomOut
N/A2221{
N/A2222 Animate bgimage xpos 0 Linear 0 0.2
N/A2223 Animate bgimage ypos 0 Linear 0 0.2
N/A2224 
N/A2225 Animate bgimage wide 540 Linear 0 0.2
N/A2226 Animate bgimage tall 315 Linear 0 0.2
N/A2227}
N/A2228 
N/A2229event EndRegionZoomIn
N/A2230{
N/A2231 // Snap to full-size
N/A2232 Animate bgimage xpos 0 Linear 0 0
N/A2233 Animate bgimage ypos 0 Linear 0 0
N/A2234 
N/A2235 Animate bgimage wide 540 Linear 0 0
N/A2236 Animate bgimage tall 315 Linear 0 0
N/A2237 
N/A2238 // Zoom in
N/A2239 Animate bgimage xpos -10 Linear 0.4 0.6
N/A2240 Animate bgimage ypos -10 Linear 0.4 0.6
N/A2241 
N/A2242 Animate bgimage wide 560 Linear 0.4 0.6
N/A2243 Animate bgimage tall 335 Linear 0.4 0.6
N/A2244}
N/A2245 
N/A2246event EndRegionZoomOut
N/A2247{
N/A2248 // Snap to zoomed
N/A2249 Animate bgimage xpos -108 Linear 0 0
N/A2250 Animate bgimage ypos -63 Linear 0 0
N/A2251 
N/A2252 Animate bgimage wide 756 Linear 0 0
N/A2253 Animate bgimage tall 441 Linear 0 0
N/A2254 
N/A2255 // Zoom out
N/A2256 Animate bgimage xpos -10 Deaccel 0.3 0.6
N/A2257 Animate bgimage ypos -10 Deaccel 0.3 0.6
N/A2258 
N/A2259 Animate bgimage wide 560 Deaccel 0.3 0.6
N/A2260 Animate bgimage tall 335 Deaccel 0.3 0.6
N/A2261}
N/A2262 
N/A2263event DelayQuestMapClose
N/A2264{
N/A2265 // Stop everything
N/A2266 StopPanelAnimations StaticOverlay 0
N/A2267 StopPanelAnimations BlackOverlay 0
N/A2268 StopPanelAnimations StaticBar1 0
N/A2269 StopPanelAnimations StaticBar2 0
N/A2270 StopEvent QuestMap_StaticFadeOut 0
N/A2271 StopEvent QuestMap_StaticBarOverlayLoop 0
N/A2272 StopEvent QuestMap_StaticBar1Loop 0
N/A2273 StopEvent QuestMap_StaticBar2Loop 0
N/A2274 StopEvent QuestMap_StaticBarOverlayDarken 0
N/A2275 StopEvent QuestMap_StaticBarOverlayBrighten 0
N/A2276 
N/A2277 // Bring up the black on top of the map and the static on top of everything
N/A2278 Animate StaticOverlay alpha 255 Linear 0 0.3
N/A2279 Animate BlackOverlay alpha 255 Linear 0 0.3
N/A2280 
N/A2281 // Move the bars up off the top. It's a pain to shrink them, so just hide them
N/A2282 Animate StaticBar1 ypos -50 Linear 0 0.3
N/A2283 Animate StaticBar2 ypos -10 Linear 0 0.3
N/A2284 
N/A2285 // Do the reverse of how we turn on. Shring vertically.
N/A2286 Animate StaticOverlay ypos 160 Accel 0.3 0.25
N/A2287 Animate StaticOverlay tall 10 Accel 0.3 0.25
N/A2288 
N/A2289 // Squish horizontally
N/A2290 Animate StaticOverlay wide 0 Accel 0.55 0.15
N/A2291 Animate StaticOverlay xpos 270 Accel 0.55 0.15
N/A2292 
N/A2293 // For real close
N/A2294 FireCommand 1.0 "close"
N/A2295}
N/A2296 
19142297//