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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Problem with scripting
Author Message
AmnesiaFan46 Offline
Junior Member

Posts: 2
Joined: Jul 2017
Reputation: 0
Post: #1
Problem with scripting

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.
(This post was last modified: 07-21-2017 03:54 PM by AmnesiaFan46.)
07-21-2017 03:53 PM
Find all posts by this user Quote this message in a reply
DanielRand47 Away
Member

Posts: 111
Joined: Mar 2012
Reputation: 3
Post: #2
RE: Problem with scripting

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.
(This post was last modified: 07-21-2017 04:31 PM by DanielRand47.)
07-21-2017 04:29 PM
Find all posts by this user Quote this message in a reply
AmnesiaFan46 Offline
Junior Member

Posts: 2
Joined: Jul 2017
Reputation: 0
Post: #3
RE: Problem with scripting

Thanks Friend It worked!
07-21-2017 04:43 PM
Find all posts by this user Quote this message in a reply
DanielRand47 Away
Member

Posts: 111
Joined: Mar 2012
Reputation: 3
Post: #4
RE: Problem with scripting

(07-21-2017 04:43 PM)AmnesiaFan46 Wrote:  Thanks Friend It worked!
Glad to help!!Big Grin
07-21-2017 04:55 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)