AKPiggott Posted October 27, 2002 Share Posted October 27, 2002 Mirrors. How do you make them? Link to comment Share on other sites More sharing options...
WhiteShdw Posted October 27, 2002 Share Posted October 27, 2002 Same as mirrored floors. Use the specific mirror shader on a brush and put a misc_portal_surface no more than 64 grid units away from it. It would be helpful if you gave me a more specific description of what you want to do. Link to comment Share on other sites More sharing options...
AKPiggott Posted October 27, 2002 Author Share Posted October 27, 2002 Well, I basically want to make a normal mirror. Kinda like the one on the last level of JK2. Link to comment Share on other sites More sharing options...
WhiteShdw Posted October 27, 2002 Share Posted October 27, 2002 I think there were one or 2 mirror shaders in the game, but i'm not sure they work. I think there was one in the Yavin set, named yavin_mirror and there is one in the system set as well i think. Just apply them with a misc_portal surface next to it. If those don't work, your gonna have to make one yourself. It isn't that difficult. I'll post the shader code if you need it. Link to comment Share on other sites More sharing options...
AKPiggott Posted October 29, 2002 Author Share Posted October 29, 2002 Could you do that please White? I tried that shortly after your first suggestion with no success. Link to comment Share on other sites More sharing options...
WhiteShdw Posted October 30, 2002 Share Posted October 30, 2002 I'll have a look and post something tomorrow. I need to make a picture file as well, so it would be helpfull if you just pm me your e-mail adres, so i can send it to you. Link to comment Share on other sites More sharing options...
AKPiggott Posted October 30, 2002 Author Share Posted October 30, 2002 OK, nice one White. Cheers. Link to comment Share on other sites More sharing options...
WhiteShdw Posted October 30, 2002 Share Posted October 30, 2002 I got everything ready here. PM me your email adress and i'll send you a file with a small texture, a shader file and a small demo map to show how to implement the effect. It might be a good idea to just add the shader code and texture to your own shader file and texture directory, just make sure you update the path name in the shader code. Also, i'm not sure if this is the way Raven created that mirror effect in the Yavin level, because i remember Desann apearing in the mirror behind you, but he was not really behind you. This is not how the mirror shader works, so i'm thinking they used a different effect with some smart scripting. Another bug is that you only see your arms and hands in the mirror if you use the lightsaber in First person mode. You might want to use scripting to prevent people from using that. Or just set up the Sp character's skin file differently. Anyway it's up to you how you want to use the effect, but i'm just informing you about it's limitations. Link to comment Share on other sites More sharing options...
AKPiggott Posted October 31, 2002 Author Share Posted October 31, 2002 Originally posted by WhiteShdw Also, i'm not sure if this is the way Raven created that mirror effect in the Yavin level, because i remember Desann apearing in the mirror behind you, but he was not really behind you. The Desann NPC was actually there. There's a scripting TAG called "vampire" which actually makes an NPC invisible to the "real" gaming world, but still renders it in mirrors. All seems rather ironic when you think Vampires aren't supposed to have reflections. Link to comment Share on other sites More sharing options...
WhiteShdw Posted October 31, 2002 Share Posted October 31, 2002 well, that explains something . I'm gonna try that level again to see if they used any other tricks there. I can't remember if they did anything to prevent me to switch to First person saber mode. Looking at just arms in a mirror can be weird looking. Maybe Raven did something to prevent that effect. Did you get my Pm by the way? I put a link to the file in there. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.