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 not working
MisterJ Offline
Junior Member

Posts: 3
Threads: 2
Joined: Jul 2012
Reputation: 0
#1
Extra_english not working

So, my problem is that no matter what I put in extra_english.lang , it never shows up in the game. Case in point, I'm trying to have a message show up when the player reaches a locked door. The in-game script seems fine, but nothing is happening!

Help!!

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">in progress.</Entry>
</CATEGORY>

<CATEGORY Name=“Messages”>

<Entry Name =“Stairway Door”>It's far too dark, I'll break my neck on the stairs - Aunt Imelda used to keep a lantern in the cellar.</Entry>

</CATEGORY>

</LANGUAGE>
12-16-2012, 01:52 PM
Find
xxxxxxxxxxxxxxxx Away
Posting Freak

Posts: 935
Threads: 0
Joined: Jun 2012
Reputation: 54
#2
RE: Extra_english not working

Hmm...maybe spaces in entry names are not allowed? Just a wild guess, but try changing "Stairway Door" to "StairwayDoor" both in the .lang file and in your ingame scripts.

Apart from that I don't see anything wrong...maybe you should post your ingame script too, just to be safe. Use the insert code button to make it easier to read and copy for others! Smile
(This post was last modified: 12-16-2012, 02:05 PM by xxxxxxxxxxxxxxxx.)
12-16-2012, 02:05 PM
Find
MisterJ Offline
Junior Member

Posts: 3
Threads: 2
Joined: Jul 2012
Reputation: 0
#3
RE: Extra_english not working

Hey there, here's my code just to make sure; thanks for the help already!

void DoorLockedPlayer(string &in entity)


{
    if(GetSwingDoorLocked("EXAMPLE_DOOR") == true)
    {

        SetMessage("Messages", "Stairway Door", 0);

    }
12-16-2012, 02:12 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Extra_english not working

Don't use spaces in your Lang when you are writing names of objects and messages... Instead use _
So it will be: "Stairway_Door", or you can just write "StairwayDoor",
I don't know if this will solve it, but try

Trying is the first step to success.
12-16-2012, 05:58 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Extra_english not working

The issue is likely to be the special quotation marks. Special quotation marks are not quotation marks.

Tutorials: From Noob to Pro
12-16-2012, 06:00 PM
Website Find




Users browsing this thread: 3 Guest(s)