How does the 3D floor flag 3 work?
Moderator: Graf Zahl
- justin023
- Posts: 165
- Joined: Wed Sep 21, 2005 10:51
- Location: Illinois
- Contact:
How does the 3D floor flag 3 work?
I am trying to make a switch with a 3D floor but I can't figure this thing out.
- Shinjanji
- Posts: 198
- Joined: Sun Nov 06, 2005 16:45
- Location: Pennsylvania, USA
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.
/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.
- justin023
- Posts: 165
- Joined: Wed Sep 21, 2005 10:51
- Location: Illinois
- Contact:
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 (valueis not set the fifth arg is the high byte of the tag, otherwise it defines a line ID.
- justin023
- Posts: 165
- Joined: Wed Sep 21, 2005 10:51
- Location: Illinois
- Contact:
- Shinjanji
- Posts: 198
- Joined: Sun Nov 06, 2005 16:45
- Location: Pennsylvania, USA
- justin023
- Posts: 165
- Joined: Wed Sep 21, 2005 10:51
- Location: Illinois
- Contact:
-
- Posts: 58
- Joined: Sun Sep 11, 2005 20:31
- Location: nj
- Contact: