Frictional Games Forum (read-only)
[LANG] hps or lang wrong - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LANG] hps or lang wrong (/thread-12306.html)



hps or lang wrong - jessehmusic - 01-02-2012

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"
/> 



RE: hps or lang wrong - flamez3 - 01-03-2012


Quote:<Main

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

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


RE: hps or lang wrong - eagledude4 - 01-03-2012

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...



RE: hps or lang wrong - flamez3 - 01-03-2012

(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.


RE: hps or lang wrong - eagledude4 - 01-03-2012

(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?



RE: hps or lang wrong - flamez3 - 01-03-2012

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.


RE: hps or lang wrong - jessehmusic - 01-03-2012

nothing of those tip works


RE: hps or lang wrong - flamez3 - 01-04-2012

Do you get an error?