(06-16-2012 05:15 AM)WASD Wrote: Okay, so I don't know what I've done wrong, but my custom story won't appear in the main menu. It's not finished, not even the first map is done, but I still want to see how it is coming along in-game. I only have two folders right now, maps and images. I have two scripts right now, custom_story_settings.cfg, and extra_english.lang. Here is the first one:
[tab]Name="The Only Way Out"
This is all done in word pad, by the way, now here is extra_english.lang:
[tab][tab][tab] After a fatal car crash, Richard must travel into hell itself, and face his deepest fears.
I can't figure out what's wrong, and I am starting to get frustrated. (the tabs are just there to show you where I've put tabs, and aren't in the actual scripting.)
The custom_story_settings.cfg and extra_english.lang file should be placed in custom_stories -> "Your custom story folder"
In your custom story folder, you have your "maps" folder, and your images folder.
The custom_story_settings.cfg should look something like this:
Name = "Name Of Story"
Author = "Author"
MapsFolder = "maps/"
StartMap = "00_Name_Of_First_map.map"
StartPos = "PlayerStartArea_1"
It is very important that the .map file and .hps file are named the same!
Then The extra_english.lang file should look something like this:
<Entry Name="Description"> this is a story.... </Entry>
And with that, It should work. Thought to test the map, you have to at least add "voidOnStart()" in your .hps file.
but still, important that the extra_english.lang file and custom_story_settings.cfg file is placed outside the "maps" folder, and placed in the folder named after your custom story.
Tell me if it's something you don't understand.
Hope it helped, good luck.