Frictional Games Forum (read-only)
[LANG] doors wont show text - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LANG] doors wont show text (/thread-14346.html)

Pages: 1 2


doors wont show text - zombiehacker595 - 03-30-2012

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?




RE: doors wont show text - Cole - 03-30-2012

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>


RE: doors wont show text - zombiehacker595 - 03-30-2012

(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




RE: doors wont show text - Cole - 03-30-2012

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.


RE: doors wont show text - Your Computer - 03-30-2012

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


RE: doors wont show text - DaAinGame - 03-30-2012

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.



RE: doors wont show text - zombiehacker595 - 03-30-2012

(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?


RE: doors wont show text - Your Computer - 03-30-2012

(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: “”.


RE: doors wont show text - i3670 - 03-30-2012

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>



RE: doors wont show text - Dutton - 04-21-2012

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?