The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Cant get my custom story to show! PLEASE help!!
Ravenxx Offline
Junior Member

Posts: 8
Threads: 2
Joined: Jul 2012
Reputation: 0
#1
Cant get my custom story to show! PLEASE help!!

Hey, i created a custom story and iv done everything correctly, my .map is in a maps folder, all the scripting is done right (so i think) But there's just one problem, when i want to test out my map i go into amnesia and open up custom story's, but its not there! Iv done all i can but i cant get it to show up, iv even looked in other custom story folders and mine seems to look the same. I really don't know what to do, iv tried everything. To be honest im not brilliant at scripting, in fact i think its really confusing as it is my first time doing this. If anyone could help id really appreciate it!

My lang file.

<LANGUAGE>
<RESOURCES />
<CATEGORY Name="Secrets">
<Entry Name="Description">Your brothers friend invited you over to his new house, you have to go into the storage to get a crowbar, but people say if you go in there strange things will happen to you...You then set out to find your brother as he has wonderd of. What will you encounter when you go looking for him?</Entry>
</CATEGORY>
</LANGUAGE>

<CATEGORY Name="Journal">
<Entry Name="Note_Test01_Name">Note</Entry>
<Entry Name="Note_Test01_Text">Hey, I know your busy and everything but please can you do me this favour?

If yes, can you go down to the storage and get me a crowbar, i need it to open this door, it is quite dark down
there, so be sure to get the lantern it
should be in one of the cabinets.

No one else i asked dare go down there, they say if you do strange things will happen to you,
no one knows why...
But as you dont believe in those things id appreciate it if you could.



Alex.</Entry>
</CATEGORY>


<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_Storage1">Item description</Entry>
<Entry Name="ItemName_Storage1">Item name<Entry>
</CATEGORY>

I THINK thats right, i just followed a tutorial on it, thats all! so dont blame me for been stupid or anything please im really new at this.

Custom story settings file!

<Main
Name="Secrets"
Author="Raven"
ImgFile="story.png"

StartMap="Secrets_script_test.map"
StartPos=""
/>

My hps file.

////////////////////////////
// Run when the map starts
void OnStart()
{
AddUseItemCallback("", "Storage_1", "Storage", "Opens Storage", true);
}

void FUNCTION(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(door, false, true);
PlaySoundAtEntity("", "unlock_door", door, 0, false);
RemoveItem(item);
}


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

}

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

}


And the .hps file is in the same folder as my .maps is.

Basicly you open custom storys, you see mine in there "Secrets" you open it up, you see a folder called maps, in theres my .hps file and my .map file, and in the main folder is my .lang file and my cfg file and also my image.png


PLEASE HELP!

๖ۣۜRaven
07-07-2012, 08:45 PM
Find


Messages In This Thread
Cant get my custom story to show! PLEASE help!! - by Ravenxx - 07-07-2012, 08:45 PM



Users browsing this thread: 2 Guest(s)