looking for nonerror skycube tutorial :)

Posted By: Ness

looking for nonerror skycube tutorial :) - 02/22/09 16:04

hello i never found a good skycube tutorial with a small source which has no errors in it! It would be nice if someone could explain or give me an tutorial how to include skycubes!
I need one good skycube and want to know how to use it smile
greetings ness
Posted By: Ness

Re: looking for nonerror skycube tutorial :) - 02/28/09 18:05

Well if i use the template sky on the blocks
i can see a blue blurred area under the sky!
How can i disable this?
The only thing is a skybox but i didnt found any good tutorial for skycubes which functioned.
greetings Ness
Posted By: George

Re: looking for nonerror skycube tutorial :) - 02/28/09 18:13

Here's the code for a sky cube:

STRING* test_wmb = "test.wmb"; // put your own level name here

void main()
{
fps_max = 70;
video_mode = 7; // run in 800x600 pixels
video_depth = 32; // 32 bit mode
video_screen = 1; // start in full screen mode
level_load (test_wmb);
wait (3);
ent_createlayer("skycube+6.tga", SKY | CUBE | VISIBLE , 1);
}
Posted By: Ness

Re: looking for nonerror skycube tutorial :) - 02/28/09 18:26

did i passed something???
void main()?
what the hell is that?
Posted By: George

Re: looking for nonerror skycube tutorial :) - 02/28/09 19:50

You can use function main instead of void main if you want to.
© 2024 lite-C Forums