Jump to content


GUI - Scrolling letter for briefing

5 replies to this topic

#1 freyk


    Advanced Member

  • Member
  • PipPipPip
  • 569 posts

Posted 02 April 2017 - 02:04 PM

To get some inspiration for my fm, I doodled again something nice for all to use.
I have changed the introgui from D3 to a TDM-Themed briefing gui, and added some code.
It shows a parchment, that automatically scrolls from bottom to top. The text appears like a writer, writes his text.
And in the background you hear and see thunderflashes sounds. (for now the backgroundimage its just a placeholder.)

It would be nice to create a candle light effect.
But would do you think?

In the following spoiler, you find the sourcecode.

Attached Files

Edited by freyk, 02 April 2017 - 02:10 PM.

  • Sotha and Destined like this

#2 Sotha


    Vertical Contest Winner

  • Active Developer
  • PipPipPipPipPip
  • 5602 posts

Posted 02 April 2017 - 03:04 PM

Always nice to have more options for briefings. Can you post a video to show how it looks? Your description of it sounds exciting!

-The mapper's best friend.

#3 freyk


    Advanced Member

  • Member
  • PipPipPip
  • 569 posts

Posted 02 April 2017 - 03:12 PM

Dont have the apps to do this.


If you want to run/test it, copy the code to a empty file, give it a name and the fileextension ".gui" and place it in your tdm folder.
And in tdm run the command: testgui mygui.gui

But you dont hear any sounds. To solve that, replace the code with an existing gui, after a backup of the gui and run that gui.

Edited by freyk, 03 April 2017 - 08:02 AM.

#4 HMart


    Advanced Member

  • Member
  • PipPipPip
  • 618 posts

Posted 07 April 2017 - 06:46 PM

Don't know if you already know this but today when messing about with the gui system i found a very nice editing console svar "gui_debug 1" shows the UI items bbox and the mouse rate on menu based guis, very nice to find those values need when trying to place the windowDef at a particular place.


This coupled with reloadGUI makes working on guis really fast, explains why idSoftware never made a gui editor for Doom 3 (the existent gui editor was made for Quake 4 afaik by raven software).  

  • Destined likes this

#5 freyk


    Advanced Member

  • Member
  • PipPipPip
  • 569 posts

Posted 09 April 2017 - 05:51 AM

Thanks, but i already know that command. :smile:

"gui_edit 1" show also some handy info.

#6 AluminumHaste


    Darkmod Contributor

  • Development Role
  • PipPipPipPipPip
  • 6042 posts

Posted 17 April 2017 - 09:45 AM

Dont have the apps to do this.


Check your PM.

Unless you're on Linux.

I always assumed I'd taste like boot leather.


Reply to this topic


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users