problem with making imported sprites work

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
metaldemon
Posts: 60
Joined: Fri Jul 24, 2009 2:08 pm
Location: somewhere i belong

problem with making imported sprites work

Post by metaldemon »

hey guys, i got a problem with making imported sprites work.

if i copy sprites from another WAD file and import them between the SS_START and SS_END, the'll work fine. but if i make my own, and put them between 'em, it says:

ERROR:
bad frame caracters in sprite *insert first inserted sptrite here...*

what should i do? jump out of the window? :shock:
User avatar
Enjay
 
 
Posts: 27266
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: problem with making imported sprites work

Post by Enjay »

metaldemon wrote:*insert first inserted sptrite here...*
And there you miss out the critical bit of info!

Look closely at the "first inserted sptrite" message that Zdoom gives you. It probably contains information about a typo that you made in your sprite naming or something similar. If you still can't see it, report back here with exactly what the message says.
User avatar
metaldemon
Posts: 60
Joined: Fri Jul 24, 2009 2:08 pm
Location: somewhere i belong

Re: problem with making imported sprites work

Post by metaldemon »

sorry... :oops: i had to explain that too...*doh*

look: for example: im making a machinegun. so my sprites are named: MACHAO MACHBO etc... well imagine that i have 4 sprites for it. and MACHAO is on top of the imported sprites... then it says:

ERROR:
bad frame caracters in sprite MACHAO

when i delete MACHAO from the sprites list and from my decorate, it says:

ERROR:
bad frame caracters in sprite *MACHBO*

so assuming that all of my imported sprites have the problem, what could it be?
User avatar
Enjay
 
 
Posts: 27266
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: problem with making imported sprites work

Post by Enjay »

Well, first of all, you are not posting exactly what the error message says as I'm pretty sure that Zdoom spells "characters" correctly. :P Seriously, it is important to post exactly what the report says because it may be saying something that is almost unnoticable (like a very minor typo) thay isn't obvious to see. I know that has been the problem for me when I have seen this error.

I don't remember if this error gets logged to the console but you could try starting zdoom by adding +logfile log.txt to the command line then open the file log.txt that Zdoom creates and copy/paste the message from there.

However, there is one thing that I have spotted.

If you have accurately reported the name of your sprite "MACHBO", it is wrong. It should be "MACHB0". ie, the last character should be a zero, not a letter "oh".
Locked

Return to “Editing (Archive)”