(01-20-2013, 05:01 PM)dnalange Wrote: I need some help with this...
My map is around 4mb atm..
There will be NO more stuff in it..
BUT...
It loads the first time ... then you go to some other maps then you come back in the big 4mb map..
While loading it gives that OOPS there is something wrong
It only happens when i return to that big map.. AND not every time i test it..
What can i do.. almost impossible to cut this map into pieces...
Anone some ideas?
Thanks!
I had a similiar problem. Do you go back through a DOOR or through scritps(for example when you enter an area) because if it is through script make sure your player is not moving while loading and add a FadeOut func
example
void OnStart()
{
AddEntityCollideCallback("Player", "endmap", "EndMapFade", true, 1);
}
void EndMapFade(string &in asParent, string &in asChild, int alState)
{
SetPlayerActive(false);
FadeOut(3);
AddTimer("", 3, "LoadNextMap");
}
void LoadNextMap(string &in asTimer)
{
ChangeMap("testmap.map", "PlayerStartArea_1", "", "");
}
If that is not the case I don't know how to fix it