I have a tiny problem over here:
the texture I want reside in a Group=> Deco
but even if I specify the group into the UC it does have same error.
I can set the texture after the files are compiled and once loaded into Editor and save the package, but I want to figure it out from the uc file directly so if I have to recompile all after if I add anotherone I dont need to setup all this again and again.
Log: Parsing Barrel
DevLoad: Get PackageLinker for file: ..\Textures\RuneDecorationtex.utx
DevLoad: Create new linker for ../RuneTextures/RuneDecorationTex.utx
Log: 760.0ms Loading: Package RuneDecorationtex (3118867 bytes)
Log: Importing Barrel
Log: * Triangles 100
Log: * Vertices 77
Log: * AnimFrames 30
Log: * FrameSize 308
Log: * AnimSeqs 0
Log: Importing triangles
Log: Mesh Textures: 3 LodItems: 3
Log: Importing vertices
Log: BoundingBox (-166.000000,-176.000000,-110.000000)-(166.000000,176.000000,110.000000) BoundingSphere (0.000000,0.000000,0.000000) 176.959137
Log: Mesh LOD processing: Barrel
Log: FactoryCreateBinary: Texture with TextureFactory (0 0 RuneDecorationTex)
Log: Can't create FileReader for RuneDecorationTex
Log: Can't find file 'RuneDecorationTex' for import
ExecWarning: C:\Unreal\RuneDecoration\Classes\Barrel.uc(18) : ExecWarning, Import texture Barrelbarrel from RuneDecorationTex failed
Log: Added texture number: 0 total 3 for mesh Barrel
any Idea's ?
this is the UC code below:
Code: Select all
class Barrel extends RuneDecoration;
#exec obj load file=..\Textures\RuneDecorationtex.utx
#exec MESH IMPORT MESH=Barrel ANIVFILE=MODELS\Barrel_a.3d DATAFILE=MODELS\Barrel_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=Barrel X=0 Y=0 Z=0 YAW=0 PITCH=128 ROLL=0
#exec MESH SEQUENCE MESH=Barrel SEQ=All STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=Barrel SEQ=Still STARTFRAME=0 NUMFRAMES=1
#exec MESHMAP NEW MESHMAP=Barrel MESH=Barrel
#exec MESHMAP SCALE MESHMAP=Barrel X=0.1 Y=0.1 Z=0.2
#exec TEXTURE IMPORT NAME=Barrelbarrel FILE=RuneDecorationTex
#exec MESHMAP SETTEXTURE MESHMAP=Barrel NUM=0 TEXTURE=Barrelbarrel
defaultproperties
{
DrawType=DT_Mesh
Mesh=Barrel
bCollideWhenPlacing=True
bCollideActors=True
bCollideWorld=True
bBlockActors=True
bBlockPlayers=True
CollisionRadius=32.00000
CollisionHeight=45.50000
bstatic=true
}