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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with text on doors and inventory
Hauken Offline
Member

Posts: 62
Threads: 19
Joined: Jul 2012
Reputation: 1
#1
Problem with text on doors and inventory

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..

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


Attached Files
.png   Untitled.png (Size: 26.77 KB / Downloads: 84)
(This post was last modified: 05-11-2013, 07:39 PM by Hauken.)
05-11-2013, 07:07 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Problem with text on doors and inventory

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

Tutorials: From Noob to Pro
05-11-2013, 07:34 PM
Website Find
Hauken Offline
Member

Posts: 62
Threads: 19
Joined: Jul 2012
Reputation: 1
#3
RE: Problem with text on doors and inventory

*brofist*
05-11-2013, 07:39 PM
Find




Users browsing this thread: 1 Guest(s)