Frictional Games Forum (read-only)

Full Version: hps or lang wrong
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hella im starting the serrious cs now and i got toruble at making the configs...it wont load in custom stories
PHP Code:
<LANGUAGE>
    <
CATEGORY Name="CustomStoryMain">
        <
Entry Name="Description">
        
You have been walking around for while. But after a while you finnaly reach a Castle
        
You knocked on the door. And then some wierd creature druged you downyou woke up in a bed...</Entry>
    </
CATEGORY
</
LANGUAGE

Hps
PHP Code:
void OnStart()
{

and the custom storie config
PHP Code:
<Main
    Name
="An Unknowed Path"
    
Author="Jens"
    
ImgFile="story.jpg"
 
    
StartMap="01.map"
    
StartPos="PlayerStartArea_1"
/> 

Quote:<Main

Name = "An Unknowed Path"
Author = "Jens"
ImgFile = "story.jpg"

MapsFolder = "maps/"
StartMap = "01.map"
StartPos = "PlayerStartArea_1"
/>
You forgot the MapsFolder.
You really need to rewrite your description. I also advice you to stop using php code.

The problem I'm noticing is you don't have a "MapsFolder = "maps" line above your "StartMap="01.map"" line. You're also using a lowercase m for "main".

It should look like:
Code:
<Main
Name="An Unknowed Path"
Author="Jens"
ImgFile="story.jpg"

MapsFolder="maps"
StartMap="01.map"
StartPos="PlayerStartArea_1"
/>

As for you're description, you might want to make it look something like this:

Code:
You have been walking around for a while, But eventually you came across a castle.
You knocked on the door, but you're knocks were answered by a weird creature, and it dragged you away.
You woke up in a bed...
(01-03-2012, 12:22 AM)eagledude4 Wrote: [ -> ]You really need to rewrite your description. I also advice you to stop using php code.

I really only think he needs to fix his spelling and grammar up. The story seems fine; if he worded it better it would come off more appealing though.
(01-03-2012, 12:21 AM)flamez3 Wrote: [ -> ]MapsFolder = "maps/"

I don't have the slash in mine, is it supposed to have the slash?
Not really; I only put that there if you had another folder there. But if you didn't I wouldn't see the harm in leaving it there either.
nothing of those tip works
Do you get an error?