dvader28 Posted May 31, 2002 Share Posted May 31, 2002 Hi all. I've been experimenting with skies recently, but i can't seem to get them to animate, or light properly. Is it just that some shaders don't work ? Or am i missing a vital step? Help oh mighty JO Editing Guru's! Link to comment Share on other sites More sharing options...
RichDiesal Posted June 1, 2002 Share Posted June 1, 2002 You are likely not choosing the corret sky shaders... if you want one that works, you need one that has a white outline around it (that means it's a shader, not a texture). Make a simple four-sided room and apply the shader "sky" from the "bespin" textureset to the top of the room. That's a lighted sky too, it approximates daylight from straight up. If you want to figure out which skies emit light and which don't, the easiest way is simply to experiment with a few and find out what happens. And if there is a sky that you want to emit light that doesn't, I advise you read a shader tutorial and learn how to do it. Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 I need a star drop that emits light, but don't know how to make one. Anyone point me to a nice tutorial? Link to comment Share on other sites More sharing options...
RichDiesal Posted June 1, 2002 Share Posted June 1, 2002 Ehh... there's not really a tutorial that specifically will tell you how do that, I don't think. What I did (and is the best way to learn, IMO) is to look in the .shader files, find a light emitting shader (for example "sky" in bespin.shader), copy the code you find there into your own .shader file and then screw around with it until you get the effect you want. If you want light-emitting stars, take the basic shader for skies/stars and then the light-emitting parts (they're very obvious in the .shader - you'll see them, I promise) of bespin/sky and put them into your own file. Voila, done. I may just have to make a JK2 specific shader tutorial on how to make a light emitting shader after I get this map done... Anyone want to host it? Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 when i try to open the shaders i get an error that says bad file format Link to comment Share on other sites More sharing options...
RichDiesal Posted June 1, 2002 Share Posted June 1, 2002 Open them from within Notepad. Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 I got it open, copied some stuff saved the new .shader file...now how do I use it and test it? Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 Alright, i got it into radiant but the shader is just a green checkered box and when i click on it it turns blue and the bottom says : Loading stars/stars...failed. Trying Shader... failed. Using default. !! !! !! ** Replacing stars/stars with stars/stars ** any help would be great! Link to comment Share on other sites More sharing options...
DuHaSt Posted June 1, 2002 Share Posted June 1, 2002 I'll host it if you will write it. Be glad to host any tuts peeps want to make relating to JK2, SoF2, or RTCW. Link to comment Share on other sites More sharing options...
RichDiesal Posted June 1, 2002 Share Posted June 1, 2002 Alright, i got it into radiant but the shader is just a green checkered box and when i click on it it turns blue and the bottom says blahblahblah That's fine. Did you compile and see if it worked? And copy the script you have in stars.shader here just so I know what you're doing. Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 no it doesnt work after a fullvis compile textures/stars/stars { qer_editorimage textures/skies/stars q3map_surfacelight 450 surfaceparm sky q3map_nolightmap q3map_novertexshadows skyParms textures/skies/stars 512 - } Thats my code..yes i extracted stars from assets0.pk3 or what ever the name is to the stars folder. I'm still confused how to edit the shader i guess... Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 well i got it to work in the map..but the texture is just black...it does emit light though... I also noticed my error in the skyParms.. i'll fix it aand see what happens Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 alright, got the lighting to work better, but now it makes the sky as the void and screws up the screen when i look at it... you know what i mean...everyone here as had a sstart player in the void at least once... Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2002 Share Posted June 1, 2002 heres a pic of what I mean http://starwars.shmoonet.com/shot0001.jpg I'm looking into the corner of the room where there should be the stary sky texture that i made light... heres the edited shader coding: textures/stars/starlight { qer_editorimage textures/stars/starlight q3map_surfacelight 450 surfaceparm sky q3map_nolightmap q3map_novertexshadows skyParms textures/stars/starlight 512 - } Link to comment Share on other sites More sharing options...
RichDiesal Posted June 2, 2002 Share Posted June 2, 2002 Hmm... what textures do you have in the stars directory? Link to comment Share on other sites More sharing options...
Gif Posted June 2, 2002 Share Posted June 2, 2002 just starlight.jpg Link to comment Share on other sites More sharing options...
RichDiesal Posted June 2, 2002 Share Posted June 2, 2002 Hmm... try renaming that file to starlight_rt.jpg and then load the map again. No need to recompile. If that doesn't work, I have one more plan... Link to comment Share on other sites More sharing options...
Gif Posted June 2, 2002 Share Posted June 2, 2002 do i change all the .shader info too? or just the file name? Link to comment Share on other sites More sharing options...
RichDiesal Posted June 2, 2002 Share Posted June 2, 2002 Just the filename. You see, the way a sky shader works is if your skyParm references say... "sky", it actually looks for 6 files to make up the total skybox... which in that case would be sky_bk, sky_dn, sky_ft, sky_lf, sky_rt, and sky_up. I believe if you only include a _rt it makes that the default for all 6 sides (as in with stars). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.