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
Request Problem with scripting
AmnesiaFan46 Offline
Junior Member

Posts: 2
Threads: 1
Joined: Jul 2017
Reputation: 0
#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 Reply
DanielRand47 Away
Member

Posts: 109
Threads: 16
Joined: Mar 2012
Reputation: 3
#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 Reply
AmnesiaFan46 Offline
Junior Member

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

Thanks Friend It worked!
07-21-2017, 04:43 PM
Find Reply
DanielRand47 Away
Member

Posts: 109
Threads: 16
Joined: Mar 2012
Reputation: 3
#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 Reply




Users browsing this thread: 1 Guest(s)