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
CoolGuyZ65 TC help thread
CoolGuyZ65 Offline
Junior Member

Posts: 10
Threads: 1
Joined: Jan 2012
Reputation: 0
#15
RE: CoolGuyZ65 TC help thread

I have a new problem with my basement map and the key not unlocking the storage door here is my hps and lang please help.

////////////////////////////
// Run first time starting map
void OnStart()
{
    AddUseItemCallback("", "Storage_Key", "storage_1", "UseKeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)

{
    SetLevelDoorLocked("storage_1", false);
    PlaySoundAtEntity("", "unlock_door", "storage_1", 0, false);
    RemoveItem("Storage_Key");
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

[<LANGUAGE>
  <RESOURCES>
  </RESOURCES>
  <CATEGORY Name="CustomStoryMain">
    <Entry Name="Description">Escape The Curse!</Entry>
  </CATEGORY>
  <CATEGORY Name="Inventory">
    <Entry Name="ItemName_House Key">House Key</Entry>
    <Entry Name="ItemDesc_House Key">Key to my Study Door</Entry>
    <Entry Name="ItemName_Basement Key">Basement Key</Entry>
    <Entry Name="ItemDesc_Basement Key">Key to my Basement</Entry>
    <Entry Name="ItemName_Storage Key">Storage Key</Entry>
    <Entry Name="ItemDesc_Storage Key">Key to the Storage</Entry>
    <Entry Name="ItemDesc_Glowstick">Thank God I brought this with me. I have to press $ButLantern to turn it on, and $ButLantern to turn it off again. It's electric, so it's powered by batteries.</Entry>
    <Entry Name="ItemName_Glowstick">Glowstick</Entry>
    <Entry Name="ItemName_Battery">Battery</Entry>
    <Entry Name="ItemDesc_Battery">Battery for my Glowstick.</Entry>
  </CATEGORY>
  <CATEGORY Name="PreMenu">
    <Entry Name="WelcomeMessage01">Welcome to The Curse! This Total Conversion mod is about a simple man who likes to study but one day you visit your neighbour and find a terrifying secret about him.</Entry>
    <Entry Name="WelcomeMessage02">As you visit your neighbour you wonder why his door is open so you go inside to see if he is okay but you should have really just walked away.</Entry>
    <Entry Name="WelcomeMessage03">Like always, any Amnesia total conversion is best played at a low gamma. Please take this opportunity to change your screens brightness and contrast.</Entry>
    <Entry Name="WelcomeMessage04">Please change your gamma to a setting you feel comfortable with.</Entry>
    <Entry Name="WelcomeMessage05">That's all you gotta do now enjoy playing The Curse!</Entry>
  </CATEGORY>
  <CATEGORY Name="Ending">
    <Entry Name="StartCredits">The Curse[br]Made By:XxWestKillzXx[br]Thanks To:XxRoCkBaNdMaNxX and Statyk for helping with the scripting/models/sounds [br]Models: [br]Glowstick By Statyk [br]Sounds: [br]Glowstick By XxRoCkBaNdMaNxX [br]Thanks To: Frictional Games for Amnesia.Hope You Enjoyed Playing [br]</Entry>
  </CATEGORY>
  <CATEGORY Name="Levels">
    <Entry Name="Basement">Basement</Entry>
    <Entry Name="Outside">Outside</Entry>
  </CATEGORY>
  <CATEGORY Name="Messages">
    <Entry Name="A">I need my keys I think I dropped them in the Storage.</Entry>
  </CATEGORY>
  <CATEGORY Name="Journal">
    <Entry Name="Quest_LockedLvL_Text">Damn I must have lost my keys yesterday in the storage...I better go get them.</Entry>
  </CATEGORY>
</LANGUAGE>
01-16-2012, 12:06 AM
Find


Messages In This Thread
CoolGuyZ65 TC help thread - by CoolGuyZ65 - 01-15-2012, 02:50 AM
RE: My TC help thread - by RawkBandMan - 01-15-2012, 02:52 AM
RE: My TC help thread - by Your Computer - 01-15-2012, 02:57 AM
RE: My TC help thread - by CoolGuyZ65 - 01-15-2012, 03:03 AM
RE: My TC help thread - by flamez3 - 01-15-2012, 02:58 AM
RE: My TC help thread - by Your Computer - 01-15-2012, 03:09 AM
RE: My TC help thread - by CoolGuyZ65 - 01-15-2012, 03:13 AM
RE: My TC help thread - by RawkBandMan - 01-15-2012, 03:18 AM
RE: My TC help thread - by Your Computer - 01-15-2012, 03:22 AM
RE: My TC help thread - by CoolGuyZ65 - 01-15-2012, 03:26 AM
RE: CoolGuyZ65 TC help thread - by Apjjm - 01-15-2012, 06:55 AM
RE: CoolGuyZ65 TC help thread - by Statyk - 01-15-2012, 03:31 PM
RE: CoolGuyZ65 TC help thread - by CoolGuyZ65 - 01-15-2012, 06:48 PM
RE: CoolGuyZ65 TC help thread - by CoolGuyZ65 - 01-15-2012, 10:17 PM
RE: CoolGuyZ65 TC help thread - by CoolGuyZ65 - 01-16-2012, 12:06 AM
RE: CoolGuyZ65 TC help thread - by Apjjm - 01-16-2012, 01:16 AM
RE: CoolGuyZ65 TC help thread - by CoolGuyZ65 - 01-16-2012, 05:57 PM
RE: CoolGuyZ65 TC help thread - by CoolGuyZ65 - 01-17-2012, 03:22 AM
RE: CoolGuyZ65 TC help thread - by Your Computer - 01-17-2012, 04:42 AM
RE: CoolGuyZ65 TC help thread - by CoolGuyZ65 - 01-18-2012, 12:19 AM



Users browsing this thread: 2 Guest(s)