Frictional Games Forum (read-only)

Full Version: .tga appears white on GUI terminal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

[Image: d0aVdpm.jpg]

I made a .tga with alpha in photoshop and I would like if someone can help me implement it without this white error block. The image is located under graphics/inventory in my mod. I'm using Apocalypse's GUI Tutorials for the image.

Tga file attached down below...

https://drive.google.com/folderview?id=0...sp=sharing
not an expert in this area, but I would say a good start would be to add an image from main game first. That way you will know if the problem lies with your .tga, or with how you implemented it.
I tested it it is definitely my graphic.
did you make sure to add your mod graphics folder in the resources.cfg?
Yep. It's in there.
Your picture resolution is friggin 5000x5000. That's pretty crazy.

Make it 512x512.
What mudbill said. The image size is freaking insane. it's a 5000x5000 and it almost takes 1MB of space.
k updating...
Your image is way too big. The game doesn't like it when you try to load images over 1020x1020. But when you do try and do that, the game will actually give you that error, so I don't think that's what's happening in this particular case.

Where are you keeping your image file - in your mod folders or in the SOMA folders? If the former, then that might be your issue. The DevBat only loads your map file, not your mod's resource.cfg. Unless you've edited SOMA's resource.cfg to also include your mod's folders, nothing in there will be referenced, and therefore can't be loaded.

When I took your image, shrunk it down to 512x512, and added it to SOMA's graphics folder, I was able to get my terminal to load your image just fine.

Spoiler below!
[Image: 7C0EABA2DBC1743CC25DEDB219064B013E3CB779]

Try loading your map with the ModLauncher and see if you get the same error.
I'm sure you mean 1024x1024?
Pages: 1 2