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


Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anyone Need Help? (Thread #2)
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#11
RE: Anyone Need Help? (Thread #2)

nvm the image. Do the key work for you, or is the whole extra_lang f*cked up?

[Image: 44917299.jpg]Dubstep <3
07-24-2011, 05:10 AM
Find
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#12
RE: Anyone Need Help? (Thread #2)

I believe the whole extra_english.lang file has gotten f*cked up.
(with all of my stories..)

Ba-da bing, ba-da boom.
(This post was last modified: 07-24-2011, 05:14 AM by JenniferOrange.)
07-24-2011, 05:13 AM
Find
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#13
RE: Anyone Need Help? (Thread #2)

all!? wtf O_O.

Try deleting all of the stories except your infected demo and use this extra_lang

Change to your benefit.
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
    <Entry Name="Description">story description</Entry>
</CATEGORY>

<CATEGORY Name="Journal">

</CATEGORY>

<CATEGORY Name="Inventory">

</CATEGORY>

<CATEGORY Name="Levels">

</CATEGORY>

<CATEGORY Name="other">

</CATEGORY>

<CATEGORY Name="Ending">
            <Entry Name="MainCredits"></Entry>
</CATEGORY>

</LANGUAGE>

[Image: 44917299.jpg]Dubstep <3
07-24-2011, 05:17 AM
Find
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#14
RE: Anyone Need Help? (Thread #2)

AND SO IT DISPLAYS! Big Grin Thanks dood.. <3

Ba-da bing, ba-da boom.
07-24-2011, 05:24 AM
Find
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#15
RE: Anyone Need Help? (Thread #2)

I'm glad it helped Smile

[Image: 44917299.jpg]Dubstep <3
07-24-2011, 06:03 AM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#16
RE: Anyone Need Help? (Thread #2)

Kyle-

http://www.frictionalgames.com/forum/thr...l#pid83439

http://www.frictionalgames.com/forum/thr...l#pid83451

I am in desperate need of your help D:

I WILL PAY YOU TO BE MY SCRIPTING TEACHER! lol.

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

07-24-2011, 06:22 AM
Website Find
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#17
RE: Anyone Need Help? (Thread #2)

The best way to learn by is self-teaching.

[Image: 44917299.jpg]Dubstep <3
07-24-2011, 06:27 AM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#18
RE: Anyone Need Help? (Thread #2)

That seems to have been less than un-successful.

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

07-24-2011, 06:28 AM
Website Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#19
RE: Anyone Need Help? (Thread #2)

Xtron, please let me answer these. It's my thread. Tongue

JetlinerX, I'll build the whole script from scratch that will show that when the player unlocks a door, a monster is set active and once it hits the player, the credits start.

void OnStart()
{
    AddUseItemCallback("", "Key01", "Door", "Func01", true);
    AddEntityCollideCallback("Player", "MonsterName", "Func02", true, 1);
}
void Func01(string &in asItem, string &in asEntity)
{
    RemoveItem(asItem);
    SetSwingDoorLocked(asEntity, false, true);
    PlaySoundAtEntity("", "unlock_door.snt", asEntity, 0, false);
    SetEntityActive("MonsterName", true);
}
void Func02(string &in asParent, string &in asChild, int alState)
{
    SetPlayerHealth(100);
    GivePlayerDamage(100, "Claws", false, false);
    FadeOut(3);
    FadePlayerRollTo(90, 8, 12);
    MovePlayerHeadPos(0, 3, 0, 3, 2.5);
    AddTimer("", 2, Func03);
}
void Func03(string &in asTimer)
{
    StartCredits("18_amb.ogg", true, "Credits", "Text", 5);
}

This may or may not work, I haven't tested it. By all means, you should edit and change some parts to the script to work with your script.

(This post was last modified: 07-24-2011, 01:18 PM by Kyle.)
07-24-2011, 01:17 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#20
RE: Anyone Need Help? (Thread #2)

Hmmm Alright, I still was unable to get it working Sad

I put the story out, so maybe you can take a look at my scripts and edit them accordingly? If not, thats totally fine Smile

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

07-24-2011, 07:21 PM
Website Find




Users browsing this thread: 1 Guest(s)