How to install custom loading screen?

I have an image and i want to install as loading screen, can you guys help me?

Comments

  • edited February 26 Posts: 329
    • make sure the image has the right dimensions 1920x1200

    • put it in common\dota 2 beta\content\dota_addons\your_mod\panorama\images\custom_game\loading_screen

    • go to common\dota 2 beta\content\dota_addons\your_mod\panorama\layout\custom_game

    • open custom_loading_screen.xml, it will look like this

    <root> 
      <styles>
        <include src="file://{resources}/styles/custom_loading_screen.css" />
      </styles>
      <Panel>
        <Panel id="TitlePanel"> 
          <Label id="AddonTitle" text="#addon_game_name" style=""/>
        </Panel>
        <Panel>
          <Image id="bgimage" src="file://{images}/custom_game/loading_screen/goofy3.jpg" scaling="stretch"/>
        </Panel>
      </Panel>
    </root>
    

    put the filepath to the loading screen image from earlier in here, in the "bgimage" line