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
Map keeps loading forever
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#1
Map keeps loading forever

Hey

I finally reached the end of making a map, and it keeps loading forever. I mean when I load it using the toolbar in game (f1) it loads normal, and everything is okay, but when I go to this map through level doors it keeps loading forever.

How can I solve this?

Notice if you launch my map it will propably give you an error, because there is a Wretch from AMFP and a new floor texture and yes, I have the update and stuff and it works. Just don't mind about it if you want to test it.

Download map and hps stuff - HERE
11-27-2013, 08:59 PM
Find
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#2
RE: Map keeps loading forever

Have you tried using another texture? Maybe it could be that?

[Image: 23778.png]
11-29-2013, 01:33 AM
Website Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: Map keeps loading forever

The issue is you have an error in your code somewhere. Tongue
Got a Fatal Error trying to load it.

Trying to look over it now to see why. Found the issue:

Here:
PHP Code: (Select All)
void ActiveWretch(string &in asParentstring &in asChildint alState)
{
    
SetPropHealth(0"castle_3");         //This is your issue. You have the bracketed values reversed.
    
SetEntityActive("keyneed",true);
    
SetEntityActive("wrecz",true);
    
SetEntityActive("kaboom",true);
    
ShowEnemyPlayerPosition("wrecz");
    
SetPlayerRunSpeedMul(0.35f);
    
FadeImageTrailTo(1.252.5);
    
PlayMusic("26_event_brute.ogg"false1.001true);
    
GiveSanityDamage(25.0ftrue);
    
StartPlayerLookAt("look"2.0f2.0f""); 
    
AddTimer("LookRight"6.0f"LookTimer"); 


Change the SetPropHealth() to:
PHP Code: (Select All)
SetPropHealth("castle_3"0.0f); 

Also, between the LookTimer and Reset routines, you have a closing brace with no opening brace. Remove that.
Should work fine then, as it did on my end!

For the map itself however...
Spoiler below!
BOXLIGHTS! If you know how to use them, put it in. They will make your map keep a consistent light amount. Because of the amount of lighting there is, there shouldn't be many to any dark spots. A boxlight will help fix that easily Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 11-29-2013, 02:25 PM by Romulator.)
11-29-2013, 02:13 PM
Find
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#4
RE: Map keeps loading forever

(11-29-2013, 02:13 PM)Romulator Wrote: The issue is you have an error in your code somewhere. Tongue
Got a Fatal Error trying to load it.

Trying to look over it now to see why. Found the issue:

Here:
PHP Code: (Select All)
void ActiveWretch(string &in asParentstring &in asChildint alState)
{
    
SetPropHealth(0"castle_3");         //This is your issue. You have the bracketed values reversed.
    
SetEntityActive("keyneed",true);
    
SetEntityActive("wrecz",true);
    
SetEntityActive("kaboom",true);
    
ShowEnemyPlayerPosition("wrecz");
    
SetPlayerRunSpeedMul(0.35f);
    
FadeImageTrailTo(1.252.5);
    
PlayMusic("26_event_brute.ogg"false1.001true);
    
GiveSanityDamage(25.0ftrue);
    
StartPlayerLookAt("look"2.0f2.0f""); 
    
AddTimer("LookRight"6.0f"LookTimer"); 


Change the SetPropHealth() to:
PHP Code: (Select All)
SetPropHealth("castle_3"0.0f); 

Also, between the LookTimer and Reset routines, you have a closing brace with no opening brace. Remove that.
Should work fine then, as it did on my end!

For the map itself however...
Spoiler below!
BOXLIGHTS! If you know how to use them, put it in. They will make your map keep a consistent light amount. Because of the amount of lighting there is, there shouldn't be many to any dark spots. A boxlight will help fix that easily Smile

Oh, thanks Big Grin Works now.
11-30-2013, 10:40 AM
Find




Users browsing this thread: 2 Guest(s)