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
fatal error!!!!!!!!!!
zecuro Offline
Member

Posts: 162
Threads: 33
Joined: Jul 2011
Reputation: 3
#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
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#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
zecuro Offline
Member

Posts: 162
Threads: 33
Joined: Jul 2011
Reputation: 3
#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
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#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
Darion97 Offline
Junior Member

Posts: 29
Threads: 1
Joined: Jun 2011
Reputation: 1
#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




Users browsing this thread: 2 Guest(s)