Bug? Wall texture is used as floor flat

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
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Bug? Wall texture is used as floor flat

Post by cocka »

Hi!

I just saw this topic a few days ago:

http://forum.zdoom.org/viewtopic.php?f=3&t=51575

and I "created" a Doom1 pwad and somehow the game mixed up the texture called STEP1 with the flat called the same.

Here is the texture:

Code: Select all

Texture STEP1, 32, 8
{
	Patch STEP04, 0, 0
}
There is no patch with the name STEP1 but only a flat between F_START and F_END. Then what's wrong with it?

I guess I'm not allowed to upload the wad here because it's from Doom1 iwad.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Bug? Wall texture is used as floor flat

Post by Graf Zahl »

Be careful with name duplicates. This has to be aware of several issues which are mutually incompatible, like preferring flats over textures for sector planes and preferring later definitions over earlier ones when loading multiple WADs. Some stuff just does not work right because of the necessary priorities.
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: Bug? Wall texture is used as floor flat

Post by cocka »

Unfortunately, on the contrary:
preferring flats over textures for sector planes
It prefers a wall texture over a flat on several sector planes. :( And it looks a bit ugly because STEP1 texture is for staircases but STEP1 is just for metal platforms. And as the maps are from Doom1, I don't really have the chance to change texture/flat names.

And what really strange is that TEXTURES lump is before the F_START -- F_END block but even the builder itself interprets the STEP1 (32×8) as a texture. Why should someone put the F_ markers in the wad if they have no effect? :?
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: Bug? Wall texture is used as floor flat

Post by cocka »

Really strange.
greenshot_2016-04-15_12-59-31.png
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Bug? Wall texture is used as floor flat

Post by Graf Zahl »

That's because "Texture" is equivalent to "TX_START/END", not the TEXTURESx lump. If you want to declare it as a wall texture explicitly, do not use "Texture", but "WallTexture".
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: Bug? Wall texture is used as floor flat

Post by cocka »

Well, I just converted the original TEXTUREx lumps to a TEXTURES lump so the Slade3 did it. But anyway, thanks for your help.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Bug? Wall texture is used as floor flat

Post by Graf Zahl »

That should be reported as a bug for SLADE3 as it clearly does not properly convert the data...
Locked

Return to “Editing (Archive)”