Page 1 of 1

tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 4:22 pm
by jesseg199
Hey guys working on a repaint and have a problem with a tgpcdx file as you can see the logo is covering up the number on the cab witch i painted the numbers on but the log is a separate tgpcdx file is there a way to remove the logo file over all or just make it invisible? Thanks!

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 5:31 pm
by dgallina
The logo? Have you tried making it invisible with an alpha transparency layer?

Diego

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 7:37 pm
by jesseg199
dgallina wrote:The logo? Have you tried making it invisible with an alpha transparency layer?

Diego

im pretty sure i have. when i did that it just turned the logo white and was still there

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 7:59 pm
by buzz456
Make the background blue and the alpha black and see what happens.

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 8:18 pm
by jesseg199
buzz456 wrote:Make the background blue and the alpha black and see what happens.


okay i will try that hopefully it will work thanks buzz

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 8:29 pm
by jesseg199
buzz456 wrote:Make the background blue and the alpha black and see what happens.


Well buzz i tried that and heres what it did

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 9:17 pm
by buzz456
Somebody save me from embarrassment here.

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 9:27 pm
by PapaXpress
buzz456 wrote:Somebody save me from embarrassment here.


I have to smirk, sorry. I know that MadMike has an answer, I just can remember what that answer is.

... and I should since I was up with him the night he did what he did... whatever it was.

... err... I just thought of something. Try adding this to the LUA:

Call( "ActivateNode", "logo", 0 )

so.... it should look something like this..

Code: Select all
function Initialise ()
   -- Turn off "surge" at start.
   Call( "Exhaust1a:SetEmitterActive", 0 )
   Call( "Exhaust2a:SetEmitterActive", 0 )
   Call( "Exhaust3a:SetEmitterActive", 0 )
   Call( "Exhaust4a:SetEmitterActive", 0 )

   gPrevRPM = 0
   gPrevRPMDelta = 0

   -- turn off the logo
   Call( "ActivateNode", "logo",  0 )

   Call( "BeginUpdate" )
end

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 10:56 pm
by jesseg199
PapaXpress wrote:
buzz456 wrote:Somebody save me from embarrassment here.


I have to smirk, sorry. I know that MadMike has an answer, I just can remember what that answer is.

... and I should since I was up with him the night he did what he did... whatever it was.

... err... I just thought of something. Try adding this to the LUA:

Call( "ActivateNode", "logo", 0 )

so.... it should look something like this..

Code: Select all
function Initialise ()
   -- Turn off "surge" at start.
   Call( "Exhaust1a:SetEmitterActive", 0 )
   Call( "Exhaust2a:SetEmitterActive", 0 )
   Call( "Exhaust3a:SetEmitterActive", 0 )
   Call( "Exhaust4a:SetEmitterActive", 0 )

   gPrevRPM = 0
   gPrevRPMDelta = 0

   -- turn off the logo
   Call( "ActivateNode", "logo",  0 )

   Call( "BeginUpdate" )
end



okay i tried it in the gp15_script and it didn't do anything and sorry for all this im new to figuring all this stuff out so im trying to learn

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 11:13 pm
by buzz456
I will try to mess with it in the morning. I think it's doable. A little trial and error.

Re: tgpcdx file problem! Help

Unread postPosted: Tue Sep 10, 2013 11:41 pm
by jesseg199
buzz456 wrote:I will try to mess with it in the morning. I think it's doable. A little trial and error.

okay thanks so much i appreciate it buzz!

Re: tgpcdx file problem! Help

Unread postPosted: Wed Sep 11, 2013 4:53 pm
by XDriver
What engine is this? Certainly looks as if the alpha is not total black. Would not matter what you did to the decal but if the alpha is jet black it should be invisible. I'm also finding out that using DXTBmp to export alpha and jet black it, is sometimes the only way to get it to work. Some skinners here don't like DXTBmp but I do and all my repaints came from using it. *!!wink!!*

Re: tgpcdx file problem! Help

Unread postPosted: Thu Sep 12, 2013 9:46 pm
by jesseg199
XDriver wrote:What engine is this? Certainly looks as if the alpha is not total black. Would not matter what you did to the decal but if the alpha is jet black it should be invisible. I'm also finding out that using DXTBmp to export alpha and jet black it, is sometimes the only way to get it to work. Some skinners here don't like DXTBmp but I do and all my repaints came from using it. *!!wink!!*

im using the DRB_SimStuff gp15