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
Locked Door Message not Working, Help Needed. (Awarding Virtual Cookie)
Zaffre Away
Posting Freak

Posts: 867
Threads: 50
Joined: Jul 2012
Reputation: 30
#5
RE: Problem with "extra_english.lang"

(09-03-2012, 02:26 AM)Frodos Wrote: I used your technique Zaffre, it didn't seem to work for me, I tried some others they didn't work either.

This is what I have in my extra_english.lang file:






<LANGUAGE>
<CATEGORY Name=“Messages”>
<Entry Name =“lockeddoor1”>The door is locked from the outside, maybe there's another way out of here.</Entry>
</CATEGORY>
</LANGUAGE>




This is what I have in the hps file:


void DoorLockedPlayer(string &in entity)


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

SetMessage("Messages", "lockeddoor1", 0);

}
}


I also set the name of the door and etc in the level editor

Do you happen to see the problem?
Yes. In the entry name, you have a space between the word "name" and the quotations. It should be like this. Also, I've bolded the part with the error.

<LANGUAGE>
<CATEGORY Name=“Messages”>
<Entry Name=“lockeddoor1”>The door is locked from the outside, maybe there's another way out of here.</Entry>
</CATEGORY>
</LANGUAGE>

As of September 2nd, 2014, I've left the Frictional forums. Check my profile for more details.
09-03-2012, 02:53 AM
Find


Messages In This Thread
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 01:58 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 02:26 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 02:53 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 03:56 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:22 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 04:29 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:20 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:05 PM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 11:11 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:13 PM



Users browsing this thread: 1 Guest(s)