Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fatal error!!!!!!!!!!
Author Message
zecuro Offline
Member

Posts: 153
Joined: Jul 2011
Reputation: 3
Post: #1
fatal error!!!!!!!!!!
when i try to run my custom story this message appear
fatal error:could not load script file
custom stories/priest/maps/ch00/third test.hps'!
main (1, 1):unexpected token'('
07-25-2011 08:12 PM
Find all posts by this user Quote this message in a reply
Roenlond Offline
Senior Member

Posts: 331
Joined: Apr 2011
Reputation: 0
Post: #2
RE: fatal error!!!!!!!!!!
Post the script file third test.hps inside [code] tags.
(This post was last modified: 07-25-2011 08:16 PM by Roenlond.)
07-25-2011 08:15 PM
Find all posts by this user Quote this message in a reply
zecuro Offline
Member

Posts: 153
Joined: Jul 2011
Reputation: 3
Post: #3
RE: fatal error!!!!!!!!!!
(07-25-2011 08:15 PM)Roenlond Wrote:  Post the script file third test.hps inside [code] tags.

that the script i tri to run in the beginin its suppose to make the guy start uncouncious well
http://www.mediafire.com/?f8wn3jxbze7ygz3
07-25-2011 08:47 PM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #4
RE: fatal error!!!!!!!!!!
There were some weird stuff in your .hps file, but anyhow, I removed it and fixed it up a bit. Smile

Here is the script:

void OnStart()
{
    FadeOut(0);
    FadeIn(20);
    FadeImageTrailTo(2, 2);
    FadeSepiaColorTo(100, 4);
    SetPlayerActive(false);
    FadePlayerRollTo(50, 220, 220);
    FadeRadialBlurTo(0.15, 2);
    SetPlayerCrouching(true);
    AddTimer("trig1", 7.0f, "beginStory");
}
void beginStory(string &in asTimer)
{
    ChangePlayerStateToNormal();
    SetPlayerActive(true);
    FadePlayerRollTo(0, 33, 33);
    FadeRadialBlurTo(0.0, 1);
    FadeSepiaColorTo(0, 4);
    SetPlayerCrouching(false);
    FadeImageTrailTo(0, 1);
}

07-29-2011 03:13 PM
Find all posts by this user Quote this message in a reply
Darion97 Offline
Junior Member

Posts: 28
Joined: Jun 2011
Reputation: 1
Post: #5
RE: fatal error!!!!!!!!!!
Try this script:

// Run when entering map
void OnEnter()
{
FadeOut(0.0);
FadeIn(5.0);
SetPlayerActive(false);
SetPlayerCrouching(true);
FadePlayerRollTo(0, 33, 33);
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
AddTimer("", 7.0, "beginStory");
}

////////////////////////////
// Actual functions
{
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33);
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0, 1);
}
09-06-2011 08:40 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)