| Sabrak   Junior Member
 
 Posts: 7
 Threads: 3
 Joined: Jul 2013
 Reputation: 
0
 | 
			| Custom story wont appear 
 
				Hello there, i started creating a new custom story. I created a folder Secrets of mansion (main folder) in custom stories. I created folder maps and created first map with hpl file. And of course custom_story_settings.cfg and extra english.lang. Later, i wanted to test scripts and some other things in game, so i saved everything and launched amnesia but custom story isnt here. I tried almost everything: lunch again, move custom story to another folder, reinstall amnesia but nothing helped. Here are some files: .hps of first level:  Quote:void OnStart(){
 ///Wake up///
 prewakeUp();
 }
 
 ///Wake up + Sound + Quest///
 void prewakeUp()
 {
 FadeOut(0);
 SetPlayerActive(false);
 SetPlayerLookSpeedMul(0.2);
 SetPlayerMoveSpeedMul(0.1);
 SetPlayerRunSpeedMul(0.05);
 SetPlayerCrouching(true);
 FadePlayerRollTo(70, 120, 120);
 FadeImageTrailTo(0.01, 1);
 AddTimer("", 2.5, "wakeUp1");
 StartPlayerLookAt("mansion_1", 3, 4, "");
 }
 void wakeUp1(string &in asTimer)
 {
 StartPlayerLookAt("mansion_1", 3, 4, "");
 PlaySoundAtEntity("", "break_wood_metal.snt", "mansion_2", 0, false);
 PlaySoundAtEntity("", "react_scare.snt", "Player", 0, false);
 GiveSanityDamage(50.0f, true);
 AddTimer("", 2.5, "wakeUp2");
 FadeIn(1);
 }
 void wakeUp2(string &in asTimer)
 {
 SetPlayerLookSpeedMul(0.9);
 SetPlayerMoveSpeedMul(0.9);
 SetPlayerRunSpeedMul(0.9);
 SetPlayerCrouching(false);
 SetPlayerActive(false);
 StopPlayerLookAt();
 AddTimer("", 1.5, "wakeUp3");
 }
 
 void wakeUp3(string &in asTimer)
 {
 AddQuest("Quest", "Quest1");
 }
 
 void OnEnter()
 {
 
 }
 
 void OnLeave()
 {
 
 }
 
 , custom story settings:  Quote:<MainName="Secrets of mansion"
 Author="Sabrak"
 ImgFile=""
 
 StartMap="00_First_floor"
 StartPos="PlayerStartArea_1"
 />
 
 and extra english:  Quote:<LANGUAGE><CATEGORY Name="CustomStoryMain">
 <Entry Name="Description">You bought mansion. It seemed like a nice place. But at twelve o'clock, a loud sound awakens you. What will you do?</Entry>
 </CATEGORY>
 <CATEGORY Name="Inventory">
 <Entry Name="ItemDesc_Bedroom">Key from Bedroom</Entry>
 <Entry Name="ItemName_Bedroom">Bedroom key</Entry>
 </CATEGORY>
 <CATEGORY Name="Journal">
 <Entry Name="Quest_Quest1_Text">What was that??? I should investigate it.</Entry>
 <Entry Name="Note_Note2_Text">1 Study, 1 Bedroom + 1 Other room. I know it's little mansion, but for that prize it's big enough. I hope you will like it. If you have any questions, send me a letter.[br][br]P.S.: I almost forgot, there isn't cellar.</Entry>
 <Entry Name="Note_Note2_Name">Mansion informations</Entry>
 <Entry Name="Note_Note1_Name">Purchase agreement</Entry>
 <Entry Name="Note_Note1_Text">Mansion and yard now belongs to you.</Entry>
 </CATEGORY>
 <CATEGORY Name="Levels">
 <Entry Name="Cellar">Cellar</Entry>
 <Entry Name="Outside">Outside</Entry>
 </CATEGORY>
 <CATEGORY Name="Locked">
 <Entry Name="Cellar">Locked</Entry>
 <Entry Name="Outside">I don't want to go there now</Entry>
 </CATEGORY>
 </LANGUAGE>
 
 I really dont know what else should i do. Please help.
			
				
(This post was last modified: 09-01-2013, 09:28 PM by Sabrak.)
 |  | 
	| 09-01-2013, 08:23 PM |  | 
	
		| Kurton   Senior Member
 
 Posts: 533
 Threads: 8
 Joined: Oct 2010
 Reputation: 
16
 | 
			| RE: Custom story wont appear 
 
				Try adding the .map extension to 00_First_floor in your StartMap entry and checking to make sure the cases match. The settings CFG is pretty picky with stuff like that so I wouldn't be surprised if that was it.
			 
 |  | 
	| 09-01-2013, 08:39 PM |  | 
	
		| Sabrak   Junior Member
 
 Posts: 7
 Threads: 3
 Joined: Jul 2013
 Reputation: 
0
 | 
			| RE: Custom story wont appear 
 
				Still not working    
 
oh, i didnt registered that i forgot to add to cfg file mapsfolder    
 
still not working
 
 
its working! yea    i needed to add .map extension and mapsfolder and now its working   
				
(This post was last modified: 09-01-2013, 09:28 PM by Sabrak.)
 |  | 
	| 09-01-2013, 08:43 PM |  |