Frictional Games Forum (read-only)
[SOLVED] Bit of trouble with my exta_english.lang file. - 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: [SOLVED] Bit of trouble with my exta_english.lang file. (/thread-11140.html)



[SOLVED] Bit of trouble with my exta_english.lang file. - A Tricky Carnie - 11-02-2011

Hey everyone, I've been working on a new custom story. Now this exta_english.lang file USED to work, which means I probably screwed it up in the process of working on my CS.

Can'y seem to get it to look the way I want it to in this post, so I'll attach it instead.




RE: Bit of trouble with my exta_english.lang file. - GreyFox - 11-02-2011

How did that work before!?

Follow this structure

Code:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>
    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">Your Description</Entry>
    <CATEGORY Name="Journal,Examine,Item,Etc Choose one Here">
        <Entry Name="YourItemName">Name you want it to be called</Entry>
        <Entry Name="ItemDescription">Describe it for the inventory</Entry>
</CATEGORY>
</LANGUAGE>

Keep In Mind things change for example, If you want to look at a door, and have it say "Libary" you don't need a description of that, thats mainly for items in your inventory.

-Grey Fox




RE: Bit of trouble with my exta_english.lang file. - A Tricky Carnie - 11-02-2011

(11-02-2011, 10:46 PM)GreyFox Wrote: How did that work before!?

Follow this structure

Code:
    
    
    
        Your Description
    
        Name you want it to be called
        Describe it for the inventory

Keep In Mind things change for example, If you want to look at a door, and have it say "Libary" you don't need a description of that, thats mainly for items in your inventory.

-Grey Fox

Oh, it must have gotten rid of my <LANGUAGE>,<CATEGORY>,<Entry> stuff when I posted it, I'll update it so it works.




RE: Bit of trouble with my exta_english.lang file. - GreyFox - 11-03-2011

<Entry Name-"leveldoor8">

you put a dash instead of equals

<Entry Name="leveldoor8">

-Grey Fox



RE: Bit of trouble with my exta_english.lang file. - A Tricky Carnie - 11-03-2011

(11-03-2011, 01:03 AM)GreyFox Wrote: you put a dash instead of equals



-Grey Fox

Thanks.




RE: [SOLVED] Bit of trouble with my exta_english.lang file. - GreyFox - 11-03-2011

Yep. I used to do alot of stuff like that.

Hard to see those small mistakes sometimes. Especially when it's your own script.

Good Luck!

-Grey Fox