Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My map keeps crashing when loading..
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#6
RE: My map keeps crashing when loading..

(01-21-2013, 01:55 PM)amusei Wrote:
(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 Sad

I think My friend here fixed it already!
Tnx beecake! As far as i tested it it workes now!
TNX again!
01-21-2013, 03:12 PM
Find


Messages In This Thread
RE: My map keeps crashing when loading.. - by DnALANGE - 01-21-2013, 03:12 PM



Users browsing this thread: 1 Guest(s)