03-11-2012, 06:15 PM
hi there!
im trying to make a amnesia custom story.
But my key dosen't unlock my specified door, ( the key's name and description works )
And my note is blank ( nothing there O.O )
Any solutions?
pp1.hps
extra english.lang
im trying to make a amnesia custom story.
But my key dosen't unlock my specified door, ( the key's name and description works )
And my note is blank ( nothing there O.O )
Any solutions?
pp1.hps
PHP Code:
///////////////
//
void OnStart()
{
AddUseItemCallback("UseKeyOnDoor", "LOL", "DoorLocked1", "UseKeyOnDoor", true);
}
void UseKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("DoorLocked1", false, true);
PlaySoundAtEntity("unlocked", "unlock_door", asEntity, 0.0f, false);
RemoveItem("LOL");
}
extra english.lang
PHP Code:
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name= "CustomStoryMain">
<Entry Name= "Description">This is my very first custom story for amnesia, i hope people enjoy, and no im not good at making these.. so thats why it probably isnt so good.. and if PewDiePie plays this, that would mean alot to me, and im gonna try not to make it specific for you.. :) BTW it might not be scary.. who knows.. :O</Entry>
</CATEGORY>
<CATEGORY Name= "Journal">
<Entry Name="Note01_Name">Welcome to your end</Entry>
<Entry Name="Note01_Text">LOL</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_LOL">Old Key</Entry>
<Entry Name="ItemDesc_LOL">Is this the key to that door?</Entry>
</CATEGORY>
</LANGUAGE>