Destinations

Destinations

Destinations Workshop
Create and share both real and imaginary worlds, then explore them in virtual reality.
Learn More
How to Create Message / Note Boxes?
In the English Church (or hammer examples map) there are text boxes. I know that they have to do with XML files, but how do I create a custom one for use in a workshop addon?
< >
Showing 1-5 of 5 comments
Rectus 5 24 Jan, 2017 @ 11:59pm 
If you just want to use the same style the default ones have, the easiest way is simply to copy one of the .xml files from \Destinations\content\steamtours_addons\example\panorama\layout\custom_destination\, put your text in the text fields of the lables, and then use that in your point_clientui_world_panel.

You might need to copy \panorama\styles\custom_destination\example.css as well for it to work.

There is more information on the Panorama system here:
https://developer.valvesoftware.com/wiki/Dota_2_Workshop_Tools/Panorama
QuickNinjaCat 25 Jan, 2017 @ 6:28pm 
Originally posted by Rectus:
If you just want to use the same style the default ones have, the easiest way is simply to copy one of the .xml files from \Destinations\content\steamtours_addons\example\panorama\layout\custom_destination\, put your text in the text fields of the lables, and then use that in your point_clientui_world_panel.

You might need to copy \panorama\styles\custom_destination\example.css as well for it to work.

There is more information on the Panorama system here:
https://developer.valvesoftware.com/wiki/Dota_2_Workshop_Tools/Panorama
Thanks. In the XML where it has the #(name_of_something), can that be replaced with any text, or will I need to create some form of a .res file that has the # reference names for it to work?
Rectus 5 25 Jan, 2017 @ 11:56pm 
Any text will work. I'm not sure if creating .res files even works in addons.
QuickNinjaCat 26 Jan, 2017 @ 7:29pm 
Originally posted by Rectus:
Any text will work. I'm not sure if creating .res files even works in addons.
I'm just mentioning how it compares to how Source games used .res files as a reference for any form of text that used a # before it.

Also, I get an error pertaining to an XML when I load up my map. Any idea on what the problem is?

I've just changed the title and text in the XML, nothing else.
Rectus 5 26 Jan, 2017 @ 11:59pm 
Yeah, the .res files probably still work the same way as in Source 1.

I'm not sure about the problem. What was the error message?
< >
Showing 1-5 of 5 comments
Per page: 1530 50