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
.Lang File Help hps or lang wrong
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#1
hps or lang wrong

hella im starting the serrious cs now and i got toruble at making the configs...it wont load in custom stories
PHP Code: (Select All)
<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: (Select All)
void OnStart()
{

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

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
01-02-2012, 11:27 PM
Website Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: hps or lang wrong


Quote:<Main

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

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

(This post was last modified: 01-03-2012, 12:26 AM by flamez3.)
01-03-2012, 12:21 AM
Find
eagledude4 Offline
Member

Posts: 144
Threads: 14
Joined: Dec 2011
Reputation: 0
#3
RE: hps or lang wrong

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

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

Its hard to see the truth when you've been blinded by lies.
(This post was last modified: 01-03-2012, 12:29 AM by eagledude4.)
01-03-2012, 12:22 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#4
RE: hps or lang wrong

(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:28 AM
Find
eagledude4 Offline
Member

Posts: 144
Threads: 14
Joined: Dec 2011
Reputation: 0
#5
RE: hps or lang wrong

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

Its hard to see the truth when you've been blinded by lies.
(This post was last modified: 01-03-2012, 12:31 AM by eagledude4.)
01-03-2012, 12:31 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#6
RE: hps or lang wrong

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.

01-03-2012, 12:41 AM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#7
RE: hps or lang wrong

nothing of those tip works

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
01-03-2012, 04:09 PM
Website Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#8
RE: hps or lang wrong

Do you get an error?

01-04-2012, 06:50 AM
Find




Users browsing this thread: 4 Guest(s)