Frictional Games Forum (read-only)

Full Version: Anyone Need Help? (Thread #2)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
(07-25-2011, 10:59 PM)Kyle Wrote: [ -> ]
Code:
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("", 7, "beginStory");
}
void beginStory(string &in asTimer)
{
    ChangePlayerStateToNormal();
    SetPlayerActive(true);
    FadePlayerRollTo(0, 33, 33);
    FadeRadialBlurTo(0, 1);
    FadeSepiaColorTo(0, 4);
    SetPlayerCrouching(false);
    FadeImageTrailTo(0, 1);
}
void OnEnter()
{
}
void OnLeave()
{
}

Maybe now?

nope Sad it still say the same thing
How about trying this:

Code:
void OnStart()
{
}
void OnEnter()
{
}
void OnLeave()
{
}

Maybe you didn't name it or place it correctly?
(07-25-2011, 11:07 PM)Kyle Wrote: [ -> ]How about trying this:

Code:
void OnStart()
{
}
void OnEnter()
{
}
void OnLeave()
{
}

Maybe you didn't name it or place it correctly?
here a capture image where i placed it here the link
http://www.mediafire.com/?d3bpd11lw5z79v7
and nope it still not work
http://wiki.frictionalgames.com/hpl2/tutorials/start

At the bottom, there is a video tutorial called "Setting up your Custom Story (Part 1) | Video Tutorial- by MulleDK19"

At 2:25 in the tutorial, he'll say something about it being a text file when you want it to be something else. Make sure you check it is what you want.

If it doesn't work, I don't have any idea why it doesn't work. Unless if your map in your custom story doesn't have an area called "PlayerStartArea_1". :/
zecuro, I downloaded the .hps from before posting it as a text reply, but I forgot to reply. I saw very strange text there that really doesn't below, what are you using to edit this script files?
(07-25-2011, 11:53 PM)Roenlond Wrote: [ -> ]zecuro, I downloaded the .hps from before posting it as a text reply, but I forgot to reply. I saw very strange text there that really doesn't below, what are you using to edit this script files?

i used TextEdit basic aplication on osx leopard
You should try Notepad++, I use it. It's really easy to check your scripting mistakes. Smile

http://wiki.frictionalgames.com/hpl2/thi...xt/notepad
I'm going to have to bump my thread because I noticed that a few peopled needed help and it's hard to keep track of all of them unlike having it all in one thread. Tongue

Anyhow, good night. I'll be glad to wake up to many questions that need answering on my thread. ^^
(07-26-2011, 12:57 AM)Kyle Wrote: [ -> ]You should try Notepad++, I use it. It's really easy to check your scripting mistakes. Smile

http://wiki.frictionalgames.com/hpl2/thi...xt/notepad
Notepad++ is only for Windows. He's on a Mac.
(07-30-2011, 01:37 PM)Your Computer Wrote: [ -> ]
(07-26-2011, 12:57 AM)Kyle Wrote: [ -> ]You should try Notepad++, I use it. It's really easy to check your scripting mistakes. Smile

http://wiki.frictionalgames.com/hpl2/thi...xt/notepad
Notepad++ is only for Windows. He's on a Mac.

is ther eanything better then txt edit on mac????
Pages: 1 2 3 4 5