Page 1 of 1
Posted: Fri Oct 27, 2006 1:11 am
by vlad13
I have tried to make some custom textures for the planets but i cant get them to work. Nothing over 256x256 works.Also the file size is different: nebplntxxbmp.mdl size for 256x256 = 131192 bytes and any other 256x256 mdl is 131188 bytes.
Posted: Fri Oct 27, 2006 1:53 am
by asheron2k
Everything has to be a power of 2
256x256,512x512,1024x1024,2048x2048
Posted: Fri Oct 27, 2006 4:04 am
by vlad13
Yes I tried 512 and 1024. Also in both Faz and beta. I only tried the training mission which uses nebplnt29bmp.mdl . I also tried renaming one of the working 512x512 from the artwork folder and that failed too.
Posted: Fri Oct 27, 2006 4:17 am
by Terralthra
You can't rename an mdl. The filename is stored within the actual mdl itself; if that stored filename and the actual filename don't match, crash.
Posted: Fri Oct 27, 2006 4:22 am
by Adaven
I think he is saying he took one of the 512x512 textures (Pheonix, GT, etc) and copy/pasted it w/ the new name nebplntbmp.mdl which should work.
Posted: Fri Oct 27, 2006 6:01 am
by vlad13
Adaven wrote:QUOTE (Adaven @ Oct 27 2006, 02:22 PM) I think he is saying he took one of the 512x512 textures (Pheonix, GT, etc) and copy/pasted it w/ the new name nebplntbmp.mdl which should work.
Yes that is what i meant.
Posted: Fri Oct 27, 2006 7:14 am
by parcival
vlad13 wrote:QUOTE (vlad13 @ Oct 27 2006, 09:01 AM) Yes that is what i meant.
You CANNOT rename mdl files! As Terra said, the original name is hardcoded into the file. If the hardcoded name do not much the filename you cannot use the mdl.
Posted: Fri Oct 27, 2006 10:21 am
by pkk
The bmp.mdl files contain the filename of themself inside the file. Renaming a bmp.mdl files will create a corrupt bmp.mdl file and Alleg will crash, if it tries to load that renamed bmp.mdl file.
Posted: Fri Oct 27, 2006 10:26 am
by madpeople
you need to convert your highres texture to .bmp rename it, then convert your renamed bmp to a bmp.mdl
Posted: Fri Oct 27, 2006 12:14 pm
by vlad13
Great thanks guys i got it now.