[Solved] Importing textures problem.....
Posted: Sat Jan 27, 2024 12:09 pm
Hi all,
I've repped apart a UT package with the intention of re-compiling (code is included so no problems there). However am having problems re-importing the texttures which I exported with umodel.exe.
My import code is :
However when I try compiling this with ucc make I get :
Textures are here :
Anyone any idea what I'm doing wrong?
Cheers.
Phill.
Auto merged new post submitted 34 minutes later
Ahh,
using ucc batchexport package.u textture bmp xxx
Then changing the import script to use bmp extensions had made it work
Cheers,
Phill.
I've repped apart a UT package with the intention of re-compiling (code is included so no problems there). However am having problems re-importing the texttures which I exported with umodel.exe.
My import code is :
Code: Select all
//
// Texture to import.
// 2024-01-26, PHS.
//
class ImportTexture extends Object;
#exec TEXTURE IMPORT FILE="Textures\PageFooterLeft.tga" name="PageFooterLeft"
#exec TEXTURE IMPORT FILE="Textures\PageFooterCenter.tga" name="PageFooterCenter"
#exec TEXTURE IMPORT FILE="Textures\PageFooterRight.tga" name="PageFooterRight"
defaultproperties
{
}
Code: Select all
Parsing ImportTexture
Bad image format for texture import
Can't find file Textures\PageFooterLeft.tga for import.
Z:\tmp\UT\Server_32_Build\Gauntlet-10-BetaV4\Classes\ImportTexture.uc(7) : ExecWarning, Import texture PageFooterLeft from Textures\PageFooterLeft.tga failed
Bad image format for texture import
Can't find file Textures\PageFooterCenter.tga for import.
Z:\tmp\UT\Server_32_Build\Gauntlet-10-BetaV4\Classes\ImportTexture.uc(8) : ExecWarning, Import texture PageFooterCenter from Textures\PageFooterCenter.tga failed
Bad image format for texture import
Can't find file Textures\PageFooterRight.tga for import.
Z:\tmp\UT\Server_32_Build\Gauntlet-10-BetaV4\Classes\ImportTexture.uc(9) : ExecWarning, Import texture PageFooterRight from Textures\PageFooterRight.tga failed
Cheers.
Phill.
Auto merged new post submitted 34 minutes later
Ahh,
using ucc batchexport package.u textture bmp xxx
Then changing the import script to use bmp extensions had made it work
Cheers,
Phill.