Frictional Games Forum (read-only)
[REQUEST] Problem with scripting - 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)
+--- Thread: [REQUEST] Problem with scripting (/thread-53829.html)



Problem with scripting - AmnesiaFan46 - 07-21-2017

Hello,
I Started working on my first ever custom story and i have been having a problem with key naming.
This is what i put in the Extra_english.lang file:
<LANGUAGE>
<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"></Entry>

</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name = "DoorLock">This door is locked</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_key1">The tag reads Daniel's room</Entry>
<Entry Name="ItemName_key1">Daniel's Room key</Entry>
</CATEGORY>

<LANGUAGE>

As you can see i put the Description and the name properly but when i play the custom story the name and the description do not appear can someone tell me what i'm doing wrong here?
Thank you.


RE: Problem with scripting - DanielRand47 - 07-21-2017

Hello friend. Big Grin Your issue is that you did not close the file properly. It should be closed like this:
<LANGUAGE>
Your text.
</LANGUAGE>

If it still doesn't show up, check your cfg file syntax and make sure it's formatted properly. Usually it's from a simple syntax error or not an accurate name.

Since this is your first cs ever, I do offer consulting for those looking to create their own. I offer consulting mainly on story and event planning. Nice to have you here.


RE: Problem with scripting - AmnesiaFan46 - 07-21-2017

Thanks Friend It worked!


RE: Problem with scripting - DanielRand47 - 07-21-2017

(07-21-2017, 04:43 PM)AmnesiaFan46 Wrote: Thanks Friend It worked!
Glad to help!!Big Grin