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
Help With Custom Story Scripts
ObsidianLegion Offline
Member

Posts: 173
Threads: 53
Joined: Jun 2011
Reputation: 0
#1
Help With Custom Story Scripts

Right, to begin with: my custon story .hps won't load due to a FATAL ERROR and this pops up every time I access it.
Secondly: the .lang file I put in is not working either Angry


Please help!
I'll put them up for download both my .hps and .lang files in .txt format so you can read them.


Attached Files
.txt   extra_english.txt (Size: 1.91 KB / Downloads: 127)
.txt   Castlebase.txt (Size: 529 bytes / Downloads: 106)

"Good men mean well; they just don't always end up doing well." -Isaac Clarke, Dead Space 2, Chapter 12
07-11-2011, 03:39 PM
Find
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#2
RE: Help With Custom Story Scripts

(07-11-2011, 03:39 PM)Lolnesia09 Wrote: Right, to begin with: my custon story .hps won't load due to a FATAL ERROR and this pops up every time I access it.
Secondly: the .lang file I put in is not working either Angry


Please help!
I'll put them up for download both my .hps and .lang files in .txt format so you can read them.

////////////////////////////
// Run first time starting map
void OnStart()
{
}

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

{
MyFunc(string &in asItem, string &in asEntity);
}

{
SetSwingDoorLocked("bigroomdoor", false, true);
RemoveItem("bigroomdoorkey");
}

{
SetEnemyEnabled("binladen", abEnabled);
}


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

Try now. You have using wrong brackets and not spaces on them. It's fixed now.

“Life is a game, play it”
(This post was last modified: 07-11-2011, 04:00 PM by HumiliatioN.)
07-11-2011, 04:00 PM
Find
ObsidianLegion Offline
Member

Posts: 173
Threads: 53
Joined: Jun 2011
Reputation: 0
#3
RE: Help With Custom Story Scripts

Do you like my monsters name??? xD

Hate to be an ass, it still don't work :/


"Good men mean well; they just don't always end up doing well." -Isaac Clarke, Dead Space 2, Chapter 12
(This post was last modified: 07-11-2011, 07:40 PM by ObsidianLegion.)
07-11-2011, 07:13 PM
Find
ferryadams11 Offline
Junior Member

Posts: 17
Threads: 1
Joined: Apr 2011
Reputation: 0
#4
RE: Help With Custom Story Scripts

////////////////////////////
//Run when entering map
void OnStart()
{
AddUseItemCallBack("", "bigroomdoorkey", "bigroomdoor", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("bigroomdoor", false, true);
RemoveItem("bigroomdoorkey");
SetEnemyEnabled("binladen", abEnabled);
}

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

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

That's about it, just add me on msn for any further questions.
P.S. I'm @ Spain on holiday now and I'm using internet wifi cards of the camping.

So I'll try to be on as much as possible (Hope to see your .hps file cleaner in the futur).

MSN: ferry_hooligan@live.nl

Regards,
Ferry Adams
(This post was last modified: 07-11-2011, 08:50 PM by ferryadams11.)
07-11-2011, 08:49 PM
Find
SLAMnesia Offline
Member

Posts: 99
Threads: 39
Joined: May 2011
Reputation: 0
#5
RE: Help With Custom Story Scripts

cute monster name lol
07-12-2011, 12:02 AM
Find




Users browsing this thread: 1 Guest(s)