Jump to content


GUI editor

  • Please log in to reply
6 replies to this topic

#1 RPGista


    Advanced Member

  • Member
  • PipPipPip
  • 1562 posts

Posted 29 June 2017 - 09:30 PM

So I was following a tutorial on GUIs, and I since discovered that my installation (or TDM itself) seems unable to load both the custom GUIs (when you use the console command "testgui xxxxx.gui"), or the GUI editor that is supposed to come included in DOOM. The first simply fails, saying that the game cant load the gui, and the screen turns black (I´ve tried with a few different ones, even stuff from the startmap pack, and the results are the same), and the editor actually loads up, but when you click "new", nothing happens; when you try to load any gui, it says it cant import it or load it, and when you exit the program, TDM crashes, is unable to continue.


Is that only on my end, or has the gui functionality somehow changed during the standalone process? Perhaps some of it hasnt been ported yet?

Edited by RPGista, 29 June 2017 - 10:25 PM.

#2 freyk


    Advanced Member

  • Member
  • PipPipPip
  • 666 posts

Posted 29 June 2017 - 11:18 PM

No, its at the end of tdm.
The gui editor in tdm is broken, at the moment.
And thats a shame.
(@devs: please fix this)

But there are serveral alternatives, like the guieditor in games that are using the d3 engine,
guieditor flesh or the combination of your texteditor and commands "testgui" and "reloadgui".
And Readable Editor in darkradiant,

Edited by freyk, 30 June 2017 - 02:53 AM.

  • RPGista likes this

#3 rich_is_bored


    Advanced Member

  • Member
  • PipPipPip
  • 879 posts

Posted 29 June 2017 - 11:23 PM

The editor in D3 wasn't all that great either. You could place and arrange elements but animations and button actions had to be implemented via text editor.

#4 Obsttorte


    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5653 posts

Posted 30 June 2017 - 01:34 AM

testgui does work, however. You have to use the full path, like "testgui guis/xxxx.gui".

  • RPGista likes this
FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#5 freyk


    Advanced Member

  • Member
  • PipPipPip
  • 666 posts

Posted 30 June 2017 - 10:08 AM

And if you get a black screen, there is a error in your gui-code. And the console will display the number of the codeline.

Edited by freyk, 30 June 2017 - 03:05 PM.

  • RPGista likes this

#6 RPGista


    Advanced Member

  • Member
  • PipPipPip
  • 1562 posts

Posted 30 June 2017 - 09:00 PM

Thanks guys, I guess I'll have to make due with those alternatives freyk pointed out. And great catch Obs, that just saved me hours of clueless back and forth. ;)

#7 freyk


    Advanced Member

  • Member
  • PipPipPip
  • 666 posts

Posted 01 July 2017 - 12:49 PM

Some pro-tips:

Starting the editor 
I use the prey 2006 gui editor.
And start this editor, with application parameters:
"+exec run_guieditor.cfg"
This starts prey and run the following console commands


How i create the guis:

  • Open the editor and save a empty gui file.
  • Give "desktop" a border and then use the zoom-buttons to zoom in the gui. For the right fullscreen-display of the gui.
  • Then i create the windows + buttons, positioning them. Close the gui-editor.
  • Open the gui file in your favorite plaintext editor and in tdm (using testgui) in a small window.
  • Make the changes in the texteditor, save it and use command "reloadguis"
  • adding textures using the texteditor and then the script/animations/etc.
  • end

Other tips

  • Save often. Because the gui editor will crash.
  • If the gui editor crashes, After displaying the error, stop the application process.
  • Use the viewer in the gui editor.
  • Check the console for errors.

Edited by freyk, 01 July 2017 - 12:55 PM.

  • stgatilov and RPGista like this

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users