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
extra_english.lang wont work.
Lewk Offline
Member

Posts: 63
Threads: 6
Joined: Sep 2011
Reputation: 3
#1
extra_english.lang wont work.

for some reason my extra_english.lang file isnt working. Like, the level literally is not accepting it. I've tried other english.lang (that worked with other custom stories) and applied it to the map but still doesnt work.

this is where it is, right outside my maps folder:

amnesia the dark descent/custom stories/mystory

help?

p.s. sorry if this is not the right place to post this.


EDIT: damn, this thread is in the wrong place. meant to post this in the custom stories section. lol

EDIT2: Actually, nevermind. I guess this is the right place.

EDIT3: Nope, it's the wrong place. Thread got moved.
(This post was last modified: 09-02-2011, 02:22 PM by Lewk.)
09-02-2011, 12:57 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: extra_english.lang wont work.

More information is required: What are the contents of the extra_english.lang and what are you trying to do exactly?

Tutorials: From Noob to Pro
(This post was last modified: 09-02-2011, 01:44 PM by Your Computer.)
09-02-2011, 01:42 PM
Website Find
Lewk Offline
Member

Posts: 63
Threads: 6
Joined: Sep 2011
Reputation: 3
#3
RE: extra_english.lang wont work.

(09-02-2011, 01:42 PM)Your Computer Wrote: More information is required: What are the contents of the extra_english.lang and what are you trying to do exactly?

<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
</ENTRY Name="Description"></Entry>
</CATEGORY>

<CATEGORY Name="Journal">

<Entry Name="Quest_WalkQuest_Text">This place is creepy as hell</Entry>

</CATEGORY>
</LANGUAGE>




Thats the whole thing. Just trying to get a memento to work. It gets triggered, but there is no text. And everything else I've tried with the extra_english.lang has not worked. That's why I'm starting to assume it's got something to do with the level maybe, because I even tested the level with another extra_english.lang, (like I said in my previous post, this other one had come from a custom story in which it was working) and changed the subname of a note in the editor so that it would read something. Still didn't work.

Also, thanks for replying. I know this is a dumb problem, but I really have no idea why its not working. If you can find any errors in my extra_english.lang, that would be helpful, but I would still be doubtful of it working.
(This post was last modified: 09-03-2011, 02:54 PM by Lewk.)
09-02-2011, 02:20 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: extra_english.lang wont work.

Sounds like you have a note entity that the player interacts with and automatically tries to pull up the entry in the .lang file. Could you tell me what you typed in for NoteText (located under the Entity tab) for the note entity?

Also, this
</ENTRY Name="Description"></Entry>

Should be
<Entry Name="Description"></Entry>

Tutorials: From Noob to Pro
09-02-2011, 03:00 PM
Website Find
Lewk Offline
Member

Posts: 63
Threads: 6
Joined: Sep 2011
Reputation: 3
#5
RE: extra_english.lang wont work.

(09-02-2011, 03:00 PM)Your Computer Wrote: Sounds like you have a note entity that the player interacts with and automatically tries to pull up the entry in the .lang file. Could you tell me what you typed in for NoteText (located under the Entity tab) for the note entity?

Uhm, sorry? this is a memento, not a note? Huh
(This post was last modified: 09-03-2011, 02:54 PM by Lewk.)
09-02-2011, 05:04 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: extra_english.lang wont work.

(09-02-2011, 05:04 PM)Lewk Wrote: Uhm, sorry? this is a momento, not a note? Huh

Do you have AddQuest("", "WalkQuest"); anywhere in your script?

Tutorials: From Noob to Pro
(This post was last modified: 09-02-2011, 05:18 PM by Your Computer.)
09-02-2011, 05:18 PM
Website Find
Lewk Offline
Member

Posts: 63
Threads: 6
Joined: Sep 2011
Reputation: 3
#7
RE: extra_english.lang wont work.

(09-02-2011, 05:18 PM)Your Computer Wrote:
(09-02-2011, 05:04 PM)Lewk Wrote: Uhm, sorry? this is a momento, not a note? Huh

Do you have AddQuest("", "WalkQuest"); anywhere in your script?

Yes.
09-02-2011, 06:26 PM
Find
Lewk Offline
Member

Posts: 63
Threads: 6
Joined: Sep 2011
Reputation: 3
#8
RE: extra_english.lang wont work.

BUMP.


Is there no answer to my problem? Sad
09-02-2011, 09:04 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#9
RE: extra_english.lang wont work.

(09-02-2011, 09:04 PM)Lewk Wrote: Is there no answer to my problem? Sad

Post your code.

Tutorials: From Noob to Pro
09-03-2011, 07:02 AM
Website Find
Lewk Offline
Member

Posts: 63
Threads: 6
Joined: Sep 2011
Reputation: 3
#10
RE: extra_english.lang wont work.

(09-03-2011, 07:02 AM)Your Computer Wrote: Post your code.


Alright.




void OnStart()
{
AddEntityCollideCallback("Player", "AreaFallDeath", "CollideFallDeath", false, 1); //Kill player instantly if he falls down when outside
AddEntityCollideCallback("Player", "Walk_Quest_Area", "GetWalkQuest", true, 1);
AddEntityCollideCallback("Player", "monster_1", "MonsterFunc1", true, 1);
AddEntityCollideCallback("Player", "Walk_Complete_Area", "FinishWalkQuest", true, 1);


//Add the Lantern and 10 Tinderboxes, always good to have light!

{
GiveItemFromFile("lantern", "lantern.ent");

for(int i=0;i<20;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
}



}


void OnLeave()
{

}


void OnEnter()
{

PlayMusic("Kammarheit_1", true, 0.7, 5, 0, true);

}




///////////////////////
//BEGIN FALL TO DEATH//
void CollideFallDeath(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("fallaaaaaah", "11_fall", "Player", 0, false);
PlaySoundAtEntity("fallaaaaaah2", "scare_male_terrified5", "Player", 0, false);

FadeOut(0.3);

AddTimer("death1", 0.5f, "TimerFallDeath");
AddTimer("death2", 1, "TimerFallDeath");
}
void TimerFallDeath(string &in asTimer)
{
if(asTimer == "death1"){
PlaySoundAtEntity("bump1", "player_bodyfall", "Player", 0, false);
return;
}

DisableDeathStartSound();
AddPlayerHealth(-200);

PlaySoundAtEntity("pain", "player_falldamage_max", "Player", 0, false);
PlaySoundAtEntity("bump2", "player_bodyfall", "Player", 0, false);
}
////
/////////////////////




//////BEGIN MONSTER SPAWN
void MonsterFunc1(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity ("", "10_close_door", "Player", 0, false);
SetEntityActive("servant_grunt", true);
}

void MonsterFunc2(string &in asParent, string &in asChild, int alState)

{
SetEntityActive("servant_grunt", false);
}
///////END MONSTER SPAWN



////////PLAYER WRITES NOTE
void GetWalkQuest(string &in asParent, string &in asChild, int alState)
{
AddQuest("walkquest", "WalkQuest");
}

void FinishWalkQuest(string &in asParent, string &in asChild, int alState)
{
CompleteQuest("walkquest", "WalkQuest");
}
///////////////////
09-03-2011, 11:55 AM
Find




Users browsing this thread: 2 Guest(s)