Frictional Games Forum (read-only)

Full Version: Custom story ending error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,
I added this
To my map's .hps i added this:

}

void RollCredits(string &in asParent, string &in asChild, int alState)
{
StartCredits("Camo & Krooked - All Fall Down (ft. Shaz Sparks) (Club Mix).mp3", true, "Ending", "MainCredits", 0);
}


And to my custom story's .lang:

<CATEGORY Name="Ending">
<Entry Name="MainCredits">This was a demo of The Mansion of Brennenburg[br]Custom story made by TheDavenia.[br]Voice actors:[br]Synatic[br]Coding help:[br]Xtron[br]KikoKuruma[br]Music:[br]Camo & Krooked - All Fall Down (ft. Shaz Sparks) (Club Mix)[br]Thanks for playing The Mansion of Brennenburg!</Entry>
</CATEGORY>


And it gives me this error when i start my custom story:

FATAL ERROR: Could not load script file
'custom_stories/MansionofBrennenburg/maps/stairstodungeon.hps'!
main (6, 62) : ERR : 'True' is not declared


Please help

Thanks,
TheDavenia
"asMusic - the music to play (including .ogg)"

I'm not sure but try using a .ogg music file.
(06-27-2011, 01:27 PM)xtron Wrote: [ -> ]"asMusic - the music to play (including .ogg)"

I'm not sure but try using a .ogg music file.

Nope still gives me an error
It says somethings not being declared, that usually means a pair of quotation marks are missing, i probably mis-typed something while i was scripting your file, if you want me to take another look at it, i can do that
(06-27-2011, 03:08 PM)KikoKuruma Wrote: [ -> ]It says somethings not being declared, that usually means a pair of quotation marks are missing, i probably mis-typed something while i was scripting your file, if you want me to take another look at it, i can do that

Yes please.
I'll send you the link in a PM.

Thanks,
TheDavenia
Got it to work allready
Thanks to who exactly?
(06-28-2011, 07:53 PM)xtron Wrote: [ -> ]Thanks to who exactly?

?
nvm ;D. We can take this on Skype...