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
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


Messages In This Thread
Map keeps loading forever - by Slanderous - 11-27-2013, 08:59 PM
RE: Map keeps loading forever - by ingedoom - 11-29-2013, 01:33 AM
RE: Map keeps loading forever - by Romulator - 11-29-2013, 02:13 PM
RE: Map keeps loading forever - by Slanderous - 11-30-2013, 10:40 AM



Users browsing this thread: 1 Guest(s)