![]() |
My custom story wont appear in the game! Help - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: My custom story wont appear in the game! Help (/thread-21963.html) Pages:
1
2
|
RE: My custom story wont appear in the game! Help - mrburritos31 - 07-04-2013 (07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:(07-03-2013, 07:05 PM)mrburritos31 Wrote:(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file? Can you help with my hps file please it keeps crashing here it is: void OnStart() ( AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true); ) void UnlockLevelDoor(string &in item, string &in entity) ( SetLevelDoorLocked(entity, false); ) (07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:(07-03-2013, 07:05 PM)mrburritos31 Wrote:(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file? Please Help with my script it is isn't working when i launch my Custom story here is the hps file: void OnStart() ( AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true); ) void UnlockLevelDoor(string &in item, string &in entity) ( SetLevelDoorLocked(entity, false); ) RE: My custom story wont appear in the game! Help - mrburritos31 - 07-04-2013 (07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:Please help me with my hps file i dont know whats wrong with it!!! here is the file:(07-03-2013, 07:05 PM)mrburritos31 Wrote:(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file? void OnStart() ( AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true); ) void UnlockLevelDoor(string &in item, string &in entity) ( SetLevelDoorLocked(entity, false); ) RE: My custom story wont appear in the game! Help - PutraenusAlivius - 07-04-2013 (07-04-2013, 04:35 AM)mrburritos31 Wrote:(07-04-2013, 02:30 AM)JAP the Birthday Boy Wrote:Please help me with my hps file i dont know whats wrong with it!!! here is the file:(07-03-2013, 07:05 PM)mrburritos31 Wrote:(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file? Wrong opening and closing brace. void OnStart() { AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true); } void UnlockLevelDoor(string &in item, string &in entity) { SetLevelDoorLocked(entity, false); } RE: My custom story wont appear in the game! Help - phatdoggi - 07-07-2013 (07-03-2013, 07:05 PM)mrburritos31 Wrote:(07-03-2013, 06:07 PM)Zatchie Wrote: Maybe you wrote something wrong in the lang file? I usually never edit the .lang file manually, I use a tool called LangEditor (click me) and it gets the job done without ever having to worry about errors or missed tags. |