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
[SOLVED!] Custom story wont show up
HeavenSh0ck Offline
Junior Member

Posts: 6
Threads: 1
Joined: May 2012
Reputation: 0
#1
[SOLVED!] Custom story wont show up

I'm working on a custom story, I've finished the map, I've already scripted so theres a key to a door. But when I wanna test run the custom story doesn't show up in the list.
Heres my extra_english.lang




You wake up inside a jail cell, you can't remember how you got inside. You don't even remember your name. As you explore the Castle of the Evil, things start to slowly get back to you.


"This must open the cell door."
Cell Key



Heres custom_story settings.cfg

ImgFile = "story.png"
Name = "The Castle of the Evil"
Author = "HeavenSh0ck"

MapsFolder = "maps/"
StartMap = "The Castle of the Evil"
StartPos = "PlayerStartArea1"
/>
My map .hps file

////////////////////////////
// Run when entering map
void OnEnter()
{
AddUseItemCallBack("", "celldoorkey", "celldoor", "UsedKeyOnDoor", true);
}

void MyFunc(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("celldoor", false, true);
PlaySoundAtEntity("", "unlock_door", "celldoor", "0", false);
RemoveItem(celldoorkey);
}

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

}
(This post was last modified: 05-06-2012, 12:48 PM by HeavenSh0ck.)
05-06-2012, 10:29 AM
Find


Messages In This Thread
[SOLVED!] Custom story wont show up - by HeavenSh0ck - 05-06-2012, 10:29 AM
RE: Custom story wont show up - by Cranky Old Man - 05-06-2012, 11:13 AM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 11:47 AM
RE: Custom story wont show up - by Cranky Old Man - 05-06-2012, 11:53 AM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 11:55 AM
RE: Custom story wont show up - by Cranky Old Man - 05-06-2012, 12:58 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:06 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:07 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:13 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:15 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:18 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:22 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:31 PM
RE: Custom story wont show up - by Xanthos - 05-06-2012, 12:37 PM
RE: Custom story wont show up - by HeavenSh0ck - 05-06-2012, 12:47 PM



Users browsing this thread: 1 Guest(s)