Frictional Games Forum (read-only)
[LANG] Dont know whats wrong - 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] Dont know whats wrong (/thread-25098.html)



Dont know whats wrong - MacKetchup - 04-18-2014

<LANGUAGE>
<RESOURCES/>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
Welcome to my school project. Hope you enjoy this map since it is a bit spooky</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="OneKey">A Key
</Entry>
<Entry Name="OneKey">It's for unlocking a door.
</Entry>

</CATEGORY>
</LANGUAGE>

My key doesn't have any text ingame. What is the problem?

Thanks on beforehand


RE: Dont know whats wrong - PutraenusAlivius - 04-18-2014

Well you got it wrong. For the name of the item, it's:
Code:
<Entry Name="ItemName_ITEM_NAME">Item name/Entry>

For the description, it's:
Code:
<Entry Name="ItemDesc_ITEM_DESC">Item description</Entry>



RE: Dont know whats wrong - Romulator - 04-18-2014

I also think your resources up the top is wrong.


RE: Dont know whats wrong - MacKetchup - 04-18-2014

(04-18-2014, 02:07 PM)SomethingRidiculous Wrote: Well you got it wrong. For the name of the item, it's:
Code:
<Entry Name="ItemName_ITEM_NAME">Item name/Entry>

For the description, it's:
Code:
<Entry Name="ItemDesc_ITEM_DESC">Item description</Entry>

How am i suppose to write it?


RE: Dont know whats wrong - PutraenusAlivius - 04-18-2014

(04-18-2014, 02:37 PM)MacKetchup Wrote:
(04-18-2014, 02:07 PM)SomethingRidiculous Wrote: Well you got it wrong. For the name of the item, it's:
Code:
<Entry Name="ItemName_ITEM_NAME">Item name/Entry>

For the description, it's:
Code:
<Entry Name="ItemDesc_ITEM_DESC">Item description</Entry>

How am i suppose to write it?
PHP Code:
<CATEGORY Name="Inventory"
<
Entry Name="ItemName_OneKey">A Key</Entry>
<
Entry Name="ItemDesc_OneKey">It's for unlocking a door.</Entry> 



RE: Dont know whats wrong - MacKetchup - 04-18-2014

(04-18-2014, 02:38 PM)SomethingRidiculous Wrote:
(04-18-2014, 02:37 PM)MacKetchup Wrote:
(04-18-2014, 02:07 PM)SomethingRidiculous Wrote: Well you got it wrong. For the name of the item, it's:
Code:
<Entry Name="ItemName_ITEM_NAME">Item name/Entry>

For the description, it's:
Code:
<Entry Name="ItemDesc_ITEM_DESC">Item description</Entry>

How am i suppose to write it?
PHP Code:
<CATEGORY Name="Inventory"
<
Entry Name="ItemName_OneKey">A Key</Entry>
<
Entry Name="ItemDesc_OneKey">It's for unlocking a door.</Entry> 

You sir have owned yourself a rep

Thanks