Ive Found a enviroment textue i wanted here But how do i use it on enemy territory
thank you!
Skyboxes
oh and another problem when i make terrain with gtk gensurf some bits come out not alligned properly how do i sort this out
about the terrain, i always use snap to grid (CTRL+G) after importing/making a terrain, otherwise you get vertices out of the grid, which can cause trouble…
set your gridsize to 4 or 8 (press keypad number 3 or 4) then select your terrain and press Ctrl + G
For the skybox:
- In the etmain directory, make a new folder named “env”.
- Inside of the new folder, make another new folder named for your map, something like mymapskybox.
- Extract the six .tga files (image files) into the new skybox directory.
- In the etmain/texture directory, make a new folder and give it the same name as the skybox folder you created, mymapskybox.
- Pick one of the image files, copy it into the etmain/texture/mymapskybox folder you created, and call it mymapsky.jpg.
- In the etmain/scripts folder, create a shader file and name it mymapskybox.shader.
- Put the shader code into the shader file and save it.
- Open the shaderlist.txt file in the etmain/scripts folder, add mymapskybox at the end of the file and save it.
In Radiant, you should now be able to open your map, select the mymapskybox from the texture list and apply the skybox texure to where ever you want the skybox to show. In Radiant, the texture will show up as the one image that you put in the etmain/texture/mymapskybox folder. Once you compile it, in game mode the images will sort themselves out to the correct images.