New textures lump problems

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
ZDave
Posts: 33
Joined: Wed Jul 29, 2009 19:55
Location: Aus

New textures lump problems

Post 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? :?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: New textures lump problems

Post 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.
User avatar
ZDave
Posts: 33
Joined: Wed Jul 29, 2009 19:55
Location: Aus

Re: New textures lump problems

Post by ZDave »

I got it, cheers. :cheers:
Locked

Return to “Closed Bugs”