Frictional Games Forum (read-only)
.tga appears white on GUI terminal - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html)
+--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html)
+---- Forum: Development (https://www.frictionalgames.com/forum/forum-82.html)
+---- Thread: .tga appears white on GUI terminal (/thread-31655.html)

Pages: 1 2


.tga appears white on GUI terminal - A.M Team - 11-08-2015

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=0B0SWlkiV47tCdko0M1Q3cUFnQTA&usp=sharing


RE: .tga appears white on GUI terminal - WALP - 11-08-2015

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.


RE: .tga appears white on GUI terminal - A.M Team - 11-08-2015

I tested it it is definitely my graphic.


RE: .tga appears white on GUI terminal - WALP - 11-08-2015

did you make sure to add your mod graphics folder in the resources.cfg?


RE: .tga appears white on GUI terminal - A.M Team - 11-08-2015

Yep. It's in there.


RE: .tga appears white on GUI terminal - Mudbill - 11-08-2015

Your picture resolution is friggin 5000x5000. That's pretty crazy.

Make it 512x512.


RE: .tga appears white on GUI terminal - Danarogon AP - 11-08-2015

What mudbill said. The image size is freaking insane. it's a 5000x5000 and it almost takes 1MB of space.


RE: .tga appears white on GUI terminal - A.M Team - 11-08-2015

k updating...


RE: .tga appears white on GUI terminal - Abion47 - 11-09-2015

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.


RE: .tga appears white on GUI terminal - Mudbill - 11-09-2015

I'm sure you mean 1024x1024?