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
The Intro And Ending Are Not Working...
Jayvee17 Offline
Junior Member

Posts: 25
Threads: 6
Joined: May 2011
Reputation: 0
#1
Question  The Intro And Ending Are Not Working...

After I Make An Intro, I Test My Custom Story...And It Respawns At The Place Where You Will Start Playing...The Intro Didn't Work And After I Move... It Lags... Maybe The Ending Also Have A Problems??Whats The Problem..??

My Intro.hps is here:


void OnStart()
{
AddTimer("", 0.5f, "Intro");
SetPlayerActive(false);
ShowPlayerCrossHairIcons(false);
SetInventoryDisabled(true);
SetPlayerJumpDisabled(true);
SetPlayerCrouchDisabled(true);
}

void Intro(string &in asTimer)
{
SetMessage("TheHouse", "Intro", 20.0f);
AddTimer("", 21.0f, "NextMap");
}

void NextMap(string &in asTimer)
{
ChangeMap("The_House", "PlayerStartArea_1", "", "");
}



And My Ending Is Here:


void OnStart()
{
AddTimer("", 0.5f, "Outro");
SetPlayerActive(false);
ShowPlayerCrossHairIcons(false);
SetInventoryDisabled(true);
SetPlayerJumpDisabled(true);
SetPlayerCrouchDisabled(true);
}

void Outro(string &in asTimer)
{
StartCredits("", false, "Ending", "Credits", 1);
}




If You Want To See My extra_english.lang, it is here:


<LANGUAGE>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">The House...[br][br]You Discover This House In The Middle Of A Forest...[br]After Getting Inside The House, You Can't Get Out Anymore.[br]You Need To Find The Key To Get Out.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Door_3_Key">Door 3 Key</Entry>
<Entry Name="ItemDesc_Door_3_Key">Well Rusty Key Of Door 3</Entry>
<Entry Name="ItemName_Key_Of_Freedom">Key Of Freedom</Entry>
<Entry Name="ItemDesc_Key_Of_Freedom">Use To Open The Door Of Freedom.</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_The_House_Note_Name">The House Note</Entry>
<Entry Name="Note_The_House_Note_Text">This House Is Said To Be A Home Of Some Types Of Aliens.</Entry>
<Entry Name="Note_Key_Of_Freedom_Clue_Name">The Key Of Freedom</Entry>
<Entry Name="Note_Key_Of_Freedom_Clue_Text">The Key Is Under The Stairs...Beware Of Aliens...</Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="DoorLocked">The door is locked...</Entry>
</CATEGORY>

<CATEGORY Name="TheHouse">
<Entry Name="Intro">While I Was Camping In A Forest, I Saw A Little House.[br]I Go Inside The House To Rest...[br]As I Try To Go Out, I Can't Get Out Anymore[br]I Need To Find The Key To Get Out...</Entry>
<Entry Name="Arrival">Hello??...[br]Somebody Here??...[br]Someone Help Me...!!</Entry>
</CATEGORY>

<CATEGORY Name="Ending">
<Entry Name="Credits">The House...[br][br]This Only The Part 1...[br][br][br]Special Thanks To Frictional Games[br][br][br]And To You For Playing...!!</Entry>
</CATEGORY>

</LANGUAGE> HuhConfused
06-01-2011, 11:01 AM
Find
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#2
RE: The Intro And Ending Are Not Working...

You did set the correct map and startpos in the custom_story_setting.cfg?

06-01-2011, 11:21 AM
Find
Jayvee17 Offline
Junior Member

Posts: 25
Threads: 6
Joined: May 2011
Reputation: 0
#3
RE: The Intro And Ending Are Not Working...

Maybe...That's The Problem...Uhmm...My Start Position Is "PlayerStartArea_1" In My .cfg But It Is Three... one in the game one in intro and one in ending....Maybe i'll change the start position's names... =) Thanks...
Uhmm...When I Edit The the names of start positions... and the starting point in cfg....it start in the game and not in the intro...and when i got the key of freedom... the monster didn't spawn...and when i use the key of freedom to the door of freedom... the door's sound looks like unlocked but when i try to finish the game... it's not working... example: i got the key of freedom and the monster didn't spawn and when i try to use the key in the door of freedom... it has a sound like the door is unlocked...but when i try opening it.. it is not opening...
Sorry for my bad english..i'm from philippines... =S
(This post was last modified: 06-01-2011, 01:46 PM by Jayvee17.)
06-01-2011, 01:24 PM
Find




Users browsing this thread: 2 Guest(s)