PDA

View Full Version : Loading Map failed



Loveboy
8th September 2013, 14:04
Hello Guys, i made a new Map, and i wanted to test it.
The Map has got a problem while loading:

On the loadbar, it only loads a mini bit (2 cm), it should continue with loading, but it only loads a bit.

I can't join the Map. Before it worked, I only added a Origin + a thing ( script - > Brushmodel ) and it should turn and I compiled the map.

mp_map.gsc


main()
{
maps\mp\_load::main();
thread turner();
}

turner()
{
turner = getent("turner","targetname");

while(1)
{
turner rotateYaw(360,3);
}
}


Somebody know why it happens? And how to fix?

Thanks!

Jeplaa
8th September 2013, 15:07
I can suggest you Kung's rotate brushmodels tut (http://killtube.org/showthread.php?359-VIDEO-rotating-brushmodels&highlight=rotateYaw)


turner waittill("rotatedone");

IzNoGoD
8th September 2013, 15:27
You got an infinte loop there. Add a wait.