Frictional Games Forum (read-only)

Full Version: Problem with scripting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
Thanks Friend It worked!
(07-21-2017, 04:43 PM)AmnesiaFan46 Wrote: [ -> ]Thanks Friend It worked!
Glad to help!!Big Grin