Switches on 3D sectors

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Switches on 3D sectors

Post by Rex Claussen »

I don't know if this question has been asked before, but here goes: Do the graphics on switches that are activated from 3D sectors not animate? I have set up the animation properly in the ANIMDEFS lump, placed the texture properly on the dummy sector, and know that the switch works. However, the texture just does not animate.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No. They are not physically on the wall and trying to animate them would cause secondary problems so it isn't implemented.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

However, the effect you want can be done, and I have done it a number of times.

Instead of using normal (0) flag values for the 3D floor line, use flags 16 or 32. These flags tell GZdoom to put whatever texture is on the upper or lower side (repectively) of the containing sector lines on the face of the 3D floor. That way the floor can have different textures on different faces and, more importantly in this case, when you use the face of the 3D box, the texture on the upper/lower side changes (even though it isn't visible) and this gets transferred to the face of the 3D floor.
Attachments
3dswitch.zip
(801 Bytes) Downloaded 154 times
User avatar
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Post by Rex Claussen »

Works perfectly. Thanks, Boss.
Locked

Return to “GZDoom”