Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help doors wont show text
Author Message
zombiehacker595 Offline
Member

Posts: 141
Joined: Mar 2012
Reputation: 3
Post: #1
doors wont show text

so i have got my level door working it is originally locked and i want it to say something when i click on it but what i have done wont work any help?
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
you wake up in your lovely mansion only to find a strange note that starts the horrors to come
</Entry>
<CATEGORY Name=“LevelDoors”>
<Entry Name =“LevelDoors1”>This door is locked!</Entry>
</CATEGORY>
</CATEGORY>
</LANGUAGE>
is anything wrong in this script the description works but the door says nothing?
03-30-2012 01:08 AM
Find all posts by this user Quote this message in a reply
Cole Offline
Junior Member

Posts: 7
Joined: Mar 2012
Reputation: 0
Post: #2
RE: doors wont show text

Your code:

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
you wake up in your lovely mansion only to find a strange note that starts the horrors to come
</Entry>
<CATEGORY Name=“LevelDoors”>
<Entry Name =“LevelDoors1”>This door is locked!</Entry>
</CATEGORY>
</CATEGORY>
</LANGUAGE>




My fixes:

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
you wake up in your lovely mansion only to find a strange note that starts the horrors to come
</Entry>
</CATEGORY> <-----You are missing this after that entry. The categorys need to be separated.
<CATEGORY Name=“LevelDoors”>
<Entry Name =“LevelDoors1”>This door is locked!</Entry>
</CATEGORY>
</CATEGORY> <------------You have 2 ending bracket categorys..delete one and tell me if it works.
</LANGUAGE>
(This post was last modified: 03-30-2012 01:17 AM by Cole.)
03-30-2012 01:16 AM
Find all posts by this user Quote this message in a reply
zombiehacker595 Offline
Member

Posts: 141
Joined: Mar 2012
Reputation: 3
Post: #3
RE: doors wont show text

(03-30-2012 01:16 AM)Cole Wrote:  Your code:

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
you wake up in your lovely mansion only to find a strange note that starts the horrors to come
</Entry>
<CATEGORY Name=“LevelDoors”>
<Entry Name =“LevelDoors1”>This door is locked!</Entry>
</CATEGORY>
</CATEGORY>
</LANGUAGE>




My fixes:

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
you wake up in your lovely mansion only to find a strange note that starts the horrors to come
</Entry>
</CATEGORY> <-----You are missing this after that entry. The categorys need to be separated.
<CATEGORY Name=“LevelDoors”>
<Entry Name =“LevelDoors1”>This door is locked!</Entry>
</CATEGORY>
</CATEGORY> <------------You have 2 ending bracket categorys..delete one and tell me if it works.
</LANGUAGE>
still doesnt work i must have done something wrong somewhere
03-30-2012 01:31 AM
Find all posts by this user Quote this message in a reply
Cole Offline
Junior Member

Posts: 7
Joined: Mar 2012
Reputation: 0
Post: #4
RE: doors wont show text

Well mine didn't work until i put it in the right spot..mine is Amnesia>custom stories>test2

In other words mine is not with my .hps files or my .map files if that's where your's is.
(This post was last modified: 03-30-2012 01:43 AM by Cole.)
03-30-2012 01:43 AM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,474
Joined: Jul 2011
Reputation: 234
Post: #5
RE: doors wont show text

Special characters aren't part of the syntax. Fix your quotation marks.

Tutorials: From Noob to Pro
03-30-2012 01:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DaAinGame Offline
Member

Posts: 90
Joined: Mar 2012
Reputation: 4
Post: #6
RE: doors wont show text

I know that when I first loaded my Custom Story none of these appeared. If you haven't already, also try reloading your custom story, or Amnesia altogether. Then again I don't know if that was just a problem on my side or if it has something to do with the .lang refreshing or something.

Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
03-30-2012 03:41 AM
Find all posts by this user Quote this message in a reply
zombiehacker595 Offline
Member

Posts: 141
Joined: Mar 2012
Reputation: 3
Post: #7
RE: doors wont show text

(03-30-2012 01:45 AM)Your Computer Wrote:  Special characters aren't part of the syntax. Fix your quotation marks.

um i dont quite get what you mean which quotation marks need fixing?
03-30-2012 06:29 AM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,474
Joined: Jul 2011
Reputation: 234
Post: #8
RE: doors wont show text

(03-30-2012 06:29 AM)zombiehacker595 Wrote:  um i dont quite get what you mean which quotation marks need fixing?

These are proper quotation marks: "".

These are not: “”.

Tutorials: From Noob to Pro
03-30-2012 07:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
i3670 Offline
Posting Freak

Posts: 871
Joined: Oct 2011
Reputation: 19
Post: #9
RE: doors wont show text

If it's a level door the category name has to be "Levels" and not "LevelDoors"

Like this:
<CATEGORY Name="Levels">
<Entry Name="Study_Door">Study</Entry>
<Entry Name="Storage_Door">Storage</Entry>
</CATEGORY>

Should you live to live or live to live?

Real AMFP Pig Mask
(This post was last modified: 03-30-2012 01:32 PM by i3670.)
03-30-2012 01:29 PM
Find all posts by this user Quote this message in a reply
Dutton Offline
Member

Posts: 121
Joined: Apr 2012
Reputation: 2
Post: #10
RE: doors wont show text

Speaking of Categorys. I'm quite confused about them. I don't really understand if every single category you type, has to be something special to work? for example the level doors. as you said:

Quote:"If it's a level door the category name has to be "Levels" and not "LevelDoors"
Like this:
<CATEGORY Name="Levels">
<Entry Name="Study_Door">Study</Entry>
<Entry Name="Storage_Door">Storage</Entry>
</CATEGORY>


How do you exactly know when it has to be a specific category name?

[Image: 15isy6C]
04-21-2012 01:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)