Page 1 of 1

How does the 3D floor flag 3 work?

Posted: Fri Nov 25, 2005 14:28
by justin023
I am trying to make a switch with a 3D floor but I can't figure this thing out.

Posted: Fri Nov 25, 2005 17:07
by Shinjanji
According to the documentation, a flag of 3 would disable the lighting given by the 3D floor, and restrict the (now disabled) lighting to the space occupied by the 3D floor.

/me goes to make a quick test map

Well, the only problem I can see is that the 3D floor's line texture won't change. You might need to hack a solution in with using the upper/lower sidedef texture. (Flags 16 and 32, respectively) If you do that, then it will work. Problem is, you'll probably need to utilize another 3D floor over top of or below the switch, to make up for the lack of a usable upper/lower texture.

(And I just checked, using upper/lower texture flags DOES make the switch image toggle properly)

I'm not sure if I should file the lack of texture change as a bug or a feature suggestion. I suppose I'll file it as a bug.

Posted: Fri Nov 25, 2005 17:27
by justin023
No that is flag 2. This is the description of flag 3. I didn't think of using the 16/32 flag though.
Graf Zahl wrote:No. It uses all 5 arguments. The last one serves as the high byte of the tag. This hasn't been documented though.

But since I see the need to assign a line ID to such a linedef there's another suggestion:

I am adding another flag bit to the second arg that defines the behavior of the fifth arg:

If bit 3 (value 8) is not set the fifth arg is the high byte of the tag, otherwise it defines a line ID.

Posted: Fri Nov 25, 2005 17:30
by Shinjanji
My bad. Gotta love undocumented features :P

Posted: Fri Nov 25, 2005 17:32
by justin023

Posted: Fri Nov 25, 2005 17:42
by Shinjanji
Hmm. Graf mentions the second argument (Which is Type, not Flags), and bit 3 (which he says is the value 8 ) I've tried setting the Type to 4, 5, 8, and 9, but I get nothing. As for Flags, I've tried setting that to a similar range of values, but with still no results.

Posted: Fri Nov 25, 2005 17:48
by justin023
I just got it to work with the 16 flag but i'm still wondering about this.

Posted: Fri Nov 25, 2005 17:54
by Shinjanji
justin023 wrote:I just got it to work with the 16 flag but i'm still wondering about this.
Very much the same.

Posted: Sat Nov 26, 2005 1:05
by BetaSword
Last I heard, he hadn't added it in yet. So it'll probably show up in the next version.

Posted: Sat Nov 26, 2005 19:32
by NecroMage
I could dig up the quote but he said that he forgot to do it so just wait for a little bit.