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
[Solution Found In Replies]!}Massive BlackBox Level Loading Error
Newsman Waterpaper Offline
Senior Member

Posts: 735
Threads: 20
Joined: May 2013
Reputation: 39
#3
RE: Massive BlackBox Level Loading Error

Okay I got the solution to this for people who might have the same problem.
First you wanna create a new map and have 5 black planes making a box and then put the player start area in it and save it as whatever but I called it as ProxyMap1.
[Image: rTGZyxz.png]

Then you want to relocate the map that your level door has to ProxyMap1.
Now you have to do some scripting and yous are just copy my code for it and adjust it to suit your needs!

void OnEnter()
{
AddTimer("ChangeLevel", 2.0f, "ChangeLevel");
AddTimer("FadeOutLevel", 1.0f, "FadeOutLevel");
SetInDarknessEffectsActive(false);
SetPlayerActive(false);
FadeOut(0.0f);
FadeIn(1.0f);
}
void FadeOutLevel (string &in asTimer)
{
FadeOut(1.0f);
}
void ChangeLevel (string &in asTimer)
{
ChangeMap("Hotel.map", "PlayerStartArea_1", "", "");
}
void OnStart()
{
}
void OnLeave()
{
}
04-04-2016, 03:17 AM
Find


Messages In This Thread
RE: Massive BlackBox Level Loading Error - by Newsman Waterpaper - 04-04-2016, 03:17 AM



Users browsing this thread: 1 Guest(s)