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
English broke [ignore, was solved]
Kyzer Offline
Junior Member

Posts: 17
Threads: 6
Joined: Sep 2015
Reputation: 0
#1
English broke [ignore, was solved]

my english file broke as i put in a unlock door key, and i dont know why.

extra_english
<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

/////////////////////////////////////////////////////////////
// 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
(This post was last modified: 09-23-2015, 02:17 AM by Kyzer.)
09-23-2015, 02:15 AM
Find




Users browsing this thread: 1 Guest(s)