Frictional Games Forum

Full Version: [SOLVED!] Custom story wont show up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(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?
(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>
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)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, 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
Pages: 1 2