Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Terminal doesn't like to show up.
mysteryman141 Offline
Junior Member

Posts: 17
Threads: 9
Joined: Nov 2015
Reputation: 0
#7
RE: Terminal doesn't like to show up.

(11-30-2015, 01:26 AM)Abion47 Wrote:
(11-29-2015, 11:26 PM)mysteryman141 Wrote: I made sure the settings were the same and I put a debug message in the method and it prints to the debug console many times a second. I guess I should mention the working terminal use the model computer_structurecontrol.ent and the non-working one uses computer_panel_medium_GUI.ent

That shouldn't really matter, but in this case for my demo I used computer_panel_medium_GUI for both terminals, so the issue isn't with the entity itself. (Unless you've tried to edit the entity file, that is.)

Would you mind sending me a PM with a zip of the whole map file? I'm running out of ideas of what it could possibly be, and I'm starting to suspect that it might be a simple error with how the map files were saved or something.

Okay, I think I know what's going on. Something in either your script or in one of the world entities is overriding your TransCategory and not resetting it back. When I changed the terminal code to the following it started working for me:

void panel_OnGui(const tString&in asEntityName, float afTimeStep)
{
    cLux_AddDebugMessage("screen");
    cImGuiLabelData labelText;
        
    labelText.mFont.mvSize = cVector2f(50, 50);

    ImGui_SetTransCategory("");
    ImGui_DoLabelExt("test", labelText, cVector3f(160, 180, 0));
}
Hey it works! Thanks so much for your help!
11-30-2015, 11:05 PM
Find


Messages In This Thread
RE: Terminal doesn't like to show up. - by mysteryman141 - 11-30-2015, 11:05 PM



Users browsing this thread: 1 Guest(s)