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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED!] Custom story wont show up
Author Message
Xanthos Offline
Senior Member

Posts: 318
Joined: Mar 2012
Reputation: 8
Post: #11
RE: Custom story wont show up

(05-06-2012 12:18 PM)HeavenSh0ck Wrote:  
(05-06-2012 12:15 PM)Xanthos Wrote:  AddUseItemCallBack("", "celldoorkey", "celldoor", "UsedKeyOnDoor", true);


That CallBack B needs to be lower case.
That does it, just one thing - the custom story description won't show... Do you have a fix for this?
The script usually doesn't affect the extra lang files.
Can you show me the extra_english.lang file again?

(This post was last modified: 05-06-2012 12:24 PM by Xanthos.)
05-06-2012 12:22 PM
Find all posts by this user Quote this message in a reply
HeavenSh0ck Offline
Junior Member

Posts: 6
Joined: May 2012
Reputation: 0
Post: #12
RE: Custom story wont show up

(05-06-2012 12:22 PM)Xanthos Wrote:  
(05-06-2012 12:18 PM)HeavenSh0ck Wrote:  
(05-06-2012 12:15 PM)Xanthos Wrote:  AddUseItemCallBack("", "celldoorkey", "celldoor", "UsedKeyOnDoor", true);


That CallBack B needs to be lower case.
That does it, just one thing - the custom story description won't show... Do you have a fix for this?
The script usually doesn't affect the extra lang files.
Can you show me the extra_english.lang file again?

<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="The Castle of The Evil">
<Entry Name="Description">You wake up inside a jail cell, you can't remember how you got inside. You don't even remember your name. As you explore the Castle of the Evil, things start to slowly get back to you.</Entry>
</CATEGORY>
<CATEGORY Name ="Inventory">
<Entry Name="ItemDesc_celldoorkey">"This must open the cell door."</Entry>
<Entry Name="ItemName_celldoorkey">Cell Door Key</Entry>

</CATEGORY>
</LANGUAGE>
05-06-2012 12:31 PM
Find all posts by this user Quote this message in a reply
Xanthos Offline
Senior Member

Posts: 318
Joined: Mar 2012
Reputation: 8
Post: #13
RE: Custom story wont show up

I found your problem.

<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You wake up inside a jail cell, you can't remember how you got inside. You don't even remember your name. As you explore the Castle of the Evil, things start to slowly get back to you.</Entry>
</CATEGORY>
<CATEGORY Name ="Inventory">
<Entry Name="ItemDesc_celldoorkey">"This must open the cell door."</Entry>
<Entry Name="ItemName_celldoorkey">Cell Door Key</Entry>

</CATEGORY>
</LANGUAGE>

05-06-2012 12:37 PM
Find all posts by this user Quote this message in a reply
HeavenSh0ck Offline
Junior Member

Posts: 6
Joined: May 2012
Reputation: 0
Post: #14
RE: Custom story wont show up

(05-06-2012 12:37 PM)Xanthos Wrote:  I found your problem.





You wake up inside a jail cell, you can't remember how you got inside. You don't even remember your name. As you explore the Castle of the Evil, things start to slowly get back to you.


"This must open the cell door."
Cell Door Key

Yet again, you save the day - can I add you on Skype if you have one... I might need a lot further assistance in this ofcourse if you have the patience to help me but anyway, I can't thank you enough. :-)
05-06-2012 12:47 PM
Find all posts by this user Quote this message in a reply
Cranky Old Man Offline
Posting Freak

Posts: 922
Joined: Apr 2012
Reputation: 37
Post: #15
RE: Custom story wont show up

(05-06-2012 11:55 AM)Xanthos Wrote:  How do you know all of this if you don't make custom stories? XD
I do make them - I just haven't released anything yet. Smile

Noob scripting tutorial: From Noob to Pro

05-06-2012 12:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 




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