Mirros on 3d floors?

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
Birdy
Posts: 6
Joined: Thu Nov 09, 2006 0:09

Mirros on 3d floors?

Post by Birdy »

Hello,

I am new to the forums (signed up awhile ago though :wink: )

And I was wondering if you can make mirrors on 3Dfloors (like a bathroom wall).
I searched the forums for about ten minutes, and didn't find anything.
heres a Screen shot.

Edit: umm... But you get my drift right?

[IMG][URL=http://img116.imageshack.us/my.php?image=mirrorsbx3.png][/IMG][/URL]
Last edited by Birdy on Tue Jun 26, 2007 18:33, edited 6 times in total.
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

With Image Shack! Search your screenshot, host it and use thumbnail, or hotlink, or whatever.
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL
Contact:

Post by Logan MTM »

Graf Zahl wrote:Reflective floors and ceilings

Action special 159: Sector_SetPlaneReflection(tag, floor, ceiling)

tag: tag of the sectors to be affected
floor: Amount of relectiveness of the floor. 0 means none and 255 means fully reflective.
ceiling: Amount of relectiveness of the ceiling. 0 means none and 255 means fully reflective.

Note:

If used improperly this can reduce the frame rate quite drastically. You should keep the amount of reflective planes as small as possible.
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Image

Looking at the image, it's not a reflective floor that is required (as Logan suggests) but one side of a 3D floor. I'm sorry, I don't know if that's possible.
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

Maybe it is possible trough ACS. Have the 3D floor sector a line ID on one of the sides, without the 3D floor special, and maybe you could then set via ACS Line_Mirror and Sector_Set3DFloor. But I don't really know if it's possible to set a mirror via ACS. It's just a theory. :wink:
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

It is possible to set a mirror via ACS. I've done it a number of times. It's useful if you want the mirror to be smashable - because you need to be able to remove the mirror via ACS as well as create it in the first place.

However, I've tried a few things now and not managed to get a mirror on the side of a 3D floor. I suspected that would be the case. So, as far as I can tell, you can't get a mirror onto the side of a 3D floor.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

Given the way that reflective effects were done in ZDoom, I would guess to say that it's not much different for GZDoom, and thus, impossible to use on the sides of 3D floors. Granted, if there was a room behind your bathroom, you would have some very screwy problems with your mirror anyway.

But, if you are so bent on making the mirrors, it'd be easier to make them as small alcoves in the wall (so that a 1s line becomes the mirror surface) and use 3D floors to create the border that can stick out.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

GZdoom is much less fussy about having plenty of void space behind a mirror compared to Zdoom. In fact, I've set up quite a few mirrors with virtually no space behind them in GZdoom and had them work just fine. But yeah, 3D floors seem unlikely and alcoves with mirrors on 1s lines would be the way to go IMO.
Birdy
Posts: 6
Joined: Thu Nov 09, 2006 0:09

Thanks

Post by Birdy »

Thanks for the help guys, I think I'm gonna do it the way Shinjanji said.

I love this forum now. you're all so supportive! :)
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

We're supposed to be supportive :wink:

...

*Cough*

Yeah. :laugh:
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Looks like an interesting mod, Birdy. Care to share more information with us?
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post by wildweasel »

Well, from the looks of it, he's using the resources from the Zombies TC from 1995, so it might be that he's remaking it.
Locked

Return to “GZDoom”