User login

Navigation

Poll

I downloaded the ETQW demo and....
...I'm too busy playing for polls.
13%
...it's awesome.
50%
...it's okay, I expected better.
13%
...I'm lost in the valley, anyone have a map?
0%
...my machine won't run it. :-(
25%
Total votes: 8

Who's online

There are currently 0 users and 41 guests online.

Welcome to RUST | Gamedesign.net

Making a mirror

Submitted by Gard on Thu, 2004-08-26 13:47.

Quake III: Arena

Making a mirror - Jon Eriksson


Please note: this resource among other resources here at rust are no longer updated and maintained by the original author any more. If you need to contact someone in regards to this, please contact the moderators of the Quake III Arena Forum on the RUST website.



First I thought I should make a tutorial how the Curved faces works, but I changed my mind, and made this Mirror tutorial instead. I made this choice basically because the curved faces is tricky to understand, and I think I will make a tutorial about it in Tutorial #5 or #6. So, how do you make a mirror? Just read the stuff below. First, the mirror has one bad thing with it, it will not reflect light, but you wouldn't see it if you don't think about it =). Here comes the tutorial.

Let's open our map, the map I have added upon since tutorial 1. I want to place a mirror at one of the sides in the room where I have my lamp (from tutorial #3). First, do as we always do, load a texture, but this time, you have to load the "common" textures, because that's where the mirror is located. Choose the left of the "Mirror" textures, and make a new object, it might look like this:




Now, many of you think you're done, but it's not that simple =).

  • Now, we're done with the new cube, so push ESC to deselect it. Now we need to put a new entity in front of the mirror. Press your right mouse button in any of the views (except for the 3dview) until you get the small menu, popping up where the mouse cursor is.

  • Go down on that menu, and choose "misc", and then "misc_portal_surface". A new entity will be shown, place the new entity in front of the mirror. (the entity must be closer than 64 units from the mirror texture).


If you compile your map, the mirror will work, but act really strange. It wouldn't work from all angles, and that's because the mirror can only have 1 viewable surface. This mean that we have to cover all surfaces except the one we want as a mirror. I will do this by adding new boxes, that I put around the mirror. So it looks like this:




Now you can compile your map, and you got yourself a nice mirror =). One thing to know is that if you use mirrors, the clients FPS will be completely killed! But I agree that it is a nice effect. Another note is that the mirror will not effect lights.

RUST | Gamedesign.net is your source for all the latest game-editing news and tutorials. If you are seeing this message, this means that you are using a browser that does not support CSS. Please upgrade your browser and enjoy your stay at RUST and if you have any questions, comments, or suggestions, please contact a site administrator.