Hi guys.
I been doing the the c-script workshops and im at the panels workshop.
Im trying to use tga files in the panels but its giving me an error saying it cant open the tga. heres the code.

im using tga with alpha channel.
The alpha channel has a gradient so the transparency is gradial.

heres the code.


var video_mode = 7;
var screen_color[3] = 150,0,0;
var video_depth = 32;
var d3d_alphadepth = 32;

////////////////////////////////////////////////////////////////////

BMAP panelFirst = "teste.tga"; // my first panel

////////////////////////////////////////////////////////////////////

PANEL first_pan
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = panelFirst;
flags = OVERLAY, VISIBLE;
}

/////////////////////////////////////////////////////////////////////