Page 1 of 1

New textures lump problems

Posted: Wed Aug 19, 2009 20:08
by ZDave
I was testing the textures lump using ZDoom Wiki as a reference, but when I tried to scale a weapon sprite and fired it, the frame became invisible. I tested a few simple random wads, but the same thing happened everytime. I chose a random weapon sprite from between the ss markers and gave it a basic 1/2 scale. This is the code:

Code: Select all

sprite BFGGA0, 170, 84
{
 XScale 2.0
 YScale 2.0
}
I tried offsetting and a different scale, but the frame still doesn't show.
By the way, when I put the name of the sprite and its size only, prior to the frame showing, GZDoom crashes and gives me a fatal error. (My version is r424)

Code: Select all

sprite BFGGA0, 170, 84
What is happening? :?

Re: New textures lump problems

Posted: Wed Aug 19, 2009 20:34
by Graf Zahl
You didn't do it right. TEXTURES is to define textures by compositing patches, not to assign attributes to textures. Your definition must at least contain one patch to work.

Re: New textures lump problems

Posted: Thu Aug 20, 2009 18:15
by ZDave
I got it, cheers. :cheers: