<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is where I test my maps.</Entry>
</CATEGORY>
<CATEGORY Name ="Inventory">
<Entry Name="ItemDesc_stone_hammer_1">This might just break the padlock!</Entry>
<Entry Name="ItemName_stone_hammer_1">Stone hammer</Entry>
</CATEGORY>
<CATEGORY Name ="Journal">
<Entry Name="Quest_RockPadlock_Text">The padlock looks rusty enough to be easily broken.</Entry>
</CATEGORY>
Try removing capital letters on the Quest_RockPadlock_Text in the .lang file. Why? because you didn't use capital letters in the .hps! Tell me if it worked
(This post was last modified: 10-08-2012, 11:02 PM by 4WalledKid.)
It must be a .lang problem, the script adds a memento correctly. THere should be something from there that escapes from my sight.
Ok: You have it wrong. Here's the structure of the script:
AddQuest(string& asName, string& asNameAndTextEntry);
And here is what you have:
("rockpadlock", "RockPadlock");
So, you should change it to this:
void GetRockPadlockQuest(string &in asParent, string &in asChild, int alState)
{
AddQuest ("RockPadlock", "Journal");
}
<Entry Name="Quest_RockPadlock_Text">The padlock looks rusty enough to be easily broken.</Entry>
This may work.
THE OTHERWORLD (WIP)
Aculy iz dolan.
(This post was last modified: 10-09-2012, 06:47 AM by The chaser.)
If you're starting your map in dev_mode, the .lang file won't load. You can't read notes, mementos etc..
Try to start it the classic way, via main menu.
One thing I feel is being overlooked is that there is no /Language at the end of the file; if that truly is the case and not just an error copy/pasting it into the page, then try this:
Spoiler below!
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is where I test my maps.</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_stone_hammer_1">Stone Hammer</Entry>
<Entry Name="ItemDesc_stone_hammer_1">This might just break the padlock!</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Quest_RockPadlock_Text">The padlock looks rusty enough to be easily broken.</Entry>
</CATEGORY>
</LANGUAGE>
The lang file is fine aside from that; any further error can be attributed to mismatched names in the .hps file.
The only thing wrong with the LANG file is that it lacks a closing tag for LANGUAGE. As for the script, the use of AddQuest is correct. If the user was playing in developer mode, they should consider testing the story with a non-developer profile.
(10-09-2012, 06:52 AM)andyrockin123 Wrote: One thing I feel is being overlooked is that there is no /Language at the end of the file; if that truly is the case and not just an error copy/pasting it into the page, then try this:
Spoiler below!
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is where I test my maps.</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_stone_hammer_1">Stone Hammer</Entry>
<Entry Name="ItemDesc_stone_hammer_1">This might just break the padlock!</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Quest_RockPadlock_Text">The padlock looks rusty enough to be easily broken.</Entry>
</CATEGORY>
</LANGUAGE>
The lang file is fine aside from that; any further error can be attributed to mismatched names in the .hps file.
Hope that helped...
That worked just perfectly! Thank you!
Spoiler below!
And thank you all for donating your time to help my problem!