Page 1 of 1

Addon trouble

Posted: Wed Feb 04, 2009 9:18 pm
by Fiodis
After whipping up a Wizard's Hat addon, I munged it and got the following mungelog errors:
Hidden/Spoiler:
[code]ERROR[PC_texturemunge msh\wizards_hat.tga]:TextureMunge(wizards_hat:142x94x1): Must have power of two dimensions!
ERROR[PC_texturemunge msh\wizards_hat.tga]:TextureMunge(wizards_hat:142x94x1): Must have power of two dimensions!
[continuing]
2 Errors 0 Warnings

ERROR[levelpack req\rep_hero_obiwan.req]:Expecting bracket, but none was found.
File : munged\pc\wizards_hat.texture.req(1)...

ucft <--
ERROR[levelpack req\rep_hero_obiwan.req]:Expecting bracket, but none was found.
File : munged\pc\wizards_hat.texture.req(1)...

ucft <--

2 Errors 0 Warnings[/code]



What do they mean? I'm pretty sure I saved with RLE off.... And I didn't know textures needed reqs. Do they?

Re: Addon trouble

Posted: Wed Feb 04, 2009 9:21 pm
by Taivyx
TextureMunge(wizards_hat:142x94x1): Must have power of two dimensions!
There's your problem
Your texture is 142x94, while it should be something like 128x128, 256x256, 512x512, 128x256, etc.

Re: Addon trouble

Posted: Wed Feb 04, 2009 10:08 pm
by obiboba3po
taivyx is correct. and no they do not need reqs

Re: Addon trouble

Posted: Wed Feb 04, 2009 10:31 pm
by Fiodis
Fixed, thanks. For the record, it can be smaller than 128X128, yes?

Re: Addon trouble

Posted: Wed Feb 04, 2009 11:27 pm
by FragMe!
Yes and you could have made it 128 x 64 too, just as long as the two dimension numbers are a power of 2