46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
<!-- xml reconstructed by ValveResourceFormat: https://vrf.steamdb.info/ -->
|
|
<root>
|
|
<scripts>
|
|
<include src="s2r://panorama/scripts/custom_game/util.vjs_c" />
|
|
</scripts>
|
|
<script><![CDATA[
|
|
//GameUI.CustomUIConfig().Config =
|
|
//{
|
|
// game_name: "touhou"
|
|
//};
|
|
|
|
GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_FLYOUT_SCOREBOARD, false );
|
|
GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_ENDGAME, false );
|
|
|
|
HidePickScreen();
|
|
function HidePickScreen() {
|
|
if (Game.GameStateIsBefore(DOTA_GameState.DOTA_GAMERULES_STATE_HERO_SELECTION)) {
|
|
FindDotaHudElement("PreGame").style.opacity = "0";
|
|
$.Schedule(0.6, HidePickScreen);
|
|
} else {
|
|
FindDotaHudElement("PreGame").style.opacity = "1";
|
|
}
|
|
}
|
|
|
|
GameEvents.Subscribe('debug_msg', (data) => {
|
|
if (typeof data.msg == 'object') {
|
|
$.Msg("-------- " + Math.floor(Game.GetGameTime() * 100 + 0.5) / 100 + " : " + data.msg);
|
|
for (k in data.msg){
|
|
$.Msg(k + " : " + data.msg[k]);
|
|
}
|
|
} else {
|
|
$.Msg("-------- " + Math.floor(Game.GetGameTime() * 100 + 0.5) / 100 + " : " + data.msg);
|
|
}
|
|
});
|
|
|
|
FindDotaHudElement( "PreGame" ).FindChild( "Header" ).style.visibility = "collapse";
|
|
]]></script>
|
|
<Panel>
|
|
<CustomUIElement type="Hud" layoutfile="s2r://panorama/layout/custom_game/frames/message/message.vxml_c" />
|
|
<CustomUIElement type="Hud" layoutfile="s2r://panorama/layout/custom_game/dps_panel.vxml_c" />
|
|
<CustomUIElement type="Hud" layoutfile="s2r://panorama/layout/custom_game/info.vxml_c" />
|
|
<CustomUIElement type="Hud" layoutfile="s2r://panorama/layout/custom_game/shop.vxml_c" />
|
|
<CustomUIElement type="EndScreen" layoutfile="s2r://panorama/layout/custom_game/end_screen.vxml_c" />
|
|
</Panel>
|
|
</root>
|