SgGuiFullScreenFilter
by Howard Dortch · in Torque Game Engine · 06/28/2007 (8:03 am) · 4 replies
In version 1.4 I used this for a fade. I have upgraded to 1.5 and added the bonus files. This is no longer available for 1.5 what do I replace it with?
VERSION 1.4 in Playgui.gui
new sgGuiFullScreenFilter(filter) {
Profile = "GuiDefaultProfile";
HorizSizing = "relative";
VertSizing = "relative";
position = "0 0";
Extent = "1024 768";
MinExtent = "8 2";
Visible = "0";
sgExposure = "0.5 0.5 0.5 1";
};
I tried to use sgMissionLightingFilter but says it failed to instanciate. Is this the proper replacement?
VERSION 1.4 in Playgui.gui
new sgGuiFullScreenFilter(filter) {
Profile = "GuiDefaultProfile";
HorizSizing = "relative";
VertSizing = "relative";
position = "0 0";
Extent = "1024 768";
MinExtent = "8 2";
Visible = "0";
sgExposure = "0.5 0.5 0.5 1";
};
I tried to use sgMissionLightingFilter but says it failed to instanciate. Is this the proper replacement?
#2
I can't believe he took out the function but perhappes renamed it?
06/29/2007 (6:51 am)
I dont want a fade to or from black, the design fades to 50% alpha I can't believe he took out the function but perhappes renamed it?
#3
06/29/2007 (7:11 am)
No he took it out; I read it on these forums somewhere.
#4
I'm guessing you can copy the code over to TGE 1.5 with minor changes to any code referencing the light manager.
06/30/2007 (8:04 pm)
That code was remove during the cleanup between TLK 1.4.x and TGE 1.5. I think it was even commented out in TLK 1.4.x, a sort of hidden feature. :)I'm guessing you can copy the code over to TGE 1.5 with minor changes to any code referencing the light manager.
Torque Owner Tim Heldna
You could either re-add the fullscreen filter or use the setBlackout method:
Season to taste.