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


Thread Rating:
  • 3 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Scarecrow - Cancelled; read inside
Simpanra Offline
Senior Member

Posts: 314
Threads: 28
Joined: Mar 2011
Reputation: 0
#11
RE: The Scarecrow - Demo released!

EVERYONE!!! i know how to mend the underhalls =)

there is an error in the script but it is pretty simple,
open the .hps file for the underhalls, scroll down until you reach;
///////////////
//END SCREAMS//
///////////////

/////////
//DRIPS//
/////////

void FuncDrips()
{
    int iDrip = RandInt(1, 43);        //area at which drip occurs
    float fTime = RandFloat(0.05, 0.6);
    int iFile = RandInt(1, 2);    //file to use. probably not needed
    if(iFile == 1) PlaySoundAtEntity("drip_at_"+iDrip, "general_water_drip_single.snt", "driparea_"+iDrip, 0, false);
    if(iFile == 2) PlaySoundAtEntity("drip_at_"+iDrip, "general_water_drip_single2.snt", "driparea_"+iDrip, 0, false);
    AddTimer("driptimer", fTime, "DripLoop");
}

void DripLoop(string &in asTimer)
{
    FuncDrips();
}

Ok, once you are here,
look at this line " float fTime = RandFloat(0.05, 0.6); "
In your script the values will say ".05" and ".6", this doesn't work, add a 0 infront so they read "0.05" and "0.6" and that should work =)
Now just close and save the script and you are done ^_^
04-23-2011, 04:15 PM
Find


Messages In This Thread
RE: The Scarecrow - Demo released! - by ZxBrad - 04-23-2011, 01:17 AM
RE: The Scarecrow - Demo released! - by palistov - 04-23-2011, 03:17 AM
RE: The Scarecrow - Demo released! - by Anxt - 04-23-2011, 03:48 AM
RE: The Scarecrow - Demo released! - by palistov - 04-23-2011, 06:04 AM
RE: The Scarecrow - Demo released! - by RazTK - 04-23-2011, 08:44 AM
RE: The Scarecrow - Demo released! - by Tiero - 04-23-2011, 09:50 AM
RE: The Scarecrow - Demo released! - by Simpanra - 04-23-2011, 04:15 PM
RE: The Scarecrow - Demo released! - by palistov - 04-23-2011, 06:46 PM



Users browsing this thread: 1 Guest(s)