#[SOLVED] Can't make PanoramaUI custom panels to show on screen

1 messages · Page 1 of 1 (latest)

robust rapids
#

I've been trying to make anything work on PanoramaUI and nothing seems to work. I've tried following the steps on https://www.youtube.com/watch?v=ZVXaO4rrL6A (up until 8:56, trying to make a simple blue rectangle to show on screen) and even copied the files on this repo https://github.com/Perryvw/CustomHeroSelection, but nothin shows on my screen besides the defualt dota stuff. What am I doing wrong here?

Is there any other thing I have to do on panoramaUI to make things show other than:

  • edit panorama/layout/custom_game/custom_ui_manifest.xml
  • edit panorama/layout/custom_game/new_file.xml
  • edit panorama/scripts/custom_game/new_file.js
  • edit panorama/styles/custom_game/new_file.css
river jetty
#

Try to compile custom _ui _manifest .xml

#

Search custom _ui _manifest in Explorer,Right click to compile

robust rapids
#

how to compile custom_ui_manifest? After changing the files, I've tried rebuilding the map on Hammer and calling dota_custom_launch <ADDON > <MAP>

river jetty
#

script tag has expired

#

Check \game\dota_addons\dota3\panorama\layout\custom_game Is there a compiled file?

robust rapids
#

I went on C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\content\dota_addons\test_panorama\panorama\layout\custom_game (the game files for my custom game) and there's just xml files, like custom_ui_manifest.xml and other barebones files. What would be the compiled file, a .bin?

river jetty
robust rapids
#

yes, there are vxml_c files

river jetty
#

no new _file .xml

robust rapids
#

I mean, new_file was an example. I was following the tutorial on the youtube video I linked, and he uses quest.xml to create the blue rectangle. There's actually a quest.vxml_c inside the quest folder:

river jetty
#

If compiled correctly, the content will be displayed

robust rapids
#

And my custom_ui_manifest.xml looks like this:

But still nothing shows on screen besides the usual dota stuff

river jetty
#

If your css is not correct, the content will pile up in the top left corner

robust rapids
#

css is very simple:

#

xml too:

#

it's just meant to be an example of how to show things of screen, but when I play the game, nothing shows

river jetty
#

A simple example

#

Place an image in loading

severe coyote
#

You should check whether there are logs/warnings/errors regarding the custom_ui_manifest.xml in the console.

And you should start with a basic manifest. (no loading of scripts, css, etc.)

Then include your first script with a log in it.

Continue with an xml element after you can see the logged message. (there should be some compile message in the console)

Then continue with the css...

robust rapids
#

It worked! I guess I was just being dumb, and there were error messages I was not looking thoroughly. Thank you a lot. The simplest advice ended up doing it 🙂