Frictional Games Forum (read-only)
Problem with text on doors and inventory - 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: Problem with text on doors and inventory (/thread-21463.html)



Problem with text on doors and inventory - Hauken - 05-11-2013

Right so before I get to the big thing im gonna start of with simple questions to see if I can solve it.

Now,

If i want text on doors (ingame text on door, example: "Storage Room"), as in swingdoors and level doors all it needs is a name on the entity, in subname which corresponds with the entry names in the lang files?

As goes the same for inventory entities right?

In my situation its just not working anymore (it was working before), is it a bug or something?

So what i have now is a script that allows a key to be used on a locked door with sounds playing this is working however the text is not showing up anymore its just all blank, same goes for the doors..

Any excperiences with this?

I've been working on this for over 2 hours now and I can feel my patient is running over soon, i've been comparing everything to tutorials and stuff and its all correct..

Code:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>
    <CATEGORY Name="CustomStoryMain">
    <Entry Name="Description">The String</Entry>
    </CATEGORY>
    
    <CATEGORY Name="Levels">
        <Entry Name="ExitDoor">Storage</Entry>
        <Entry Name="ExitDoor2">Main Hall</Entry>
    </CATEGORY>
    
    <CATEGORY Name="Messages">
        <Entry Name="Exitdoorhall">The door is locked tight, with a key I might get it open</Entry>
        <Entry Name="prisontell">The door is sealed from behind</Entry>
        <Entry Name="doorslammertell">The door wont budge, it's locked from the other side!</Entry>
        <Entry Name="doorslammer2tell">The door wont budge, it's locked from the other side!</Entry>
    </CATEGORY>
    
    <CATEGORY Name="Journal">
        <Entry Name="Note_Letter01_Name">Warden's Pasient Log</Entry>
        <Entry Name="Note_Letter01_Text">James Dunwall [br][br] Andrea trolol</Entry>
    
    <CATEGORY Name="Inventory">
        <Entry Name="ItemName_keygen1">Storage Key</Entry>
        <Entry Name="ItemDesc_keygen1">"This key gives access to the Storage area in the castle"</Entry>
    </CATEGORY>
</LANGUAGE>



RE: Problem with text on doors and inventory - Your Computer - 05-11-2013

The Journal category is not closed. Any syntax error in the lang file will cause the entire thing to fail.


RE: Problem with text on doors and inventory - Hauken - 05-11-2013

*brofist*