PDA

View Full Version : I HATE MAPPING


pompey
10-05-2001, 07:35 AM
U know somedays u try to do something that doesnt seem that complicated, u struggle and at the end of the day u feel like the newbie u were months ago! This is one of those days:

Ive got 8 frames of .pcx files, as far as i can tell they are 24bit pics and this is what theyre supposed to be

(when i right-click in explorer, properties then click on the summary the bit depth is 24! - im using MGI Photosuite to change formats and it doesnt specify, but i presume this fact means it is OK).

anyways, so in Seditor, i go to create texture:animated, select the 8 .pcx textures, click OK, and I then get this message: Unidentified keyword...(line "texture_16bit NO" or unexpected end of file found.

ok so i took my own advice (see previous post and searched the forum, found out about removing the 16bit line, and replacing the null thing with the correct extentions.

so i do this, it then says cannot create... cant find file SS/textures/levels.....myfirstframe.tex, so i input a filename for the texture. it then creates a texture, whihch claims to have 9 frames, but it doesnt animate, it just sits there on the first frame.

is there something else, please help.

what does the 'or unexpected end of file mean? is this a possible reason?

Earthling
10-05-2001, 09:22 AM
Don't know if this has anything to do with anything, but maybe try using .TGAs instead of .PCXs?

pompey
10-05-2001, 09:45 AM
tried it already, no such luck!

Jedi Outcast
10-05-2001, 07:14 PM
what to do what not to do. hmmm. Ask some one who would know? lol i havent tried making my own texs sorry.

LSD
10-05-2001, 10:18 PM
well, change all the (null) to .pcx or .tga too, if you havent

pompey
10-06-2001, 03:31 AM
ive tried it with both, i cant work out what is wrong,
this is driving me insane, esp. as im sure its something simple.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhh

Here is my script, is anything wrong?

;* Texture description
TEXTURE_WIDTH 8.0000
TEXTURE_MIPMAPS 8

ANIM_START
DIRECTORY Textures\Levels\NE TEXTURES\

;* Animations
ANIMATION discofloor
SPEED 0.2
FRAMES 8
   disco1.pcx
   disco2.pcx
   disco3.pcx
   disco4.pcx
   disco5.pcx
   disco6.pcx
   disco7.pcx
   disco8.pcx
ANIM_END
END

please help me b4 I go mad (it may already be too late):shocked:

pompey
10-06-2001, 04:15 AM
heres something weird:
i saved the script above in notepad as a scr.
then opened it in the new texture:animated box, and got this:

EOF reached, file Temp\Temp.scr

why is this. EOF i presume is End Of File.

Earthling
10-06-2001, 06:45 AM
You could maybe try sending the textures to me, so that I could see if I can make them work?

pompey
10-06-2001, 02:35 PM
cheers earthling, ive emailed u the frames.
much apreciated.

pompey
10-06-2001, 04:36 PM
Right ive sorted it.
It is possibly the most annoying reason ever, the files were in the folder textures/levels/NE TEXTURE,

which is where ive put all my other textures, the problem was that when i clicked create the editor looked in textures/levels/NE

presumeably cos TEXTURE is a possible command in the script, or maybe the space?

anyway the moral of the story is dont name ur texture directory something with a TEXTURE in it!

btw the file is 1.5mb even tho its a very simple texture, why so large, each frame is only 48kb?

and thanx Earthling, couldnt have worked it out without u confirming the .pcx were fine!

LSD
10-06-2001, 09:32 PM
Hehe. it doesnt like spaces, thats all. the EOF thing, yeah that has happened to me to. There is some problem with copying your text out and back again. I usually only copy the middle part, with all the frames, not the whole thing. Then i can paste this back in at any time.

GaryP
10-08-2001, 12:13 PM
Hey LSD, can you add this to your list of tutorials?  I'd like to make animated textures too, and don't know how to begin.  Heh - I sound like a newbe.

Bwian
10-08-2001, 12:33 PM
You might also want to try using the script with and without a carraige return after the last line of the file. This has been a known issue with some other similar things.