superdude201 Posted August 7, 2002 Share Posted August 7, 2002 I've made a custom sky using terragen and a tutorial and the pics of the sky show up but the red and black checkered thing doesn't show up so i can't use it. Does anyone know how to make it show up in the textures bit in the skies catergory? Thanks Link to comment Share on other sites More sharing options...
volrathxp Posted August 7, 2002 Share Posted August 7, 2002 create your own directory to put your sky images in. then set your shader to point to that directory instead, name the sky *skyname_light* if you have a sky that emits light. qer_editorimage textures/skies/sky.jpg add this line to your shader. this makes it so the editor sees this image as the shader's image so you can see what it looks like. the sky.jpg is one that gtk uses default for certain skies. you can use whatever image you want so long as it meets the power of 2 standards. Link to comment Share on other sites More sharing options...
superdude201 Posted August 8, 2002 Author Share Posted August 8, 2002 how do u make it point to the directory Link to comment Share on other sites More sharing options...
volrathxp Posted August 8, 2002 Share Posted August 8, 2002 edit the shader in notepad... *pulls up example* textures/volrath/volrath_light { // q3map_surfacelight 5 qer_editorimage textures/volrath/volrath_bk sun 0 0.501961 0.752941 50 90 90 surfaceparm sky surfaceparm noimpact surfaceparm nomarks surfaceparm metalsteps q3map_nolightmap q3map_novertexshadows skyParms textures/volrath/volrath 512 - } that's kinda what your sky shader needs to look like. you can take out all the sun, surfacelight, and _light name if you don't need it to emit light, but all the other stuff is pretty much required for a skybox. cept for metalsteps, i added that cuz the skybox is all watery so on the offchance someone would get on it, it would sound splashy just make a new .shader file and open it in notepad and change paths accordingly based on my example for your sky images. then when you save your shader file, say as mysky.shader, add it's name to the shaderlist.txt. then you should be able to select it in editor under your directory name. select the image that is the shader (the one with the white box around it) for all the sides of your skybox. the sky should line up and use the correct images for your sides, top, and bottom, if you made it correctly. Link to comment Share on other sites More sharing options...
superdude201 Posted August 9, 2002 Author Share Posted August 9, 2002 Well i said it to do hat in a tutorial and i did it but it didn't show up unless i aren't changing something i should:confused: Link to comment Share on other sites More sharing options...
volrathxp Posted August 9, 2002 Share Posted August 9, 2002 did you add your shader name to the shaderlist.txt? Link to comment Share on other sites More sharing options...
superdude201 Posted August 9, 2002 Author Share Posted August 9, 2002 Well in my shader it says this : textures/(tatooinetown)/(tatooinetownsky) { qer_editorimage textures/skies/sky.jpg surfaceparm sky surfaceparm noimpact surfaceparm nomarks notc q3map_nolightmap skyParms textures/(tatooinetown)/sky 512 - } Is that right or is there something missing? Link to comment Share on other sites More sharing options...
volrathxp Posted August 10, 2002 Share Posted August 10, 2002 what's with the parentheses? Link to comment Share on other sites More sharing options...
superdude201 Posted August 10, 2002 Author Share Posted August 10, 2002 Well on this tutorial it said to copy it and paste it then change the map name etc and { and } were on it aren't they meant to be there? Link to comment Share on other sites More sharing options...
idontlikegeorge Posted August 10, 2002 Share Posted August 10, 2002 no Link to comment Share on other sites More sharing options...
superdude201 Posted August 10, 2002 Author Share Posted August 10, 2002 So if i get rid of the { and } it will work? Link to comment Share on other sites More sharing options...
Anakin Posted August 10, 2002 Share Posted August 10, 2002 No keep the { }, just use an old Shader file from the assessts.pk3 copy it, edit it with your pics, and just put them in the correct directorys. Link to comment Share on other sites More sharing options...
volrathxp Posted August 10, 2002 Share Posted August 10, 2002 Anakin, JK2 will not recognize folders with special characters like ( and ) or { and }. First off superdude, kill the parentheses. don't use special characters in your folders. be sure you add the name of the shader to the shaderlist.txt or else it will not work. edit: big typo! Link to comment Share on other sites More sharing options...
superdude201 Posted August 10, 2002 Author Share Posted August 10, 2002 I have added it to the shader list. But if u look at your eg further up u will see u put a {. So u must need it. Link to comment Share on other sites More sharing options...
volrathxp Posted August 10, 2002 Share Posted August 10, 2002 you need the { and } between the shader code but no parentheses in the folder names this is what i'm talking about: textures/(tatooinetown)/(tatooinetownsky) make that look like textures/tatooinetown/tatooinesky Link to comment Share on other sites More sharing options...
superdude201 Posted August 10, 2002 Author Share Posted August 10, 2002 K thanks i'll try now fingers crossed. Link to comment Share on other sites More sharing options...
superdude201 Posted August 10, 2002 Author Share Posted August 10, 2002 Well i've done that and i can't find it where should it be in the textures folder skies? Link to comment Share on other sites More sharing options...
Wes Marrakesh Posted August 10, 2002 Share Posted August 10, 2002 the shader goes in your shaders folder. for the _ft _bk _lt etc... you need to make a folder in your textures folder called tatooinetown and put all 6 .jpgs in there. then, when you load up radiant, you should have a new folder under the textures menu: tatooinetown it should have inside: the 6 .jpgs and a shader called tatooinetownsky hope that helps. Link to comment Share on other sites More sharing options...
superdude201 Posted August 11, 2002 Author Share Posted August 11, 2002 Well i've done that with the 6 jpgs and they show up but the shader doesn't Link to comment Share on other sites More sharing options...
superdude201 Posted August 11, 2002 Author Share Posted August 11, 2002 It says this in that white box when i load it up: Loaded 1 shaders and created default shader for 5 orphan textures. Edit: I changed something cause i thought i had done it wrong and it came up with this in the white box Loaded 0 shaders and created default shader for 6 orphan textures. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.