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


Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help doors wont show text
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#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
Cole Offline
Junior Member

Posts: 7
Threads: 1
Joined: Mar 2012
Reputation: 0
#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
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#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
Cole Offline
Junior Member

Posts: 7
Threads: 1
Joined: Mar 2012
Reputation: 0
#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
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#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
Website Find
DaAinGame Offline
Member

Posts: 90
Threads: 11
Joined: Mar 2012
Reputation: 4
#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
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#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
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#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
Website Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#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>

"What you think is irrelevant" - A character of our time

A Christmas Hunt
(This post was last modified: 03-30-2012, 01:32 PM by i3670.)
03-30-2012, 01:29 PM
Find
Dutton Offline
Member

Posts: 121
Threads: 3
Joined: Apr 2012
Reputation: 2
#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




Users browsing this thread: 1 Guest(s)