Just for a heads up, if you use the terathon tutorial (for the C4 engine) and load the script into terragen, you have to make a few adjustments afterwards.
I used the LoadSkybox function from the castle demo.
When the images come out of terragen numbered 001 thru 006, rename them in this order - LF,RT,FR,BK,UP,DN
I also noticed the LoadSkybox function expects .jpg files, so I changed that to bmp.
Then I had to take the UP image (005) and rotate it 90 degrees clockwise (using an image editor).
Also, make sure in your code that you PositionEntity the skybox to the x,y,z location of your player position (normally a pivot) in the main loop. Don't parent it though because you don't want the skybox to rotate, just move.
|