English broke [ignore, was solved] - Kyzer - 09-23-2015
my english file broke as i put in a unlock door key, and i dont know why.
extra_english
Code: <LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">The year is 1794, and the month is November; a few months ago, in late September, you got an invitation to a royal party being held by Viscount Sir Kenvon. The invitation said to come alone, which wasn't a problem since you don't have any friends anyway. Besides, they would be serving the most exquisite delicasies and wines, so who could pass up that offer? You can play however you like, but it is SEVERELY recommended you have your Gamma setting set properly (right square not visible, it is usually 1)</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_servantnote1_Name">Notice of Absence (REWRITE!!!)</Entry>
<Entry Name="Note_servantnote1_Text">Needs to be re-writen (REWRITE!!!)</Entry>
<Entry Name="Note_prisonerescape_Name">The End</Entry>
<Entry Name="Note_prisonerescape_Text">I'm afraid this will be the end of me. No one that leaves this hell ever comes back, and I can hear the faint screams of agony through the stone halls. They always take another one of us after someone new comes in... and I'm the last one left. I was woken the other night from the screaming.. stabbing.. and the loud slam of the jailgate. I can still smell the blood...</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_prisondoorkey>Unlocks the jailgate</Entry>
<Entry Name="ItemName_prisondoorkey>Jailgate key</Entry>
</CATEGORY>
</LANGUAGE>
HPS
Code: /////////////////////////////////////////////////////////////
// Run when the map starts
void OnStart()
{
AddUseItemCallback("", "prisondoorkey", "prison_door1", "unlockdoor1", true);
}
/////////////////////////////////////////////////////////////
// Map functions
void unlockdoor1(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(asEntity, false, true);
PlaySoundAtEntity("", "unlock_door", asEntity, 0, false);
RemoveItem(asItem);
}
/////////////////////////////////////////////////////////////
// Run when player enters
void OnEnter()
{
}
/////////////////////////////////////////////////////////////
// Run when player leaves
void OnLeave()
{
}
The key works but all english is now broken.
?
oh uh, wait a second, i forgot to quote the english for the key
|